Add grepable usages of i18n messages

Bug: T354549
Change-Id: Ice32d6b32d4d57e49f38f6e173c52af97ed7884a
This commit is contained in:
Reedy 2024-01-11 20:50:16 +00:00
parent e2da8c6796
commit 6f0fd7c1b1
2 changed files with 3 additions and 0 deletions

View file

@ -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',

View file

@ -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(),