diff options
author | Abyss777 <abyss@fox5.ru> | 2017-11-13 16:48:52 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-11-13 16:48:52 +0500 |
commit | be7876d44dd63d9c7fc1b6e61f0caa01b1bb423e (patch) | |
tree | 73dd4ee8cdb7d33d0947ec6d853fc7a2a9da984e /web | |
parent | 6c765684b17b62e3be8f47c0d0cfa925bc94c2c8 (diff) | |
download | trackermap-web-be7876d44dd63d9c7fc1b6e61f0caa01b1bb423e.tar.gz trackermap-web-be7876d44dd63d9c7fc1b6e61f0caa01b1bb423e.tar.bz2 trackermap-web-be7876d44dd63d9c7fc1b6e61f0caa01b1bb423e.zip |
Rename string to "shared"
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/ReportController.js | 4 | ||||
-rw-r--r-- | web/app/view/State.js | 2 | ||||
-rw-r--r-- | web/l10n/en.json | 2 |
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", |