mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-12 18:17:42 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user