Skip to content

Commit

Permalink
add indonesian support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen Huu Tu committed Sep 26, 2024
1 parent 16978d0 commit 9f13f6f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function App() {
| **emojiVersion** | `14` | `1`, `2`, `3`, `4`, `5`, `11`, `12`, `12.1`, `13`, `13.1`, `14` | The version of the emoji data to use. Latest version supported in `@emoji-mart/data` is currently [14](https://emojipedia.org/emoji-14.0) |
| **exceptEmojis** | `[]` | | List of emoji IDs that will be excluded from the picker |
| **icons** | `auto` | `auto`, `outline`, `solid` | The type of icons to use for the picker. `outline` with light theme and `solid` with dark theme. |
| **locale** | `en` | `en`, `ar`, `be`, `cs`, `de`, `es`, `fa`, `fi`, `fr`, `hi`, `it`, `ja`, `ko`, `nl`, `pl`, `pt`, `ru`, `sa`, `tr`, `uk`, `vi`, `zh` | The locale to use for the picker |
| **locale** | `en` | `en`, `ar`, `be`, `cs`, `de`, `es`, `fa`, `fi`, `fr`, `hi`,`id`, `it`, `ja`, `ko`, `nl`, `pl`, `pt`, `ru`, `sa`, `tr`, `uk`, `vi`, `zh` | The locale to use for the picker |
| **maxFrequentRows** | `4` | | The maximum number of frequent rows to show. `0` will disable frequent category |
| **navPosition** | `top` | `top`, `bottom`, `none` | The position of the navigation bar |
| **noCountryFlags** | `false` | | Whether to show country flags or not. If not provided, tbhis is handled automatically (Windows doesn’t support country flags) |
Expand Down
29 changes: 29 additions & 0 deletions packages/emoji-mart-data/i18n/id.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"search": "Cari",
"search_no_results_1": "Oh tidak!",
"search_no_results_2": "Emoji itu tidak dapat ditemukan",
"pick": "Pilih emoji…",
"add_custom": "Tambahkan emoji kustom",
"categories": {
"activity": "Aktivitas",
"custom": "Kustom",
"flags": "Bendera",
"foods": "Makanan & Minuman",
"frequent": "Sering digunakan",
"nature": "Hewan & Alam",
"objects": "Benda",
"people": "Emoji & Orang",
"places": "Perjalanan & Tempat",
"search": "Hasil Pencarian",
"symbols": "Simbol"
},
"skins": {
"choose": "Pilih warna kulit default",
"1": "Default",
"2": "Terang",
"3": "Agak Terang",
"4": "Sedang",
"5": "Agak Gelap",
"6": "Gelap"
}
}
1 change: 1 addition & 0 deletions packages/emoji-mart-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<option value="fi">Suomi</option>
<option value="fr">Français</option>
<option value="hi">हिन्दी</option>
<option value="id">Indonesia</option>
<option value="it">Italiano</option>
<option value="ja">日本語</option>
<option value="ko">한국어</option>
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji-mart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function App() {
| **emojiVersion** | `14` | `1`, `2`, `3`, `4`, `5`, `11`, `12`, `12.1`, `13`, `13.1`, `14` | The version of the emoji data to use. Latest version supported in `@emoji-mart/data` is currently [14](https://emojipedia.org/emoji-14.0) |
| **exceptEmojis** | `[]` | | List of emoji IDs that will be excluded from the picker |
| **icons** | `auto` | `auto`, `outline`, `solid` | The type of icons to use for the picker. `outline` with light theme and `solid` with dark theme. |
| **locale** | `en` | `en`, `ar`, `be`, `cs`, `de`, `es`, `fa`, `fi`, `fr`, `hi`, `it`, `ja`, `ko`, `nl`, `pl`, `pt`, `ru`, `sa`, `tr`, `uk`, `vi`, `zh` | The locale to use for the picker |
| **locale** | `en` | `en`, `ar`, `be`, `cs`, `de`, `es`, `fa`, `fi`, `fr`, `hi`,`id`, `it`, `ja`, `ko`, `nl`, `pl`, `pt`, `ru`, `sa`, `tr`, `uk`, `vi`, `zh` | The locale to use for the picker |
| **maxFrequentRows** | `4` | | The maximum number of frequent rows to show. `0` will disable frequent category |
| **navPosition** | `top` | `top`, `bottom`, `none` | The position of the navigation bar |
| **noCountryFlags** | `false` | | Whether to show country flags or not. If not provided, tbhis is handled automatically (Windows doesn’t support country flags) |
Expand Down
1 change: 1 addition & 0 deletions packages/emoji-mart/src/components/Picker/PickerProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default {
'fi',
'fr',
'hi',
'id',
'it',
'ja',
'ko',
Expand Down

0 comments on commit 9f13f6f

Please sign in to comment.