Expose i18n globals in SignalContext across all windows
This commit is contained in:
parent
55394e17c0
commit
4455328312
13 changed files with 38 additions and 27 deletions
|
@ -36,7 +36,7 @@ export function ChatSessionRefreshedNotification(
|
|||
|
||||
const baseUrl =
|
||||
'https://support.signal.org/hc/LOCALE/requests/new?desktop&chat_refreshed';
|
||||
const locale = window.getResolvedMessagesLocale();
|
||||
const locale = window.SignalContext.getResolvedMessagesLocale();
|
||||
const supportLocale = mapToSupportLocale(locale);
|
||||
const url = baseUrl.replace('LOCALE', supportLocale);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue