fixes non localized notifications label in settings

This commit is contained in:
Philipp Memmel 2021-02-01 15:57:43 +00:00
parent e101d037f2
commit 5049698d13

View File

@ -51,6 +51,10 @@ const intlMessages = defineMessages({
id: 'app.settings.main.save.label.description',
description: 'Settings modal save button label',
},
notificationLabel: {
id: 'app.submenu.notification.SectionTitle', // set menu label identical to section title
description: 'label for notification tab',
},
dataSavingLabel: {
id: 'app.settings.dataSavingTab.label',
description: 'label for data savings tab',
@ -168,7 +172,7 @@ class Settings extends Component {
selectedClassName={styles.selected}
>
<Icon iconName="alert" className={styles.icon} />
<span id="notificationTab">Notification</span>
<span id="notificationTab">{intl.formatMessage(intlMessages.notificationLabel)}</span>
</Tab>
<Tab
className={styles.tabSelector}