mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 02:55:50 +01:00
Amazfit Bip: Add new latin languages
This commit is contained in:
parent
2fd1d7b4d0
commit
dd067eddd7
@ -515,6 +515,22 @@ public class AmazfitBipSupport extends HuamiSupport {
|
|||||||
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
localeString = "ru_RU";
|
localeString = "ru_RU";
|
||||||
break;
|
break;
|
||||||
|
case 5:
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "de_DE";
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "it_IT";
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "fr_FR";
|
||||||
|
break;
|
||||||
|
case 8:
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "tr_TR";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
switch (language) {
|
switch (language) {
|
||||||
case "zh":
|
case "zh":
|
||||||
@ -534,6 +550,22 @@ public class AmazfitBipSupport extends HuamiSupport {
|
|||||||
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
localeString = "ru_RU";
|
localeString = "ru_RU";
|
||||||
break;
|
break;
|
||||||
|
case "de":
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "de_DE";
|
||||||
|
break;
|
||||||
|
case "it":
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "it_IT";
|
||||||
|
break;
|
||||||
|
case "fr":
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "fr_FR";
|
||||||
|
break;
|
||||||
|
case "tr":
|
||||||
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
|
localeString = "tr_TR";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
command_old = AmazfitBipService.COMMAND_SET_LANGUAGE_ENGLISH;
|
||||||
localeString = "en_US";
|
localeString = "en_US";
|
||||||
|
@ -356,6 +356,10 @@
|
|||||||
<item name="2">@string/english</item>
|
<item name="2">@string/english</item>
|
||||||
<item name="3">@string/spanish</item>
|
<item name="3">@string/spanish</item>
|
||||||
<item name="4">@string/russian</item>
|
<item name="4">@string/russian</item>
|
||||||
|
<item name="5">@string/german</item>
|
||||||
|
<item name="6">@string/italian</item>
|
||||||
|
<item name="7">@string/french</item>
|
||||||
|
<item name="8">@string/turkish</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="pref_amazfitbip_language_values">
|
<string-array name="pref_amazfitbip_language_values">
|
||||||
@ -365,6 +369,10 @@
|
|||||||
<item>2</item>
|
<item>2</item>
|
||||||
<item>3</item>
|
<item>3</item>
|
||||||
<item>4</item>
|
<item>4</item>
|
||||||
|
<item>5</item>
|
||||||
|
<item>6</item>
|
||||||
|
<item>7</item>
|
||||||
|
<item>8</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="pref_miband3_language">
|
<string-array name="pref_miband3_language">
|
||||||
|
Loading…
Reference in New Issue
Block a user