Don't concatenate two strings together as an argument for t() or t2();

the l10n_scanner cannot parse it properly and drops those from the
localization list.  Fixes ticket #1284.
This commit is contained in:
Bharat Mediratta
2010-08-29 20:04:02 -07:00
parent 0879a26e1c
commit 2c717b18d3
8 changed files with 10 additions and 20 deletions

View File

@@ -61,8 +61,7 @@ class IdentityProvider_Core {
* Return a commen confirmation message
*/
static function confirmation_message() {
return t("Are you sure you want to change your Identity Provider? " .
"Continuing will delete all existing users.");
return t("Are you sure you want to change your Identity Provider? Continuing will delete all existing users.");
}
static function change_provider($new_provider) {
@@ -113,8 +112,7 @@ class IdentityProvider_Core {
}
message::error(
t("Error attempting to enable \"%new_provider\" identity provider, " .
"reverted to \"%old_provider\" identity provider",
t("Error attempting to enable \"%new_provider\" identity provider, reverted to \"%old_provider\" identity provider",
array("new_provider" => $new_provider, "old_provider" => $current_provider)));
$restore_already_running = false;