From e301d477ee95c0ae7f3d06f0950368cb5d8fe226 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 3 Aug 2015 10:59:20 +1200 Subject: Rename string properties --- web/app/view/state/State.js | 6 +++--- web/app/view/state/StateController.js | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'web/app/view/state') diff --git a/web/app/view/state/State.js b/web/app/view/state/State.js index 595d845a2..39460dc52 100644 --- a/web/app/view/state/State.js +++ b/web/app/view/state/State.js @@ -25,11 +25,11 @@ Ext.define('Traccar.view.state.State', { controller: 'state', store: 'Parameters', - title: strings.state_title, + title: strings.stateTitle, columns: [ - { text: strings.state_name, dataIndex: 'name', flex: 1 }, - { text: strings.state_value, dataIndex: 'value', flex: 1 } + { text: strings.stateName, dataIndex: 'name', flex: 1 }, + { text: strings.stateValue, dataIndex: 'value', flex: 1 } ] }); diff --git a/web/app/view/state/StateController.js b/web/app/view/state/StateController.js index 66b1c48ac..58b63120b 100644 --- a/web/app/view/state/StateController.js +++ b/web/app/view/state/StateController.js @@ -37,39 +37,39 @@ Ext.define('Traccar.view.state.StateController', { keys: { 'fixTime': { priority: 1, - name: strings.position_time + name: strings.positionTime }, 'latitude': { priority: 2, - name: strings.position_latitude + name: strings.positionLatitude }, 'longitude': { priority: 3, - name: strings.position_longitude + name: strings.positionLongitude }, 'valid': { priority: 4, - name: strings.position_valid + name: strings.positionValid }, 'altitude': { priority: 5, - name: strings.position_altitude + name: strings.positionAltitude }, 'speed': { priority: 6, - name: strings.position_speed + name: strings.positionSpeed }, 'course': { priority: 7, - name: strings.position_course + name: strings.positionCourse }, 'address': { priority: 8, - name: strings.position_address + name: strings.positionAddress }, 'protocol': { priority: 9, - name: strings.position_protocol + name: strings.positionProtocol } }, -- cgit v1.2.3