mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Move to smartling for translation services
This commit is contained in:
@@ -1740,7 +1740,7 @@ app.on('ready', async () => {
|
||||
);
|
||||
}
|
||||
|
||||
GlobalErrors.updateLocale(locale.messages);
|
||||
GlobalErrors.updateLocale(locale);
|
||||
|
||||
// If the sql initialization takes more than three seconds to complete, we
|
||||
// want to notify the user that things are happening
|
||||
@@ -1888,7 +1888,7 @@ app.on('ready', async () => {
|
||||
|
||||
setupMenu();
|
||||
|
||||
systemTrayService = new SystemTrayService({ messages: locale.messages });
|
||||
systemTrayService = new SystemTrayService({ i18n: locale.i18n });
|
||||
systemTrayService.setMainWindow(mainWindow);
|
||||
systemTrayService.setEnabled(
|
||||
shouldMinimizeToSystemTray(await systemTraySettingCache.get())
|
||||
@@ -1931,7 +1931,7 @@ function setupMenu(options?: Partial<CreateTemplateOptionsType>) {
|
||||
// overrides
|
||||
...options,
|
||||
};
|
||||
const template = createTemplate(menuOptions, getLocale().messages);
|
||||
const template = createTemplate(menuOptions, getLocale().i18n);
|
||||
const menu = Menu.buildFromTemplate(template);
|
||||
Menu.setApplicationMenu(menu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user