1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00

add new languages

Co-Authored-By: retiolus <65604466+retiolus@users.noreply.github.com>
Co-Authored-By: rikishi0071 <18183855+rikishi0071@users.noreply.github.com>
This commit is contained in:
Austin Huang 2020-11-30 12:43:33 -05:00
parent 58f7130e2d
commit 38d0bd56f8
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
3 changed files with 8 additions and 3 deletions

View File

@ -556,6 +556,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
}
else {
Toast.makeText(getApplicationContext(), R.string.post_not_found, Toast.LENGTH_SHORT).show();
alertDialog.dismiss();
}
}).execute();
}

View File

@ -74,8 +74,8 @@ public final class LocaleUtils {
if (appLanguageIndex == 12) return "mk";
if (appLanguageIndex == 13) return "vi";
if (appLanguageIndex == 14) return "zh_TW";
if (appLanguageIndex == 15) return "hi";
if (appLanguageIndex == 16) return "cs";
if (appLanguageIndex == 15) return "ca";
if (appLanguageIndex == 16) return "ru";
return null;
}

View File

@ -16,7 +16,8 @@
<item>Macedonian [Thanks to @snajdovski]</item>
<item>Vietnamese [Thanks to @fouze555]</item>
<item>Chinese Traditional [Thanks to @Still34]</item>
<item>Hindi</item>
<item>Catalan [Thanks to @retiolus]</item>
<item>Russian [Thanks to @rikishi0071]</item>
</string-array>
<string-array name="languages_values">
<item>0</item>
@ -33,6 +34,9 @@
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
<item>15</item>
<item>16</item>
</string-array>
<string-array name="theme_presets">
<item>Auto / Follow System</item>