Repository navigation
Translation 3 files to Ko #1116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
506a69b
add ko translation for baseUrl.md
sodaMelon 0a47955
add ko translation for charset.md
sodaMelon fbab713
add ko translation for Hello World.ts
sodaMelon de82e79
remove the space between 'play' and 'ground'
sodaMelon bbb2b47
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon c2793d6
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon b3e98b0
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 155c516
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 91223fd
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 3c56b3c
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon cffbbc4
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon eda6c8a
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon f1f575e
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 8d39373
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 7802c0c
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 17ecd63
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon bbf574f
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 2998468
Update packages/playground-examples/copy/ko/JavaScript/JavaScript Ess…
sodaMelon 3c81a7a
Update packages/tsconfig-reference/copy/ko/options/baseUrl.md
sodaMelon 6934566
Update packages/tsconfig-reference/copy/ko/options/charset.md
sodaMelon 89ad5bb
Update packages/tsconfig-reference/copy/ko/options/charset.md
sodaMelon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
packages/playground-examples/copy/ko/JavaScript/JavaScript Essentials/Hello World.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| //// { order: 0, compiler: { target: 1 } } | ||
|
|
||
| // TypeScript 플레이그라운드에 오신 것을 환영합니다. | ||
| // 이 웹 사이트는 TypeScript를 웹 브라우저에서 실행하는 것과 거의 비슷합니다. | ||
|
|
||
| // 플레이그라운드에서는 이러한 프로젝트를 공유하는 것을 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 간단한 일로 만들었기 때문에, TypeScript로 아이디어를 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 쉽고 안전하게 실험할 수 있습니다. 다른 사람에게 프로젝트를 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 공유할 때 필요한 것은, 이 페이지의 URL이 전부입니다. | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
|
|
||
| const hello = "Hello"; | ||
|
|
||
| // 오른쪽에서 TypeScript 컴파일러의 결과를 볼 수 | ||
| // 있습니다. : 이것은 브라우저나 서버는 물론, 어디에서나 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 실제로 실행할 수 있는 바닐라 JavaScript입니다. | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
|
|
||
| const world = "World"; | ||
|
|
||
| // "const"를 "var"로 변환하는 것으로, 코드에 작은 변화가 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 생기는 것을 볼 수 있습니다. 이것은 TypeScript를 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // JavaScript가 실행되는 모든 곳에서 실행할 수 있게 하려고 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 수행하는 많은 작업 중 하나입니다. | ||
|
|
||
| console.log(hello + " " + world); | ||
|
|
||
| // 이제 플레이그라운드가 어떻게 동작하는지 아이디어를 얻었으니, | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // TypeScript가 JavaScript 작업을 더 즐겁게 만드는 방법을 알아봅시다. | ||
| // 이 부분에서는, 어떻게 기존지식을 재사용할 수 있는지 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 보여주기 위해, 가능한 한 바닐라 JavaScript에 | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // 가깝게 유지하도록 하겠습니다. | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| // | ||
| // 계속하려면 아래를 클릭하세요: | ||
| // | ||
| // example:objects-and-arrays | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| display: "Base Url" | ||
| oneline: "Set a baseurl for relative module names" | ||
| --- | ||
|
|
||
| 절대 경로 참조가 아닌 모듈 이름을 해결하기 위한 기본 디렉터리를 설정할 수 있습니다. | ||
|
|
||
| 절대 경로로 해결하기 위한 루트 폴더를 정의할 수도 있습니다. 예를 들면, | ||
|
|
||
| ``` | ||
| baseUrl | ||
| ├── ex.ts | ||
| ├── hello | ||
| │ └── world.ts | ||
| └── tsconfig.json | ||
| ``` | ||
|
|
||
| 이 프로젝트에서` "baseUrl": "./"`을 사용하면, TypeScript는`tsconfig.json`과 같은 폴더에서 시작하는 파일을 찾습니다. | ||
|
|
||
| ```ts | ||
| import { helloWorld } from "hello/world"; | ||
|
|
||
| console.log(helloWorld); | ||
| ``` | ||
|
|
||
| 항상 사용하는 `"../"` 또는 `"./"`같은 import에 질렸거나, 파일을 이동해서 변경해야 할 때, | ||
| 그런 문제들을 고칠 수 있는 위한 좋은 방법입니다. | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| display: "Charset" | ||
| oneline: "Manually set the text encoding for reading files" | ||
| --- | ||
|
|
||
| 이전 TypeScript 버전에서는, 디스크에서 텍스트 파일을 읽을 때 어떤 인코딩이 사용되었는지를 제어했습니다. | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
| 오늘날 TypeScript는 UTF-8 인코딩을 전제로 합니다. 하지만 UTF-16 (BE 와 LE) 또는 UTF-8 BOMs도 정확하게 감지합니다. | ||
|
sodaMelon marked this conversation as resolved.
Resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.