diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:39:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:39:38 +1300 |
commit | 8416025e932669550c166cfc4263d55c149eed89 (patch) | |
tree | 904f1c29af8b76784583da62fe85a270d5c01e9a /web/app/view/UserDialog.js | |
parent | 04e63f9b42991008843f3f9d1788fa6933bd57b3 (diff) | |
download | trackermap-server-8416025e932669550c166cfc4263d55c149eed89.tar.gz trackermap-server-8416025e932669550c166cfc4263d55c149eed89.tar.bz2 trackermap-server-8416025e932669550c166cfc4263d55c149eed89.zip |
Rename strings global variable
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 }] } }); |