mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
Add grepable usages of i18n messages
Bug: T354549 Change-Id: Ice32d6b32d4d57e49f38f6e173c52af97ed7884a
This commit is contained in:
parent
e2da8c6796
commit
6f0fd7c1b1
|
@ -68,6 +68,7 @@ class TOTPEnableForm extends OATHAuthOOUIHTMLForm {
|
|||
->margin( 0 )
|
||||
->build();
|
||||
|
||||
// messages used: oathauth-step1, oathauth-step2, oathauth-step3, oathauth-step4
|
||||
return [
|
||||
'app' => [
|
||||
'type' => 'info',
|
||||
|
|
|
@ -50,6 +50,7 @@ class Manager {
|
|||
return;
|
||||
}
|
||||
Event::create( [
|
||||
// message used: notification-header-oathauth-disable
|
||||
'type' => 'oathauth-disable',
|
||||
'title' => SpecialPage::getTitleFor( 'Preferences' ),
|
||||
'agent' => $oUser->getUser(),
|
||||
|
@ -70,6 +71,7 @@ class Manager {
|
|||
return;
|
||||
}
|
||||
Event::create( [
|
||||
// message used: notification-header-oathauthenable
|
||||
'type' => 'oathauth-enable',
|
||||
'title' => SpecialPage::getTitleFor( 'Preferences' ),
|
||||
'agent' => $oUser->getUser(),
|
||||
|
|
Loading…
Reference in a new issue