diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-29 20:04:02 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-29 20:04:02 -0700 |
commit | 2c717b18d36f8d4ae6b7b94beeb0fd99a2984c9a (patch) | |
tree | c08eda385608910260da281d561a1a06b6d66c63 /modules/gallery/libraries | |
parent | 0879a26e1c5a326c51064c412234b3fa540ed5a5 (diff) |
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.
Diffstat (limited to 'modules/gallery/libraries')
-rw-r--r-- | modules/gallery/libraries/IdentityProvider.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/gallery/libraries/IdentityProvider.php b/modules/gallery/libraries/IdentityProvider.php index 5f341c90..4ef07e1a 100644 --- a/modules/gallery/libraries/IdentityProvider.php +++ b/modules/gallery/libraries/IdentityProvider.php @@ -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; |