Add new eslint plugin to check for valid i18n keys
This commit is contained in:
parent
465b4cb0fb
commit
569b6e14a6
39 changed files with 447 additions and 78 deletions
|
@ -188,9 +188,9 @@ export function IncomingCallBar(props: PropsType): JSX.Element | null {
|
|||
case CallMode.Direct:
|
||||
({ isVideoCall } = props);
|
||||
headerNode = <ContactName title={title} />;
|
||||
messageNode = i18n(
|
||||
isVideoCall ? 'incomingVideoCall' : 'incomingAudioCall'
|
||||
);
|
||||
messageNode = isVideoCall
|
||||
? i18n('incomingVideoCall')
|
||||
: i18n('incomingAudioCall');
|
||||
break;
|
||||
case CallMode.Group: {
|
||||
const { otherMembersRung, ringer } = props;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue