Use more common translations (#100135)

This commit is contained in:
Jan Rieger 2023-09-12 19:44:31 +02:00 committed by GitHub
parent 5021c69886
commit 74a57e8676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 49 additions and 37 deletions

View file

@ -10,6 +10,9 @@
}, },
"credentials": { "credentials": {
"data": { "data": {
"password": "[%key:common::config_flow::data::password%]"
},
"data_description": {
"password": "Password of the Smart Home Controller" "password": "Password of the Smart Home Controller"
} }
}, },

View file

@ -66,7 +66,7 @@
"heating": "Heating", "heating": "Heating",
"cooling": "Cooling", "cooling": "Cooling",
"drying": "Drying", "drying": "Drying",
"idle": "Idle", "idle": "[%key:common::state::idle%]",
"fan": "Fan" "fan": "Fan"
} }
}, },
@ -93,7 +93,7 @@
"away": "Away", "away": "Away",
"boost": "Boost", "boost": "Boost",
"comfort": "Comfort", "comfort": "Comfort",
"home": "Home", "home": "[%key:common::state::home%]",
"sleep": "Sleep", "sleep": "Sleep",
"activity": "Activity" "activity": "Activity"
} }

View file

@ -3,7 +3,7 @@
"step": { "step": {
"user": { "user": {
"data": { "data": {
"location": "Get data for", "location": "[%key:common::config_flow::data::location%]",
"api_key": "[%key:common::config_flow::data::access_token%]" "api_key": "[%key:common::config_flow::data::access_token%]"
}, },
"description": "Visit https://electricitymaps.com/free-tier to request a token." "description": "Visit https://electricitymaps.com/free-tier to request a token."

View file

@ -4,21 +4,27 @@
"user": { "user": {
"data": { "data": {
"host": "[%key:common::config_flow::data::host%]", "host": "[%key:common::config_flow::data::host%]",
"password": "Password (default: PIN code on the back)", "password": "[%key:common::config_flow::data::password%]",
"username": "[%key:common::config_flow::data::username%]", "username": "[%key:common::config_flow::data::username%]",
"use_legacy_protocol": "Use legacy protocol" "use_legacy_protocol": "Use legacy protocol"
},
"data_description": {
"password": "Default: PIN code on the back."
} }
}, },
"confirm_discovery": { "confirm_discovery": {
"data": { "data": {
"password": "[%key:component::dlink::config::step::user::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"username": "[%key:common::config_flow::data::username%]", "username": "[%key:common::config_flow::data::username%]",
"use_legacy_protocol": "[%key:component::dlink::config::step::user::data::use_legacy_protocol%]" "use_legacy_protocol": "[%key:component::dlink::config::step::user::data::use_legacy_protocol%]"
},
"data_description": {
"password": "[%key:component::dlink::config::step::user::data_description::password%]"
} }
} }
}, },
"error": { "error": {
"cannot_connect": "Failed to connect/authenticate", "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"unknown": "[%key:common::config_flow::error::unknown%]" "unknown": "[%key:common::config_flow::error::unknown%]"
}, },
"abort": { "abort": {

View file

@ -22,7 +22,7 @@
"init": { "init": {
"description": "These values allow tweaking the Forecast.Solar result. Please refer to the documentation if a field is unclear.", "description": "These values allow tweaking the Forecast.Solar result. Please refer to the documentation if a field is unclear.",
"data": { "data": {
"api_key": "Forecast.Solar API Key (optional)", "api_key": "[%key:common::config_flow::data::api_key%]",
"azimuth": "[%key:component::forecast_solar::config::step::user::data::azimuth%]", "azimuth": "[%key:component::forecast_solar::config::step::user::data::azimuth%]",
"damping_morning": "Damping factor: adjusts the results in the morning", "damping_morning": "Damping factor: adjusts the results in the morning",
"damping_evening": "Damping factor: adjusts the results in the evening", "damping_evening": "Damping factor: adjusts the results in the evening",

View file

@ -60,7 +60,7 @@
} }
}, },
"error": { "error": {
"unknown": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::error::unknown%]" "unknown": "[%key:common::config_flow::error::unknown%]"
}, },
"abort": { "abort": {
"addon_info_failed": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::abort::addon_info_failed%]", "addon_info_failed": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::abort::addon_info_failed%]",

View file

@ -82,7 +82,7 @@
} }
}, },
"error": { "error": {
"unknown": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::error::unknown%]" "unknown": "[%key:common::config_flow::error::unknown%]"
}, },
"abort": { "abort": {
"addon_info_failed": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::abort::addon_info_failed%]", "addon_info_failed": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::abort::addon_info_failed%]",

View file

@ -31,7 +31,7 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]", "already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
"not_hue_bridge": "Not a Hue bridge", "not_hue_bridge": "Not a Hue bridge",
"invalid_host": "Invalid host" "invalid_host": "[%key:common::config_flow::error::invalid_host%]"
} }
}, },
"device_automation": { "device_automation": {

View file

@ -33,7 +33,7 @@
"state": { "state": {
"humidifying": "Humidifying", "humidifying": "Humidifying",
"drying": "Drying", "drying": "Drying",
"idle": "Idle", "idle": "[%key:common::state::idle%]",
"off": "[%key:common::state::off%]" "off": "[%key:common::state::off%]"
} }
}, },
@ -60,7 +60,7 @@
"away": "Away", "away": "Away",
"boost": "Boost", "boost": "Boost",
"comfort": "Comfort", "comfort": "Comfort",
"home": "Home", "home": "[%key:common::state::home%]",
"sleep": "Sleep", "sleep": "Sleep",
"auto": "Auto", "auto": "Auto",
"baby": "Baby" "baby": "Baby"

View file

@ -29,7 +29,7 @@
"error": { "error": {
"invalid_host": "[%key:common::config_flow::error::invalid_host%]", "invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_auth": "[%key:component::jvc_projector::config::step::reauth_confirm::description%]" "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]"
} }
} }
} }

View file

@ -43,8 +43,8 @@
}, },
"device_automation": { "device_automation": {
"trigger_type": { "trigger_type": {
"turn_on": "[%key:common::device_automation::action_type::turn_on%]", "turn_on": "[%key:common::device_automation::trigger_type::turned_on%]",
"turn_off": "[%key:common::device_automation::action_type::turn_off%]" "turn_off": "[%key:common::device_automation::trigger_type::turned_off%]"
} }
}, },
"services": { "services": {

View file

@ -5,7 +5,7 @@
"name": "[%key:component::lawn_mower::title%]", "name": "[%key:component::lawn_mower::title%]",
"state": { "state": {
"error": "Error", "error": "Error",
"paused": "Paused", "paused": "[%key:common::state::paused%]",
"mowing": "Mowing", "mowing": "Mowing",
"docked": "Docked" "docked": "Docked"
} }

View file

@ -9,7 +9,7 @@
"username": "[%key:common::config_flow::data::username%]", "username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"port": "[%key:common::config_flow::data::port%]", "port": "[%key:common::config_flow::data::port%]",
"verify_ssl": "Use ssl" "verify_ssl": "[%key:common::config_flow::data::ssl%]"
} }
}, },
"reauth_confirm": { "reauth_confirm": {

View file

@ -4,8 +4,8 @@
"user": { "user": {
"description": "Default host: {host}\nDefault username: {username}", "description": "Default host: {host}\nDefault username: {username}",
"data": { "data": {
"host": "Host (Optional)", "host": "[%key:common::config_flow::data::host%]",
"username": "Username (Optional)", "username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]" "password": "[%key:common::config_flow::data::password%]"
} }
} }

View file

@ -6,8 +6,8 @@
"data": { "data": {
"host": "[%key:common::config_flow::data::host%]", "host": "[%key:common::config_flow::data::host%]",
"path": "Application Path", "path": "Application Path",
"port": "Port Number", "port": "[%key:common::config_flow::data::port%]",
"ssl": "Use SSL", "ssl": "[%key:common::config_flow::data::ssl%]",
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]", "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]",
"username": "[%key:common::config_flow::data::username%]" "username": "[%key:common::config_flow::data::username%]"
} }

View file

@ -9,6 +9,9 @@
"host": "[%key:common::config_flow::data::ip%]", "host": "[%key:common::config_flow::data::ip%]",
"port": "[%key:common::config_flow::data::port%]", "port": "[%key:common::config_flow::data::port%]",
"username": "Smile Username" "username": "Smile Username"
},
"data_description": {
"host": "Leave empty if using Auto Discovery"
} }
} }
}, },

View file

@ -7,7 +7,7 @@
"mode": { "mode": {
"data": { "data": {
"mode": "Config Mode", "mode": "Config Mode",
"ip_address": "IP address (Leave empty if using Auto Discovery)." "ip_address": "[%key:common::config_flow::data::ip%]"
}, },
"data_description": { "data_description": {
"ip_address": "Leave blank if selecting auto-discovery." "ip_address": "Leave blank if selecting auto-discovery."

View file

@ -5,19 +5,19 @@
"title": "Connect to the QNAP device", "title": "Connect to the QNAP device",
"description": "This qnap sensor allows getting various statistics from your QNAP NAS.", "description": "This qnap sensor allows getting various statistics from your QNAP NAS.",
"data": { "data": {
"host": "Hostname", "host": "[%key:common::config_flow::data::host%]",
"username": "[%key:common::config_flow::data::username%]", "username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"port": "[%key:common::config_flow::data::port%]", "port": "[%key:common::config_flow::data::port%]",
"ssl": "Enable SSL", "ssl": "[%key:common::config_flow::data::ssl%]",
"verify_ssl": "Verify SSL" "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
} }
} }
}, },
"error": { "error": {
"cannot_connect": "Cannot connect to host", "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_auth": "Bad authentication", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
"unknown": "Unknown error" "unknown": "[%key:common::config_flow::error::unknown%]"
} }
} }
} }

View file

@ -120,7 +120,7 @@
"valve_status": { "valve_status": {
"state": { "state": {
"checking": "Checking", "checking": "Checking",
"closed": "Closed", "closed": "[%key:common::state::closed%]",
"closing": "Closing", "closing": "Closing",
"failure": "Failure", "failure": "Failure",
"opened": "Opened", "opened": "Opened",

View file

@ -28,7 +28,7 @@
"title": "[%key:component::subaru::config::step::user::title%]", "title": "[%key:component::subaru::config::step::user::title%]",
"description": "Please enter your MySubaru PIN\nNOTE: All vehicles in account must have the same PIN", "description": "Please enter your MySubaru PIN\nNOTE: All vehicles in account must have the same PIN",
"data": { "data": {
"pin": "PIN" "pin": "[%key:common::config_flow::data::pin%]"
} }
} }
}, },

View file

@ -16,10 +16,10 @@
"name": "Min length" "name": "Min length"
}, },
"mode": { "mode": {
"name": "Mode", "name": "[%key:common::config_flow::data::mode%]",
"state": { "state": {
"text": "Text", "text": "Text",
"password": "Password" "password": "[%key:common::config_flow::data::password%]"
} }
}, },
"pattern": { "pattern": {

View file

@ -4,7 +4,7 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]" "already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
}, },
"error": { "error": {
"timeout": "Timeout connecting to Tibber", "timeout": "[%key:common::config_flow::error::timeout_connect%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_access_token": "[%key:common::config_flow::error::invalid_access_token%]" "invalid_access_token": "[%key:common::config_flow::error::invalid_access_token%]"
}, },

View file

@ -7,13 +7,13 @@
"no_matching_entries": "No matching entries found, please use different account or remove integration with outdated student.." "no_matching_entries": "No matching entries found, please use different account or remove integration with outdated student.."
}, },
"error": { "error": {
"unknown": "Unknown error occurred", "unknown": "[%key:common::config_flow::error::unknown%]",
"invalid_token": "Invalid token", "invalid_token": "[%key:common::config_flow::error::invalid_access_token%]",
"expired_token": "Expired token - please generate a new token", "expired_token": "Expired token - please generate a new token",
"invalid_pin": "Invalid pin", "invalid_pin": "Invalid pin",
"invalid_symbol": "Invalid symbol", "invalid_symbol": "Invalid symbol",
"expired_credentials": "Expired credentials - please create new on Vulcan mobile app registration page", "expired_credentials": "Expired credentials - please create new on Vulcan mobile app registration page",
"cannot_connect": "Connection error - please check your internet connection" "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
}, },
"step": { "step": {
"auth": { "auth": {
@ -21,7 +21,7 @@
"data": { "data": {
"token": "Token", "token": "Token",
"region": "Symbol", "region": "Symbol",
"pin": "Pin" "pin": "[%key:common::config_flow::data::pin%]"
} }
}, },
"reauth_confirm": { "reauth_confirm": {