Fix Localisation Issues (#620)

* ELECTRON-1073: localise more info window content

* fix localisation on network error strings

* ELECTRON-1074: fix localisation for right click context menu in child windows

* ELECTRON-1097: fix japanese localisation string name for screen sharing indicator

* ELECTRON-1052: add localisation support for screen names in screen sharing window
This commit is contained in:
Vishwas Shashidhar
2019-03-28 18:09:05 +05:30
committed by GitHub
parent dd5dbda122
commit ef392b2c60
11 changed files with 80 additions and 20 deletions

View File

@@ -251,6 +251,7 @@ function onWebContent(webContents) {
spellchecker.initializeSpellChecker();
spellchecker.updateContextMenuLocale(i18n.getMessageFor('ContextMenu'));
const contextMenuBuilder = new ContextMenuBuilder(spellchecker.spellCheckHandler, webContents, false, spellchecker.processMenu.bind(spellchecker));
contextMenuBuilder.setAlternateStringFormatter(spellchecker.getStringTable(i18n.getMessageFor('ContextMenu')));
let currentLocale = i18n.getLanguage();
const contextMenuListener = (event, info) => {