aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/ReportController.js4
-rw-r--r--web/app/view/State.js2
-rw-r--r--web/l10n/en.json2
3 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 40f3afd7..e266bf47 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -484,8 +484,8 @@ Ext.define('Traccar.view.ReportController', {
renderer: function (value, metaData, record) {
if (!value) {
return '<a href="#" onclick="Ext.fireEvent(\'routegeocode\', ' +
- record.getId() + ')" >' +
- Strings.stateShowAddress + '</a>';
+ record.getId() + ')" >' +
+ Strings.stateShowAddress + '</a>';
}
return Traccar.AttributeFormatter.getFormatter('address')(value);
}
diff --git a/web/app/view/State.js b/web/app/view/State.js
index d4c56d79..95529a48 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -65,7 +65,7 @@ Ext.define('Traccar.view.State', {
metaData.tdCls = 'view-color-red';
} else if (record.get('name') === Strings.positionAddress && !value) {
return '<a href="#" onclick="Ext.fireEvent(\'stategeocode\')" >' +
- Strings.stateShowAddress + '</a>';
+ Strings.sharedShowAddress + '</a>';
}
return value;
}
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 93278983..25c8c69a 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -72,6 +72,7 @@
"sharedSavedCommand": "Saved Command",
"sharedSavedCommands": "Saved Commands",
"sharedNew": "New…",
+ "sharedShowAddress": "Show Address",
"attributeSpeedLimit": "Speed Limit",
"attributeReportIgnoreOdometer": "Report: Ignore Odometer",
"attributeMaintenanceStart": "Maintenance: Start",
@@ -241,7 +242,6 @@
"stateTitle": "State",
"stateName": "Attribute",
"stateValue": "Value",
- "stateShowAddress": "Show Address",
"commandTitle": "Command",
"commandSend": "Send",
"commandSent": "Command has been sent",