mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-08 23:23:02 -06:00
a26a1d609c
- 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
32 lines
658 B
JavaScript
32 lines
658 B
JavaScript
'use strict';
|
|
|
|
let keyMirror = require('keymirror');
|
|
|
|
/**
|
|
* Set of APIs exposed to the remote object
|
|
* @type {Object}
|
|
*/
|
|
const cmds = keyMirror({
|
|
isOnline: null,
|
|
registerLogger: null,
|
|
setBadgeCount: null,
|
|
badgeDataUrl: null,
|
|
activate: null,
|
|
registerBoundsChange: null,
|
|
registerProtocolHandler: null,
|
|
registerActivityDetection: null,
|
|
showNotificationSettings: null,
|
|
sanitize: null,
|
|
bringToFront: null,
|
|
openScreenPickerWindow: null,
|
|
popupMenu: null,
|
|
optimizeMemoryConsumption: null,
|
|
setIsInMeeting: null,
|
|
setLocale: null,
|
|
});
|
|
|
|
module.exports = {
|
|
cmds: cmds,
|
|
apiName: 'symphony-api'
|
|
};
|