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:
parent
58f7130e2d
commit
38d0bd56f8
@ -556,6 +556,7 @@ public class MainActivity extends BaseLanguageActivity implements FragmentManage
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Toast.makeText(getApplicationContext(), R.string.post_not_found, Toast.LENGTH_SHORT).show();
|
Toast.makeText(getApplicationContext(), R.string.post_not_found, Toast.LENGTH_SHORT).show();
|
||||||
|
alertDialog.dismiss();
|
||||||
}
|
}
|
||||||
}).execute();
|
}).execute();
|
||||||
}
|
}
|
||||||
|
@ -74,8 +74,8 @@ public final class LocaleUtils {
|
|||||||
if (appLanguageIndex == 12) return "mk";
|
if (appLanguageIndex == 12) return "mk";
|
||||||
if (appLanguageIndex == 13) return "vi";
|
if (appLanguageIndex == 13) return "vi";
|
||||||
if (appLanguageIndex == 14) return "zh_TW";
|
if (appLanguageIndex == 14) return "zh_TW";
|
||||||
if (appLanguageIndex == 15) return "hi";
|
if (appLanguageIndex == 15) return "ca";
|
||||||
if (appLanguageIndex == 16) return "cs";
|
if (appLanguageIndex == 16) return "ru";
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
<item>Macedonian [Thanks to @snajdovski]</item>
|
<item>Macedonian [Thanks to @snajdovski]</item>
|
||||||
<item>Vietnamese [Thanks to @fouze555]</item>
|
<item>Vietnamese [Thanks to @fouze555]</item>
|
||||||
<item>Chinese Traditional [Thanks to @Still34]</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>
|
||||||
<string-array name="languages_values">
|
<string-array name="languages_values">
|
||||||
<item>0</item>
|
<item>0</item>
|
||||||
@ -33,6 +34,9 @@
|
|||||||
<item>11</item>
|
<item>11</item>
|
||||||
<item>12</item>
|
<item>12</item>
|
||||||
<item>13</item>
|
<item>13</item>
|
||||||
|
<item>14</item>
|
||||||
|
<item>15</item>
|
||||||
|
<item>16</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>
|
||||||
|
Loading…
Reference in New Issue
Block a user