@ -26,7 +26,8 @@ export default class ColumnSettings extends React.PureComponent {
render ( ) {
render ( ) {
const { settings , pushSettings , onChange , onClear , alertsEnabled , browserSupport , browserPermission , onRequestNotificationPermission } = this . props ;
const { settings , pushSettings , onChange , onClear , alertsEnabled , browserSupport , browserPermission , onRequestNotificationPermission } = this . props ;
const filterShowStr = < FormattedMessage id = 'notifications.column_settings.filter_bar.show' defaultMessage = 'Show' / > ;
const unreadMarkersShowStr = < FormattedMessage id = 'notifications.column_settings.unread_notifications.highlight' defaultMessage = 'Highlight unread notifications' / > ;
const filterBarShowStr = < FormattedMessage id = 'notifications.column_settings.filter_bar.show_bar' defaultMessage = 'Show filter bar' / > ;
const filterAdvancedStr = < FormattedMessage id = 'notifications.column_settings.filter_bar.advanced' defaultMessage = 'Display all categories' / > ;
const filterAdvancedStr = < FormattedMessage id = 'notifications.column_settings.filter_bar.advanced' defaultMessage = 'Display all categories' / > ;
const alertStr = < FormattedMessage id = 'notifications.column_settings.alert' defaultMessage = 'Desktop notifications' / > ;
const alertStr = < FormattedMessage id = 'notifications.column_settings.alert' defaultMessage = 'Desktop notifications' / > ;
const showStr = < FormattedMessage id = 'notifications.column_settings.show' defaultMessage = 'Show in column' / > ;
const showStr = < FormattedMessage id = 'notifications.column_settings.show' defaultMessage = 'Show in column' / > ;
@ -57,11 +58,11 @@ export default class ColumnSettings extends React.PureComponent {
< div role = 'group' aria - labelledby = 'notifications-unread-markers' >
< div role = 'group' aria - labelledby = 'notifications-unread-markers' >
< span id = 'notifications-unread-markers' className = 'column-settings__section' >
< span id = 'notifications-unread-markers' className = 'column-settings__section' >
< FormattedMessage id = 'notifications.column_settings.unread_ marker s.category' defaultMessage = 'Unread notification marker s' / >
< FormattedMessage id = 'notifications.column_settings.unread_ notification s.category' defaultMessage = 'Unread notification s' / >
< / s p a n >
< / s p a n >
< div className = 'column-settings__row' >
< div className = 'column-settings__row' >
< SettingToggle id = 'unread-notification-markers' prefix = 'notifications' settings = { settings } settingPath = { [ 'showUnread' ] } onChange = { onChange } label = { filter ShowStr} / >
< SettingToggle id = 'unread-notification-markers' prefix = 'notifications' settings = { settings } settingPath = { [ 'showUnread' ] } onChange = { onChange } label = { unreadMarkers ShowStr} / >
< / d i v >
< / d i v >
< / d i v >
< / d i v >
@ -71,7 +72,7 @@ export default class ColumnSettings extends React.PureComponent {
< / s p a n >
< / s p a n >
< div className = 'column-settings__row' >
< div className = 'column-settings__row' >
< SettingToggle id = 'show-filter-bar' prefix = 'notifications' settings = { settings } settingPath = { [ 'quickFilter' , 'show' ] } onChange = { onChange } label = { filter ShowStr} / >
< SettingToggle id = 'show-filter-bar' prefix = 'notifications' settings = { settings } settingPath = { [ 'quickFilter' , 'show' ] } onChange = { onChange } label = { filter Bar ShowStr} / >
< SettingToggle id = 'show-filter-bar' prefix = 'notifications' settings = { settings } settingPath = { [ 'quickFilter' , 'advanced' ] } onChange = { onChange } label = { filterAdvancedStr } / >
< SettingToggle id = 'show-filter-bar' prefix = 'notifications' settings = { settings } settingPath = { [ 'quickFilter' , 'advanced' ] } onChange = { onChange } label = { filterAdvancedStr } / >
< / d i v >
< / d i v >
< / d i v >
< / d i v >