From c3f36e6a897a3623bcbccddf52fc7e7e1597722c Mon Sep 17 00:00:00 2001 From: enahum Date: Mon, 16 Oct 2017 11:19:06 -0300 Subject: [PATCH] RN-404 add missing localization strings (#1020) --- app/screens/settings/notification_settings_mobile/index.js | 3 +-- assets/base/i18n/en.json | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/screens/settings/notification_settings_mobile/index.js b/app/screens/settings/notification_settings_mobile/index.js index 329a54ab1..7de73d3bd 100644 --- a/app/screens/settings/notification_settings_mobile/index.js +++ b/app/screens/settings/notification_settings_mobile/index.js @@ -9,9 +9,8 @@ import {getTheme} from 'mattermost-redux/selectors/entities/preferences'; import NotificationSettingsMobile from './notification_settings_mobile'; -function mapStateToProps(state, ownProps) { +function mapStateToProps(state) { return { - ...ownProps, config: getConfig(state), theme: getTheme(state) }; diff --git a/assets/base/i18n/en.json b/assets/base/i18n/en.json index 56285438f..f8a42a4af 100644 --- a/assets/base/i18n/en.json +++ b/assets/base/i18n/en.json @@ -1975,6 +1975,8 @@ "mobile.notification_settings_mobile.test": "Send me a test notification", "mobile.notification_settings_mobile.test_push": "This is a test push notification", "mobile.notification_settings_mobile.vibrate": "Vibrate", + "mobile.notification_settings.modal_cancel": "CANCEL", + "mobile.notification_settings.modal_save": "SAVE", "mobile.offlineIndicator.connected": "Connected", "mobile.offlineIndicator.connecting": "Connecting...", "mobile.offlineIndicator.offline": "No internet connection",