From 9a46d98e378f1e24259eac73dd150f808ad0c95d Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Thu, 4 Apr 2024 12:45:45 +0300 Subject: Move Zzz large line from translations to constants --- Translations/make_translation.py | 1 + Translations/translation_BE.json | 3 --- Translations/translation_BG.json | 3 --- Translations/translation_CS.json | 3 --- Translations/translation_DA.json | 3 --- Translations/translation_DE.json | 3 --- Translations/translation_EL.json | 3 --- Translations/translation_EN.json | 3 --- Translations/translation_ES.json | 3 --- Translations/translation_ET.json | 3 --- Translations/translation_FI.json | 3 --- Translations/translation_FR.json | 3 --- Translations/translation_HR.json | 3 --- Translations/translation_HU.json | 3 --- Translations/translation_IT.json | 3 --- Translations/translation_JA_JP.json | 3 --- Translations/translation_LT.json | 3 --- Translations/translation_NB.json | 3 --- Translations/translation_NL.json | 3 --- Translations/translation_NL_BE.json | 3 --- Translations/translation_PL.json | 3 --- Translations/translation_PT.json | 3 --- Translations/translation_RO.json | 3 --- Translations/translation_RU.json | 3 --- Translations/translation_SK.json | 3 --- Translations/translation_SL.json | 3 --- Translations/translation_SR_CYRL.json | 3 --- Translations/translation_SR_LATN.json | 3 --- Translations/translation_SV.json | 3 --- Translations/translation_TR.json | 3 --- Translations/translation_UK.json | 3 --- Translations/translation_VI.json | 3 --- Translations/translation_YUE_HK.json | 3 --- Translations/translation_ZH_CN.json | 3 --- Translations/translation_ZH_TW.json | 3 --- Translations/translations_definitions.json | 8 -------- 36 files changed, 1 insertion(+), 110 deletions(-) (limited to 'Translations') diff --git a/Translations/make_translation.py b/Translations/make_translation.py index 752deaf6..38feff27 100755 --- a/Translations/make_translation.py +++ b/Translations/make_translation.py @@ -146,6 +146,7 @@ def get_constants() -> List[Tuple[str, str]]: ("SmallSymbolState", "State"), ("SmallSymbolNoVBus", "No VBus"), ("SmallSymbolVBus", "VBus"), + ("LargeSymbolSleep", "Zzz"), ] diff --git a/Translations/translation_BE.json b/Translations/translation_BE.json index 83cfc59e..f95e8fd8 100644 --- a/Translations/translation_BE.json +++ b/Translations/translation_BE.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Сілкаванне В: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Чаканне...\n" }, diff --git a/Translations/translation_BG.json b/Translations/translation_BG.json index 7e247e43..958e7f0f 100644 --- a/Translations/translation_BG.json +++ b/Translations/translation_BG.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Входно V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Сън...\n" }, diff --git a/Translations/translation_CS.json b/Translations/translation_CS.json index 5b712d95..e7fcbad0 100644 --- a/Translations/translation_CS.json +++ b/Translations/translation_CS.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Napětí: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Režim spánku...\n" }, diff --git a/Translations/translation_DA.json b/Translations/translation_DA.json index 0a904f9b..4bcddd53 100644 --- a/Translations/translation_DA.json +++ b/Translations/translation_DA.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Input V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Dvale...\n" }, diff --git a/Translations/translation_DE.json b/Translations/translation_DE.json index 5996d372..87224e3f 100644 --- a/Translations/translation_DE.json +++ b/Translations/translation_DE.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "V Eingang: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Ruhemodus...\n" }, diff --git a/Translations/translation_EL.json b/Translations/translation_EL.json index 7b29a182..1ac4d3e3 100644 --- a/Translations/translation_EL.json +++ b/Translations/translation_EL.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Είσοδος V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Υπνος...\n" }, diff --git a/Translations/translation_EN.json b/Translations/translation_EN.json index 4ae627f3..50d16c6a 100644 --- a/Translations/translation_EN.json +++ b/Translations/translation_EN.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Input V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Sleeping...\n" }, diff --git a/Translations/translation_ES.json b/Translations/translation_ES.json index 3d1d5707..df214864 100644 --- a/Translations/translation_ES.json +++ b/Translations/translation_ES.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Voltaje: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "En reposo...\n" }, diff --git a/Translations/translation_ET.json b/Translations/translation_ET.json index 71e6c8af..25844401 100644 --- a/Translations/translation_ET.json +++ b/Translations/translation_ET.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Sisend V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Unerežiim...\n" }, diff --git a/Translations/translation_FI.json b/Translations/translation_FI.json index ba06a4f3..a594cd4b 100644 --- a/Translations/translation_FI.json +++ b/Translations/translation_FI.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Jännite: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Lepotila...\n" }, diff --git a/Translations/translation_FR.json b/Translations/translation_FR.json index b6f806a7..3bde5b29 100644 --- a/Translations/translation_FR.json +++ b/Translations/translation_FR.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "V d'entrée: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "En veille...\n" }, diff --git a/Translations/translation_HR.json b/Translations/translation_HR.json index d6b2fb6d..c176dd3c 100644 --- a/Translations/translation_HR.json +++ b/Translations/translation_HR.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Napon V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "SPAVAM...\n" }, diff --git a/Translations/translation_HU.json b/Translations/translation_HU.json index f295dca2..72e202c3 100644 --- a/Translations/translation_HU.json +++ b/Translations/translation_HU.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Bemenet V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Alvás...\n" }, diff --git a/Translations/translation_IT.json b/Translations/translation_IT.json index e8d1c913..e07b1c33 100644 --- a/Translations/translation_IT.json +++ b/Translations/translation_IT.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "V in: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Riposo\n" }, diff --git a/Translations/translation_JA_JP.json b/Translations/translation_JA_JP.json index f0b48569..c47c9682 100644 --- a/Translations/translation_JA_JP.json +++ b/Translations/translation_JA_JP.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Input V: " }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Sleeping..." }, diff --git a/Translations/translation_LT.json b/Translations/translation_LT.json index c78ad12b..5e8f79ee 100644 --- a/Translations/translation_LT.json +++ b/Translations/translation_LT.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Įvestis V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Miegu...\n" }, diff --git a/Translations/translation_NB.json b/Translations/translation_NB.json index 45589108..96436e9b 100644 --- a/Translations/translation_NB.json +++ b/Translations/translation_NB.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Innspenn.: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Dvale...\n" }, diff --git a/Translations/translation_NL.json b/Translations/translation_NL.json index 939275f0..95e4e34c 100644 --- a/Translations/translation_NL.json +++ b/Translations/translation_NL.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Ingangs spanning: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Slaapt...\n" }, diff --git a/Translations/translation_NL_BE.json b/Translations/translation_NL_BE.json index 21c3e7a1..36313191 100644 --- a/Translations/translation_NL_BE.json +++ b/Translations/translation_NL_BE.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Voedingsspanning: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Slaapstand...\n" }, diff --git a/Translations/translation_PL.json b/Translations/translation_PL.json index 89cb9d49..ef1d8bd1 100644 --- a/Translations/translation_PL.json +++ b/Translations/translation_PL.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Nap. wej.: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Tr. uśpienia\n" }, diff --git a/Translations/translation_PT.json b/Translations/translation_PT.json index 3701f0fd..e47db7c9 100644 --- a/Translations/translation_PT.json +++ b/Translations/translation_PT.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Tensão: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Repouso...\n" }, diff --git a/Translations/translation_RO.json b/Translations/translation_RO.json index eb99f066..94029ec9 100644 --- a/Translations/translation_RO.json +++ b/Translations/translation_RO.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Intrare V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Adormit...\n" }, diff --git a/Translations/translation_RU.json b/Translations/translation_RU.json index 9ac37292..ba4e2dde 100644 --- a/Translations/translation_RU.json +++ b/Translations/translation_RU.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Питание(В):\n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Сон...\n" }, diff --git a/Translations/translation_SK.json b/Translations/translation_SK.json index e8896822..fb5927e1 100644 --- a/Translations/translation_SK.json +++ b/Translations/translation_SK.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Vstupné U: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Pokojový režim.\n" }, diff --git a/Translations/translation_SL.json b/Translations/translation_SL.json index 9e5d1db4..c2719bde 100644 --- a/Translations/translation_SL.json +++ b/Translations/translation_SL.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Vhodna U: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Spim...\n" }, diff --git a/Translations/translation_SR_CYRL.json b/Translations/translation_SR_CYRL.json index 6011588a..3e6144c2 100644 --- a/Translations/translation_SR_CYRL.json +++ b/Translations/translation_SR_CYRL.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Ул. напон: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Спавање...\n" }, diff --git a/Translations/translation_SR_LATN.json b/Translations/translation_SR_LATN.json index 963fbbf8..e06aaabf 100644 --- a/Translations/translation_SR_LATN.json +++ b/Translations/translation_SR_LATN.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Ul. napon: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Spavanje...\n" }, diff --git a/Translations/translation_SV.json b/Translations/translation_SV.json index 64358ea3..ad6fe807 100644 --- a/Translations/translation_SV.json +++ b/Translations/translation_SV.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Inspän. V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Viloläge...\n" }, diff --git a/Translations/translation_TR.json b/Translations/translation_TR.json index acdfc90c..a8d04f93 100644 --- a/Translations/translation_TR.json +++ b/Translations/translation_TR.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Giriş V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Bekleme Modu...\n" }, diff --git a/Translations/translation_UK.json b/Translations/translation_UK.json index 90e984cc..6d37f81e 100644 --- a/Translations/translation_UK.json +++ b/Translations/translation_UK.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Жив.(B): \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Очікування...\n" }, diff --git a/Translations/translation_VI.json b/Translations/translation_VI.json index 9d50ac07..659f1717 100644 --- a/Translations/translation_VI.json +++ b/Translations/translation_VI.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Đau vào V: \n" }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Đang ngu...\n" }, diff --git a/Translations/translation_YUE_HK.json b/Translations/translation_YUE_HK.json index f43d7619..5d65cd68 100644 --- a/Translations/translation_YUE_HK.json +++ b/Translations/translation_YUE_HK.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Input V: " }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Sleeping..." }, diff --git a/Translations/translation_ZH_CN.json b/Translations/translation_ZH_CN.json index 81444f6f..425ff7c0 100644 --- a/Translations/translation_ZH_CN.json +++ b/Translations/translation_ZH_CN.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "VIN: " }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Zzzz..." }, diff --git a/Translations/translation_ZH_TW.json b/Translations/translation_ZH_TW.json index a971e6a1..21c82ca3 100644 --- a/Translations/translation_ZH_TW.json +++ b/Translations/translation_ZH_TW.json @@ -51,9 +51,6 @@ "InputVoltageString": { "message": "Input V: " }, - "SleepingSimpleString": { - "message": "Zzz " - }, "SleepingAdvancedString": { "message": "Sleeping..." }, diff --git a/Translations/translations_definitions.json b/Translations/translations_definitions.json index 379f4718..a6f95bf4 100644 --- a/Translations/translations_definitions.json +++ b/Translations/translations_definitions.json @@ -95,14 +95,6 @@ ], "description": "Shown in profile mode while cooling down" }, - { - "id": "SleepingSimpleString", - "maxLen": 4, - "exclude": [ - "NO_SLEEP_MODE" - ], - "description": "The text shown to indicate the unit is in sleep mode when the advanced view is NOT on." - }, { "id": "SleepingAdvancedString", "maxLen": 15, -- cgit v1.2.3