When you save a string in the database and this show to the user never pass by t() function.
Example:
// LOGIN_SECURITY_HOST_SOFT_BANNED = t("This host is not allowed to log in to @site. Please contact your site administrator.")
// variable_get('login_security_host_soft_banned') = "This host is not allowed to log in to @site. Please contact your site administrator."
In login_security.module line 159:
form_set_error('submit', login_security_t(variable_get('login_security_host_soft_banned', LOGIN_SECURITY_HOST_SOFT_BANNED), $variables));
If is not save in the database then get translated but not otherwise.
I propose remove t() function from constant and translate the final string.
Comments
Comment #2
rpayanm