mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-519: support Japanese localization for menus, dialogs and windows (#401)
- add basic localisation implementation for menu items - add more strings to support localisation on menus - add more strings to support localisation on menus - add all menu items for localisation - refactor i18n code - Add localization for screen picker, basic auth and notification settings child windows - Add localization bridge - add i18n support to more strings - update translations - add events to change language and redo menu template - move config update logic to windowMgr - fix linting issues and refactor - add snipping tool messages
This commit is contained in:
committed by
GitHub
parent
fd39d680a0
commit
a26a1d609c
@@ -303,6 +303,18 @@ function createAPI() {
|
||||
*/
|
||||
setIsInMeeting: function (isInMeeting) {
|
||||
throttledSetIsInMeetingStatus(isInMeeting);
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets the language which updates the application locale
|
||||
* @param {string} locale - language identifier and a region identifier
|
||||
* Ex: en-US, ja-JP
|
||||
*/
|
||||
setLocale: function (locale) {
|
||||
local.ipcRenderer.send(apiName, {
|
||||
cmd: apiCmds.setLocale,
|
||||
locale,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user