From 829df7ddfd3140f9f726be3e402473010c6e9050 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Tue, 17 Jan 2023 20:36:11 +0100 Subject: [PATCH] Adjust translations for zha buttons (#86095) --- homeassistant/components/deconz/strings.json | 16 +++++----- homeassistant/components/zha/strings.json | 33 ++++++++++---------- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/homeassistant/components/deconz/strings.json b/homeassistant/components/deconz/strings.json index 55bb86d03f6..45a19b0466d 100644 --- a/homeassistant/components/deconz/strings.json +++ b/homeassistant/components/deconz/strings.json @@ -49,14 +49,14 @@ }, "device_automation": { "trigger_type": { - "remote_button_short_press": "\"{subtype}\" button pressed", - "remote_button_short_release": "\"{subtype}\" button released", - "remote_button_long_press": "\"{subtype}\" button continuously pressed", - "remote_button_long_release": "\"{subtype}\" button released after long press", - "remote_button_double_press": "\"{subtype}\" button double clicked", - "remote_button_triple_press": "\"{subtype}\" button triple clicked", - "remote_button_quadruple_press": "\"{subtype}\" button quadruple clicked", - "remote_button_quintuple_press": "\"{subtype}\" button quintuple clicked", + "remote_button_short_press": "\"{subtype}\" pressed", + "remote_button_short_release": "\"{subtype}\" released", + "remote_button_long_press": "\"{subtype}\" continuously pressed", + "remote_button_long_release": "\"{subtype}\" released after long press", + "remote_button_double_press": "\"{subtype}\" double clicked", + "remote_button_triple_press": "\"{subtype}\" triple clicked", + "remote_button_quadruple_press": "\"{subtype}\" quadruple clicked", + "remote_button_quintuple_press": "\"{subtype}\" quintuple clicked", "remote_button_rotated": "Button rotated \"{subtype}\"", "remote_button_rotated_fast": "Button rotated fast \"{subtype}\"", "remote_button_rotation_stopped": "Button rotation \"{subtype}\" stopped", diff --git a/homeassistant/components/zha/strings.json b/homeassistant/components/zha/strings.json index 78a9755c744..36bd5a38ecc 100644 --- a/homeassistant/components/zha/strings.json +++ b/homeassistant/components/zha/strings.json @@ -184,22 +184,22 @@ "issue_individual_led_effect": "Issue effect for individual LED" }, "trigger_type": { - "remote_button_short_press": "\"{subtype}\" button pressed", - "remote_button_short_release": "\"{subtype}\" button released", - "remote_button_long_press": "\"{subtype}\" button continuously pressed", - "remote_button_long_release": "\"{subtype}\" button released after long press", - "remote_button_double_press": "\"{subtype}\" button double clicked", - "remote_button_triple_press": "\"{subtype}\" button triple clicked", - "remote_button_quadruple_press": "\"{subtype}\" button quadruple clicked", - "remote_button_quintuple_press": "\"{subtype}\" button quintuple clicked", - "remote_button_alt_short_press": "\"{subtype}\" button pressed (Alternate mode)", - "remote_button_alt_short_release": "\"{subtype}\" button released (Alternate mode)", - "remote_button_alt_long_press": "\"{subtype}\" button continuously pressed (Alternate mode)", - "remote_button_alt_long_release": "\"{subtype}\" button released after long press (Alternate mode)", - "remote_button_alt_double_press": "\"{subtype}\" button double clicked (Alternate mode)", - "remote_button_alt_triple_press": "\"{subtype}\" button triple clicked (Alternate mode)", - "remote_button_alt_quadruple_press": "\"{subtype}\" button quadruple clicked (Alternate mode)", - "remote_button_alt_quintuple_press": "\"{subtype}\" button quintuple clicked (Alternate mode)", + "remote_button_short_press": "\"{subtype}\" pressed", + "remote_button_short_release": "\"{subtype}\" released", + "remote_button_long_press": "\"{subtype}\" continuously pressed", + "remote_button_long_release": "\"{subtype}\" released after long press", + "remote_button_double_press": "\"{subtype}\" double clicked", + "remote_button_triple_press": "\"{subtype}\" triple clicked", + "remote_button_quadruple_press": "\"{subtype}\" quadruple clicked", + "remote_button_quintuple_press": "\"{subtype}\" quintuple clicked", + "remote_button_alt_short_press": "\"{subtype}\" pressed (Alternate mode)", + "remote_button_alt_short_release": "\"{subtype}\" released (Alternate mode)", + "remote_button_alt_long_press": "\"{subtype}\" continuously pressed (Alternate mode)", + "remote_button_alt_long_release": "\"{subtype}\" released after long press (Alternate mode)", + "remote_button_alt_double_press": "\"{subtype}\" double clicked (Alternate mode)", + "remote_button_alt_triple_press": "\"{subtype}\" triple clicked (Alternate mode)", + "remote_button_alt_quadruple_press": "\"{subtype}\" quadruple clicked (Alternate mode)", + "remote_button_alt_quintuple_press": "\"{subtype}\" quintuple clicked (Alternate mode)", "device_rotated": "Device rotated \"{subtype}\"", "device_shaken": "Device shaken", "device_slid": "Device slid \"{subtype}\"", @@ -219,6 +219,7 @@ "open": "Open", "close": "Close", "both_buttons": "Both buttons", + "button": "Button", "button_1": "First button", "button_2": "Second button", "button_3": "Third button",