mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
Amazfit Cor: Restrict language settings to English, Spanish, Chinese, Russian
This commit is contained in:
parent
038f101a12
commit
da456e63e9
@ -375,6 +375,24 @@
|
||||
<item>ru_RU</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_amazfitcor_language">
|
||||
<item name="auto">@string/automatic</item>
|
||||
<item name="zh_CH">@string/simplified_chinese</item>
|
||||
<item name="zh_TW">@string/traditional_chinese</item>
|
||||
<item name="en_US">@string/english</item>
|
||||
<item name="es_ES">@string/spanish</item>
|
||||
<item name="ru_RU">@string/russian</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_amazfitcor_language_values">
|
||||
<item>auto</item>
|
||||
<item>zh_CH</item>
|
||||
<item>zh_TW</item>
|
||||
<item>en_US</item>
|
||||
<item>es_ES</item>
|
||||
<item>ru_RU</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_miband3_language">
|
||||
<item name="auto">@string/automatic</item>
|
||||
<item name="zh_CH">@string/simplified_chinese</item>
|
||||
|
@ -12,8 +12,8 @@
|
||||
<ListPreference
|
||||
android:icon="@drawable/ic_language"
|
||||
android:defaultValue="auto"
|
||||
android:entries="@array/pref_amazfitbip_language"
|
||||
android:entryValues="@array/pref_amazfitbip_language_values"
|
||||
android:entries="@array/pref_amazfitcor_language"
|
||||
android:entryValues="@array/pref_amazfitcor_language_values"
|
||||
android:key="language"
|
||||
android:summary="%s"
|
||||
android:title="@string/pref_title_language" />
|
||||
|
Loading…
Reference in New Issue
Block a user