From 9d19b016cd38dadd623e3c99fe608862eb6de0aa Mon Sep 17 00:00:00 2001 From: Hyunseung Jeon Date: Sat, 18 Dec 2021 23:40:10 +0900 Subject: [PATCH 1/3] Pick Korean --- questions/4-easy-pick/README.ja.md | 16 ++++++++-------- questions/4-easy-pick/README.ko.md | 22 ++++++++++++++++++++++ questions/4-easy-pick/README.md | 16 ++++++++-------- questions/4-easy-pick/README.zh-CN.md | 18 +++++++++--------- 4 files changed, 47 insertions(+), 25 deletions(-) create mode 100644 questions/4-easy-pick/README.ko.md diff --git a/questions/4-easy-pick/README.ja.md b/questions/4-easy-pick/README.ja.md index 64064976..7ba2875c 100644 --- a/questions/4-easy-pick/README.ja.md +++ b/questions/4-easy-pick/README.ja.md @@ -1,4 +1,4 @@ -

Pick 初級 #union #built-in

by Anthony Fu @antfu

挑戦する    English 简体中文

+

Pick 初級 #union #built-in

by Anthony Fu @antfu

挑戦する    English 简体中文 日本語

組み込みの型ユーティリティ`Pick`を使用せず、`T`から`K`のプロパティを抽出する型を実装します。 @@ -6,17 +6,17 @@ ```ts interface Todo { - title: string - description: string - completed: boolean + title: string; + description: string; + completed: boolean; } -type TodoPreview = MyPick +type TodoPreview = MyPick; const todo: TodoPreview = { - title: 'Clean room', - completed: false, -} + title: "Clean room", + completed: false, +}; ```
戻る 解答を共有 解答を確認

関連する課題

3・Omit diff --git a/questions/4-easy-pick/README.ko.md b/questions/4-easy-pick/README.ko.md new file mode 100644 index 00000000..095c2858 --- /dev/null +++ b/questions/4-easy-pick/README.ko.md @@ -0,0 +1,22 @@ +

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 日本語

+ +`T`에서 `K` 프로퍼티만 선택해 새로운 오브젝트 타입을 만드는 내장 제네릭 `Pick`을 이를 사용하지 않고 구현하세요. + +예시: + +```ts +interface Todo { + title: string; + description: string; + completed: boolean; +} + +type TodoPreview = MyPick; + +const todo: TodoPreview = { + title: "Clean room", + completed: false, +}; +``` + +
Back Share your Solutions Check out Solutions

Related Challenges

3・Omit diff --git a/questions/4-easy-pick/README.md b/questions/4-easy-pick/README.md index 3d4843ce..f6089fd2 100644 --- a/questions/4-easy-pick/README.md +++ b/questions/4-easy-pick/README.md @@ -1,4 +1,4 @@ -

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語

+

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 日本語

Implement the built-in `Pick` generic without using it. @@ -8,17 +8,17 @@ For example ```ts interface Todo { - title: string - description: string - completed: boolean + title: string; + description: string; + completed: boolean; } -type TodoPreview = MyPick +type TodoPreview = MyPick; const todo: TodoPreview = { - title: 'Clean room', - completed: false, -} + title: "Clean room", + completed: false, +}; ```
Back Share your Solutions Check out Solutions

Related Challenges

3・Omit diff --git a/questions/4-easy-pick/README.zh-CN.md b/questions/4-easy-pick/README.zh-CN.md index 7fae37bd..140a9596 100644 --- a/questions/4-easy-pick/README.zh-CN.md +++ b/questions/4-easy-pick/README.zh-CN.md @@ -1,4 +1,4 @@ -

实现 Pick 简单 #union #built-in

by Anthony Fu @antfu

接受挑战    English 日本語

+

实现 Pick 简单 #union #built-in

by Anthony Fu @antfu

接受挑战    English 日本語 日本語

> 欢迎 PR 改进翻译质量。 @@ -10,17 +10,17 @@ ```ts interface Todo { - title: string - description: string - completed: boolean + title: string; + description: string; + completed: boolean; } -type TodoPreview = MyPick +type TodoPreview = MyPick; const todo: TodoPreview = { - title: 'Clean room', - completed: false, -} + title: "Clean room", + completed: false, +}; ``` -
返回首页 分享你的解答 查看解答

相关挑战

3・实现 Omit \ No newline at end of file +
返回首页 分享你的解答 查看解答

相关挑战

3・实现 Omit From 4506c612ebcc988e90e2ca7dff4f48121aa634f2 Mon Sep 17 00:00:00 2001 From: Hyunseung Jeon Date: Sat, 18 Dec 2021 23:49:32 +0900 Subject: [PATCH 2/3] no prettier --- questions/4-easy-pick/README.ja.md | 16 ++++++++-------- questions/4-easy-pick/README.ko.md | 16 ++++++++-------- questions/4-easy-pick/README.md | 16 ++++++++-------- questions/4-easy-pick/README.zh-CN.md | 16 ++++++++-------- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/questions/4-easy-pick/README.ja.md b/questions/4-easy-pick/README.ja.md index 7ba2875c..2461d8aa 100644 --- a/questions/4-easy-pick/README.ja.md +++ b/questions/4-easy-pick/README.ja.md @@ -1,4 +1,4 @@ -

Pick 初級 #union #built-in

by Anthony Fu @antfu

挑戦する    English 简体中文 日本語

+

Pick 初級 #union #built-in

by Anthony Fu @antfu

挑戦する    English 简体中文 한국어

組み込みの型ユーティリティ`Pick`を使用せず、`T`から`K`のプロパティを抽出する型を実装します。 @@ -6,17 +6,17 @@ ```ts interface Todo { - title: string; - description: string; - completed: boolean; + title: string + description: string + completed: boolean } -type TodoPreview = MyPick; +type TodoPreview = MyPick const todo: TodoPreview = { - title: "Clean room", - completed: false, -}; + title: 'Clean room', + completed: false, +} ```
戻る 解答を共有 解答を確認

関連する課題

3・Omit diff --git a/questions/4-easy-pick/README.ko.md b/questions/4-easy-pick/README.ko.md index 095c2858..088dd8e4 100644 --- a/questions/4-easy-pick/README.ko.md +++ b/questions/4-easy-pick/README.ko.md @@ -1,4 +1,4 @@ -

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 日本語

+

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 한국어

`T`에서 `K` 프로퍼티만 선택해 새로운 오브젝트 타입을 만드는 내장 제네릭 `Pick`을 이를 사용하지 않고 구현하세요. @@ -6,17 +6,17 @@ ```ts interface Todo { - title: string; - description: string; - completed: boolean; + title: string + description: string + completed: boolean } -type TodoPreview = MyPick; +type TodoPreview = MyPick const todo: TodoPreview = { - title: "Clean room", - completed: false, -}; + title: 'Clean room', + completed: false, +} ```
Back Share your Solutions Check out Solutions

Related Challenges

3・Omit diff --git a/questions/4-easy-pick/README.md b/questions/4-easy-pick/README.md index f6089fd2..1cb4475f 100644 --- a/questions/4-easy-pick/README.md +++ b/questions/4-easy-pick/README.md @@ -1,4 +1,4 @@ -

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 日本語

+

Pick easy #union #built-in

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 한국어

Implement the built-in `Pick` generic without using it. @@ -8,17 +8,17 @@ For example ```ts interface Todo { - title: string; - description: string; - completed: boolean; + title: string + description: string + completed: boolean } -type TodoPreview = MyPick; +type TodoPreview = MyPick const todo: TodoPreview = { - title: "Clean room", - completed: false, -}; + title: 'Clean room', + completed: false, +} ```
Back Share your Solutions Check out Solutions

Related Challenges

3・Omit diff --git a/questions/4-easy-pick/README.zh-CN.md b/questions/4-easy-pick/README.zh-CN.md index 140a9596..53082412 100644 --- a/questions/4-easy-pick/README.zh-CN.md +++ b/questions/4-easy-pick/README.zh-CN.md @@ -1,4 +1,4 @@ -

实现 Pick 简单 #union #built-in

by Anthony Fu @antfu

接受挑战    English 日本語 日本語

+

实现 Pick 简单 #union #built-in

by Anthony Fu @antfu

接受挑战    English 日本語 한국어

> 欢迎 PR 改进翻译质量。 @@ -10,17 +10,17 @@ ```ts interface Todo { - title: string; - description: string; - completed: boolean; + title: string + description: string + completed: boolean } -type TodoPreview = MyPick; +type TodoPreview = MyPick const todo: TodoPreview = { - title: "Clean room", - completed: false, -}; + title: 'Clean room', + completed: false, +} ```
返回首页 分享你的解答 查看解答

相关挑战

3・实现 Omit From a95b8098ec5a69cbc18860df34c766b8031169a6 Mon Sep 17 00:00:00 2001 From: Hyunseung Jeon Date: Mon, 20 Dec 2021 17:28:00 +0900 Subject: [PATCH 3/3] mod locales.ts, add ko.json --- scripts/locales.ts | 3 ++- scripts/locales/ko.json | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 scripts/locales/ko.json diff --git a/scripts/locales.ts b/scripts/locales.ts index 4d93f435..dbecb0b2 100644 --- a/scripts/locales.ts +++ b/scripts/locales.ts @@ -1,11 +1,12 @@ export const defaultLocale = 'en' -export const supportedLocales = ['en', 'zh-CN', 'ja'] as const +export const supportedLocales = ['en', 'zh-CN', 'ja', 'ko'] as const export const messages = { en: require('./locales/en.json'), 'zh-CN': require('./locales/zh-CN.json'), ja: require('./locales/ja.json'), + ko: require('./locales/ko.json'), } export type SupportedLocale = keyof typeof messages diff --git a/scripts/locales/ko.json b/scripts/locales/ko.json new file mode 100644 index 00000000..b5f66b79 --- /dev/null +++ b/scripts/locales/ko.json @@ -0,0 +1,23 @@ +{ + "badge.back": "돌아가기", + "badge.checkout-solutions": "정답 보기", + "badge.share-your-solutions": "정답 공유하기", + "badge.take-the-challenge": "도전하기", + "badge.preview-playground": "Playground에서 미리보기", + "difficulty.easy": "쉬움", + "difficulty.extreme": "매우 어려움", + "difficulty.hard": "어려움", + "difficulty.medium": "보통", + "difficulty.warm": "워밍업", + "display": "한국어", + "divider.code-start": "여기에 코드 입력", + "divider.further-steps": "다음 단계", + "divider.test-cases": "테스트 케이스", + "link.checkout-solutions": "정답 보기: ", + "link.more-challenges": "다른 문제들: ", + "link.share-solutions": "정답 공유하기: ", + "link.view-on-github": "GitHub에서 보기: ", + "readme.related-challenges": "Related Challenges", + "readme.google-translated": "이 문제는 Google에 의해 번역되었습니다. 더 나은 번역을 위한 PR을 환영합니다.", + "title.question": "질문" +}