From 8416025e932669550c166cfc4263d55c149eed89 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 3 Oct 2015 21:39:38 +1300 Subject: Rename strings global variable --- web/app/view/ServerDialog.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'web/app/view/ServerDialog.js') diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js index a9751d647..fa5ede524 100644 --- a/web/app/view/ServerDialog.js +++ b/web/app/view/ServerDialog.js @@ -24,56 +24,56 @@ ], controller: 'baseEditDialog', - title: strings.serverTitle, + title: Strings.serverTitle, items: { xtype: 'form', items: [{ xtype: 'checkboxfield', name: 'registration', - fieldLabel: strings.serverRegistration, + fieldLabel: Strings.serverRegistration, allowBlank: false }, { xtype: 'combobox', name: 'map', - fieldLabel: strings.mapLayer, + fieldLabel: Strings.mapLayer, store: 'MapTypes', displayField: 'name', valueField: 'key' }, { xtype: 'textfield', name: 'bingKey', - fieldLabel: strings.mapBingKey + fieldLabel: Strings.mapBingKey }, { xtype: 'textfield', name: 'mapUrl', - fieldLabel: strings.mapCustom + fieldLabel: Strings.mapCustom }, { 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 }] } }); -- cgit v1.2.3