aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-20 16:58:46 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-20 16:58:46 -0700
commit60f74cdaa7f737eb4749e44333a7c7166dd6db6b (patch)
tree27286d3d35425fd0fee4f830d35a0f43bdcb22dc
parentad6b0ccf530519671d6af4843a5a6e5ac7f119e2 (diff)
downloadtrackermap-web-60f74cdaa7f737eb4749e44333a7c7166dd6db6b.tar.gz
trackermap-web-60f74cdaa7f737eb4749e44333a7c7166dd6db6b.tar.bz2
trackermap-web-60f74cdaa7f737eb4749e44333a7c7166dd6db6b.zip
Clean up alarm commands
-rw-r--r--web/app/store/KnownCommands.js2
-rw-r--r--web/l10n/en.json13
2 files changed, 11 insertions, 4 deletions
diff --git a/web/app/store/KnownCommands.js b/web/app/store/KnownCommands.js
index 1e82f2b8..a6089c48 100644
--- a/web/app/store/KnownCommands.js
+++ b/web/app/store/KnownCommands.js
@@ -180,7 +180,7 @@ Ext.define('Traccar.store.KnownCommands', {
valueType: 'boolean'
}]
}, {
- type: 'movementAlarm',
+ type: 'alarmGeofence',
parameters: [{
key: 'radius',
name: Strings.commandRadius,
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 301751cd..4e09eac6 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -314,9 +314,16 @@
"commandGetModemStatus": "Get Modem Status",
"commandGetDeviceStatus": "Get Device Status",
"commandSetSpeedLimit": "Set Speed Limit",
- "commandModePowerSaving": "Modify Power Saving",
- "commandModeDeepSleep": "Modify Deep Sleep",
- "commandMovementAlarm": "Movement Alarm",
+ "commandModePowerSaving": "Power Saving Mode",
+ "commandModeDeepSleep": "Deep Sleep Mode",
+ "commandAlarmGeofence": "Set Geofence Alarm",
+ "commandAlarmBattery": "Set Battery Alarm",
+ "commandAlarmSos": "Set SOS Alarm",
+ "commandAlarmRemove": "Set Remove Alarm",
+ "commandAlarmClock": "Set Clock Alarm",
+ "commandAlarmSpeed": "Set Speed Alarm",
+ "commandAlarmFall": "Set Fall Alarm",
+ "commandAlarmVibration": "Set Vibration Alarm",
"commandFrequency": "Frequency",
"commandTimezone": "Timezone Offset",
"commandMessage": "Message",