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

@@ -2797,7 +2797,7 @@ export function prepareForEnabledNotificationProfileSync(): {
toRemove.push(local.profile);
toAdd.push({
...local.profile,
name: window.i18n('icu:NotificationProfile--copy-label', {
name: window.SignalContext.i18n('icu:NotificationProfile--copy-label', {
profileName: local.profile.name,
}),
});