From 31c36b7f540c7da6456436c3662bdfb510ca0e9f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 3 Jun 2003 19:13:19 +0000 Subject: - Fixed some translation bugs in the profile module. (I wasn't going to commit this yet but I accidentically did so now I've cleaned it up.) Original patch by Matt. Thanks for spotting the t() problem Al. --- modules/profile.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/profile.module') diff --git a/modules/profile.module b/modules/profile.module index d9ef80489..1165cbe24 100644 --- a/modules/profile.module +++ b/modules/profile.module @@ -11,9 +11,9 @@ function _profile_init() { $GLOBALS["profile_fields"] = array( "address" => array("textfield", t("Address"), "", 64, 64, t("Your address: street and number.")), "city" => array("textfield", t("City"), "", 64, 64, t("Your city.")), - "state" => array("textfield", t("State / Province / Region"), "", 64, 64, ""), - "zip" => array("textfield", t("Zip / Postal Code"), "", 7, 10, ""), - "country" => array("textfield", t("Country"), "", 64, 64, t("Your country.")), + "state" => array("textfield", t("State, province or region"), "", 64, 64, ""), + "zip" => array("textfield", t("Zip or postal code"), "", 7, 10, ""), + "country" => array("textfield", t("Country"), "", 64, 64, ""), "birthday" => array("", t("Birthday"), ""), "gender" => array("select", t("Gender"), "", array(0 => "-", "m" => t("male"), "f" => t("female")), "", 0, 0), "job" => array("textfield", t("Job title"), "", 64, 64, t("Your job title or position.")), @@ -25,7 +25,7 @@ function _profile_init() { "biography" => array("textarea", t("Biography"), "", 64, 4, ""), "interests" => array("textarea", t("Interests"), "", 64, 4, t("What you like.")), "publickey" => array("textarea", t("Public key"), "", 64, 4, ""), - "avatar" => array("", t("Avatar or picture"), t(t("Your virtual face or picture. Maximum dimensions are ".variable_get("profile_avatar_dimensions", "85x85")." and max size is ".variable_get("profile_avatar_file_size", "30")."kb."))) + "avatar" => array("", t("Avatar or picture"), t("Your virtual face or picture. Maximum dimensions are %dimensions and the maximum size is %size kb.", array("%dimensions" => variable_get("profile_avatar_dimensions", "85x85"), "%size" => variable_get("profile_avatar_file_size", "30")))) ); $GLOBALS["profile_days"][0] = t("day"); -- cgit v1.2.3