aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report/Report.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/report/Report.js
parent53f9c016515b9700dedb4e2b9bad02a85ee07460 (diff)
downloadtrackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.gz
trackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.bz2
trackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.zip
Rename string properties
Diffstat (limited to 'web/app/view/report/Report.js')
-rw-r--r--web/app/view/report/Report.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js
index 320d336fa..8e6fe0397 100644
--- a/web/app/view/report/Report.js
+++ b/web/app/view/report/Report.js
@@ -25,11 +25,11 @@ Ext.define('Traccar.view.report.Report', {
controller: 'report',
store: 'Positions',
- title: strings.report_title,
+ title: strings.reportTitle,
tbar: [{
xtype: 'tbtext',
- html: strings.report_device
+ html: strings.reportDevice
}, {
xtype: 'combobox',
reference: 'deviceField',
@@ -40,7 +40,7 @@ Ext.define('Traccar.view.report.Report', {
queryMode: 'local'
}, '-', {
xtype: 'tbtext',
- html: strings.report_from
+ html: strings.reportFrom
}, {
xtype: 'datefield',
reference: 'fromDateField',
@@ -52,7 +52,7 @@ Ext.define('Traccar.view.report.Report', {
value: new Date()
}, '-', {
xtype: 'tbtext',
- html: strings.report_to
+ html: strings.reportTo
}, {
xtype: 'datefield',
reference: 'toDateField',
@@ -63,10 +63,10 @@ Ext.define('Traccar.view.report.Report', {
maxWidth: styles.report_time,
value: new Date()
}, '-', {
- text: strings.report_show,
+ text: strings.reportShow,
handler: 'onShowClick'
}, {
- text: strings.report_clear,
+ text: strings.reportClear,
handler: 'onClearClick'
}],
@@ -75,13 +75,13 @@ Ext.define('Traccar.view.report.Report', {
},
columns: [
- { text: strings.position_valid, dataIndex: 'valid', flex: 1 },
- { text: strings.position_time, dataIndex: 'fixTime', flex: 1, xtype: 'datecolumn', format: styles.report_format },
- { text: strings.position_latitude, dataIndex: 'latitude', flex: 1 },
- { text: strings.position_longitude, dataIndex: 'longitude', flex: 1 },
- { text: strings.position_altitude, dataIndex: 'altitude', flex: 1 },
+ { text: strings.positionValid, dataIndex: 'valid', flex: 1 },
+ { text: strings.positionTime, dataIndex: 'fixTime', flex: 1, xtype: 'datecolumn', format: styles.report_format },
+ { text: strings.positionLatitude, dataIndex: 'latitude', flex: 1 },
+ { text: strings.positionLongitude, dataIndex: 'longitude', flex: 1 },
+ { text: strings.positionAltitude, dataIndex: 'altitude', flex: 1 },
{
- text: strings.position_speed,
+ text: strings.positionSpeed,
dataIndex: 'speed',
flex: 1,
renderer: function(value) {
@@ -90,8 +90,8 @@ Ext.define('Traccar.view.report.Report', {
return speedUnits.convert(value, unit) + ' ' + speedUnits.getUnitName(unit);
}
},
- { text: strings.position_course, dataIndex: 'course', flex: 1 },
- { text: strings.position_address, dataIndex: 'address', flex: 1 }
+ { text: strings.positionCourse, dataIndex: 'course', flex: 1 },
+ { text: strings.positionAddress, dataIndex: 'address', flex: 1 }
]
});