From e6909fb8476e452f14c05e2a8ce8e6d73eabc54d Mon Sep 17 00:00:00 2001 From: perseus177 Date: Wed, 5 Aug 2026 00:02:30 +0200 Subject: [PATCH] fix(translations): mirror the new button string into every catalog test_every_language_mirrors_the_english_catalog is right to fail on this: a key present only in English falls back silently at runtime, which reads as a half-finished translation rather than a missing one. Also fills in the same key for ko.json, which the original fix predates: Korean's translation catalog was added after this branch was cut and never picked up filter_time_reset either. --- custom_components/localthings/translations/cs.json | 3 +++ custom_components/localthings/translations/es.json | 3 +++ custom_components/localthings/translations/it.json | 3 +++ custom_components/localthings/translations/ko.json | 3 +++ custom_components/localthings/translations/nl.json | 3 +++ 5 files changed, 15 insertions(+) diff --git a/custom_components/localthings/translations/cs.json b/custom_components/localthings/translations/cs.json index aeece88..83e5b72 100644 --- a/custom_components/localthings/translations/cs.json +++ b/custom_components/localthings/translations/cs.json @@ -120,6 +120,9 @@ "auto_clean_stop": { "name": "Zastavit samočištění" }, + "filter_time_reset": { + "name": "Vynulovat počítadlo filtru" + }, "pause": { "name": "Pozastavit" }, diff --git a/custom_components/localthings/translations/es.json b/custom_components/localthings/translations/es.json index 729b853..ec8e6a0 100644 --- a/custom_components/localthings/translations/es.json +++ b/custom_components/localthings/translations/es.json @@ -242,6 +242,9 @@ "auto_clean_stop": { "name": "Detener la autolimpieza" }, + "filter_time_reset": { + "name": "Restablecer el contador del filtro" + }, "pause": { "name": "Pausar" }, diff --git a/custom_components/localthings/translations/it.json b/custom_components/localthings/translations/it.json index ecdb604..be69d02 100644 --- a/custom_components/localthings/translations/it.json +++ b/custom_components/localthings/translations/it.json @@ -120,6 +120,9 @@ "auto_clean_stop": { "name": "Arresta autopulizia" }, + "filter_time_reset": { + "name": "Azzera il contatore del filtro" + }, "pause": { "name": "Pausa" }, diff --git a/custom_components/localthings/translations/ko.json b/custom_components/localthings/translations/ko.json index 625a81a..7a86ba4 100644 --- a/custom_components/localthings/translations/ko.json +++ b/custom_components/localthings/translations/ko.json @@ -120,6 +120,9 @@ "auto_clean_stop": { "name": "자동 청소 정지" }, + "filter_time_reset": { + "name": "필터 사용 시간 초기화" + }, "pause": { "name": "일시정지" }, diff --git a/custom_components/localthings/translations/nl.json b/custom_components/localthings/translations/nl.json index e6658e9..09e15db 100644 --- a/custom_components/localthings/translations/nl.json +++ b/custom_components/localthings/translations/nl.json @@ -120,6 +120,9 @@ "auto_clean_stop": { "name": "Zelfreiniging stoppen" }, + "filter_time_reset": { + "name": "Filterteller op nul zetten" + }, "pause": { "name": "Pauzeren" },