Skip to content

Commit 56e6796

Browse files
committed
📝 Update Korean docs as upstream
[ci skip]
1 parent 36a0a49 commit 56e6796

16 files changed

+161
-25
lines changed

docs-translations/ko-KR/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ URL에 포함되어 있습니다. 만약 그렇지 않다면, 아마 현재 보
1515
Electron에 대해 자주 묻는 질문이 있습니다. 이슈를 생성하기 전에 다음 문서를 먼저
1616
확인해 보세요:
1717

18-
* [Electron FAQ](faq/electron-faq.md)
18+
* [Electron FAQ](faq.md)
1919

2020
## 개발 가이드
2121

@@ -69,8 +69,8 @@ Electron에 대해 자주 묻는 질문이 있습니다. 이슈를 생성하기
6969
* [protocol](api/protocol.md)
7070
* [session](api/session.md)
7171
* [systemPreferences](api/system-preferences.md)
72-
* [webContents](api/web-contents.md)
7372
* [Tray](api/tray.md)
73+
* [webContents](api/web-contents.md)
7474

7575
### 렌더러 프로세스에서 사용할 수 있는 모듈 (웹 페이지):
7676

docs-translations/ko-KR/api/app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ npm 모듈 규칙에 따라 대부분의 경우 `package.json`의 `name` 필드
402402
### `app.getLocale()`
403403

404404
현재 애플리케이션의 [로케일](https://ko.wikipedia.org/wiki/%EB%A1%9C%EC%BC%80%EC%9D%BC)
405-
반환합니다.
405+
반환합니다. 반환될 수 있는 값은 [여기](locales.md)에서 찾아볼 수 있습니다.
406406

407407
**참고:** 패키징된 앱을 배포할 때, `locales` 폴더도 같이 배포해야 합니다.
408408

docs-translations/ko-KR/api/browser-window.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ On Windows it is
199199
* `desktop`은 데스크탑 배경 레벨(`kCGDesktopWindowLevel - 1`)에 윈도우를
200200
배치합니다. 참고로 이렇게 만들어진 윈도우는 포커스, 키보드, 마우스 이벤트를 받을
201201
수 없습니다. 하지만 편법으로 `globalShortcut`을 통해 키 입력을 받을 수 있습니다.
202+
* Windows의 경우, 가능한 타입으론 `toolbar`가 있습니다.
202203

203204
`titleBarStyle` 속성은 macOS 10.10 Yosemite 이후 버전만 지원하며, 다음 3가지 종류의
204205
값을 사용할 수 있습니다:

docs-translations/ko-KR/api/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const {dialog} = require('electron').remote;
3232
* `filters` Array
3333
* `properties` Array - 대화 상자가 사용할 기능(모드)이 담긴 배열입니다.
3434
다음을 포함할 수 있습니다: `openFile`, `openDirectory`, `multiSelections`,
35-
`createDirectory`
35+
`createDirectory`, `showHiddenFiles`.
3636
* `callback` Function (optional)
3737

3838
사용할 대화 상자의 기능이 담긴 배열입니다. 다음을 포함할 수 있습니다: `openFile`,
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# 로케일
2+
3+
> `app.getLocale()`에서 반환되는 로케일 값.
4+
5+
Electron은 로케일을 가져오기 위해 Chromium의 `l10n_util` 라이브러리를 사용합니다.
6+
반환될 수 있는 값은 다음과 같습니다:
7+
8+
9+
| 언어 코드 | 언어 이름 |
10+
|---------------|---------------|
11+
| af | Afrikaans |
12+
| ar-AE | Arabic (U.A.E.) |
13+
| ar-IQ | Arabic (Iraq) |
14+
| ar | Arabic (Standard) |
15+
| ar-BH | Arabic (Bahrain) |
16+
| ar-DZ | Arabic (Algeria) |
17+
| ar-EG | Arabic (Egypt) |
18+
| ar | Aragonese |
19+
| ar-JO | Arabic (Jordan) |
20+
| ar-KW | Arabic (Kuwait) |
21+
| ar-LB | Arabic (Lebanon) |
22+
| ar-LY | Arabic (Libya) |
23+
| ar-MA | Arabic (Morocco) |
24+
| ar-OM | Arabic (Oman) |
25+
| ar-QA | Arabic (Qatar) |
26+
| ar-SA | Arabic (Saudi Arabia) |
27+
| ar-SY | Arabic (Syria) |
28+
| ar-TN | Arabic (Tunisia) |
29+
| ar-YE | Arabic (Yemen) |
30+
| as | Assamese |
31+
| ast | Asturian |
32+
| az | Azerbaijani |
33+
| be | Belarusian |
34+
| bg | Bulgarian |
35+
| bg | Bulgarian |
36+
| bn | Bengali |
37+
| br | Breton |
38+
| bs | Bosnian |
39+
| ca | Catalan |
40+
| ce | Chechen |
41+
| ch | Chamorro |
42+
| co | Corsican |
43+
| cr | Cree |
44+
| cs | Czech |
45+
| cv | Chuvash |
46+
| da | Danish |
47+
| de | German (Standard) |
48+
| de-AT | German (Austria) |
49+
| de-CH | German (Switzerland) |
50+
| de-DE | German (Germany) |
51+
| de-LI | German (Liechtenstein) |
52+
| de-LU | German (Luxembourg) |
53+
| el | Greek |
54+
| en-AU | English (Australia) |
55+
| en-BZ | English (Belize) |
56+
| en | English |
57+
| en-CA | English (Canada) |
58+
| en-GB | English (United Kingdom) |
59+
| en-IE | English (Ireland) |
60+
| en-JM | English (Jamaica) |
61+
| en-NZ | English (New Zealand) |
62+
| en-PH | English (Philippines) |
63+
| en-TT | English (Trinidad & Tobago) |
64+
| en-US | English (United States) |
65+
| en-ZA | English (South Africa) |
66+
| en-ZW | English (Zimbabwe) |
67+
| eo | Esperanto |
68+
| et | Estonian |
69+
| eu | Basque |
70+
| fa | Persian |
71+
| fa | Farsi |
72+
| fa-IR | Persian/Iran |
73+
| fi | Finnish |
74+
| fj | Fijian |
75+
| fo | Faeroese |
76+
| fr-CH | French (Switzerland) |
77+
| fr-FR | French (France) |
78+
| fr-LU | French (Luxembourg) |
79+
| fr-MC | French (Monaco) |
80+
| fr | French (Standard) |
81+
| fr-BE | French (Belgium) |
82+
| fr-CA | French (Canada) |
83+
| fur | Friulian |
84+
| fy | Frisian |
85+
| ga | Irish |
86+
| gd-IE | Gaelic (Irish) |
87+
| gd | Gaelic (Scots) |
88+
| gl | Galacian |
89+
| gu | Gujurati |
90+
| he | Hebrew |
91+
| hi | Hindi |
92+
| hr | Croatian |
93+
| ht | Haitian |
94+
| hu | Hungarian |
95+
| hy | Armenian |
96+
| id | Indonesian |
97+
| is | Icelandic |
98+
| it-CH | Italian (Switzerland) |
99+
| it | Italian (Standard) |
100+
| iu | Inuktitut |
101+
| ja | Japanese |
102+
| ka | Georgian |
103+
| kk | Kazakh |
104+
| km | Khmer |
105+
| kn | Kannada |
106+
| ko | Korean |
107+
| ko-KP | Korean (North Korea) |
108+
| ko-KR | Korean (South Korea) |
109+
| ks | Kashmiri |
110+
| ky | Kirghiz |
111+
| la | Latin |
112+
| lb | Luxembourgish |
113+
| lt | Lithuanian |
114+
| lv | Latvian |
115+
| mi | Maori |
116+
| mk | FYRO Macedonian |
117+
| ml | Malayalam |
118+
| mo | Moldavian |
119+
| mr | Marathi |
120+
| ms | Malay |
121+
| mt | Maltese |
122+
| my | Burmese |
123+
| nb | Norwegian (Bokmal) |
124+
| ne | Nepali |
125+
| ng | Ndonga |
126+
| nl | Dutch (Standard) |
127+
| nl-BE | Dutch (Belgian) |
128+
| nn | Norwegian (Nynorsk) |
129+
| no | Norwegian |
130+
| nv | Navajo |
131+
| oc | Occitan |
132+
| om | Oromo |
133+
| or | Oriya |
134+
| sq | Albanian |
135+
| tlh | Klingon |
136+
| zh-TW | Chinese (Taiwan) |
137+
| zh | Chinese |
138+
| zh-CN | Chinese (PRC) |
139+
| zh-HK | Chinese (Hong Kong) |
140+
| zh-SG | Chinese (Singapore) |

docs-translations/ko-KR/api/remote.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let win = new BrowserWindow({width: 800, height: 600});
2020
win.loadURL('https://github.com');
2121
```
2222

23-
**참고:** 반대로 메인 프로세스에서 렌더러 프로세스에 접근 하려면 [webContents.executeJavascript](web-contents.md#webcontentsexecutejavascriptcode-usergesture)
23+
**참고:** 반대로 메인 프로세스에서 렌더러 프로세스에 접근 하려면 [webContents.executeJavascript](web-contents.md#webcontentsexecutejavascriptcode-usergesture-callback)
2424
메서드를 사용하면 됩니다.
2525

2626
## Remote 객체
@@ -70,7 +70,7 @@ exports.withRendererCallback = (mapper) => {
7070
;
7171

7272
exports.withLocalCallback = () => {
73-
return exports.mapNumbers(x => x + 1);
73+
return [1,2,3].map(x => x + 1);
7474
};
7575
```
7676
@@ -82,7 +82,7 @@ const withRendererCb = mapNumbers.withRendererCallback(x => x + 1);
8282

8383
const withLocalCb = mapNumbers.withLocalCallback();
8484

85-
console.log(withRendererCb, withLocalCb); // [true, true, true], [2, 3, 4]
85+
console.log(withRendererCb, withLocalCb); // [undefined, undefined, undefined], [2, 3, 4]
8686
```
8787
8888
보다시피 동기적인 렌더러 콜백 함수의 반환 값은 예상되지 않은 값입니다. 그리고 메인

docs-translations/ko-KR/api/web-contents.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,8 @@ CSS 코드를 현재 웹 페이지에 삽입합니다.
633633

634634
* `action` String - [`webContents.findInPage`](web-contents.md#webcontentfindinpage)
635635
요청이 종료되었을 때 일어날 수 있는 작업을 지정합니다.
636-
* `clearSelection` - 선택을 일반 선택으로 변경합니다.
637-
* `keepSelection` - 선택을 취소합니다.
636+
* `clearSelection` - 선택을 취소합니다.
637+
* `keepSelection` - 선택을 일반 선택으로 변경합니다.
638638
* `activateSelection` - 포커스한 후 선택된 노드를 클릭합니다.
639639

640640
제공된 `action`에 대한 `webContents`의 모든 `findInPage` 요청을 중지합니다.
@@ -669,17 +669,13 @@ ServiceWorker가 존재하면 모두 등록을 해제하고 JS Promise가 만족
669669
* `printBackground` Boolean - 웹 페이지의 배경 색과 이미지를 출력합니다. 기본값은
670670
`false`입니다.
671671

672-
윈도우의 웹 페이지를 프린트합니다. `silent``false`로 지정되어있을 땐, Electron이
672+
윈도우의 웹 페이지를 프린트합니다. `silent``true`로 지정되어있을 땐, Electron이
673673
시스템의 기본 프린터와 기본 프린터 설정을 가져옵니다.
674674

675675
웹 페이지에서 `window.print()`를 호출하는 것은
676676
`webContents.print({silent: false, printBackground: false})`를 호출하는 것과
677677
같습니다.
678678

679-
**참고:** Windows에서의 프린터 API는 `pdf.dll`에 의존합니다. 따라서 애플리케이션이
680-
print기능을 사용하지 않는 경우 전체 바이너리 크기를 줄이기 위해 `pdf.dll`을 삭제해도
681-
됩니다.
682-
683679
### `webContents.printToPDF(options, callback)`
684680

685681
* `options` Object

docs-translations/ko-KR/api/web-view-tag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ Service worker에 대한 개발자 도구를 엽니다.
475475

476476
페이지에 입력 `event`를 보냅니다.
477477

478-
`event` 객체에 대해 자세히 알아보려면 [webContents.sendInputEvent](web-contents.md##webcontentssendinputeventevent)
478+
`event` 객체에 대해 자세히 알아보려면 [webContents.sendInputEvent](web-contents.md#webcontentssendinputeventevent)
479479
참고하세요.
480480

481481
### `<webview>.showDefinitionForSelection()` _macOS_

docs-translations/ko-KR/development/atom-shell-vs-node-webkit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ __4. 다중 컨텍스트__
4444
Node의 [다중 컨텍스트](http://strongloop.com/strongblog/whats-new-node-js-v0-12-multiple-context-execution/)
4545
사용하기 때문에 Electron은 웹 페이지의 새로운 JavaScript 컨텍스트를 생성하지 않습니다.
4646

47+
참고: NW.js는 0.13 버전부터 선택적으로 다중 컨텍스트를 지원합니다.
48+
4749
[node-bindings]: https://github.com/electron/electron/tree/master/atom/common

docs-translations/ko-KR/development/build-instructions-windows.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
* [Node.js](http://nodejs.org/download/)
1111
* [Git](http://git-scm.com)
1212

13-
현재 사용하고 있는 PC에 Windows를 설치하지 않았다면 [modern.ie](https://www.modern.ie/en-us/virtualization-tools#downloads)에서
13+
현재 사용하고 있는 PC에 Windows를 설치하지 않았다면
14+
[dev.microsoftedge.com](https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/)에서
1415
사용 기한이 정해져있는 무료 가상머신 버전의 Windows를 받아 Electron을 빌드하는 방법도
1516
있습니다.
1617

0 commit comments

Comments
 (0)