aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/user/UserDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 10:59:20 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 10:59:20 +1200
commite301d477ee95c0ae7f3d06f0950368cb5d8fe226 (patch)
tree11d08db1bd0397fe5521a4096ef416b7e73d4dbc /web/app/view/user/UserDialog.js
parent53f9c016515b9700dedb4e2b9bad02a85ee07460 (diff)
downloadtraccar-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.gz
traccar-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.bz2
traccar-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.zip
Rename string properties
Diffstat (limited to 'web/app/view/user/UserDialog.js')
-rw-r--r--web/app/view/user/UserDialog.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/web/app/view/user/UserDialog.js b/web/app/view/user/UserDialog.js
index 67bf2ccf1..ff624f9bb 100644
--- a/web/app/view/user/UserDialog.js
+++ b/web/app/view/user/UserDialog.js
@@ -25,7 +25,7 @@ Ext.define('Traccar.view.user.UserDialog', {
controller: 'userdialog',
bodyPadding: styles.panel_padding,
- title: strings.settings_user,
+ title: strings.settingsUser,
resizable: false,
modal: true,
@@ -34,66 +34,66 @@ Ext.define('Traccar.view.user.UserDialog', {
items: [{
xtype: 'textfield',
name: 'name',
- fieldLabel: strings.user_name
+ fieldLabel: strings.userName
}, {
xtype: 'textfield',
name: 'email',
- fieldLabel: strings.user_email,
+ fieldLabel: strings.userEmail,
allowBlank: false
}, {
xtype: 'textfield',
name: 'password',
- fieldLabel: strings.user_password,
+ fieldLabel: strings.userPassword,
inputType: 'password',
allowBlank: false
}, {
xtype: 'checkboxfield',
name: 'admin',
- fieldLabel: strings.user_admin,
+ fieldLabel: strings.userAdmin,
allowBlank: false,
disabled: true,
reference: 'adminField'
}, {
xtype: 'combobox',
name: 'map',
- fieldLabel: strings.map_layer,
+ fieldLabel: strings.mapLayer,
store: 'MapTypes',
displayField: 'name',
valueField: 'key'
}, {
xtype: 'combobox',
name: 'distanceUnit',
- fieldLabel: strings.settings_distance_unit,
+ fieldLabel: strings.settingsDistanceUnit,
store: 'DistanceUnits',
displayField: 'name',
valueField: 'key'
}, {
xtype: 'combobox',
name: 'speedUnit',
- fieldLabel: strings.settings_speed_unit,
+ fieldLabel: strings.settingsSpeedUnit,
store: 'SpeedUnits',
displayField: 'name',
valueField: 'key'
}, {
xtype: 'numberfield',
name: 'latitude',
- fieldLabel: strings.position_latitude
+ fieldLabel: strings.positionLatitude
}, {
xtype: 'numberfield',
name: 'longitude',
- fieldLabel: strings.position_longitude
+ fieldLabel: strings.positionLongitude
}, {
xtype: 'numberfield',
name: 'zoom',
- fieldLabel: strings.server_zoom
+ fieldLabel: strings.serverZoom
}]
},
buttons: [{
- text: strings.shared_save,
+ text: strings.sharedSave,
handler: 'onSaveClick'
}, {
- text: strings.shared_cancel,
+ text: strings.sharedCancel,
handler: 'onCancelClick'
}]