1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 09:17:29 +01:00

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.
This commit is contained in:
Andreas Shimokawa 2020-05-05 19:38:26 +02:00
parent 3884e5dee9
commit b5f877d169
3 changed files with 28 additions and 8 deletions

View File

@ -2226,11 +2226,20 @@ public class ZeTimeDeviceSupport extends AbstractBTLEDeviceSupport {
case "nl": case "nl":
languageMsg[5] = 13; languageMsg[5] = 13;
break; break;
case "ro": case "ar":
languageMsg[5] = 32; languageMsg[5] = 14;
break; break;
case "hu": case "el":
languageMsg[5] = 33; languageMsg[5] = 15;
break;
case "he":
languageMsg[5] = 16;
break;
case "sv":
languageMsg[5] = 17;
break;
case "cs":
languageMsg[5] = 18;
break; break;
case "en": case "en":
default: default:

View File

@ -565,10 +565,13 @@
<item name="fr_FR">@string/french</item> <item name="fr_FR">@string/french</item>
<item name="pt_PT">@string/portuguese</item> <item name="pt_PT">@string/portuguese</item>
<item name="nl_NL">@string/dutch</item> <item name="nl_NL">@string/dutch</item>
<item name="hu_HU">@string/hungarian</item> <item name="sv_SE">@string/swedish</item>
<item name="ro_RO">@string/romanian</item>
<item name="pl_PL">@string/polish</item> <item name="pl_PL">@string/polish</item>
<item name="cs_CZ">@string/czesh</item>
<item name="el_GR">@string/greek</item>
<item name="ru_RU">@string/russian</item> <item name="ru_RU">@string/russian</item>
<item name="he_IL">@string/hebrew</item>
<item name="ar_SA">@string/arabic</item>
<item name="ja_JP">@string/japanese</item> <item name="ja_JP">@string/japanese</item>
<item name="ko_KO">@string/korean</item> <item name="ko_KO">@string/korean</item>
<item name="th_TH">@string/thai</item> <item name="th_TH">@string/thai</item>
@ -585,10 +588,13 @@
<item>fr_FR</item> <item>fr_FR</item>
<item>pt_PT</item> <item>pt_PT</item>
<item>nl_NL</item> <item>nl_NL</item>
<item>hu_HU</item> <item>sv_SE</item>
<item>ro_RO</item>
<item>pl_PL</item> <item>pl_PL</item>
<item>cs_CZ</item>
<item>el_GR</item>
<item>ru_RU</item> <item>ru_RU</item>
<item>he_IL</item>
<item>ar_SA</item>
<item>ja_JP</item> <item>ja_JP</item>
<item>ko_KO</item> <item>ko_KO</item>
<item>th_TH</item> <item>th_TH</item>

View File

@ -561,6 +561,11 @@
<string name="portuguese">Portuguese</string> <string name="portuguese">Portuguese</string>
<string name="romanian">Romanian</string> <string name="romanian">Romanian</string>
<string name="hungarian">Hungarian</string> <string name="hungarian">Hungarian</string>
<string name="greek">Greek</string>
<string name="hebrew">Hebrew</string>
<string name="swedish">Swedish</string>
<string name="czesh">Czech</string>
<string name="FetchActivityOperation_about_to_transfer_since">About to transfer data since %1$s</string> <string name="FetchActivityOperation_about_to_transfer_since">About to transfer data since %1$s</string>
<string name="waiting_for_reconnect">Waiting for reconnect</string> <string name="waiting_for_reconnect">Waiting for reconnect</string>
<string name="activity_prefs_about_you">About you</string> <string name="activity_prefs_about_you">About you</string>