add formatted message for notification

This commit is contained in:
KDSBrowne 2019-05-08 15:50:00 +00:00
parent 92601fd615
commit 82499673f1
2 changed files with 6 additions and 1 deletions

View File

@ -59,6 +59,10 @@ const intlMessages = defineMessages({
id: 'app.settings.dataSavingTab.label',
description: 'label for data savings tab',
},
savedAlertLabel: {
id: 'app.settings.save-notification.label',
description: 'label shown in toast when settings are saved',
},
});
const propTypes = {
@ -262,7 +266,7 @@ class Settings extends Component {
*/
mountModal(null);
notify(
'settings have been saved',
intl.formatMessage(intlMessages.appTabLabel),
'info',
'settings',
);

View File

@ -274,6 +274,7 @@
"app.settings.dataSavingTab.webcam": "Enable webcams",
"app.settings.dataSavingTab.screenShare": "Enable desktop sharing",
"app.settings.dataSavingTab.description": "To save your bandwidth adjust what's currently being displayed.",
"app.settings.save-notification.label": "Settings have been saved",
"app.switch.onLabel": "ON",
"app.switch.offLabel": "OFF",
"app.actionsBar.actionsDropdown.actionsLabel": "Actions",