From 4d080d544bf8f187f084bb0f4c8fc35c5c2ec31b Mon Sep 17 00:00:00 2001 From: Simon <99609593+BookCatKid@users.noreply.github.com> Date: Sun, 22 Nov 2026 19:09:38 -0800 Subject: [PATCH] Reuse common configuration flow translations (#193035) Co-authored-by: Simone Chemelli --- homeassistant/components/aidot/strings.json | 2 +- homeassistant/components/chirpstack/strings.json | 4 ++-- homeassistant/components/fumis/strings.json | 8 ++++---- homeassistant/components/gree_infrared/strings.json | 8 ++++---- homeassistant/components/green_planet_energy/strings.json | 2 +- homeassistant/components/growatt_server/strings.json | 6 +++--- homeassistant/components/habitica/strings.json | 6 +++--- homeassistant/components/idasen_desk/strings.json | 2 +- homeassistant/components/improv_ble/strings.json | 2 +- homeassistant/components/karakeep/strings.json | 6 +++--- homeassistant/components/lametric/strings.json | 2 +- homeassistant/components/llama_cpp/strings.json | 4 ++-- homeassistant/components/midea/strings.json | 2 +- homeassistant/components/nature_remo/strings.json | 2 +- .../components/nintendo_parental_controls/strings.json | 4 ++-- homeassistant/components/openai_conversation/strings.json | 2 +- homeassistant/components/rejseplanen/strings.json | 2 +- homeassistant/components/shelly/strings.json | 2 +- homeassistant/components/synology_dsm/strings.json | 6 +++--- .../components/thethingsnetwork_lorawan/strings.json | 4 ++-- homeassistant/components/vistapool/strings.json | 2 +- homeassistant/components/weatherkit/strings.json | 2 +- homeassistant/components/xiaomi_weather/strings.json | 2 +- 23 files changed, 41 insertions(+), 41 deletions(-) diff --git a/homeassistant/components/aidot/strings.json b/homeassistant/components/aidot/strings.json index 1655ff721fb6..3681821fa39b 100644 --- a/homeassistant/components/aidot/strings.json +++ b/homeassistant/components/aidot/strings.json @@ -20,7 +20,7 @@ }, "user": { "data": { - "country_code": "Country", + "country_code": "[%key:common::config_flow::data::country%]", "password": "[%key:common::config_flow::data::password%]", "username": "[%key:common::config_flow::data::username%]" }, diff --git a/homeassistant/components/chirpstack/strings.json b/homeassistant/components/chirpstack/strings.json index a70a581e9ea5..78f9df261e38 100644 --- a/homeassistant/components/chirpstack/strings.json +++ b/homeassistant/components/chirpstack/strings.json @@ -26,7 +26,7 @@ }, "reauth_confirm": { "data": { - "api_key": "API key" + "api_key": "[%key:common::config_flow::data::api_key%]" }, "data_description": { "api_key": "A ChirpStack API key with access to your tenant. A read-only key cannot send device commands." @@ -45,7 +45,7 @@ }, "user": { "data": { - "api_key": "API key", + "api_key": "[%key:common::config_flow::data::api_key%]", "endpoint": "Endpoint" }, "data_description": { diff --git a/homeassistant/components/fumis/strings.json b/homeassistant/components/fumis/strings.json index a23566b4f5a2..7ee6d1fea064 100644 --- a/homeassistant/components/fumis/strings.json +++ b/homeassistant/components/fumis/strings.json @@ -12,7 +12,7 @@ "step": { "dhcp_confirm": { "data": { - "pin": "[%key:component::fumis::config::step::user::data::pin%]" + "pin": "[%key:common::config_flow::data::pin%]" }, "data_description": { "pin": "[%key:component::fumis::config::step::user::data_description::pin%]" @@ -21,7 +21,7 @@ }, "reauth_confirm": { "data": { - "pin": "[%key:component::fumis::config::step::user::data::pin%]" + "pin": "[%key:common::config_flow::data::pin%]" }, "data_description": { "pin": "[%key:component::fumis::config::step::user::data_description::pin%]" @@ -30,7 +30,7 @@ }, "reconfigure": { "data": { - "pin": "[%key:component::fumis::config::step::user::data::pin%]" + "pin": "[%key:common::config_flow::data::pin%]" }, "data_description": { "pin": "[%key:component::fumis::config::step::user::data_description::pin%]" @@ -40,7 +40,7 @@ "user": { "data": { "mac": "MAC address", - "pin": "PIN code" + "pin": "[%key:common::config_flow::data::pin%]" }, "data_description": { "mac": "The MAC address is a unique code of letters and numbers that identifies your stove. You can find it on the label of the Fumis WiRCU Wi-Fi module connected to your stove.", diff --git a/homeassistant/components/gree_infrared/strings.json b/homeassistant/components/gree_infrared/strings.json index 35da19109bda..1971dc958b57 100644 --- a/homeassistant/components/gree_infrared/strings.json +++ b/homeassistant/components/gree_infrared/strings.json @@ -11,12 +11,12 @@ "reconfigure": { "data": { "hvac_modes": "[%key:component::gree_infrared::config::step::user::data::hvac_modes%]", - "infrared_emitter_entity_id": "[%key:component::gree_infrared::config::step::user::data::infrared_emitter_entity_id%]", + "infrared_emitter_entity_id": "[%key:common::config_flow::data::infrared_entity_id%]", "infrared_receiver_entity_id": "[%key:common::config_flow::data::infrared_receiver_entity_id%]" }, "data_description": { "hvac_modes": "[%key:component::gree_infrared::config::step::user::data_description::hvac_modes%]", - "infrared_emitter_entity_id": "[%key:component::gree_infrared::config::step::user::data_description::infrared_emitter_entity_id%]", + "infrared_emitter_entity_id": "[%key:common::config_flow::data_description::infrared_entity_id%]", "infrared_receiver_entity_id": "[%key:component::gree_infrared::config::step::user::data_description::infrared_receiver_entity_id%]" }, "description": "Change the infrared entities and the supported modes of your Gree AC.", @@ -25,12 +25,12 @@ "user": { "data": { "hvac_modes": "Supported modes", - "infrared_emitter_entity_id": "Infrared emitter", + "infrared_emitter_entity_id": "[%key:common::config_flow::data::infrared_entity_id%]", "infrared_receiver_entity_id": "[%key:common::config_flow::data::infrared_receiver_entity_id%]" }, "data_description": { "hvac_modes": "Select the operating modes your AC unit supports. Heat is not available on all models.", - "infrared_emitter_entity_id": "The infrared emitter entity to use for sending commands.", + "infrared_emitter_entity_id": "[%key:common::config_flow::data_description::infrared_entity_id%]", "infrared_receiver_entity_id": "Optional — allows the integration to update state when the physical remote is used." }, "description": "Select an infrared emitter and the modes your Gree AC supports.", diff --git a/homeassistant/components/green_planet_energy/strings.json b/homeassistant/components/green_planet_energy/strings.json index 853ab3280e31..1f2aa237ec7e 100644 --- a/homeassistant/components/green_planet_energy/strings.json +++ b/homeassistant/components/green_planet_energy/strings.json @@ -5,7 +5,7 @@ }, "error": { "cannot_connect": "Failed to connect to Green Planet Energy API", - "invalid_auth": "Invalid authentication", + "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "unknown": "Unexpected error occurred" }, "step": { diff --git a/homeassistant/components/growatt_server/strings.json b/homeassistant/components/growatt_server/strings.json index 00419b05a030..8c40a0e6a9a3 100644 --- a/homeassistant/components/growatt_server/strings.json +++ b/homeassistant/components/growatt_server/strings.json @@ -36,7 +36,7 @@ "data": { "password": "[%key:common::config_flow::data::password%]", "region": "[%key:component::growatt_server::config::step::password_auth::data::region%]", - "token": "[%key:component::growatt_server::config::step::token_auth::data::token%]", + "token": "[%key:common::config_flow::data::api_token%]", "username": "[%key:common::config_flow::data::username%]" }, "data_description": { @@ -52,7 +52,7 @@ "data": { "password": "[%key:common::config_flow::data::password%]", "region": "[%key:component::growatt_server::config::step::password_auth::data::region%]", - "token": "[%key:component::growatt_server::config::step::token_auth::data::token%]", + "token": "[%key:common::config_flow::data::api_token%]", "username": "[%key:common::config_flow::data::username%]" }, "data_description": { @@ -67,7 +67,7 @@ "token_auth": { "data": { "region": "[%key:component::growatt_server::config::step::password_auth::data::region%]", - "token": "API token" + "token": "[%key:common::config_flow::data::api_token%]" }, "data_description": { "region": "[%key:component::growatt_server::config::step::password_auth::data_description::region%]", diff --git a/homeassistant/components/habitica/strings.json b/homeassistant/components/habitica/strings.json index efabad26e90e..6430d3d77031 100644 --- a/homeassistant/components/habitica/strings.json +++ b/homeassistant/components/habitica/strings.json @@ -87,7 +87,7 @@ "step": { "advanced": { "data": { - "api_key": "API token", + "api_key": "[%key:common::config_flow::data::api_token%]", "api_user": "User ID", "url": "[%key:common::config_flow::data::url%]", "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" @@ -118,7 +118,7 @@ "sections": { "reauth_api_key": { "data": { - "api_key": "[%key:component::habitica::config::step::advanced::data::api_key%]" + "api_key": "[%key:common::config_flow::data::api_token%]" }, "data_description": { "api_key": "[%key:component::habitica::config::step::advanced::data_description::api_key%]" @@ -143,7 +143,7 @@ }, "reconfigure": { "data": { - "api_key": "[%key:component::habitica::config::step::advanced::data::api_key%]" + "api_key": "[%key:common::config_flow::data::api_token%]" }, "data_description": { "api_key": "[%key:component::habitica::config::step::advanced::data_description::api_key%]" diff --git a/homeassistant/components/idasen_desk/strings.json b/homeassistant/components/idasen_desk/strings.json index 7c9d35e49342..9ad67539fc77 100644 --- a/homeassistant/components/idasen_desk/strings.json +++ b/homeassistant/components/idasen_desk/strings.json @@ -14,7 +14,7 @@ "step": { "user": { "data": { - "address": "Device" + "address": "[%key:common::config_flow::data::device%]" }, "data_description": { "address": "The Bluetooth device for the desk." diff --git a/homeassistant/components/improv_ble/strings.json b/homeassistant/components/improv_ble/strings.json index 919a52958d27..b1f1c77d5d5d 100644 --- a/homeassistant/components/improv_ble/strings.json +++ b/homeassistant/components/improv_ble/strings.json @@ -33,7 +33,7 @@ }, "provision": { "data": { - "password": "Password", + "password": "[%key:common::config_flow::data::password%]", "ssid": "SSID" }, "description": "Enter Wi-Fi credentials to connect the device to your network." diff --git a/homeassistant/components/karakeep/strings.json b/homeassistant/components/karakeep/strings.json index ca60278fc367..66887baf6f1d 100644 --- a/homeassistant/components/karakeep/strings.json +++ b/homeassistant/components/karakeep/strings.json @@ -13,7 +13,7 @@ "step": { "reauth_confirm": { "data": { - "token": "[%key:component::karakeep::config::step::user::data::token%]" + "token": "[%key:common::config_flow::data::api_token%]" }, "data_description": { "token": "[%key:component::karakeep::config::step::user::data_description::token%]" @@ -22,8 +22,8 @@ }, "user": { "data": { - "token": "API token", - "url": "URL", + "token": "[%key:common::config_flow::data::api_token%]", + "url": "[%key:common::config_flow::data::url%]", "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" }, "data_description": { diff --git a/homeassistant/components/lametric/strings.json b/homeassistant/components/lametric/strings.json index 2e7fb229c37b..ec2d55485995 100644 --- a/homeassistant/components/lametric/strings.json +++ b/homeassistant/components/lametric/strings.json @@ -30,7 +30,7 @@ }, "cloud_select_device": { "data": { - "device": "Device" + "device": "[%key:common::config_flow::data::device%]" }, "data_description": { "device": "Select the LaMetric device to add" diff --git a/homeassistant/components/llama_cpp/strings.json b/homeassistant/components/llama_cpp/strings.json index aa89774e30c5..7eb06297b6e2 100644 --- a/homeassistant/components/llama_cpp/strings.json +++ b/homeassistant/components/llama_cpp/strings.json @@ -33,7 +33,7 @@ "user": { "data": { "api_key": "[%key:common::config_flow::data::api_key%]", - "base_url": "URL" + "base_url": "[%key:common::config_flow::data::url%]" }, "data_description": { "api_key": "API key for the server (optional).", @@ -60,7 +60,7 @@ "llm_hass_api": "[%key:common::config_flow::data::llm_hass_api%]", "max_tokens": "Maximum tokens to return in response", "name": "[%key:common::config_flow::data::name%]", - "prompt": "Instructions", + "prompt": "[%key:common::config_flow::data::prompt%]", "recommended": "Recommended model settings", "temperature": "Temperature", "top_p": "Top P" diff --git a/homeassistant/components/midea/strings.json b/homeassistant/components/midea/strings.json index 1d0bc1ec0751..ac0e49131449 100644 --- a/homeassistant/components/midea/strings.json +++ b/homeassistant/components/midea/strings.json @@ -36,7 +36,7 @@ }, "auto": { "data": { - "device": "Device" + "device": "[%key:common::config_flow::data::device%]" }, "data_description": { "device": "Select the discovered device to configure" diff --git a/homeassistant/components/nature_remo/strings.json b/homeassistant/components/nature_remo/strings.json index f75d422f9833..115fe62b32dc 100644 --- a/homeassistant/components/nature_remo/strings.json +++ b/homeassistant/components/nature_remo/strings.json @@ -11,7 +11,7 @@ "step": { "user": { "data": { - "api_token": "Access token" + "api_token": "[%key:common::config_flow::data::access_token%]" }, "data_description": { "api_token": "Personal access token for the Nature account." diff --git a/homeassistant/components/nintendo_parental_controls/strings.json b/homeassistant/components/nintendo_parental_controls/strings.json index b2ed45632a06..000de006088c 100644 --- a/homeassistant/components/nintendo_parental_controls/strings.json +++ b/homeassistant/components/nintendo_parental_controls/strings.json @@ -12,7 +12,7 @@ "step": { "reauth_confirm": { "data": { - "api_token": "Access token" + "api_token": "[%key:common::config_flow::data::access_token%]" }, "data_description": { "api_token": "The link copied from the Nintendo website" @@ -21,7 +21,7 @@ }, "user": { "data": { - "api_token": "Access token" + "api_token": "[%key:common::config_flow::data::access_token%]" }, "data_description": { "api_token": "The link copied from the Nintendo website" diff --git a/homeassistant/components/openai_conversation/strings.json b/homeassistant/components/openai_conversation/strings.json index 5d9c651c9b1a..ce484791409e 100644 --- a/homeassistant/components/openai_conversation/strings.json +++ b/homeassistant/components/openai_conversation/strings.json @@ -110,7 +110,7 @@ "init": { "data": { "chat_model": "Model", - "name": "Name" + "name": "[%key:common::config_flow::data::name%]" }, "title": "Configure evaluation" } diff --git a/homeassistant/components/rejseplanen/strings.json b/homeassistant/components/rejseplanen/strings.json index eeb334cf6957..76f5fcfe6264 100644 --- a/homeassistant/components/rejseplanen/strings.json +++ b/homeassistant/components/rejseplanen/strings.json @@ -40,7 +40,7 @@ "data": { "departure_type": "Departure type", "direction": "Direction", - "name": "Name", + "name": "[%key:common::config_flow::data::name%]", "stop_id": "Stop ID" }, "data_description": { diff --git a/homeassistant/components/shelly/strings.json b/homeassistant/components/shelly/strings.json index 9fad69a744ce..729236d133c7 100644 --- a/homeassistant/components/shelly/strings.json +++ b/homeassistant/components/shelly/strings.json @@ -75,7 +75,7 @@ }, "user": { "data": { - "device": "Device" + "device": "[%key:common::config_flow::data::device%]" }, "data_description": { "device": "Select a discovered device or enter an address manually." diff --git a/homeassistant/components/synology_dsm/strings.json b/homeassistant/components/synology_dsm/strings.json index bb2fd802f42c..6e62245f3934 100644 --- a/homeassistant/components/synology_dsm/strings.json +++ b/homeassistant/components/synology_dsm/strings.json @@ -29,7 +29,7 @@ }, "backup_share": { "data": { - "backup_path": "Path", + "backup_path": "[%key:common::config_flow::data::path%]", "backup_share": "Shared folder" }, "data_description": { @@ -269,7 +269,7 @@ "step": { "confirm": { "data": { - "backup_path": "[%key:component::synology_dsm::config::step::backup_share::data::backup_path%]", + "backup_path": "[%key:common::config_flow::data::path%]", "backup_share": "[%key:component::synology_dsm::config::step::backup_share::data::backup_share%]" }, "data_description": { @@ -297,7 +297,7 @@ "step": { "init": { "data": { - "backup_path": "[%key:component::synology_dsm::config::step::backup_share::data::backup_path%]", + "backup_path": "[%key:common::config_flow::data::path%]", "backup_share": "[%key:component::synology_dsm::config::step::backup_share::data::backup_share%]", "snap_profile_type": "Quality level of camera snapshots (0:high 1:medium 2:low)" }, diff --git a/homeassistant/components/thethingsnetwork_lorawan/strings.json b/homeassistant/components/thethingsnetwork_lorawan/strings.json index 8940361878a3..3fb443d0832a 100644 --- a/homeassistant/components/thethingsnetwork_lorawan/strings.json +++ b/homeassistant/components/thethingsnetwork_lorawan/strings.json @@ -25,7 +25,7 @@ }, "connection": { "data": { - "api_key": "API key", + "api_key": "[%key:common::config_flow::data::api_key%]", "endpoint": "Application Server", "identity_server": "Identity Server" }, @@ -39,7 +39,7 @@ }, "reauth_confirm": { "data": { - "api_key": "API key" + "api_key": "[%key:common::config_flow::data::api_key%]" }, "data_description": { "api_key": "An API key with permission to read devices and application traffic for every selected application. Sending device commands also requires permission to write downlink traffic." diff --git a/homeassistant/components/vistapool/strings.json b/homeassistant/components/vistapool/strings.json index 4cecbd05d0d3..564425abf054 100644 --- a/homeassistant/components/vistapool/strings.json +++ b/homeassistant/components/vistapool/strings.json @@ -34,7 +34,7 @@ }, "user": { "data": { - "password": "Password", + "password": "[%key:common::config_flow::data::password%]", "username": "Vistapool Username" }, "data_description": { diff --git a/homeassistant/components/weatherkit/strings.json b/homeassistant/components/weatherkit/strings.json index 14a327988aac..d7f5920c18bc 100644 --- a/homeassistant/components/weatherkit/strings.json +++ b/homeassistant/components/weatherkit/strings.json @@ -13,7 +13,7 @@ "key_id": "Key ID", "key_pem": "Private key (.p8)", "location": "[%key:common::config_flow::data::location%]", - "name": "Name", + "name": "[%key:common::config_flow::data::name%]", "service_id": "Service ID", "team_id": "Apple team ID" }, diff --git a/homeassistant/components/xiaomi_weather/strings.json b/homeassistant/components/xiaomi_weather/strings.json index 65ac20920aef..bced4fd3d518 100644 --- a/homeassistant/components/xiaomi_weather/strings.json +++ b/homeassistant/components/xiaomi_weather/strings.json @@ -25,7 +25,7 @@ }, "user": { "data": { - "location": "Location" + "location": "[%key:common::config_flow::data::location%]" }, "data_description": { "location": "Select the weather location on the map."