mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 19:34:04 +01:00
Remove window.i18n in favor of SignalContext.i18n
This commit is contained in:
@@ -254,7 +254,7 @@ export function getConversation(model: ConversationModel): ConversationType {
|
||||
titleShortNoDefault: getTitle(attributes, { isShort: true }),
|
||||
typingContactIdTimestamps,
|
||||
searchableTitle: isMe(attributes)
|
||||
? window.i18n('icu:noteToSelf')
|
||||
? window.SignalContext.i18n('icu:noteToSelf')
|
||||
: getTitle(attributes),
|
||||
unreadCount: attributes.unreadCount || 0,
|
||||
unreadMentionsCount: attributes.unreadMentionsCount || 0,
|
||||
|
||||
Reference in New Issue
Block a user