diff options
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r-- | web/app/view/UserDialog.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 2048051be..f66c5af02 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -25,65 +25,65 @@ controller: 'userDialog', - title: strings.settingsUser, + title: Strings.settingsUser, items: { xtype: 'form', items: [{ xtype: 'textfield', name: 'name', - fieldLabel: strings.userName + fieldLabel: Strings.userName }, { xtype: 'textfield', name: 'email', - fieldLabel: strings.userEmail, + fieldLabel: Strings.userEmail, allowBlank: false }, { xtype: 'textfield', name: 'password', - fieldLabel: strings.userPassword, + fieldLabel: Strings.userPassword, inputType: 'password', allowBlank: false }, { xtype: 'checkboxfield', name: 'admin', - fieldLabel: strings.userAdmin, + fieldLabel: Strings.userAdmin, allowBlank: false, disabled: true, reference: 'adminField' }, { xtype: 'combobox', name: 'map', - fieldLabel: strings.mapLayer, + fieldLabel: Strings.mapLayer, store: 'MapTypes', displayField: 'name', valueField: 'key' }, { xtype: 'combobox', name: 'distanceUnit', - fieldLabel: strings.settingsDistanceUnit, + fieldLabel: Strings.settingsDistanceUnit, store: 'DistanceUnits', displayField: 'name', valueField: 'key' }, { xtype: 'combobox', name: 'speedUnit', - fieldLabel: strings.settingsSpeedUnit, + fieldLabel: Strings.settingsSpeedUnit, store: 'SpeedUnits', displayField: 'name', valueField: 'key' }, { xtype: 'numberfield', name: 'latitude', - fieldLabel: strings.positionLatitude + fieldLabel: Strings.positionLatitude }, { xtype: 'numberfield', name: 'longitude', - fieldLabel: strings.positionLongitude + fieldLabel: Strings.positionLongitude }, { xtype: 'numberfield', name: 'zoom', - fieldLabel: strings.serverZoom + fieldLabel: Strings.serverZoom }] } }); |