diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-03 19:13:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-03 19:13:19 +0000 |
commit | 31c36b7f540c7da6456436c3662bdfb510ca0e9f (patch) | |
tree | db428c5edd9a494d6235cb06d0ce4714cd86181e | |
parent | c14dd46e3ef1d451241367030929f164cb84387b (diff) | |
download | brdo-31c36b7f540c7da6456436c3662bdfb510ca0e9f.tar.gz brdo-31c36b7f540c7da6456436c3662bdfb510ca0e9f.tar.bz2 |
- 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.
-rw-r--r-- | modules/profile.module | 8 | ||||
-rw-r--r-- | modules/profile/profile.module | 8 |
2 files changed, 8 insertions, 8 deletions
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"); diff --git a/modules/profile/profile.module b/modules/profile/profile.module index d9ef80489..1165cbe24 100644 --- a/modules/profile/profile.module +++ b/modules/profile/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"); |