Add English translations for entity and config-flow strings
Custom integrations read translations/en.json rather than strings.json, so without this the entity names fall back to their translation keys.
This commit is contained in:
@@ -23,3 +23,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
count, open order delivery date, and shopping window.
|
count, open order delivery date, and shopping window.
|
||||||
- Parser tests covering totals, contents, the locked/open distinction, money
|
- Parser tests covering totals, contents, the locked/open distinction, money
|
||||||
parsing, and year rollover on undated cart tabs.
|
parsing, and year rollover on undated cart tabs.
|
||||||
|
- English translations under `translations/en.json`, which is where custom
|
||||||
|
integrations read entity and config-flow strings from.
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"step": {
|
||||||
|
"user": {
|
||||||
|
"description": "Sign in with your freshharvest.com account.",
|
||||||
|
"data": {
|
||||||
|
"email": "Email",
|
||||||
|
"password": "Password"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"cannot_connect": "Failed to connect",
|
||||||
|
"invalid_auth": "Invalid authentication"
|
||||||
|
},
|
||||||
|
"abort": {
|
||||||
|
"already_configured": "This account is already configured"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"entity": {
|
||||||
|
"sensor": {
|
||||||
|
"next_delivery": { "name": "Next delivery" },
|
||||||
|
"next_delivery_total": { "name": "Next delivery total" },
|
||||||
|
"next_delivery_items": { "name": "Next delivery items" },
|
||||||
|
"open_order_delivery": { "name": "Open order delivery" },
|
||||||
|
"shop_window": { "name": "Shopping window" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user