mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 00:48:19 +01:00
Remove window.i18n in favor of SignalContext.i18n
This commit is contained in:
@@ -18,8 +18,11 @@ export function getAboutText(
|
||||
return text;
|
||||
}
|
||||
|
||||
return window.i18n('icu:message--getNotificationText--text-with-emoji', {
|
||||
text,
|
||||
emoji,
|
||||
});
|
||||
return window.SignalContext.i18n(
|
||||
'icu:message--getNotificationText--text-with-emoji',
|
||||
{
|
||||
text,
|
||||
emoji,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user