Skip to content

Commit

Permalink
feat: add Indonesian language (#5190)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored May 15, 2021
1 parent d39507e commit 16cd47e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/lang-detector.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
'es',
'fr',
'he',
'id',
'it',
'nl',
'sv',
Expand Down
1 change: 1 addition & 0 deletions resources/js/pluralization.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default {
'fr': pluralB,
'he': pluralF,
'hr': pluralD,
'id': pluralA,
'ja': pluralA,
'ru': pluralD,
'tr': pluralA,
Expand Down
1 change: 1 addition & 0 deletions resources/lang/en/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
'locale_fr' => 'French',
'locale_he' => 'Hebrew',
'locale_hr' => 'Croatian',
'locale_id' => 'Indonesian',
'locale_it' => 'Italian',
'locale_ja' => 'Japanese',
'locale_nl' => 'Dutch',
Expand Down
3 changes: 2 additions & 1 deletion tests/Unit/Helpers/CountryHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function countryDefaultCountryFromLocaleProvider()
['pt', 'PT'],
['ru', 'RU'],
['tr', 'TR'],
['jp', null],
['ja', null],
];
}

Expand Down Expand Up @@ -74,6 +74,7 @@ public function countryCountryFromLocaleProvider()
['es', 'ES'],
['fr', 'FR'],
['hr', 'HR'],
['id', 'ID'],
['it', 'IT'],
['nl', 'NL'],
['pt', 'PT'],
Expand Down
1 change: 1 addition & 0 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ mix.webpackConfig({
'es',
'fr',
'he',
'id',
'it',
'nl',
'sv',
Expand Down

0 comments on commit 16cd47e

Please sign in to comment.