change name of formatted string id's

This commit is contained in:
KDSBrowne 2018-08-13 19:16:22 +00:00
parent fecbee16b5
commit d7b6d027a2
2 changed files with 10 additions and 10 deletions

View File

@ -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>

View File

@ -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",