SymphonyElectron/js/enums/api.js
Vishwas Shashidhar a26a1d609c
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
2018-06-19 20:26:04 +05:30

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'
};