diff options
Diffstat (limited to 'modules')
-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"); |