From 5adb67e69ee60d26d6c942ba3a2bdf0d48ad4bd5 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Mon, 10 Jul 2023 08:16:13 +0200 Subject: [PATCH] Rename korean from kr to ko to adhere with ISO standard. Fixes https://github.com/missive/emoji-mart/issues/800 --- README.md | 2 +- packages/emoji-mart-data/i18n/{kr.json => ko.json} | 0 packages/emoji-mart-website/index.html | 2 +- packages/emoji-mart/README.md | 2 +- packages/emoji-mart/src/components/Picker/PickerProps.ts | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename packages/emoji-mart-data/i18n/{kr.json => ko.json} (100%) diff --git a/README.md b/README.md index 329e25ea..6a6f11ae 100644 --- a/README.md +++ b/README.md @@ -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`, `kr`, `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`, `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) | diff --git a/packages/emoji-mart-data/i18n/kr.json b/packages/emoji-mart-data/i18n/ko.json similarity index 100% rename from packages/emoji-mart-data/i18n/kr.json rename to packages/emoji-mart-data/i18n/ko.json diff --git a/packages/emoji-mart-website/index.html b/packages/emoji-mart-website/index.html index a4f24067..bed8a6f0 100644 --- a/packages/emoji-mart-website/index.html +++ b/packages/emoji-mart-website/index.html @@ -74,7 +74,7 @@ - + diff --git a/packages/emoji-mart/README.md b/packages/emoji-mart/README.md index 329e25ea..6a6f11ae 100644 --- a/packages/emoji-mart/README.md +++ b/packages/emoji-mart/README.md @@ -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`, `kr`, `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`, `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) | diff --git a/packages/emoji-mart/src/components/Picker/PickerProps.ts b/packages/emoji-mart/src/components/Picker/PickerProps.ts index 5f1a9af7..a3d939d0 100644 --- a/packages/emoji-mart/src/components/Picker/PickerProps.ts +++ b/packages/emoji-mart/src/components/Picker/PickerProps.ts @@ -43,7 +43,7 @@ export default { 'hi', 'it', 'ja', - 'kr', + 'ko', 'nl', 'pl', 'pt',