From b367c95c8179dfb02890c782b82bd64414599200 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Thu, 13 Jul 2023 04:00:05 +0200 Subject: [PATCH] Add more common translations (#96429) * Add common translations * Add common translations * Add common translations * Add common translations * Add common translations * Add common translations * Add common translations * Add common translations --- .../components/advantage_air/strings.json | 2 +- homeassistant/components/alert/strings.json | 6 ++--- .../components/automation/strings.json | 8 +++--- .../components/bayesian/strings.json | 2 +- homeassistant/components/bond/strings.json | 2 +- homeassistant/components/button/strings.json | 2 +- homeassistant/components/camera/strings.json | 8 +++--- homeassistant/components/climate/strings.json | 4 +-- .../components/color_extractor/strings.json | 2 +- .../components/command_line/strings.json | 2 +- homeassistant/components/cover/strings.json | 8 +++--- homeassistant/components/debugpy/strings.json | 2 +- homeassistant/components/deconz/strings.json | 8 +++--- homeassistant/components/fan/strings.json | 6 ++--- homeassistant/components/ffmpeg/strings.json | 6 ++--- homeassistant/components/filter/strings.json | 2 +- homeassistant/components/generic/strings.json | 2 +- .../generic_thermostat/strings.json | 2 +- .../components/google_mail/strings.json | 2 +- homeassistant/components/group/strings.json | 2 +- homeassistant/components/hassio/strings.json | 2 +- .../components/history_stats/strings.json | 2 +- .../components/homeassistant/strings.json | 4 +-- homeassistant/components/homekit/strings.json | 2 +- homeassistant/components/hue/strings.json | 4 +-- .../components/humidifier/strings.json | 6 ++--- .../components/input_boolean/strings.json | 8 +++--- .../components/input_datetime/strings.json | 2 +- .../components/input_number/strings.json | 2 +- .../components/input_select/strings.json | 2 +- .../components/input_text/strings.json | 2 +- homeassistant/components/insteon/strings.json | 2 +- .../components/intent_script/strings.json | 2 +- homeassistant/components/keba/strings.json | 4 +-- homeassistant/components/knx/strings.json | 2 +- homeassistant/components/lifx/strings.json | 2 +- homeassistant/components/light/strings.json | 6 ++--- .../components/litterrobot/strings.json | 2 +- homeassistant/components/lock/strings.json | 2 +- .../components/media_player/strings.json | 10 +++---- homeassistant/components/min_max/strings.json | 2 +- homeassistant/components/modbus/strings.json | 6 ++--- homeassistant/components/mqtt/strings.json | 6 ++--- homeassistant/components/nuki/strings.json | 2 +- homeassistant/components/nzbget/strings.json | 2 +- homeassistant/components/person/strings.json | 2 +- homeassistant/components/pi_hole/strings.json | 2 +- homeassistant/components/ping/strings.json | 2 +- .../components/profiler/strings.json | 2 +- .../components/python_script/strings.json | 2 +- .../components/recorder/strings.json | 4 +-- homeassistant/components/remote/strings.json | 6 ++--- homeassistant/components/rest/strings.json | 2 +- homeassistant/components/sabnzbd/strings.json | 2 +- homeassistant/components/scene/strings.json | 2 +- .../components/schedule/strings.json | 2 +- homeassistant/components/script/strings.json | 8 +++--- homeassistant/components/siren/strings.json | 6 ++--- homeassistant/components/smtp/strings.json | 2 +- .../components/snapcast/strings.json | 2 +- .../components/statistics/strings.json | 2 +- homeassistant/components/switch/strings.json | 6 ++--- .../components/telegram/strings.json | 2 +- .../components/template/strings.json | 2 +- homeassistant/components/timer/strings.json | 4 +-- .../trafikverket_ferry/strings.json | 14 +++++----- .../trafikverket_train/strings.json | 14 +++++----- homeassistant/components/trend/strings.json | 2 +- .../components/universal/strings.json | 2 +- homeassistant/components/vacuum/strings.json | 10 +++---- .../components/wolflink/strings.json | 6 ++--- homeassistant/components/workday/strings.json | 14 +++++----- homeassistant/components/yamaha/strings.json | 2 +- homeassistant/components/zha/strings.json | 8 +++--- homeassistant/components/zone/strings.json | 2 +- homeassistant/strings.json | 27 +++++++++++++++++++ 76 files changed, 177 insertions(+), 150 deletions(-) diff --git a/homeassistant/components/advantage_air/strings.json b/homeassistant/components/advantage_air/strings.json index 39681201766..de8bde6897e 100644 --- a/homeassistant/components/advantage_air/strings.json +++ b/homeassistant/components/advantage_air/strings.json @@ -13,7 +13,7 @@ "port": "[%key:common::config_flow::data::port%]" }, "description": "Connect to the API of your Advantage Air wall mounted tablet.", - "title": "Connect" + "title": "[%key:common::action::connect%]" } } }, diff --git a/homeassistant/components/alert/strings.json b/homeassistant/components/alert/strings.json index 16192d5d595..f8c1b2ede72 100644 --- a/homeassistant/components/alert/strings.json +++ b/homeassistant/components/alert/strings.json @@ -12,15 +12,15 @@ }, "services": { "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles alert's notifications." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Silences alert's notifications." }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Resets alert's notifications." } } diff --git a/homeassistant/components/automation/strings.json b/homeassistant/components/automation/strings.json index cfeafa856d2..31bd812a947 100644 --- a/homeassistant/components/automation/strings.json +++ b/homeassistant/components/automation/strings.json @@ -47,11 +47,11 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Enables an automation." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Disables an automation.", "fields": { "stop_actions": { @@ -61,7 +61,7 @@ } }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles (enable / disable) an automation." }, "trigger": { @@ -75,7 +75,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads the automation configuration." } } diff --git a/homeassistant/components/bayesian/strings.json b/homeassistant/components/bayesian/strings.json index f7c12523b2c..9ebccedc88d 100644 --- a/homeassistant/components/bayesian/strings.json +++ b/homeassistant/components/bayesian/strings.json @@ -11,7 +11,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads bayesian sensors from the YAML-configuration." } } diff --git a/homeassistant/components/bond/strings.json b/homeassistant/components/bond/strings.json index 9cbd895683c..04be198d149 100644 --- a/homeassistant/components/bond/strings.json +++ b/homeassistant/components/bond/strings.json @@ -91,7 +91,7 @@ "description": "Start decreasing the brightness of the light. (deprecated)." }, "stop": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Stop any in-progress action and empty the queue. (deprecated)." } } diff --git a/homeassistant/components/button/strings.json b/homeassistant/components/button/strings.json index 39456cdf427..f552e9ae12b 100644 --- a/homeassistant/components/button/strings.json +++ b/homeassistant/components/button/strings.json @@ -16,7 +16,7 @@ "name": "Identify" }, "restart": { - "name": "Restart" + "name": "[%key:common::action::restart%]" }, "update": { "name": "Update" diff --git a/homeassistant/components/camera/strings.json b/homeassistant/components/camera/strings.json index ac061194d5c..90b053ec087 100644 --- a/homeassistant/components/camera/strings.json +++ b/homeassistant/components/camera/strings.json @@ -25,8 +25,8 @@ "motion_detection": { "name": "Motion detection", "state": { - "true": "Enabled", - "false": "Disabled" + "true": "[%key:common::state::enabled%]", + "false": "[%key:common::state::disabled%]" } }, "model_name": { @@ -37,11 +37,11 @@ }, "services": { "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns off the camera." }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns on the camera." }, "enable_motion_detection": { diff --git a/homeassistant/components/climate/strings.json b/homeassistant/components/climate/strings.json index bfe0f490cda..c517bfd7a20 100644 --- a/homeassistant/components/climate/strings.json +++ b/homeassistant/components/climate/strings.json @@ -213,11 +213,11 @@ } }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns climate device on." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns climate device off." } }, diff --git a/homeassistant/components/color_extractor/strings.json b/homeassistant/components/color_extractor/strings.json index df720586631..f56a4e514b7 100644 --- a/homeassistant/components/color_extractor/strings.json +++ b/homeassistant/components/color_extractor/strings.json @@ -1,7 +1,7 @@ { "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Sets the light RGB to the predominant color found in the image provided by URL or file path.", "fields": { "color_extract_url": { diff --git a/homeassistant/components/command_line/strings.json b/homeassistant/components/command_line/strings.json index e249ad877d5..9fc0de2ab28 100644 --- a/homeassistant/components/command_line/strings.json +++ b/homeassistant/components/command_line/strings.json @@ -7,7 +7,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads command line configuration from the YAML-configuration." } } diff --git a/homeassistant/components/cover/strings.json b/homeassistant/components/cover/strings.json index 5ed02a84e0d..979835fcfd2 100644 --- a/homeassistant/components/cover/strings.json +++ b/homeassistant/components/cover/strings.json @@ -79,15 +79,15 @@ }, "services": { "open_cover": { - "name": "Open", + "name": "[%key:common::action::open%]", "description": "Opens a cover." }, "close_cover": { - "name": "Close", + "name": "[%key:common::action::close%]", "description": "Closes a cover." }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles a cover open/closed." }, "set_cover_position": { @@ -101,7 +101,7 @@ } }, "stop_cover": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Stops the cover movement." }, "open_cover_tilt": { diff --git a/homeassistant/components/debugpy/strings.json b/homeassistant/components/debugpy/strings.json index b03a57a51dc..74334a15f4a 100644 --- a/homeassistant/components/debugpy/strings.json +++ b/homeassistant/components/debugpy/strings.json @@ -1,7 +1,7 @@ { "services": { "start": { - "name": "Start", + "name": "[%key:common::action::stop%]", "description": "Starts the Remote Python Debugger." } } diff --git a/homeassistant/components/deconz/strings.json b/homeassistant/components/deconz/strings.json index 448a221b2ca..632fe832aa8 100644 --- a/homeassistant/components/deconz/strings.json +++ b/homeassistant/components/deconz/strings.json @@ -79,14 +79,14 @@ "remote_rotate_from_side_6": "Device rotated from \"side 6\" to \"{subtype}\"" }, "trigger_subtype": { - "turn_on": "Turn on", - "turn_off": "Turn off", + "turn_on": "[%key:common::action::turn_on%]", + "turn_off": "[%key:common::action::turn_off%]", "dim_up": "Dim up", "dim_down": "Dim down", "left": "Left", "right": "Right", - "open": "Open", - "close": "Close", + "open": "[%key:common::action::open%]", + "close": "[%key:common::action::close%]", "both_buttons": "Both buttons", "top_buttons": "Top buttons", "bottom_buttons": "Bottom buttons", diff --git a/homeassistant/components/fan/strings.json b/homeassistant/components/fan/strings.json index d3a06edbee1..674dcc2b92e 100644 --- a/homeassistant/components/fan/strings.json +++ b/homeassistant/components/fan/strings.json @@ -75,7 +75,7 @@ } }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns fan on.", "fields": { "percentage": { @@ -89,7 +89,7 @@ } }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns fan off." }, "oscillate": { @@ -103,7 +103,7 @@ } }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles the fan on/off." }, "set_direction": { diff --git a/homeassistant/components/ffmpeg/strings.json b/homeassistant/components/ffmpeg/strings.json index 9aaff2d1e93..66c1f19de5b 100644 --- a/homeassistant/components/ffmpeg/strings.json +++ b/homeassistant/components/ffmpeg/strings.json @@ -1,7 +1,7 @@ { "services": { "restart": { - "name": "Restart", + "name": "[%key:common::action::restart%]", "description": "Sends a restart command to a ffmpeg based sensor.", "fields": { "entity_id": { @@ -11,7 +11,7 @@ } }, "start": { - "name": "Start", + "name": "[%key:common::action::start%]", "description": "Sends a start command to a ffmpeg based sensor.", "fields": { "entity_id": { @@ -21,7 +21,7 @@ } }, "stop": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Sends a stop command to a ffmpeg based sensor.", "fields": { "entity_id": { diff --git a/homeassistant/components/filter/strings.json b/homeassistant/components/filter/strings.json index 078e5b35980..461eed9aefa 100644 --- a/homeassistant/components/filter/strings.json +++ b/homeassistant/components/filter/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads filters from the YAML-configuration." } } diff --git a/homeassistant/components/generic/strings.json b/homeassistant/components/generic/strings.json index d23bb605c7b..a1519fa0f48 100644 --- a/homeassistant/components/generic/strings.json +++ b/homeassistant/components/generic/strings.json @@ -86,7 +86,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads generic cameras from the YAML-configuration." } } diff --git a/homeassistant/components/generic_thermostat/strings.json b/homeassistant/components/generic_thermostat/strings.json index f1525b2516d..8834892b7ab 100644 --- a/homeassistant/components/generic_thermostat/strings.json +++ b/homeassistant/components/generic_thermostat/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads generic thermostats from the YAML-configuration." } } diff --git a/homeassistant/components/google_mail/strings.json b/homeassistant/components/google_mail/strings.json index db242479783..83537c6b1de 100644 --- a/homeassistant/components/google_mail/strings.json +++ b/homeassistant/components/google_mail/strings.json @@ -44,7 +44,7 @@ "description": "Sets vacation responder settings for Google Mail.", "fields": { "enabled": { - "name": "Enabled", + "name": "[%key:common::state::enabled%]", "description": "Turn this off to end vacation responses." }, "title": { diff --git a/homeassistant/components/group/strings.json b/homeassistant/components/group/strings.json index 7b49eaf4186..bbf521b06e3 100644 --- a/homeassistant/components/group/strings.json +++ b/homeassistant/components/group/strings.json @@ -193,7 +193,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads group configuration, entities, and notify services from YAML-configuration." }, "set": { diff --git a/homeassistant/components/hassio/strings.json b/homeassistant/components/hassio/strings.json index fa8fc2d2da8..e954c0cccf6 100644 --- a/homeassistant/components/hassio/strings.json +++ b/homeassistant/components/hassio/strings.json @@ -24,7 +24,7 @@ "fix_menu": { "description": "Could not connect to `{reference}`. Check host logs for errors from the mount service for more details.\n\nUse reload to try to connect again. If you need to update `{reference}`, go to [storage]({storage_url}).", "menu_options": { - "mount_execute_reload": "Reload", + "mount_execute_reload": "[%key:common::action::reload%]", "mount_execute_remove": "Remove" } } diff --git a/homeassistant/components/history_stats/strings.json b/homeassistant/components/history_stats/strings.json index cb4601f2a09..ea1c94b6ec3 100644 --- a/homeassistant/components/history_stats/strings.json +++ b/homeassistant/components/history_stats/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads history stats sensors from the YAML-configuration." } } diff --git a/homeassistant/components/homeassistant/strings.json b/homeassistant/components/homeassistant/strings.json index 5a02cd19665..57cb5c3eb56 100644 --- a/homeassistant/components/homeassistant/strings.json +++ b/homeassistant/components/homeassistant/strings.json @@ -56,7 +56,7 @@ "description": "Reloads the core configuration from the YAML-configuration." }, "restart": { - "name": "Restart", + "name": "[%key:common::action::restart%]", "description": "Restarts Home Assistant." }, "set_location": { @@ -74,7 +74,7 @@ } }, "stop": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Stops Home Assistant." }, "toggle": { diff --git a/homeassistant/components/homekit/strings.json b/homeassistant/components/homekit/strings.json index 83177345159..f57536263ca 100644 --- a/homeassistant/components/homekit/strings.json +++ b/homeassistant/components/homekit/strings.json @@ -71,7 +71,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads homekit and re-process YAML-configuration." }, "reset_accessory": { diff --git a/homeassistant/components/hue/strings.json b/homeassistant/components/hue/strings.json index 54895b6e3b2..2c3f493e2c8 100644 --- a/homeassistant/components/hue/strings.json +++ b/homeassistant/components/hue/strings.json @@ -44,8 +44,8 @@ "double_buttons_2_4": "Second and Fourth buttons", "dim_down": "Dim down", "dim_up": "Dim up", - "turn_off": "Turn off", - "turn_on": "Turn on", + "turn_off": "[%key:common::action::turn_off%]", + "turn_on": "[%key:common::action::turn_on%]", "1": "First button", "2": "Second button", "3": "Third button", diff --git a/homeassistant/components/humidifier/strings.json b/homeassistant/components/humidifier/strings.json index d3cf946f5bf..19a9a8eab77 100644 --- a/homeassistant/components/humidifier/strings.json +++ b/homeassistant/components/humidifier/strings.json @@ -97,15 +97,15 @@ } }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns the humidifier on." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns the humidifier off." }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles the humidifier on/off." } } diff --git a/homeassistant/components/input_boolean/strings.json b/homeassistant/components/input_boolean/strings.json index 9288de04f2c..a2087f1247a 100644 --- a/homeassistant/components/input_boolean/strings.json +++ b/homeassistant/components/input_boolean/strings.json @@ -20,19 +20,19 @@ }, "services": { "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles the helper on/off." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns off the helper." }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns on the helper." }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads helpers from the YAML-configuration." } } diff --git a/homeassistant/components/input_datetime/strings.json b/homeassistant/components/input_datetime/strings.json index f657508a4c4..e4a2b6349b7 100644 --- a/homeassistant/components/input_datetime/strings.json +++ b/homeassistant/components/input_datetime/strings.json @@ -59,7 +59,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads helpers from the YAML-configuration." } } diff --git a/homeassistant/components/input_number/strings.json b/homeassistant/components/input_number/strings.json index 020544c5d4e..8a2351ebad4 100644 --- a/homeassistant/components/input_number/strings.json +++ b/homeassistant/components/input_number/strings.json @@ -54,7 +54,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads helpers from the YAML-configuration." } } diff --git a/homeassistant/components/input_select/strings.json b/homeassistant/components/input_select/strings.json index 68970933346..faa47c979a1 100644 --- a/homeassistant/components/input_select/strings.json +++ b/homeassistant/components/input_select/strings.json @@ -67,7 +67,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads helpers from the YAML-configuration." } } diff --git a/homeassistant/components/input_text/strings.json b/homeassistant/components/input_text/strings.json index a4dc6d929f5..49eab33848c 100644 --- a/homeassistant/components/input_text/strings.json +++ b/homeassistant/components/input_text/strings.json @@ -42,7 +42,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads helpers from the YAML-configuration." } } diff --git a/homeassistant/components/insteon/strings.json b/homeassistant/components/insteon/strings.json index 3f3e3df78c7..3ba996adff7 100644 --- a/homeassistant/components/insteon/strings.json +++ b/homeassistant/components/insteon/strings.json @@ -144,7 +144,7 @@ "description": "Name of the device to load. Use \"all\" to load the database of all devices." }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads all records. If true the current records are cleared from memory (does not effect the device) and the records are reloaded. If false the existing records are left in place and only missing records are added. Default is false." } } diff --git a/homeassistant/components/intent_script/strings.json b/homeassistant/components/intent_script/strings.json index efd77d225f7..74ddd45c1af 100644 --- a/homeassistant/components/intent_script/strings.json +++ b/homeassistant/components/intent_script/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads the intent script from the YAML-configuration." } } diff --git a/homeassistant/components/keba/strings.json b/homeassistant/components/keba/strings.json index 140ab6ea949..ed8594a1068 100644 --- a/homeassistant/components/keba/strings.json +++ b/homeassistant/components/keba/strings.json @@ -33,11 +33,11 @@ } }, "enable": { - "name": "Enable", + "name": "[%key:common::action::enable%]", "description": "Starts a charging process if charging station is authorized." }, "disable": { - "name": "Disable", + "name": "[%key:common::action::disable%]", "description": "Stops the charging process if charging station is authorized." }, "set_failsafe": { diff --git a/homeassistant/components/knx/strings.json b/homeassistant/components/knx/strings.json index 9a17fed506c..56ff9018530 100644 --- a/homeassistant/components/knx/strings.json +++ b/homeassistant/components/knx/strings.json @@ -371,7 +371,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads the KNX integration." } } diff --git a/homeassistant/components/lifx/strings.json b/homeassistant/components/lifx/strings.json index cff9b572cc6..dfbc0b4e384 100644 --- a/homeassistant/components/lifx/strings.json +++ b/homeassistant/components/lifx/strings.json @@ -52,7 +52,7 @@ "description": "Controls the HEV LEDs on a LIFX Clean bulb.", "fields": { "power": { - "name": "Enable", + "name": "[%key:common::action::enable%]", "description": "Start or stop a Clean cycle." }, "duration": { diff --git a/homeassistant/components/light/strings.json b/homeassistant/components/light/strings.json index a4a46d2ca94..5398d38ca5d 100644 --- a/homeassistant/components/light/strings.json +++ b/homeassistant/components/light/strings.json @@ -243,7 +243,7 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turn on one or more lights and adjust properties of the light, even when they are turned on already.", "fields": { "transition": { @@ -317,7 +317,7 @@ } }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turn off one or more lights.", "fields": { "transition": { @@ -331,7 +331,7 @@ } }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles one or more lights, from on to off, or, off to on, based on their current state.", "fields": { "transition": { diff --git a/homeassistant/components/litterrobot/strings.json b/homeassistant/components/litterrobot/strings.json index e5cd35703f3..fe9cc3b528a 100644 --- a/homeassistant/components/litterrobot/strings.json +++ b/homeassistant/components/litterrobot/strings.json @@ -144,7 +144,7 @@ "description": "Sets the sleep mode and start time.", "fields": { "enabled": { - "name": "Enabled", + "name": "[%key:common::state::enabled%]", "description": "Whether sleep mode should be enabled." }, "start_time": { diff --git a/homeassistant/components/lock/strings.json b/homeassistant/components/lock/strings.json index 9e20b0cad2b..d041d6ac61a 100644 --- a/homeassistant/components/lock/strings.json +++ b/homeassistant/components/lock/strings.json @@ -47,7 +47,7 @@ } }, "open": { - "name": "Open", + "name": "[%key:common::action::open%]", "description": "Opens a lock.", "fields": { "code": { diff --git a/homeassistant/components/media_player/strings.json b/homeassistant/components/media_player/strings.json index 10148f99fef..bcf594a2675 100644 --- a/homeassistant/components/media_player/strings.json +++ b/homeassistant/components/media_player/strings.json @@ -162,15 +162,15 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns on the power of the media player." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns off the power of the media player." }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles a media player on/off." }, "volume_up": { @@ -210,11 +210,11 @@ "description": "Starts playing." }, "media_pause": { - "name": "Pause", + "name": "[%key:common::action::pause%]", "description": "Pauses." }, "media_stop": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Stops playing." }, "media_next_track": { diff --git a/homeassistant/components/min_max/strings.json b/homeassistant/components/min_max/strings.json index 464d01b90b4..ce18a4d153f 100644 --- a/homeassistant/components/min_max/strings.json +++ b/homeassistant/components/min_max/strings.json @@ -46,7 +46,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads min/max sensors from the YAML-configuration." } } diff --git a/homeassistant/components/modbus/strings.json b/homeassistant/components/modbus/strings.json index ad07a4d7565..c9cf755ad13 100644 --- a/homeassistant/components/modbus/strings.json +++ b/homeassistant/components/modbus/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads all modbus entities." }, "write_coil": { @@ -49,7 +49,7 @@ } }, "stop": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Stops modbus hub.", "fields": { "hub": { @@ -59,7 +59,7 @@ } }, "restart": { - "name": "Restart", + "name": "[%key:common::action::restart%]", "description": "Restarts modbus hub (if running stop then start).", "fields": { "hub": { diff --git a/homeassistant/components/mqtt/strings.json b/homeassistant/components/mqtt/strings.json index 61d2b40314b..ae47b33774d 100644 --- a/homeassistant/components/mqtt/strings.json +++ b/homeassistant/components/mqtt/strings.json @@ -70,8 +70,8 @@ "button_quintuple_press": "\"{subtype}\" quintuple clicked" }, "trigger_subtype": { - "turn_on": "Turn on", - "turn_off": "Turn off", + "turn_on": "[%key:common::action::turn_on%]", + "turn_off": "[%key:common::action::turn_off%]", "button_1": "First button", "button_2": "Second button", "button_3": "Third button", @@ -188,7 +188,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads MQTT entities from the YAML-configuration." } } diff --git a/homeassistant/components/nuki/strings.json b/homeassistant/components/nuki/strings.json index 68ab508141b..11c19bbee3f 100644 --- a/homeassistant/components/nuki/strings.json +++ b/homeassistant/components/nuki/strings.json @@ -62,7 +62,7 @@ "description": "Enables or disables continuous mode on Nuki Opener.", "fields": { "enable": { - "name": "Enable", + "name": "[%key:common::action::enable%]", "description": "Whether to enable or disable the feature." } } diff --git a/homeassistant/components/nzbget/strings.json b/homeassistant/components/nzbget/strings.json index 5a96d2f8951..7a3c438d11f 100644 --- a/homeassistant/components/nzbget/strings.json +++ b/homeassistant/components/nzbget/strings.json @@ -34,7 +34,7 @@ }, "services": { "pause": { - "name": "Pause", + "name": "[%key:common::action::pause%]", "description": "Pauses download queue." }, "resume": { diff --git a/homeassistant/components/person/strings.json b/homeassistant/components/person/strings.json index 10a982535f2..27c41df6b4e 100644 --- a/homeassistant/components/person/strings.json +++ b/homeassistant/components/person/strings.json @@ -28,7 +28,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads persons from the YAML-configuration." } } diff --git a/homeassistant/components/pi_hole/strings.json b/homeassistant/components/pi_hole/strings.json index 1ed271931c3..b76b61f1903 100644 --- a/homeassistant/components/pi_hole/strings.json +++ b/homeassistant/components/pi_hole/strings.json @@ -82,7 +82,7 @@ }, "services": { "disable": { - "name": "Disable", + "name": "[%key:common::action::disable%]", "description": "Disables configured Pi-hole(s) for an amount of time.", "fields": { "duration": { diff --git a/homeassistant/components/ping/strings.json b/homeassistant/components/ping/strings.json index 2bd9229b607..5b5c5da46bc 100644 --- a/homeassistant/components/ping/strings.json +++ b/homeassistant/components/ping/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads ping sensors from the YAML-configuration." } } diff --git a/homeassistant/components/profiler/strings.json b/homeassistant/components/profiler/strings.json index ee6f215e59b..7b9f6789c79 100644 --- a/homeassistant/components/profiler/strings.json +++ b/homeassistant/components/profiler/strings.json @@ -11,7 +11,7 @@ }, "services": { "start": { - "name": "Start", + "name": "[%key:common::action::stop%]", "description": "Starts the Profiler.", "fields": { "seconds": { diff --git a/homeassistant/components/python_script/strings.json b/homeassistant/components/python_script/strings.json index 9898a8ad866..ccf1b33c767 100644 --- a/homeassistant/components/python_script/strings.json +++ b/homeassistant/components/python_script/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads all available Python scripts." } } diff --git a/homeassistant/components/recorder/strings.json b/homeassistant/components/recorder/strings.json index a55f13b27c4..17539387a29 100644 --- a/homeassistant/components/recorder/strings.json +++ b/homeassistant/components/recorder/strings.json @@ -52,11 +52,11 @@ } }, "disable": { - "name": "Disable", + "name": "[%key:common::action::disable%]", "description": "Stops the recording of events and state changes." }, "enable": { - "name": "Enable", + "name": "[%key:common::action::enable%]", "description": "Starts the recording of events and state changes." } } diff --git a/homeassistant/components/remote/strings.json b/homeassistant/components/remote/strings.json index 14331c5cded..e3df487a57b 100644 --- a/homeassistant/components/remote/strings.json +++ b/homeassistant/components/remote/strings.json @@ -27,7 +27,7 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Sends the power on command.", "fields": { "activity": { @@ -37,11 +37,11 @@ } }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles a device on/off." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns the device off." }, "send_command": { diff --git a/homeassistant/components/rest/strings.json b/homeassistant/components/rest/strings.json index afbab8d8040..d2b15461c9e 100644 --- a/homeassistant/components/rest/strings.json +++ b/homeassistant/components/rest/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads REST entities from the YAML-configuration." } } diff --git a/homeassistant/components/sabnzbd/strings.json b/homeassistant/components/sabnzbd/strings.json index 2989ee5d00b..5711656ef69 100644 --- a/homeassistant/components/sabnzbd/strings.json +++ b/homeassistant/components/sabnzbd/strings.json @@ -16,7 +16,7 @@ }, "services": { "pause": { - "name": "Pause", + "name": "[%key:common::action::pause%]", "description": "Pauses downloads.", "fields": { "api_key": { diff --git a/homeassistant/components/scene/strings.json b/homeassistant/components/scene/strings.json index f4011860c78..3bfea1b09e7 100644 --- a/homeassistant/components/scene/strings.json +++ b/homeassistant/components/scene/strings.json @@ -12,7 +12,7 @@ } }, "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads the scenes from the YAML-configuration." }, "apply": { diff --git a/homeassistant/components/schedule/strings.json b/homeassistant/components/schedule/strings.json index aea07cc3ff2..a40c5814d36 100644 --- a/homeassistant/components/schedule/strings.json +++ b/homeassistant/components/schedule/strings.json @@ -23,7 +23,7 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads schedules from the YAML-configuration." } } diff --git a/homeassistant/components/script/strings.json b/homeassistant/components/script/strings.json index e4f1b3fcd4f..f2d5997ae9d 100644 --- a/homeassistant/components/script/strings.json +++ b/homeassistant/components/script/strings.json @@ -34,19 +34,19 @@ }, "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads all the available scripts." }, "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Runs the sequence of actions defined in a script." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Stops a running script." }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggle a script. Starts it, if isn't running, stops it otherwise." } } diff --git a/homeassistant/components/siren/strings.json b/homeassistant/components/siren/strings.json index 171a853f74c..90725da9e8f 100644 --- a/homeassistant/components/siren/strings.json +++ b/homeassistant/components/siren/strings.json @@ -16,7 +16,7 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns the siren on.", "fields": { "tone": { @@ -34,11 +34,11 @@ } }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns the siren off." }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles the siren on/off." } } diff --git a/homeassistant/components/smtp/strings.json b/homeassistant/components/smtp/strings.json index 3c72a1a50d1..b711c2f2009 100644 --- a/homeassistant/components/smtp/strings.json +++ b/homeassistant/components/smtp/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads smtp notify services." } } diff --git a/homeassistant/components/snapcast/strings.json b/homeassistant/components/snapcast/strings.json index 242bf62ab04..0d51c7543f1 100644 --- a/homeassistant/components/snapcast/strings.json +++ b/homeassistant/components/snapcast/strings.json @@ -7,7 +7,7 @@ "host": "[%key:common::config_flow::data::host%]", "port": "[%key:common::config_flow::data::port%]" }, - "title": "Connect" + "title": "[%key:common::action::connect%]" } }, "abort": { diff --git a/homeassistant/components/statistics/strings.json b/homeassistant/components/statistics/strings.json index 6b2a04a85df..6d7bda36fae 100644 --- a/homeassistant/components/statistics/strings.json +++ b/homeassistant/components/statistics/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads statistics sensors from the YAML-configuration." } } diff --git a/homeassistant/components/switch/strings.json b/homeassistant/components/switch/strings.json index ae5a3165cd9..b50709ed76f 100644 --- a/homeassistant/components/switch/strings.json +++ b/homeassistant/components/switch/strings.json @@ -33,15 +33,15 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Turns a switch on." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Turns a switch off." }, "toggle": { - "name": "Toggle", + "name": "[%key:common::action::toggle%]", "description": "Toggles a switch on/off." } } diff --git a/homeassistant/components/telegram/strings.json b/homeassistant/components/telegram/strings.json index 9e09a3904cd..34a98f908dc 100644 --- a/homeassistant/components/telegram/strings.json +++ b/homeassistant/components/telegram/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads telegram notify services." } } diff --git a/homeassistant/components/template/strings.json b/homeassistant/components/template/strings.json index 3222a0f1bdf..fce7129353e 100644 --- a/homeassistant/components/template/strings.json +++ b/homeassistant/components/template/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads template entities from the YAML-configuration." } } diff --git a/homeassistant/components/timer/strings.json b/homeassistant/components/timer/strings.json index e21f0d2ca82..c52f2627253 100644 --- a/homeassistant/components/timer/strings.json +++ b/homeassistant/components/timer/strings.json @@ -32,7 +32,7 @@ }, "services": { "start": { - "name": "Start", + "name": "[%key:common::action::stop%]", "description": "Starts a timer.", "fields": { "duration": { @@ -42,7 +42,7 @@ } }, "pause": { - "name": "Pause", + "name": "[%key:common::action::pause%]", "description": "Pauses a timer." }, "cancel": { diff --git a/homeassistant/components/trafikverket_ferry/strings.json b/homeassistant/components/trafikverket_ferry/strings.json index 3d84e4480b4..d98d60f4643 100644 --- a/homeassistant/components/trafikverket_ferry/strings.json +++ b/homeassistant/components/trafikverket_ferry/strings.json @@ -30,13 +30,13 @@ "selector": { "weekday": { "options": { - "mon": "Monday", - "tue": "Tuesday", - "wed": "Wednesday", - "thu": "Thursday", - "fri": "Friday", - "sat": "Saturday", - "sun": "Sunday" + "mon": "[%key:common::time::monday%]", + "tue": "[%key:common::time::tuesday%]", + "wed": "[%key:common::time::wednesday%]", + "thu": "[%key:common::time::thursday%]", + "fri": "[%key:common::time::friday%]", + "sat": "[%key:common::time::saturday%]", + "sun": "[%key:common::time::sunday%]" } } }, diff --git a/homeassistant/components/trafikverket_train/strings.json b/homeassistant/components/trafikverket_train/strings.json index 6c67d881153..0089f6db8fc 100644 --- a/homeassistant/components/trafikverket_train/strings.json +++ b/homeassistant/components/trafikverket_train/strings.json @@ -32,13 +32,13 @@ "selector": { "weekday": { "options": { - "mon": "Monday", - "tue": "Tuesday", - "wed": "Wednesday", - "thu": "Thursday", - "fri": "Friday", - "sat": "Saturday", - "sun": "Sunday" + "mon": "[%key:common::time::monday%]", + "tue": "[%key:common::time::tuesday%]", + "wed": "[%key:common::time::wednesday%]", + "thu": "[%key:common::time::thursday%]", + "fri": "[%key:common::time::friday%]", + "sat": "[%key:common::time::saturday%]", + "sun": "[%key:common::time::sunday%]" } } } diff --git a/homeassistant/components/trend/strings.json b/homeassistant/components/trend/strings.json index 1715f019f27..6af231bb4c5 100644 --- a/homeassistant/components/trend/strings.json +++ b/homeassistant/components/trend/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads trend sensors from the YAML-configuration." } } diff --git a/homeassistant/components/universal/strings.json b/homeassistant/components/universal/strings.json index b440d76ebc2..a265a7c204c 100644 --- a/homeassistant/components/universal/strings.json +++ b/homeassistant/components/universal/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads universal media players from the YAML-configuration." } } diff --git a/homeassistant/components/vacuum/strings.json b/homeassistant/components/vacuum/strings.json index 3bdf650ddd3..9822c2fa821 100644 --- a/homeassistant/components/vacuum/strings.json +++ b/homeassistant/components/vacuum/strings.json @@ -37,15 +37,15 @@ }, "services": { "turn_on": { - "name": "Turn on", + "name": "[%key:common::action::turn_on%]", "description": "Starts a new cleaning task." }, "turn_off": { - "name": "Turn off", + "name": "[%key:common::action::turn_off%]", "description": "Stops the current cleaning task and returns to its dock." }, "stop": { - "name": "Stop", + "name": "[%key:common::action::stop%]", "description": "Stops the current cleaning task." }, "locate": { @@ -57,11 +57,11 @@ "description": "Starts, pauses, or resumes the cleaning task." }, "start": { - "name": "Start", + "name": "[%key:common::action::start%]", "description": "Starts or resumes the cleaning task." }, "pause": { - "name": "Pause", + "name": "[%key:common::action::pause%]", "description": "Pauses the cleaning task." }, "return_to_base": { diff --git a/homeassistant/components/wolflink/strings.json b/homeassistant/components/wolflink/strings.json index c8db962215f..3de74cbbf4c 100644 --- a/homeassistant/components/wolflink/strings.json +++ b/homeassistant/components/wolflink/strings.json @@ -28,10 +28,10 @@ "sensor": { "state": { "state": { - "ein": "Enabled", + "ein": "[%key:common::state::enabled%]", "deaktiviert": "Inactive", - "aus": "Disabled", - "standby": "Standby", + "aus": "[%key:common::state::disabled%]", + "standby": "[%key:common::state::standby%]", "auto": "Auto", "permanent": "Permanent", "initialisierung": "Initialization", diff --git a/homeassistant/components/workday/strings.json b/homeassistant/components/workday/strings.json index 6ea8348812d..4aaf241536f 100644 --- a/homeassistant/components/workday/strings.json +++ b/homeassistant/components/workday/strings.json @@ -73,13 +73,13 @@ }, "days": { "options": { - "mon": "Monday", - "tue": "Tuesday", - "wed": "Wednesday", - "thu": "Thursday", - "fri": "Friday", - "sat": "Saturday", - "sun": "Sunday", + "mon": "[%key:common::time::monday%]", + "tue": "[%key:common::time::tuesday%]", + "wed": "[%key:common::time::wednesday%]", + "thu": "[%key:common::time::thursday%]", + "fri": "[%key:common::time::friday%]", + "sat": "[%key:common::time::saturday%]", + "sun": "[%key:common::time::sunday%]", "holiday": "Holidays" } } diff --git a/homeassistant/components/yamaha/strings.json b/homeassistant/components/yamaha/strings.json index 0896f43b1b5..ddfee94aa04 100644 --- a/homeassistant/components/yamaha/strings.json +++ b/homeassistant/components/yamaha/strings.json @@ -9,7 +9,7 @@ "description": "Name of port to enable/disable." }, "enabled": { - "name": "Enabled", + "name": "[%key:common::state::enabled%]", "description": "Indicate if port should be enabled or not." } } diff --git a/homeassistant/components/zha/strings.json b/homeassistant/components/zha/strings.json index efc71df7adc..50eadfc6667 100644 --- a/homeassistant/components/zha/strings.json +++ b/homeassistant/components/zha/strings.json @@ -224,14 +224,14 @@ "device_offline": "Device offline" }, "trigger_subtype": { - "turn_on": "Turn on", - "turn_off": "Turn off", + "turn_on": "[%key:common::action::turn_on%]", + "turn_off": "[%key:common::action::turn_off%]", "dim_up": "Dim up", "dim_down": "Dim down", "left": "Left", "right": "Right", - "open": "Open", - "close": "Close", + "open": "[%key:common::action::open%]", + "close": "[%key:common::action::close%]", "both_buttons": "Both buttons", "button": "Button", "button_1": "First button", diff --git a/homeassistant/components/zone/strings.json b/homeassistant/components/zone/strings.json index b2f3b5efffa..a17059c5eab 100644 --- a/homeassistant/components/zone/strings.json +++ b/homeassistant/components/zone/strings.json @@ -1,7 +1,7 @@ { "services": { "reload": { - "name": "Reload", + "name": "[%key:common::action::reload%]", "description": "Reloads zones from the YAML-configuration." } } diff --git a/homeassistant/strings.json b/homeassistant/strings.json index 51a5636092a..871e1b4ecbc 100644 --- a/homeassistant/strings.json +++ b/homeassistant/strings.json @@ -20,6 +20,31 @@ "turn_off": "Turn off {entity_name}" } }, + "action": { + "connect": "Connect", + "disconnect": "Disconnect", + "enable": "Enable", + "disable": "Disable", + "open": "Open", + "close": "Close", + "reload": "Reload", + "restart": "Restart", + "start": "Start", + "stop": "Stop", + "pause": "Pause", + "turn_on": "Turn on", + "turn_off": "Turn off", + "toggle": "Toggle" + }, + "time": { + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday" + }, "state": { "off": "Off", "on": "On", @@ -27,6 +52,8 @@ "no": "No", "open": "Open", "closed": "Closed", + "enabled": "Enabled", + "disabled": "Disabled", "connected": "Connected", "disconnected": "Disconnected", "locked": "Locked",