Make valid-i18n-keys rule strict and fix most exceptions
This commit is contained in:
parent
18a6da310f
commit
11cfcb4e32
36 changed files with 796 additions and 687 deletions
|
@ -314,7 +314,7 @@ export class LeftPaneChooseGroupMembersHelper extends LeftPaneHelper<LeftPaneCho
|
|||
if (virtualRowIndex === 0) {
|
||||
return {
|
||||
type: RowType.Header,
|
||||
i18nKey: 'contactsHeader',
|
||||
getHeaderText: i18n => i18n('contactsHeader'),
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -342,7 +342,7 @@ export class LeftPaneChooseGroupMembersHelper extends LeftPaneHelper<LeftPaneCho
|
|||
if (virtualRowIndex === 0) {
|
||||
return {
|
||||
type: RowType.Header,
|
||||
i18nKey: 'findByPhoneNumberHeader',
|
||||
getHeaderText: i18n => i18n('findByPhoneNumberHeader'),
|
||||
};
|
||||
}
|
||||
if (virtualRowIndex === 1) {
|
||||
|
@ -363,7 +363,7 @@ export class LeftPaneChooseGroupMembersHelper extends LeftPaneHelper<LeftPaneCho
|
|||
if (virtualRowIndex === 0) {
|
||||
return {
|
||||
type: RowType.Header,
|
||||
i18nKey: 'findByUsernameHeader',
|
||||
getHeaderText: i18n => i18n('findByUsernameHeader'),
|
||||
};
|
||||
}
|
||||
if (virtualRowIndex === 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue