Add common state translation string for charging and discharging (#139074)

add common state translation string for charging and discharging
This commit is contained in:
Michael 2025-02-25 20:03:14 +01:00 committed by GitHub
parent 75533463f7
commit ef46552146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 22 additions and 20 deletions

View File

@ -28,7 +28,7 @@
"name": "Activity", "name": "Activity",
"state": { "state": {
"available": "Available", "available": "Available",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"unavailable": "Unavailable", "unavailable": "Unavailable",
"error": "Error", "error": "Error",
"offline": "Offline" "offline": "Offline"

View File

@ -138,7 +138,7 @@
"name": "Charging status", "name": "Charging status",
"state": { "state": {
"default": "Default", "default": "Default",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"error": "Error", "error": "Error",
"complete": "Complete", "complete": "Complete",
"fully_charged": "Fully charged", "fully_charged": "Fully charged",

View File

@ -360,9 +360,9 @@
"acb_battery_state": { "acb_battery_state": {
"name": "Battery state", "name": "Battery state",
"state": { "state": {
"discharging": "Discharging", "discharging": "[%key:common::state::discharging%]",
"idle": "[%key:common::state::idle%]", "idle": "[%key:common::state::idle%]",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"full": "Full" "full": "Full"
} }
}, },

View File

@ -86,7 +86,7 @@
"name": "State", "name": "State",
"state": { "state": {
"available": "Available", "available": "Available",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"connected": "Connected", "connected": "Connected",
"error": "Error", "error": "Error",
"locked": "Locked", "locked": "Locked",

View File

@ -411,7 +411,7 @@
"cancel": "Cancel", "cancel": "Cancel",
"carbonation": "Carbonation", "carbonation": "Carbonation",
"change_condition": "Settings Change", "change_condition": "Settings Change",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"charging_complete": "Charging completed", "charging_complete": "Charging completed",
"checking_turbidity": "Detecting soil level", "checking_turbidity": "Detecting soil level",
"cleaning": "Cleaning", "cleaning": "Cleaning",
@ -498,7 +498,7 @@
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]", "cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
"carbonation": "[%key:component::lg_thinq::entity::sensor::current_state::state::carbonation%]", "carbonation": "[%key:component::lg_thinq::entity::sensor::current_state::state::carbonation%]",
"change_condition": "[%key:component::lg_thinq::entity::sensor::current_state::state::change_condition%]", "change_condition": "[%key:component::lg_thinq::entity::sensor::current_state::state::change_condition%]",
"charging": "[%key:component::lg_thinq::entity::sensor::current_state::state::charging%]", "charging": "[%key:common::state::charging%]",
"charging_complete": "[%key:component::lg_thinq::entity::sensor::current_state::state::charging_complete%]", "charging_complete": "[%key:component::lg_thinq::entity::sensor::current_state::state::charging_complete%]",
"checking_turbidity": "[%key:component::lg_thinq::entity::sensor::current_state::state::checking_turbidity%]", "checking_turbidity": "[%key:component::lg_thinq::entity::sensor::current_state::state::checking_turbidity%]",
"cleaning": "[%key:component::lg_thinq::entity::sensor::current_state::state::cleaning%]", "cleaning": "[%key:component::lg_thinq::entity::sensor::current_state::state::cleaning%]",

View File

@ -263,7 +263,7 @@
"paused": "[%key:common::state::paused%]", "paused": "[%key:common::state::paused%]",
"error": "Error", "error": "Error",
"seeking_charger": "Seeking charger", "seeking_charger": "Seeking charger",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"docked": "Docked" "docked": "Docked"
} }
}, },

View File

@ -74,7 +74,7 @@
"state": { "state": {
"unplugged": "Unplugged", "unplugged": "Unplugged",
"plugged_in": "Plugged in", "plugged_in": "Plugged in",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"paused": "[%key:common::state::paused%]", "paused": "[%key:common::state::paused%]",
"pending_approval": "Pending approval", "pending_approval": "Pending approval",
"finished": "Finished charging" "finished": "Finished charging"

View File

@ -107,7 +107,7 @@
"cp_state": { "cp_state": {
"name": "State", "name": "State",
"state": { "state": {
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"error": "Error", "error": "Error",
"fault": "Fault", "fault": "Fault",
"invalid": "Invalid", "invalid": "Invalid",

View File

@ -741,8 +741,8 @@
"battery_state": { "battery_state": {
"name": "Battery state", "name": "Battery state",
"state": { "state": {
"discharging": "Discharging", "discharging": "[%key:common::state::discharging%]",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"chargecomplete": "Charge complete" "chargecomplete": "Charge complete"
} }
}, },

View File

@ -128,7 +128,7 @@
"updating": "[%key:component::roborock::entity::sensor::status::state::updating%]", "updating": "[%key:component::roborock::entity::sensor::status::state::updating%]",
"washing": "Washing", "washing": "Washing",
"ready": "Ready", "ready": "Ready",
"charging": "[%key:component::roborock::entity::sensor::status::state::charging%]", "charging": "[%key:common::state::charging%]",
"mop_washing": "Washing mop", "mop_washing": "Washing mop",
"self_clean_cleaning": "Self clean cleaning", "self_clean_cleaning": "Self clean cleaning",
"self_clean_deep_cleaning": "Self clean deep cleaning", "self_clean_deep_cleaning": "Self clean deep cleaning",
@ -199,7 +199,7 @@
"cleaning": "Cleaning", "cleaning": "Cleaning",
"returning_home": "Returning home", "returning_home": "Returning home",
"manual_mode": "Manual mode", "manual_mode": "Manual mode",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"charging_problem": "Charging problem", "charging_problem": "Charging problem",
"paused": "[%key:common::state::paused%]", "paused": "[%key:common::state::paused%]",
"spot_cleaning": "Spot cleaning", "spot_cleaning": "Spot cleaning",

View File

@ -329,7 +329,7 @@
"name": "Charging", "name": "Charging",
"state": { "state": {
"starting": "Starting", "starting": "Starting",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"disconnected": "Disconnected", "disconnected": "Disconnected",
"stopped": "Stopped", "stopped": "Stopped",
"complete": "Complete", "complete": "Complete",

View File

@ -42,7 +42,7 @@
"charging_finished": "Charging finished", "charging_finished": "Charging finished",
"waiting_car": "Waiting for car", "waiting_car": "Waiting for car",
"charging_reduced": "Charging (reduced)", "charging_reduced": "Charging (reduced)",
"charging": "Charging" "charging": "[%key:common::state::charging%]"
} }
}, },
"status_code": { "status_code": {

View File

@ -415,7 +415,7 @@
"name": "Charging", "name": "Charging",
"state": { "state": {
"starting": "Starting", "starting": "Starting",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"disconnected": "Disconnected", "disconnected": "Disconnected",
"stopped": "Stopped", "stopped": "Stopped",
"complete": "Complete", "complete": "Complete",

View File

@ -75,7 +75,7 @@
"name": "Charging", "name": "Charging",
"state": { "state": {
"starting": "Starting", "starting": "Starting",
"charging": "Charging", "charging": "[%key:common::state::charging%]",
"disconnected": "Disconnected", "disconnected": "Disconnected",
"stopped": "Stopped", "stopped": "Stopped",
"complete": "Complete", "complete": "Complete",
@ -212,7 +212,7 @@
"name": "State", "name": "State",
"state": { "state": {
"booting": "Booting", "booting": "Booting",
"charging": "[%key:component::tessie::entity::sensor::charge_state_charging_state::state::charging%]", "charging": "[%key:common::state::charging%]",
"disconnected": "[%key:common::state::disconnected%]", "disconnected": "[%key:common::state::disconnected%]",
"connected": "[%key:common::state::connected%]", "connected": "[%key:common::state::connected%]",
"scheduled": "Scheduled", "scheduled": "Scheduled",

View File

@ -71,7 +71,9 @@
"standby": "Standby", "standby": "Standby",
"paused": "Paused", "paused": "Paused",
"home": "Home", "home": "Home",
"not_home": "Away" "not_home": "Away",
"charging": "Charging",
"discharging": "Discharging"
}, },
"config_flow": { "config_flow": {
"title": { "title": {