Browse Source

feat(welcome/native): updated settings name placeholder example text

master
Calin Chitu 3 years ago
parent
commit
98ef0e74d6

+ 1
- 0
lang/main.json View File

973
         "disableCrashReportingWarning": "Are you sure you want to disable crash reporting? The setting will be applied after you restart the app.",
973
         "disableCrashReportingWarning": "Are you sure you want to disable crash reporting? The setting will be applied after you restart the app.",
974
         "disableP2P": "Disable Peer-To-Peer mode",
974
         "disableP2P": "Disable Peer-To-Peer mode",
975
         "displayName": "Display name",
975
         "displayName": "Display name",
976
+        "displayNamePlaceholderText": "Eg: John Doe",
976
         "email": "Email",
977
         "email": "Email",
977
         "header": "Settings",
978
         "header": "Settings",
978
         "profileSection": "Profile",
979
         "profileSection": "Profile",

+ 1
- 1
react/features/welcome/components/native/settings/components/SettingsView.js View File

211
                             label = { this.props.t('settingsView.displayName') }
211
                             label = { this.props.t('settingsView.displayName') }
212
                             mode = 'outlined'
212
                             mode = 'outlined'
213
                             onChangeText = { this._onChangeDisplayName }
213
                             onChangeText = { this._onChangeDisplayName }
214
-                            placeholder = 'John Doe'
214
+                            placeholder = { this.props.t('settingsView.displayNamePlaceholderText') }
215
                             spellCheck = { false }
215
                             spellCheck = { false }
216
                             style = { styles.textInputContainer }
216
                             style = { styles.textInputContainer }
217
                             textContentType = { 'name' } // iOS only
217
                             textContentType = { 'name' } // iOS only

Loading…
Cancel
Save