Skip to content

Commit 8d7e387

Browse files
authored
Deduplicate strings in nordpool actions (home-assistant#148258)
1 parent 70e9c4e commit 8d7e387

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

homeassistant/components/nordpool/strings.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
},
104104
"date": {
105105
"name": "Date",
106-
"description": "Only dates two months in the past and one day in the future is allowed."
106+
"description": "Only dates in the range from two months in the past to one day in the future are allowed."
107107
},
108108
"areas": {
109109
"name": "Areas",
@@ -120,20 +120,20 @@
120120
"description": "Retrieves the price indices for a specific date.",
121121
"fields": {
122122
"config_entry": {
123-
"name": "Config entry",
124-
"description": "The Nord Pool configuration entry for this action."
123+
"name": "[%key:component::nordpool::services::get_prices_for_date::fields::config_entry::name%]",
124+
"description": "[%key:component::nordpool::services::get_prices_for_date::fields::config_entry::description%]"
125125
},
126126
"date": {
127-
"name": "Date",
128-
"description": "Only dates two months in the past and one day in the future is allowed."
127+
"name": "[%key:component::nordpool::services::get_prices_for_date::fields::date::name%]",
128+
"description": "[%key:component::nordpool::services::get_prices_for_date::fields::date::description%]"
129129
},
130130
"areas": {
131-
"name": "Areas",
132-
"description": "One or multiple areas to get prices for. If left empty it will use the areas already configured."
131+
"name": "[%key:component::nordpool::services::get_prices_for_date::fields::areas::name%]",
132+
"description": "[%key:component::nordpool::services::get_prices_for_date::fields::areas::description%]"
133133
},
134134
"currency": {
135-
"name": "Currency",
136-
"description": "Currency to get prices in. If left empty it will use the currency already configured."
135+
"name": "[%key:component::nordpool::services::get_prices_for_date::fields::currency::name%]",
136+
"description": "[%key:component::nordpool::services::get_prices_for_date::fields::currency::description%]"
137137
},
138138
"resolution": {
139139
"name": "Resolution",

0 commit comments

Comments
 (0)