From 2743fdcdf7e8e9fbaf3077a50bc0683845e9b2fd Mon Sep 17 00:00:00 2001 From: Max Gramser Date: Sat, 19 Sep 2026 23:41:50 +0200 Subject: [PATCH] Say in the translation guide what the tile's short "yesterday" is for Co-Authored-By: Claude Opus 5 --- docs/TRANSLATING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/TRANSLATING.md b/docs/TRANSLATING.md index 732963e..2d60261 100644 --- a/docs/TRANSLATING.md +++ b/docs/TRANSLATING.md @@ -47,7 +47,9 @@ there is a `sv.json`, but already the Swedish 24-hour clock and `1 234,5`. - words that differ from the ones the Home Assistant app uses in your language (the Home Assistant app is the reference: *Dashboard*, *Automation*, *Entity* are what people know); - texts that are too long for a small screen. `tools/i18n.py check` measures the line under a tile's name with the - screens' own font and says when it doesn't fit; for the rest, compare with the English. + screens' own font (a `{time}` in it as a 12-hour clock, the widest a screen writes) and says when it doesn't fit; + for the rest, compare with the English. `screen.script.yesterday_time_short` is that line's short wording, which + a tile falls back to when `yesterday_time` doesn't fit there: keep both the same where your word is short enough. 3. Look at it for real, if you can. In ESP Screens open **Settings → Language & region** and choose your language. The editor itself follows the language of your Home Assistant profile. The screens show the new texts after their firmware update.