Skip to content

Commit

Permalink
Added indonesian language
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanropke committed Feb 7, 2025
1 parent 59328dd commit 743e60c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/language.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Language = {
data: {},
availableLanguages: ['en', 'af', 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'es-MX', 'fi', 'fr', 'he', 'hu', 'it', 'ja', 'ko', 'no', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-Hans', 'zh-Hant'],
availableLanguages: ['en', 'af', 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'es', 'es-MX', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'ko', 'no', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-Hans', 'zh-Hant'],
progress: {},
allowedPlaceholders : ['↑', '↓', 'Enter'],

Expand Down
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ <h2 class="header-title" data-text="menu.settings">Settings</h2>
<rect x="1" y="4" width="22" height="16" rx="2" fill="#383838"></rect>
<path fill="#E2E5E9" fill-opacity="0.87" d="M10.998 16H9.736v-3.486H7.104V16H5.847V8.18h1.257v3.27h2.632V8.18h1.262V16Zm7.139-7.82.005 5.231c0 .405-.063.774-.188 1.107-.122.329-.295.612-.52.848-.23.236-.506.42-.828.548a2.843 2.843 0 0 1-1.074.193 2.84 2.84 0 0 1-1.058-.188 2.267 2.267 0 0 1-.806-.547 2.489 2.489 0 0 1-.526-.854 3.29 3.29 0 0 1-.188-1.107l.01-5.231h1.273l.011 5.231c.004.247.034.475.091.682.058.204.142.378.253.521.107.136.238.244.392.322.157.076.34.113.548.113.211 0 .397-.037.558-.112.165-.08.303-.19.414-.333.11-.147.195-.321.252-.521a2.78 2.78 0 0 0 .097-.672l.01-5.231h1.274Z"></path>
</symbol>
<symbol id="icon-lang-id" viewBox="0 0 24 24">
<rect x="1" y="4" width="22" height="16" rx="2" fill="#383838"></rect>
<path fill="#E2E5E9" fill-opacity="0.87" d="M 13.16808,16 V 8.17969 h 1.93359 c 0.33659,0 0.65348,0.03939 0.95068,0.11816 0.2972,0.0752 0.56755,0.18083 0.81104,0.3169 0.26497,0.13964 0.49952,0.3151 0.70362,0.52636 0.2077,0.21127 0.3813,0.44759 0.521,0.70899 0.1432,0.2721 0.2542,0.5711 0.333,0.897 0.0788,0.3258 0.1182,0.6731 0.1182,1.042 v 0.6123 c 0,0.3545 -0.0376,0.691 -0.1128,1.0097 -0.0716,0.3151 -0.1755,0.6034 -0.3116,0.8648 -0.1324,0.2542 -0.2936,0.4852 -0.4834,0.6929 -0.1862,0.2076 -0.39384,0.3849 -0.623,0.5317 -0.25781,0.1611 -0.54427,0.2847 -0.85938,0.3706 C 15.83751,15.957 15.50271,16 15.14464,16 Z m 1.30517,-6.76758 v 5.72018 h 0.67139 c 0.22916,0 0.43864,-0.0268 0.62842,-0.0805 0.19336,-0.0573 0.36702,-0.1379 0.52099,-0.2417 0.15755,-0.1075 0.2972,-0.2417 0.41895,-0.4029 0.12532,-0.1647 0.22737,-0.3527 0.30615,-0.5639 0.06803,-0.1791 0.11995,-0.3742 0.15576,-0.5855 0.03581,-0.2112 0.05371,-0.4368 0.05371,-0.6767 v -0.6231 c 0,-0.2363 -0.0179,-0.4601 -0.05371,-0.6714 C 17.1391,10.8957 17.08718,10.7005 17.01915,10.5215 16.93321,10.3031 16.81863,10.1061 16.6754,9.93066 16.53217,9.75163 16.36209,9.60661 16.16515,9.49561 16.02192,9.41325 15.86078,9.35059 15.68175,9.30762 15.50271,9.26107 15.30935,9.236 15.10167,9.23242 M 6.13721,8.17969 H 10.7456 V 9.24854 H 9.0752 v 5.68796 h 1.6704 V 16 H 6.13721 V 14.9365 H 7.77002 V 9.24854 H 6.13721 Z"></path>
</symbol>
<symbol id="icon-lang-it" viewBox="0 0 24 24">
<rect x="1" y="4" width="22" height="16" rx="2" fill="#383838"></rect>
<path fill="#E2E5E9" fill-opacity="0.87" d="M6.13721 8.17969H10.7456V9.24854H9.0752V14.9365H10.7456V16H6.13721V14.9365H7.77002V9.24854H6.13721V8.17969ZM18.5986 9.24854H16.187V16H14.9033V9.24854H12.5078V8.17969H18.5986V9.24854Z"></path>
Expand Down Expand Up @@ -359,6 +363,7 @@ <h2 class="header-title" data-text="menu.settings">Settings</h2>
<option data-icon="#icon-lang-fr" value="fr">Français (French)</option>
<option data-icon="#icon-lang-he" value="he">עברית (Hebrew)</option>
<option data-icon="#icon-lang-hu" value="hu">Magyar (Hungarian)</option>
<option data-icon="#icon-lang-id" value="id">Bahasa Indonesia (Indonesian)</option>
<option data-icon="#icon-lang-it" value="it">Italiano (Italian)</option>
<option data-icon="#icon-lang-ja" value="ja">日本語 (Japanese)</option>
<option data-icon="#icon-lang-ko" value="ko">한국어 (Korean)</option>
Expand Down
1 change: 1 addition & 0 deletions langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2114,6 +2114,7 @@
"menu.lang_fr": "Français (French)",
"menu.lang_he": "עברית (Hebrew)",
"menu.lang_hu": "Magyar (Hungarian)",
"menu.lang_id": "Bahasa Indonesia (Indonesian)",
"menu.lang_it": "Italiano (Italian)",
"menu.lang_ja": "日本語 (Japanese)",
"menu.lang_ko": "한국어 (Korean)",
Expand Down

0 comments on commit 743e60c

Please sign in to comment.