Browse Source

locale chores

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
b72b3211d5
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/utils/LocaleUtils.java
  2. 47
      app/src/main/res/values/arrays.xml

2
app/src/main/java/awais/instagrabber/utils/LocaleUtils.java

@ -76,6 +76,8 @@ public final class LocaleUtils {
if (appLanguageIndex == 14) return "zh_TW"; if (appLanguageIndex == 14) return "zh_TW";
if (appLanguageIndex == 15) return "ca"; if (appLanguageIndex == 15) return "ca";
if (appLanguageIndex == 16) return "ru"; if (appLanguageIndex == 16) return "ru";
if (appLanguageIndex == 17) return "hi";
if (appLanguageIndex == 18) return "nl";
return null; return null;
} }

47
app/src/main/res/values/arrays.xml

@ -2,24 +2,26 @@
<resources> <resources>
<string-array name="languages"> <string-array name="languages">
<item>System Default</item> <item>System Default</item>
<item>English</item>
<item>French [Thanks to @kernoeb]</item>
<item>Spanish [Thanks to @sguinetti]</item>
<item>Chinese Simplified</item>
<item>Indonesian [Thanks to @Galang23]</item>
<item>Italian [Thanks to @RAR_Ramar]</item>
<item>German [Thanks to @peterge1998]</item>
<item>Polish [Thanks to @Lego8486]</item>
<item>Turkish [Thanks to @faydin90]</item>
<item>Brazilian Portuguese [Thanks to @wagnim]</item>
<item>Persian [Thanks to @farzadx]</item>
<item>Macedonian [Thanks to @snajdovski]</item>
<item>Vietnamese [Thanks to @fouze555]</item>
<item>Chinese Traditional [Thanks to @Still34]</item>
<item>Catalan [Thanks to @retiolus]</item>
<item>Russian [Thanks to @rikishi0071]</item>
<item translatable="false">English</item>
<item translatable="false">Français [Merci à @kernoeb et @PierreM0]</item>
<item translatable="false">Español [Gracias a @sguinetti, @akrai y @retiolus]</item>
<item translatable="false">简体中文</item>
<item translatable="false">Bahasa Indonesia [Terima kasih @Galang23]</item>
<item translatable="false">Italiano [Grazie a @RAR_Ramar e GiorgioHerbie]</item>
<item translatable="false">Deutsch [Danke an @peterge1998]</item>
<item translatable="false">Polski [Podziękowania dla @Lego8486]</item>
<item translatable="false">Türkçe [@faydin90 tarafından]</item>
<item translatable="false">Português (Brasil) [Obrigado @wagnim, @RickyM7 e @cizordj]</item>
<item translatable="false">پارسی [ با سپاس از farzadx@ ]</item>
<item translatable="false">Македонски [Благодарност до @snajdovski]</item>
<item translatable="false">Tiếng Việt [bởi Yato Fouze]</item>
<item translatable="false">繁體中文 [感謝 @Still34]</item>
<item translatable="false">Català [Gràcies a @retiolus]</item>
<item translatable="false">Русский [Спасибо @rikishi0071]</item>
<item translatable="false">हिन्दी</item>
<item translatable="false">Nederlands [Met dank aan Lesley Natrop]</item>
</string-array> </string-array>
<string-array name="languages_values">
<string-array name="languages_values" translatable="false">
<item>0</item> <item>0</item>
<item>1</item> <item>1</item>
<item>2</item> <item>2</item>
@ -37,6 +39,8 @@
<item>14</item> <item>14</item>
<item>15</item> <item>15</item>
<item>16</item> <item>16</item>
<item>17</item>
<item>18</item>
</string-array> </string-array>
<string-array name="theme_presets"> <string-array name="theme_presets">
<item>Auto / Follow System</item> <item>Auto / Follow System</item>
@ -44,7 +48,7 @@
<item>Dark</item> <item>Dark</item>
<item>Light</item> <item>Light</item>
</string-array> </string-array>
<string-array name="theme_presets_values">
<string-array name="theme_presets_values" translatable="false">
<item>0</item> <item>0</item>
<item>1</item> <item>1</item>
<item>2</item> <item>2</item>
@ -58,10 +62,7 @@
<item>\|</item> <item>\|</item>
<item>-</item> <item>-</item>
</string-array> </string-array>
<string-array name="discover_placeholder">
<item>Loading...</item>
</string-array>
<string-array name="date_presets">
<string-array name="date_presets" translatable="false">
<item>dd-MM-yyyy</item> <item>dd-MM-yyyy</item>
<item>dd/MM/yyyy</item> <item>dd/MM/yyyy</item>
<item>dd.MM.yyyy</item> <item>dd.MM.yyyy</item>
@ -99,7 +100,7 @@
<item>yy/MMM/dd</item> <item>yy/MMM/dd</item>
<item>yy.MMM.dd</item> <item>yy.MMM.dd</item>
</string-array> </string-array>
<string-array name="time_presets">
<string-array name="time_presets" translatable="false">
<item>hh:mm:ss a</item> <item>hh:mm:ss a</item>
<item>h:mm:ss a</item> <item>h:mm:ss a</item>
<item>HH:mm:ss</item> <item>HH:mm:ss</item>

Loading…
Cancel
Save