Skip to content

Commit ef46552

Browse files
authored
Add common state translation string for charging and discharging (#139074)
add common state translation string for charging and discharging
1 parent 7553346 commit ef46552

File tree

15 files changed

+22
-20
lines changed

15 files changed

+22
-20
lines changed

homeassistant/components/blue_current/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"name": "Activity",
2929
"state": {
3030
"available": "Available",
31-
"charging": "Charging",
31+
"charging": "[%key:common::state::charging%]",
3232
"unavailable": "Unavailable",
3333
"error": "Error",
3434
"offline": "Offline"

homeassistant/components/bmw_connected_drive/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"name": "Charging status",
139139
"state": {
140140
"default": "Default",
141-
"charging": "Charging",
141+
"charging": "[%key:common::state::charging%]",
142142
"error": "Error",
143143
"complete": "Complete",
144144
"fully_charged": "Fully charged",

homeassistant/components/enphase_envoy/strings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@
360360
"acb_battery_state": {
361361
"name": "Battery state",
362362
"state": {
363-
"discharging": "Discharging",
363+
"discharging": "[%key:common::state::discharging%]",
364364
"idle": "[%key:common::state::idle%]",
365-
"charging": "Charging",
365+
"charging": "[%key:common::state::charging%]",
366366
"full": "Full"
367367
}
368368
},

homeassistant/components/lektrico/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"name": "State",
8787
"state": {
8888
"available": "Available",
89-
"charging": "Charging",
89+
"charging": "[%key:common::state::charging%]",
9090
"connected": "Connected",
9191
"error": "Error",
9292
"locked": "Locked",

homeassistant/components/lg_thinq/strings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
"cancel": "Cancel",
412412
"carbonation": "Carbonation",
413413
"change_condition": "Settings Change",
414-
"charging": "Charging",
414+
"charging": "[%key:common::state::charging%]",
415415
"charging_complete": "Charging completed",
416416
"checking_turbidity": "Detecting soil level",
417417
"cleaning": "Cleaning",
@@ -498,7 +498,7 @@
498498
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
499499
"carbonation": "[%key:component::lg_thinq::entity::sensor::current_state::state::carbonation%]",
500500
"change_condition": "[%key:component::lg_thinq::entity::sensor::current_state::state::change_condition%]",
501-
"charging": "[%key:component::lg_thinq::entity::sensor::current_state::state::charging%]",
501+
"charging": "[%key:common::state::charging%]",
502502
"charging_complete": "[%key:component::lg_thinq::entity::sensor::current_state::state::charging_complete%]",
503503
"checking_turbidity": "[%key:component::lg_thinq::entity::sensor::current_state::state::checking_turbidity%]",
504504
"cleaning": "[%key:component::lg_thinq::entity::sensor::current_state::state::cleaning%]",

homeassistant/components/matter/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
"paused": "[%key:common::state::paused%]",
264264
"error": "Error",
265265
"seeking_charger": "Seeking charger",
266-
"charging": "Charging",
266+
"charging": "[%key:common::state::charging%]",
267267
"docked": "Docked"
268268
}
269269
},

homeassistant/components/ohme/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"state": {
7575
"unplugged": "Unplugged",
7676
"plugged_in": "Plugged in",
77-
"charging": "Charging",
77+
"charging": "[%key:common::state::charging%]",
7878
"paused": "[%key:common::state::paused%]",
7979
"pending_approval": "Pending approval",
8080
"finished": "Finished charging"

homeassistant/components/peblar/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"cp_state": {
108108
"name": "State",
109109
"state": {
110-
"charging": "Charging",
110+
"charging": "[%key:common::state::charging%]",
111111
"error": "Error",
112112
"fault": "Fault",
113113
"invalid": "Invalid",

homeassistant/components/reolink/strings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,8 @@
741741
"battery_state": {
742742
"name": "Battery state",
743743
"state": {
744-
"discharging": "Discharging",
745-
"charging": "Charging",
744+
"discharging": "[%key:common::state::discharging%]",
745+
"charging": "[%key:common::state::charging%]",
746746
"chargecomplete": "Charge complete"
747747
}
748748
},

homeassistant/components/roborock/strings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"updating": "[%key:component::roborock::entity::sensor::status::state::updating%]",
129129
"washing": "Washing",
130130
"ready": "Ready",
131-
"charging": "[%key:component::roborock::entity::sensor::status::state::charging%]",
131+
"charging": "[%key:common::state::charging%]",
132132
"mop_washing": "Washing mop",
133133
"self_clean_cleaning": "Self clean cleaning",
134134
"self_clean_deep_cleaning": "Self clean deep cleaning",
@@ -199,7 +199,7 @@
199199
"cleaning": "Cleaning",
200200
"returning_home": "Returning home",
201201
"manual_mode": "Manual mode",
202-
"charging": "Charging",
202+
"charging": "[%key:common::state::charging%]",
203203
"charging_problem": "Charging problem",
204204
"paused": "[%key:common::state::paused%]",
205205
"spot_cleaning": "Spot cleaning",

0 commit comments

Comments
 (0)