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": {
"data": {
"password": "[%key:common::config_flow::data::password%]"
},
"data_description": {
"password": "Password of the Smart Home Controller"
}
},

View file

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

View file

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

View file

@ -4,21 +4,27 @@
"user": {
"data": {
"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%]",
"use_legacy_protocol": "Use legacy protocol"
},
"data_description": {
"password": "Default: PIN code on the back."
}
},
"confirm_discovery": {
"data": {
"password": "[%key:component::dlink::config::step::user::data::password%]",
"password": "[%key:common::config_flow::data::password%]",
"username": "[%key:common::config_flow::data::username%]",
"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": {
"cannot_connect": "Failed to connect/authenticate",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {

View file

@ -22,7 +22,7 @@
"init": {
"description": "These values allow tweaking the Forecast.Solar result. Please refer to the documentation if a field is unclear.",
"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%]",
"damping_morning": "Damping factor: adjusts the results in the morning",
"damping_evening": "Damping factor: adjusts the results in the evening",

View file

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

View file

@ -82,7 +82,7 @@
}
},
"error": {
"unknown": "[%key:component::homeassistant_hardware::silabs_multiprotocol_hardware::options::error::unknown%]"
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"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_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
"not_hue_bridge": "Not a Hue bridge",
"invalid_host": "Invalid host"
"invalid_host": "[%key:common::config_flow::error::invalid_host%]"
}
},
"device_automation": {

View file

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

View file

@ -29,7 +29,7 @@
"error": {
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"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": {
"trigger_type": {
"turn_on": "[%key:common::device_automation::action_type::turn_on%]",
"turn_off": "[%key:common::device_automation::action_type::turn_off%]"
"turn_on": "[%key:common::device_automation::trigger_type::turned_on%]",
"turn_off": "[%key:common::device_automation::trigger_type::turned_off%]"
}
},
"services": {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -4,7 +4,7 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
},
"error": {
"timeout": "Timeout connecting to Tibber",
"timeout": "[%key:common::config_flow::error::timeout_connect%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"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.."
},
"error": {
"unknown": "Unknown error occurred",
"invalid_token": "Invalid token",
"unknown": "[%key:common::config_flow::error::unknown%]",
"invalid_token": "[%key:common::config_flow::error::invalid_access_token%]",
"expired_token": "Expired token - please generate a new token",
"invalid_pin": "Invalid pin",
"invalid_symbol": "Invalid symbol",
"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": {
"auth": {
@ -21,7 +21,7 @@
"data": {
"token": "Token",
"region": "Symbol",
"pin": "Pin"
"pin": "[%key:common::config_flow::data::pin%]"
}
},
"reauth_confirm": {