From b5f877d1691808bac3cb0e6c0b728dfa7e644c4c Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Tue, 5 May 2020 19:38:26 +0200 Subject: [PATCH] ZeTime: remove non-working languages and add missing ones Czech is untested since it is only present on newer firmware which I do not have. --- .../devices/zetime/ZeTimeDeviceSupport.java | 17 +++++++++++++---- app/src/main/res/values/arrays.xml | 14 ++++++++++---- app/src/main/res/values/strings.xml | 5 +++++ 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/zetime/ZeTimeDeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/zetime/ZeTimeDeviceSupport.java index 3e809b0b6..a8e39e27b 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/zetime/ZeTimeDeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/zetime/ZeTimeDeviceSupport.java @@ -2226,11 +2226,20 @@ public class ZeTimeDeviceSupport extends AbstractBTLEDeviceSupport { case "nl": languageMsg[5] = 13; break; - case "ro": - languageMsg[5] = 32; + case "ar": + languageMsg[5] = 14; break; - case "hu": - languageMsg[5] = 33; + case "el": + languageMsg[5] = 15; + break; + case "he": + languageMsg[5] = 16; + break; + case "sv": + languageMsg[5] = 17; + break; + case "cs": + languageMsg[5] = 18; break; case "en": default: diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index cc8708ef6..a99461b48 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -565,10 +565,13 @@ @string/french @string/portuguese @string/dutch - @string/hungarian - @string/romanian + @string/swedish @string/polish + @string/czesh + @string/greek @string/russian + @string/hebrew + @string/arabic @string/japanese @string/korean @string/thai @@ -585,10 +588,13 @@ fr_FR pt_PT nl_NL - hu_HU - ro_RO + sv_SE pl_PL + cs_CZ + el_GR ru_RU + he_IL + ar_SA ja_JP ko_KO th_TH diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0e81b29c8..0407727e7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -561,6 +561,11 @@ Portuguese Romanian Hungarian + Greek + Hebrew + Swedish + Czech + About to transfer data since %1$s Waiting for reconnect About you