Austin Huang
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
77 additions and
5 deletions
-
app/build.gradle
-
app/src/main/java/awais/instagrabber/utils/LocaleUtils.java
-
app/src/main/res/values-in/arrays.xml
|
@ -12,10 +12,8 @@ android { |
|
|
// REMEMBER TO CHANGE versionCode as well |
|
|
// REMEMBER TO CHANGE versionCode as well |
|
|
// 16.7 is 32 |
|
|
// 16.7 is 32 |
|
|
|
|
|
|
|
|
// next version: fixed natgeotravel mention text problem |
|
|
|
|
|
|
|
|
|
|
|
versionCode 32 |
|
|
|
|
|
versionName '16.7' |
|
|
|
|
|
|
|
|
versionCode 33 |
|
|
|
|
|
versionName '16.8' |
|
|
|
|
|
|
|
|
multiDexEnabled true |
|
|
multiDexEnabled true |
|
|
|
|
|
|
|
|
|
@ -57,7 +57,6 @@ public final class LocaleUtils { |
|
|
|
|
|
|
|
|
final int appLanguageIndex = Utils.settingsHelper.getInteger(Constants.APP_LANGUAGE); |
|
|
final int appLanguageIndex = Utils.settingsHelper.getInteger(Constants.APP_LANGUAGE); |
|
|
|
|
|
|
|
|
// todo keep adding languages till i die...... or find a big tiddy goth gf ;-; |
|
|
|
|
|
if (appLanguageIndex == 1) return "en"; |
|
|
if (appLanguageIndex == 1) return "en"; |
|
|
if (appLanguageIndex == 2) return "fr"; |
|
|
if (appLanguageIndex == 2) return "fr"; |
|
|
if (appLanguageIndex == 3) return "es"; |
|
|
if (appLanguageIndex == 3) return "es"; |
|
|
|
@ -0,0 +1,75 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<resources> |
|
|
|
|
|
<string-array name="languages"> |
|
|
|
|
|
<item>Bawaan Sistem</item> |
|
|
|
|
|
<item>Inggris</item> |
|
|
|
|
|
<item>Prancis [Terima kasih @kernoeb (Telegram)]</item> |
|
|
|
|
|
<item>Spanyol [Terima kasih @sguinetti (GitLab)]</item> |
|
|
|
|
|
<item>Tiongkok Sederhana</item> |
|
|
|
|
|
<item>Bahasa Indonesia [Terima kasih @Galang23 (GitLab)]</item> |
|
|
|
|
|
<item>Italia [Terima kasih @RAR_Ramar (Telegram)]</item> |
|
|
|
|
|
</string-array> |
|
|
|
|
|
<string-array name="theme_presets"> |
|
|
|
|
|
<item>Otomatis / Ikuti Sistem</item> |
|
|
|
|
|
<item>Otomatis / Ikuti Baterai</item> |
|
|
|
|
|
<item>Gelap</item> |
|
|
|
|
|
<item>Terang</item> |
|
|
|
|
|
</string-array> |
|
|
|
|
|
<string-array name="separator_presets"> |
|
|
|
|
|
<item>Tidak ada</item> |
|
|
|
|
|
<item>\@</item> |
|
|
|
|
|
<item>pada</item> |
|
|
|
|
|
<item>pukul</item> |
|
|
|
|
|
<item>tanggal</item> |
|
|
|
|
|
<item>-</item> |
|
|
|
|
|
</string-array> |
|
|
|
|
|
<string-array name="profile_fetch_modes"> |
|
|
|
|
|
<item>Instadp</item> |
|
|
|
|
|
<item>Insta-Stalker</item> |
|
|
|
|
|
<item>Instafullsize</item> |
|
|
|
|
|
</string-array> |
|
|
|
|
|
<string-array name="date_presets"> |
|
|
|
|
|
<item>dd-MM-yyyy</item> |
|
|
|
|
|
<item>dd/MM/yyyy</item> |
|
|
|
|
|
<item>dd.MM.yyyy</item> |
|
|
|
|
|
<item>dd-MM-yy</item> |
|
|
|
|
|
<item>dd/MM/yy</item> |
|
|
|
|
|
<item>dd.MM.yy</item> |
|
|
|
|
|
<item>dd-MMM-yyyy</item> |
|
|
|
|
|
<item>dd/MMM/yyyy</item> |
|
|
|
|
|
<item>dd.MMM.yyyy</item> |
|
|
|
|
|
<item>dd-MMM-yy</item> |
|
|
|
|
|
<item>dd/MMM/yy</item> |
|
|
|
|
|
<item>dd.MMM.yy</item> |
|
|
|
|
|
<item>MM-dd-yyyy</item> |
|
|
|
|
|
<item>MM/dd/yyyy</item> |
|
|
|
|
|
<item>MM.dd.yyyy</item> |
|
|
|
|
|
<item>yyyy-MM-dd</item> |
|
|
|
|
|
<item>yyyy/MM/dd</item> |
|
|
|
|
|
<item>yyyy.MM.dd</item> |
|
|
|
|
|
<item>MM-dd-yy</item> |
|
|
|
|
|
<item>MM/dd/yy</item> |
|
|
|
|
|
<item>MM.dd.yy</item> |
|
|
|
|
|
<item>yy-MM-dd</item> |
|
|
|
|
|
<item>yy/MM/dd</item> |
|
|
|
|
|
<item>yy.MM.dd</item> |
|
|
|
|
|
<item>MMM-dd-yyyy</item> |
|
|
|
|
|
<item>MMM/dd/yyyy</item> |
|
|
|
|
|
<item>MMM.dd.yyyy</item> |
|
|
|
|
|
<item>yyyy-MMM-dd</item> |
|
|
|
|
|
<item>yyyy/MMM/dd</item> |
|
|
|
|
|
<item>yyyy.MMM.dd</item> |
|
|
|
|
|
<item>MMM-dd-yy</item> |
|
|
|
|
|
<item>MMM/dd/yy</item> |
|
|
|
|
|
<item>MMM.dd.yy</item> |
|
|
|
|
|
<item>yy-MMM-dd</item> |
|
|
|
|
|
<item>yy/MMM/dd</item> |
|
|
|
|
|
<item>yy.MMM.dd</item> |
|
|
|
|
|
</string-array> |
|
|
|
|
|
<string-array name="time_presets"> |
|
|
|
|
|
<item>hh:mm:ss a</item> |
|
|
|
|
|
<item>h:mm:ss a</item> |
|
|
|
|
|
<item>HH:mm:ss</item> |
|
|
|
|
|
<item>H:mm:ss</item> |
|
|
|
|
|
</string-array> |
|
|
|
|
|
</resources> |