mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-12 01:12:37 +00:00
i18n: Rename the recovery code i18n messages to match
Follows-Up: Icf8626799615f8b95f380db9745e1447519b150a Follows-Up: Ida71577719afbc1232cf1fd072503e2d3b8981bd Change-Id: I9e788d2aa2b139cfb4c344ad424eb6a2586c33c4
This commit is contained in:
parent
9039300635
commit
217674f561
|
@ -13,8 +13,8 @@
|
|||
"oathauth-account": "Account name:",
|
||||
"oathauth-secret": "Two-factor authentication secret key:",
|
||||
"oathauth-enable": "Enable two-factor authentication",
|
||||
"oathauth-scratchtokens": "The following list is a list of one-time use recovery codes. These codes can only be used once, and are for emergency use when you don't have access to your device. Please write these down and keep them in a secure location. It is recommended that you mark each code as used when you have logged in using it. If you lose your device, these codes are the only way to rescue your account. '''These codes will never be shown again'''.",
|
||||
"oathauth-scratchtokens-important": "This step is important! Do not skip this step!",
|
||||
"oathauth-recoverycodes": "The following list is a list of one-time use recovery codes. These codes can only be used once, and are for emergency use when you don't have access to your device. Please write these down and keep them in a secure location. It is recommended that you mark each code as used when you have logged in using it. If you lose your device, these codes are the only way to rescue your account. '''These codes will never be shown again'''.",
|
||||
"oathauth-recoverycodes-important": "This step is important! Do not skip this step!",
|
||||
"oathauth-token": "Code",
|
||||
"oathauth-disable": "Disable two-factor authentication",
|
||||
"oathauth-validatedoath": "Validated two-factor credentials. Two-factor authentication will now be enforced.",
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
"oathauth-account": "Plain text associated with [https://en.wikipedia.org/wiki/Two_factor_authentication two factor authentication] on this wiki (username@<wiki name>) found on Special:OATH.\n{{Identical|Account name}}",
|
||||
"oathauth-secret": "Plain text found on Special:OATH while enabling OATH\n\nSee [https://en.wikipedia.org/wiki/Two_factor_authentication two factor authentication]",
|
||||
"oathauth-enable": "Page title on Special:OATH, when enabling OATH.\n\nSee [https://en.wikipedia.org/wiki/Two_factor_authentication two factor authentication]",
|
||||
"oathauth-scratchtokens": "Plain text, found on Special:OATH while enabling OATH.",
|
||||
"oathauth-scratchtokens-important": "Plain text, found on Special:OATH while enabling OATH.",
|
||||
"oathauth-recoverycodes": "Plain text, found on Special:OATH while enabling OATH.",
|
||||
"oathauth-recoverycodes-important": "Plain text, found on Special:OATH while enabling OATH.",
|
||||
"oathauth-token": "HTMLForm label, found on [[Special:OATH]], when verifying OATH.\n{{Identical|Token}}",
|
||||
"oathauth-disable": "Page title on Special:OATH while disabling OATH.\n\nSee [https://en.wikipedia.org/wiki/Two_factor_authentication two factor authentication]",
|
||||
"oathauth-validatedoath": "Plain text found on Special:OATH after a token has been validated.\n\nSee [https://en.wikipedia.org/wiki/Two_factor_authentication two factor authentication]",
|
||||
|
|
|
@ -102,8 +102,8 @@ class TOTPEnableForm extends OATHAuthOOUIHTMLForm {
|
|||
'scratchtokens' => [
|
||||
'type' => 'info',
|
||||
'default' =>
|
||||
'<strong>' . $this->msg( 'oathauth-scratchtokens-important' )->escaped() . '</strong><br/>'
|
||||
. $this->msg( 'oathauth-scratchtokens' )->parse()
|
||||
'<strong>' . $this->msg( 'oathauth-recoverycodes-important' )->escaped() . '</strong><br/>'
|
||||
. $this->msg( 'oathauth-recoverycodes' )->parse()
|
||||
. $this->createResourceList( $this->getScratchTokensForDisplay( $key ) ),
|
||||
'raw' => true,
|
||||
'section' => 'step3',
|
||||
|
|
Loading…
Reference in a new issue