Bläddra i källkod

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

master
Calin Chitu 3 år sedan
förälder
incheckning
98ef0e74d6

+ 1
- 0
lang/main.json Visa fil

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

+ 1
- 1
react/features/welcome/components/native/settings/components/SettingsView.js Visa fil

@@ -211,7 +211,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
211 211
                             label = { this.props.t('settingsView.displayName') }
212 212
                             mode = 'outlined'
213 213
                             onChangeText = { this._onChangeDisplayName }
214
-                            placeholder = 'John Doe'
214
+                            placeholder = { this.props.t('settingsView.displayNamePlaceholderText') }
215 215
                             spellCheck = { false }
216 216
                             style = { styles.textInputContainer }
217 217
                             textContentType = { 'name' } // iOS only

Laddar…
Avbryt
Spara