From d7b6d027a2fea22c6e1abf9bfd68ac6af3c2cac8 Mon Sep 17 00:00:00 2001 From: KDSBrowne <kert.browne85@gmail.com> Date: Mon, 13 Aug 2018 19:16:22 +0000 Subject: [PATCH] change name of formatted string id's --- .../settings/submenus/application/component.jsx | 16 ++++++++-------- bigbluebutton-html5/private/locales/en.json | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx b/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx index 010bed8fb2..2ea198e23d 100644 --- a/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx @@ -14,12 +14,12 @@ const intlMessages = defineMessages({ id: 'app.submenu.application.applicationSectionTitle', description: 'Application section title', }, - audioNotifyLabel: { - id: 'app.submenu.application.audioNotifyLabel', + audioAlertLabel: { + id: 'app.submenu.application.audioAlertLabel', description: 'audio notification label', }, - pushNotifyLabel: { - id: 'app.submenu.application.pushNotifyLabel', + pushAlertLabel: { + id: 'app.submenu.application.pushAlertLabel', description: 'push notifiation label', }, fontSizeControlLabel: { @@ -141,7 +141,7 @@ class ApplicationMenu extends BaseMenu { <div className={styles.col} aria-hidden="true"> <div className={styles.formElement}> <label className={styles.label}> - {intl.formatMessage(intlMessages.audioNotifyLabel)} + {intl.formatMessage(intlMessages.audioAlertLabel)} </label> </div> </div> @@ -151,7 +151,7 @@ class ApplicationMenu extends BaseMenu { icons={false} defaultChecked={this.state.settings.chatAudioNotifications} onChange={() => this.handleToggle('chatAudioNotifications')} - ariaLabel={intl.formatMessage(intlMessages.audioNotifyLabel)} + ariaLabel={intl.formatMessage(intlMessages.audioAlertLabel)} /> </div> </div> @@ -161,7 +161,7 @@ class ApplicationMenu extends BaseMenu { <div className={styles.col} aria-hidden="true"> <div className={styles.formElement}> <label className={styles.label}> - {intl.formatMessage(intlMessages.pushNotifyLabel)} + {intl.formatMessage(intlMessages.pushAlertLabel)} </label> </div> </div> @@ -171,7 +171,7 @@ class ApplicationMenu extends BaseMenu { icons={false} defaultChecked={this.state.settings.chatPushNotifications} onChange={() => this.handleToggle('chatPushNotifications')} - ariaLabel={intl.formatMessage(intlMessages.pushNotifyLabel)} + ariaLabel={intl.formatMessage(intlMessages.pushAlertLabel)} /> </div> </div> diff --git a/bigbluebutton-html5/private/locales/en.json b/bigbluebutton-html5/private/locales/en.json index 457546e4a6..2fedef20fd 100755 --- a/bigbluebutton-html5/private/locales/en.json +++ b/bigbluebutton-html5/private/locales/en.json @@ -126,8 +126,8 @@ "app.actionsBar.raiseLabel": "Raise", "app.actionsBar.label": "Actions Bar", "app.submenu.application.applicationSectionTitle": "Application", - "app.submenu.application.audioNotifyLabel": "Audio Alerts for Chat", - "app.submenu.application.pushNotifyLabel": "Popup Alerts for Chat", + "app.submenu.application.audioAlertLabel": "Audio Alerts for Chat", + "app.submenu.application.pushAlertLabel": "Popup Alerts for Chat", "app.submenu.application.fontSizeControlLabel": "Font size", "app.submenu.application.increaseFontBtnLabel": "Increase Application Font Size", "app.submenu.application.decreaseFontBtnLabel": "Decrease Application Font Size", -- GitLab