mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-24 06:54:08 +00:00
Fix message and documentation mismatch
Bug: T170043 Change-Id: I86e5cdb753aeaae1f08a79430499d80ebe9c825d
This commit is contained in:
parent
7e9559badc
commit
2d3dca1cc7
|
@ -14,7 +14,7 @@
|
|||
"loginnotify-primary-link": "Help",
|
||||
"notification-loginnotify-login-fail-email-subject": "{{PLURAL:$2|Failed attempt|Multiple failed attempts}} to log in to {{SITENAME}} as $1",
|
||||
"notification-loginnotify-login-success-email-subject": "Login to {{SITENAME}} as $1 from a computer you have not recently used",
|
||||
"notification-header-login-success": "Someone (probably you) recently logged in to your account from a new device. If this was you, then you can disregard this message. If it wasn't you, then it's recommended that you change your password, and check your account activity.",
|
||||
"notification-header-login-success": "Someone (probably {{GENDER:$1|you}}) recently logged in to your account from a new device. If this was you, then you can disregard this message. If it wasn't you, then it's recommended that you change your password, and check your account activity.",
|
||||
"notification-new-bundled-header-login-fail": "There {{PLURAL:$1|has been '''a failed attempt'''|have been '''$1 failed attempts'''}} to log in to your account from a new device since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
|
||||
"notification-known-header-login-fail": "There have been {{PLURAL:$1|has been '''a failed attempt'''|have been '''$1 failed attempts'''}} to log in to your account since the last time you logged in. If it wasn't you, please make sure your account has a strong password.",
|
||||
"notification-new-unbundled-header-login-fail": "There {{PLURAL:$1|has been '''a failed attempt'''|have been '''multiple failed attempts'''}} to log in to your account from a new device. Please make sure your account has a strong password."
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"loginnotify-primary-link": "Label for link to a help page about the feature\n{{Identical|Help}}",
|
||||
"notification-loginnotify-login-fail-email-subject": "Email subject line for email notice that there have been failed login attempts for the user's account. $1 is the user in question.",
|
||||
"notification-loginnotify-login-success-email-subject": "Email subject line for email notice that someone has logged in to the user's account from a computer that has not previously been used. $1 is the user in question.",
|
||||
"notification-header-login-success": "Text of notification for when someone successfully logs in as the current account from a computer that has not been previously used by that account. This is shown in the user's echo notifications, and is possibly emailed to the user.\n* $1 = Username for account, formatted for display\n* $2 = Username for account, unformatted for use in GENDER",
|
||||
"notification-header-login-success": "Text of notification for when someone successfully logs in as the current account from a computer that has not been previously used by that account. This is shown in the user's echo notifications, and is possibly emailed to the user.\n* $1 = Username for account, for use in GENDER",
|
||||
"notification-new-bundled-header-login-fail": "Message string shown for bundled notifications for login attempts from a new device",
|
||||
"notification-known-header-login-fail": "Message string shown for known IP notifications",
|
||||
"notification-new-unbundled-header-login-fail": "Message string shown for individual notifications for login attempts from a new device, when the bundle disperses"
|
||||
|
|
|
@ -71,7 +71,7 @@ class PresentationModel extends EchoEventPresentationModel {
|
|||
}
|
||||
break;
|
||||
default:
|
||||
$msg = $this->msg( 'notification-header-login-success' );
|
||||
$msg = $this->msg( 'notification-header-login-success', $this->getUser()->getName() );
|
||||
}
|
||||
return $msg;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue