aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
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/store
parent53f9c016515b9700dedb4e2b9bad02a85ee07460 (diff)
downloadtrackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.gz
trackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.bz2
trackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.zip
Rename string properties
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/CommandTypes.js8
-rw-r--r--web/app/store/DistanceUnits.js4
-rw-r--r--web/app/store/MapTypes.js6
-rw-r--r--web/app/store/SpeedUnits.js4
-rw-r--r--web/app/store/TimeUnits.js6
5 files changed, 14 insertions, 14 deletions
diff --git a/web/app/store/CommandTypes.js b/web/app/store/CommandTypes.js
index f646424bf..6ce247b30 100644
--- a/web/app/store/CommandTypes.js
+++ b/web/app/store/CommandTypes.js
@@ -18,9 +18,9 @@ Ext.define('Traccar.store.CommandTypes', {
extend: 'Ext.data.Store',
fields: ['key', 'name'],
data: [
- {'key': 'positionPeriodic', 'name': strings.command_position_periodic},
- {'key': 'positionStop', 'name': strings.command_position_stop},
- {'key': 'engineStop', 'name': strings.command_engine_stop},
- {'key': 'engineResume', 'name': strings.command_engine_resume}
+ {'key': 'positionPeriodic', 'name': strings.commandPositionPeriodic},
+ {'key': 'positionStop', 'name': strings.commandPositionStop},
+ {'key': 'engineStop', 'name': strings.commandEngineStop},
+ {'key': 'engineResume', 'name': strings.commandEngineResume}
]
});
diff --git a/web/app/store/DistanceUnits.js b/web/app/store/DistanceUnits.js
index be17466ec..506f1077c 100644
--- a/web/app/store/DistanceUnits.js
+++ b/web/app/store/DistanceUnits.js
@@ -18,7 +18,7 @@ Ext.define('Traccar.store.DistanceUnits', {
extend: 'Ext.data.Store',
fields: ['key', 'name'],
data: [
- {'key': 'km', 'name': strings.shared_km},
- {'key': 'mi', 'name': strings.shared_mi}
+ {'key': 'km', 'name': strings.sharedKm},
+ {'key': 'mi', 'name': strings.sharedMi}
]
});
diff --git a/web/app/store/MapTypes.js b/web/app/store/MapTypes.js
index 4d37e133d..ebc45cc8d 100644
--- a/web/app/store/MapTypes.js
+++ b/web/app/store/MapTypes.js
@@ -18,8 +18,8 @@ Ext.define('Traccar.store.MapTypes', {
extend: 'Ext.data.Store',
fields: ['key', 'name'],
data: [
- {'key': 'osm', 'name': strings.map_osm},
- {'key': 'bingRoad', 'name': strings.map_bing_road},
- {'key': 'bingAerial', 'name': strings.map_bing_aerial}
+ {'key': 'osm', 'name': strings.mapOsm},
+ {'key': 'bingRoad', 'name': strings.mapBingRoad},
+ {'key': 'bingAerial', 'name': strings.mapBingAerial}
]
});
diff --git a/web/app/store/SpeedUnits.js b/web/app/store/SpeedUnits.js
index 450716039..78686fbb9 100644
--- a/web/app/store/SpeedUnits.js
+++ b/web/app/store/SpeedUnits.js
@@ -18,8 +18,8 @@ Ext.define('Traccar.store.SpeedUnits', {
extend: 'Ext.data.Store',
fields: ['key', 'name'],
data: [
- {'key': 'kmh', 'name': strings.shared_kmh},
- {'key': 'mph', 'name': strings.shared_mph}
+ {'key': 'kmh', 'name': strings.sharedKmh},
+ {'key': 'mph', 'name': strings.sharedMph}
],
convert: function(value, unit) {
diff --git a/web/app/store/TimeUnits.js b/web/app/store/TimeUnits.js
index f41ee5e2f..5d96f3b8b 100644
--- a/web/app/store/TimeUnits.js
+++ b/web/app/store/TimeUnits.js
@@ -18,8 +18,8 @@ Ext.define('Traccar.store.TimeUnits', {
extend: 'Ext.data.Store',
fields: ['multiplier', 'name'],
data: [
- {'multiplier': 1, 'name': strings.shared_second},
- {'multiplier': 60, 'name': strings.shared_minute},
- {'multiplier': 3600, 'name': strings.shared_hour}
+ {'multiplier': 1, 'name': strings.sharedSecond},
+ {'multiplier': 60, 'name': strings.sharedMinute},
+ {'multiplier': 3600, 'name': strings.sharedHour}
]
});