Skip to content

Commit 9fa9062

Browse files
committed
Add translation-strings, translations for the added sensors
1 parent 272f05e commit 9fa9062

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

custom_components/plugwise_usb/strings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@
115115
"energy_day_consumption": {
116116
"name": "Energy consumption today"
117117
},
118+
"energy_hour_production": {
119+
"name": "Energy production this hour"
120+
},
121+
"energy_day_production": {
122+
"name": "Energy production today"
123+
},
118124
"last_seen": {
119125
"name": "Last seen"
120126
},

custom_components/plugwise_usb/translations/en.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@
115115
"energy_day_consumption": {
116116
"name": "Energy consumption today"
117117
},
118+
"energy_hour_production": {
119+
"name": "Energy production this hour"
120+
},
121+
"energy_day_production": {
122+
"name": "Energy production today"
123+
},
118124
"last_seen": {
119125
"name": "Last seen"
120126
},

custom_components/plugwise_usb/translations/nl.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,16 @@
110110
"name": "Energie laatste 8 seconden"
111111
},
112112
"energy_hour_consumption": {
113-
"name": "Energie cumulatief dit uur"
113+
"name": "Energie consumptie dit uur"
114114
},
115115
"energy_day_consumption": {
116-
"name": "Energie cumulatief vandaag"
116+
"name": "Energie consumptie vandaag"
117+
},
118+
"energy_hour_production": {
119+
"name": "Energie productie dit uur"
120+
},
121+
"energy_day_production": {
122+
"name": "Energie productie vandaag"
117123
},
118124
"last_seen": {
119125
"name": "Laatst gezien"

0 commit comments

Comments
 (0)