From c8141506352d08ca62c0daf32a3c3f5850f0c6ca Mon Sep 17 00:00:00 2001 From: "Jaehyung.Lee" Date: Mon, 21 Nov 2022 15:26:08 +0900 Subject: [PATCH 1/4] ADD: Korean Language --- packages/emoji-mart-data/i18n/kr.json | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/emoji-mart-data/i18n/kr.json diff --git a/packages/emoji-mart-data/i18n/kr.json b/packages/emoji-mart-data/i18n/kr.json new file mode 100644 index 000000000..ef6ba4fa5 --- /dev/null +++ b/packages/emoji-mart-data/i18n/kr.json @@ -0,0 +1,30 @@ +{ + "search": "검색", + "search_no_results_1": "어머나!", + "search_no_results_2": "결과를 찾을 수 없어요", + "pick": "이모지 선택하기", + "add_custom": "이모지 추가하기", + "categories": { + "activity": "활동", + "custom": "커스텀", + "flags": "깃발", + "foods": "음식 및 음료", + "frequent": "자주 사용하는 항목 ", + "nature": "동물 및 자연", + "objects": "사물", + "people": "스마일리 및 사람", + "places": "여행 및 장소", + "search": "검색 결과", + "symbols": "기호" + }, + "skins": { + "choose": "기준 피부색 선택하기", + "1": "표준", + "2": "밝은 피부색", + "3": "약간 밝은 피부색", + "4": "중간 피부색", + "5": "약간 어두운 피부색", + "6": "어두운 피부색" + } + } + \ No newline at end of file From cfc82de6f287d658e438ee1f4e7fd38dedd1bba7 Mon Sep 17 00:00:00 2001 From: "Jaehyung.Lee" Date: Mon, 21 Nov 2022 15:31:57 +0900 Subject: [PATCH 2/4] Apply Korean language to prop choices --- packages/emoji-mart-website/index.html | 1 + packages/emoji-mart/src/components/Picker/PickerProps.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/emoji-mart-website/index.html b/packages/emoji-mart-website/index.html index f80d48348..a4f240675 100644 --- a/packages/emoji-mart-website/index.html +++ b/packages/emoji-mart-website/index.html @@ -74,6 +74,7 @@ + diff --git a/packages/emoji-mart/src/components/Picker/PickerProps.ts b/packages/emoji-mart/src/components/Picker/PickerProps.ts index 45a151795..a26071537 100644 --- a/packages/emoji-mart/src/components/Picker/PickerProps.ts +++ b/packages/emoji-mart/src/components/Picker/PickerProps.ts @@ -37,6 +37,7 @@ export default { 'hi', 'it', 'ja', + 'kr', 'nl', 'pl', 'pt', From 9477fec3b3dbc0ab941e5c4d3b742ee3bf6cb64f Mon Sep 17 00:00:00 2001 From: "Jaehyung.Lee" Date: Mon, 21 Nov 2022 16:15:50 +0900 Subject: [PATCH 3/4] Update kr.json --- packages/emoji-mart-data/i18n/kr.json | 55 +++++++++++++-------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/packages/emoji-mart-data/i18n/kr.json b/packages/emoji-mart-data/i18n/kr.json index ef6ba4fa5..64f9749c0 100644 --- a/packages/emoji-mart-data/i18n/kr.json +++ b/packages/emoji-mart-data/i18n/kr.json @@ -1,30 +1,29 @@ { - "search": "검색", - "search_no_results_1": "어머나!", - "search_no_results_2": "결과를 찾을 수 없어요", - "pick": "이모지 선택하기", - "add_custom": "이모지 추가하기", - "categories": { - "activity": "활동", - "custom": "커스텀", - "flags": "깃발", - "foods": "음식 및 음료", - "frequent": "자주 사용하는 항목 ", - "nature": "동물 및 자연", - "objects": "사물", - "people": "스마일리 및 사람", - "places": "여행 및 장소", - "search": "검색 결과", - "symbols": "기호" - }, - "skins": { - "choose": "기준 피부색 선택하기", - "1": "표준", - "2": "밝은 피부색", - "3": "약간 밝은 피부색", - "4": "중간 피부색", - "5": "약간 어두운 피부색", - "6": "어두운 피부색" - } + "search": "검색", + "search_no_results_1": "어머나!", + "search_no_results_2": "결과를 찾을 수 없어요", + "pick": "이모지 선택하기", + "add_custom": "이모지 추가하기", + "categories": { + "activity": "활동", + "custom": "커스텀", + "flags": "깃발", + "foods": "음식 및 음료", + "frequent": "자주 사용하는 항목", + "nature": "동물 및 자연", + "objects": "사물", + "people": "스마일리 및 사람", + "places": "여행 및 장소", + "search": "검색 결과", + "symbols": "기호" + }, + "skins": { + "choose": "기준 피부색 선택하기", + "1": "표준", + "2": "밝은 피부색", + "3": "약간 밝은 피부색", + "4": "중간 피부색", + "5": "약간 어두운 피부색", + "6": "어두운 피부색" } - \ No newline at end of file +} From 683ca6a5242e1d781ae18639544c93d300211510 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Sun, 27 Nov 2022 00:33:07 -0400 Subject: [PATCH 4/4] Add kr to locale in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af47fb831..fbd963880 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ function App() { | **emojiSize** | `24` | | The size of the emojis (inside the buttons) | | **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) | | **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`, `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`, `it`, `ja`, `kr`, `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) |