Browse Source

L10n master (#8)

legacy
Austin Huang 4 years ago
committed by GitHub
parent
commit
546dea6dfd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      app/build.gradle
  2. 1
      app/src/main/java/awais/instagrabber/utils/LocaleUtils.java
  3. 75
      app/src/main/res/values-in/arrays.xml

6
app/build.gradle

@ -12,10 +12,8 @@ android {
// REMEMBER TO CHANGE versionCode as well
// 16.7 is 32
// next version: fixed natgeotravel mention text problem
versionCode 32
versionName '16.7'
versionCode 33
versionName '16.8'
multiDexEnabled true

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

@ -57,7 +57,6 @@ public final class LocaleUtils {
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 == 2) return "fr";
if (appLanguageIndex == 3) return "es";

75
app/src/main/res/values-in/arrays.xml

@ -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>
Loading…
Cancel
Save