diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 16:29:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 16:29:02 +1300 |
commit | fc408a9ad93ebef686453be0d6565a5e630bf476 (patch) | |
tree | 2231d8be2f1d37f2bb87c38ccbd95be904209b0b /web | |
parent | efbaeb0393df7532dd7865f0e77171209f4e9363 (diff) | |
download | etbsa-traccar-web-fc408a9ad93ebef686453be0d6565a5e630bf476.tar.gz etbsa-traccar-web-fc408a9ad93ebef686453be0d6565a5e630bf476.tar.bz2 etbsa-traccar-web-fc408a9ad93ebef686453be0d6565a5e630bf476.zip |
Add nautical mile support
Diffstat (limited to 'web')
-rw-r--r-- | web/app/store/DistanceUnits.js | 4 | ||||
-rw-r--r-- | web/l10n/en.json | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/web/app/store/DistanceUnits.js b/web/app/store/DistanceUnits.js index df0bb47..276da0e 100644 --- a/web/app/store/DistanceUnits.js +++ b/web/app/store/DistanceUnits.js @@ -27,6 +27,10 @@ Ext.define('Traccar.store.DistanceUnits', { key: 'mi', name: Strings.sharedMi, factor: 0.000621371 + }, { + key: 'nmi', + name: Strings.sharedNmi, + factor: 0.000539957 }], formatValue: function (value, unit) { diff --git a/web/l10n/en.json b/web/l10n/en.json index c9c65eb..6dbcb3d 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -8,6 +8,7 @@ "sharedRemoveConfirm": "Remove item?", "sharedKm": "km", "sharedMi": "mi", + "sharedNmi": "nmi", "sharedKn": "kn", "sharedKmh": "km/h", "sharedMph": "mph", |