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:
flan
2026-08-03 18:48:30 +00:00
parent e1d8ba720c
commit cd20802127
2 changed files with 31 additions and 0 deletions
+2
View File
@@ -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.
- Parser tests covering totals, contents, the locked/open distinction, money
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" }
}
}
}