mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-825: fix message formatting (#531)
This commit is contained in:
committed by
GitHub
parent
c1d162b7cc
commit
4c58634010
@@ -295,7 +295,7 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
|
||||
|
||||
if (config && config.permissions) {
|
||||
const permission = ' screen sharing';
|
||||
const fullMessage = i18n.getMessageFor('Your administrator has disabled') + permission + '. ' + i18n.getMessageFor('Please contact your admin for help');
|
||||
const fullMessage = i18n.getMessageFor('Your administrator has disabled ') + permission + '. ' + i18n.getMessageFor('Please contact your admin for help');
|
||||
const dialogContent = { type: 'error', title: i18n.getMessageFor('Permission Denied') + '!', message: fullMessage };
|
||||
mainWindow.webContents.send('is-screen-share-enabled', config.permissions.media, dialogContent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user