diff --git a/questions/4-easy-pick/README.ja.md b/questions/4-easy-pick/README.ja.md index 64064976..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`のプロパティを抽出する型を実装します。 diff --git a/questions/4-easy-pick/README.ko.md b/questions/4-easy-pick/README.ko.md new file mode 100644 index 00000000..088dd8e4 --- /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..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. diff --git a/questions/4-easy-pick/README.zh-CN.md b/questions/4-easy-pick/README.zh-CN.md index 7fae37bd..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 改进翻译质量。 @@ -23,4 +23,4 @@ const todo: TodoPreview = { } ``` -
返回首页 分享你的解答 查看解答

相关挑战

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

相关挑战

3・实现 Omit 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": "질문" +}