From 82499673f14079976623c570ec0060268e950368 Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Wed, 8 May 2019 15:50:00 +0000 Subject: [PATCH] add formatted message for notification --- .../imports/ui/components/settings/component.jsx | 6 +++++- bigbluebutton-html5/private/locales/en.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/settings/component.jsx b/bigbluebutton-html5/imports/ui/components/settings/component.jsx index c56a7aa3ae..6e961224e4 100644 --- a/bigbluebutton-html5/imports/ui/components/settings/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/settings/component.jsx @@ -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', ); diff --git a/bigbluebutton-html5/private/locales/en.json b/bigbluebutton-html5/private/locales/en.json index 34bff969a9..3f9527721d 100755 --- a/bigbluebutton-html5/private/locales/en.json +++ b/bigbluebutton-html5/private/locales/en.json @@ -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",