aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-16 12:04:04 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-16 12:04:04 +0500
commitedaa792903fd3907f9113f345563a3c2ce5eabac (patch)
tree51cee5a00ce813d34564c0a05ce5aa0d650fac7e
parent0b0e88c03ed0a853afff9dc02ae55e4bf0dd3734 (diff)
downloadetbsa-traccar-web-edaa792903fd3907f9113f345563a3c2ce5eabac.tar.gz
etbsa-traccar-web-edaa792903fd3907f9113f345563a3c2ce5eabac.tar.bz2
etbsa-traccar-web-edaa792903fd3907f9113f345563a3c2ce5eabac.zip
- Correct 'motion' attribute type
- Add 'removing' alarm string
-rw-r--r--web/app/store/PositionAttributes.js2
-rw-r--r--web/l10n/en.json1
2 files changed, 2 insertions, 1 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js
index 7215429..0a6572d 100644
--- a/web/app/store/PositionAttributes.js
+++ b/web/app/store/PositionAttributes.js
@@ -185,7 +185,7 @@ Ext.define('Traccar.store.PositionAttributes', {
}, {
key: 'motion',
name: Strings.positionMotion,
- valueType: 'number'
+ valueType: 'boolean'
}, {
key: 'armed',
name: Strings.positionArmed,
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 90dddd0..f8ac447 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -299,6 +299,7 @@
"alarmFootBrake": "Foot Brake Alarm",
"alarmOilLeak": "Oil Leak Alarm",
"alarmTampering": "Tampering Alarm",
+ "alarmRemoving": "Removing Alarm",
"notificationType": "Type of Notification",
"notificationWeb": "Send via Web",
"notificationMail": "Send via Mail",