From 60f74cdaa7f737eb4749e44333a7c7166dd6db6b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 20 Apr 2022 16:58:46 -0700 Subject: Clean up alarm commands --- web/app/store/KnownCommands.js | 2 +- web/l10n/en.json | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'web') 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", -- cgit v1.2.3