Remove window.i18n in favor of SignalContext.i18n

This commit is contained in:
Fedor Indutny
2025-10-10 13:48:40 -07:00
committed by GitHub
parent 40c31e138b
commit 41a6cfaf63
46 changed files with 201 additions and 213 deletions

View File

@@ -32,7 +32,7 @@ export function getMessageAuthorText(
// if it's outgoing, it must be self-authored
const selfAuthor = isOutgoing(messageAttributes)
? window.i18n('icu:you')
? window.SignalContext.i18n('icu:you')
: undefined;
if (selfAuthor) {