Fixes to user-facing strings of rfxtrx integration (#142677)

- consistently use "RFXtrx" for the friendly name of the integration
- apply sentence-casing to all strings
- use the common state for "Normal"
This commit is contained in:
Norbert Rittel 2025-04-10 18:00:37 +02:00 committed by GitHub
parent c7ca88e666
commit 1d9343df7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@
"event_code": "Enter event code to add", "event_code": "Enter event code to add",
"device": "Select device to configure" "device": "Select device to configure"
}, },
"title": "Rfxtrx Options" "title": "RFXtrx options"
}, },
"set_device_options": { "set_device_options": {
"data": { "data": {
@ -131,40 +131,40 @@
"level_9": "Level 9", "level_9": "Level 9",
"program": "Program", "program": "Program",
"stop": "Stop", "stop": "Stop",
"0_5_seconds_up": "0.5 Seconds Up", "0_5_seconds_up": "0.5 seconds up",
"0_5_seconds_down": "0.5 Seconds Down", "0_5_seconds_down": "0.5 seconds down",
"2_seconds_up": "2 Seconds Up", "2_seconds_up": "2 seconds up",
"2_seconds_down": "2 Seconds Down", "2_seconds_down": "2 seconds down",
"enable_sun_automation": "Enable sun automation", "enable_sun_automation": "Enable sun automation",
"disable_sun_automation": "Disable sun automation", "disable_sun_automation": "Disable sun automation",
"normal": "Normal", "normal": "[%key:common::state::normal%]",
"normal_delayed": "Normal Delayed", "normal_delayed": "Normal delayed",
"alarm": "Alarm", "alarm": "Alarm",
"alarm_delayed": "Alarm Delayed", "alarm_delayed": "Alarm delayed",
"motion": "Motion", "motion": "Motion",
"no_motion": "No Motion", "no_motion": "No motion",
"panic": "Panic", "panic": "Panic",
"end_panic": "End Panic", "end_panic": "End panic",
"ir": "IR", "ir": "IR",
"arm_away": "Arm Away", "arm_away": "Arm away",
"arm_away_delayed": "Arm Away Delayed", "arm_away_delayed": "Arm away delayed",
"arm_home": "Arm Home", "arm_home": "Arm home",
"arm_home_delayed": "Arm Home Delayed", "arm_home_delayed": "Arm home delayed",
"disarm": "Disarm", "disarm": "Disarm",
"light_1_off": "Light 1 Off", "light_1_off": "Light 1 off",
"light_1_on": "Light 1 On", "light_1_on": "Light 1 on",
"light_2_off": "Light 2 Off", "light_2_off": "Light 2 off",
"light_2_on": "Light 2 On", "light_2_on": "Light 2 on",
"dark_detected": "Dark Detected", "dark_detected": "Dark detected",
"light_detected": "Light Detected", "light_detected": "Light detected",
"battery_low": "Battery low", "battery_low": "Battery low",
"pairing_kd101": "Pairing KD101", "pairing_kd101": "Pairing KD101",
"normal_tamper": "Normal Tamper", "normal_tamper": "Normal tamper",
"normal_delayed_tamper": "Normal Delayed Tamper", "normal_delayed_tamper": "Normal delayed tamper",
"alarm_tamper": "Alarm Tamper", "alarm_tamper": "Alarm tamper",
"alarm_delayed_tamper": "Alarm Delayed Tamper", "alarm_delayed_tamper": "Alarm delayed tamper",
"motion_tamper": "Motion Tamper", "motion_tamper": "Motion tamper",
"no_motion_tamper": "No Motion Tamper" "no_motion_tamper": "No motion tamper"
} }
} }
} }