Skip to content

Commit

Permalink
#271: Fix for Indonesian
Browse files Browse the repository at this point in the history
  • Loading branch information
Keidan committed Oct 15, 2023
1 parent f5faed3 commit e8b8b99
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Note: In the settings, the list of languages is sorted as follows (according to
* es-ES: Spanish
* fr-FR: French
* hu-HU: Hungarian
* in-ID: Indonesian
* it-IT: Italian
* iw: Hebrew
* ja-JP: Japanese
Expand All @@ -92,6 +93,7 @@ The current status of the translations is as follows:
* English: [@Keidan](https://github.com/Keidan), [@comradekingu](https://github.com/comradekingu)
* French: [@Keidan](https://github.com/Keidan), [@Edanas](https://hosted.weblate.org/user/Edanas/)
* German: [@iNtEgraIR2021](https://github.com/iNtEgraIR2021), [@eUgEntOptIc44](https://github.com/eUgEntOptIc44), (+DeepL)
* Indonesian: [@Velorixen](https://github.com/Velorixen)
* Italian: [@eUgEntOptIc44](https://github.com/eUgEntOptIc44)
* Hebrew: [@Shopimisrel](https://github.com/Shopimisrel)
* Hungarian: [@SziaTomi](https://github.com/SziaTomi)
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/fr/ralala/hexviewer/ApplicationCtx.java
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ public ListSettings getListSettingsLineEditLandscape() {
*/
public void applyApplicationLanguage(Activity activity) {
String cfg = getApplicationLanguage(this);
/* hack for indonesian */
if(cfg.equals("in")) cfg = "in_ID";
String cfgLang = cfg.replace('-', '_');
Locale locale = Locale.getDefault();
if (!locale.toString().equals(cfgLang))
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<item>es-ES</item>
<item>fr-FR</item>
<item>hu-HU</item>
<item>in-ID</item>
<item>it-IT</item>
<item>iw</item>
<item>ja-JP</item>
Expand All @@ -40,6 +41,7 @@
<item>Español</item>
<item>Français</item>
<item>Magyar</item>
<item>Bahasa Indonesia</item>
<item>Italiano</item>
<item>עִבְרִית</item>
<item>日本語</item>
Expand Down
2 changes: 2 additions & 0 deletions fastlane/metadata/android/en-US/full_description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Translations:
* English: @Keidan, @comradekingu
* French: @Keidan, @Edanas
* German: @iNtEgraIR2021, @eUgEntOptIc44, (+DeepL)
* Indonesian: @Velorixen
* Italian: @eUgEntOptIc44
* Hebrew: @Shopimisrel
* Hungarian: @SziaTomi
Expand All @@ -42,6 +43,7 @@ Note: In the settings, the list of languages is sorted as follows (according to
* es-ES: Spanish
* fr-FR: French
* hu-HU: Hungarian
* in-ID: Indonesian
* it-IT: Italian
* iw: Hebrew
* ja-JP: Japanese
Expand Down

0 comments on commit e8b8b99

Please sign in to comment.