add formatted message for notification
This commit is contained in:
parent
92601fd615
commit
82499673f1
@ -59,6 +59,10 @@ const intlMessages = defineMessages({
|
|||||||
id: 'app.settings.dataSavingTab.label',
|
id: 'app.settings.dataSavingTab.label',
|
||||||
description: 'label for data savings tab',
|
description: 'label for data savings tab',
|
||||||
},
|
},
|
||||||
|
savedAlertLabel: {
|
||||||
|
id: 'app.settings.save-notification.label',
|
||||||
|
description: 'label shown in toast when settings are saved',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const propTypes = {
|
const propTypes = {
|
||||||
@ -262,7 +266,7 @@ class Settings extends Component {
|
|||||||
*/
|
*/
|
||||||
mountModal(null);
|
mountModal(null);
|
||||||
notify(
|
notify(
|
||||||
'settings have been saved',
|
intl.formatMessage(intlMessages.appTabLabel),
|
||||||
'info',
|
'info',
|
||||||
'settings',
|
'settings',
|
||||||
);
|
);
|
||||||
|
@ -274,6 +274,7 @@
|
|||||||
"app.settings.dataSavingTab.webcam": "Enable webcams",
|
"app.settings.dataSavingTab.webcam": "Enable webcams",
|
||||||
"app.settings.dataSavingTab.screenShare": "Enable desktop sharing",
|
"app.settings.dataSavingTab.screenShare": "Enable desktop sharing",
|
||||||
"app.settings.dataSavingTab.description": "To save your bandwidth adjust what's currently being displayed.",
|
"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.onLabel": "ON",
|
||||||
"app.switch.offLabel": "OFF",
|
"app.switch.offLabel": "OFF",
|
||||||
"app.actionsBar.actionsDropdown.actionsLabel": "Actions",
|
"app.actionsBar.actionsDropdown.actionsLabel": "Actions",
|
||||||
|
Loading…
Reference in New Issue
Block a user