From eb3769f98e0386e221d8b06fec082b303cbc8afc Mon Sep 17 00:00:00 2001 From: Plusb Preco Date: Tue, 1 Sep 2015 09:57:43 +0900 Subject: [PATCH] Update as upstream, improve grammar --- README-ko.md | 2 +- docs-translations/ko/api/auto-updater.md | 2 +- docs-translations/ko/api/clipboard.md | 2 +- docs-translations/ko/api/crash-reporter.md | 2 +- docs-translations/ko/api/dialog.md | 2 +- docs-translations/ko/api/global-shortcut.md | 19 ++++--- docs-translations/ko/api/ipc-main-process.md | 51 ++++++++++++++----- docs-translations/ko/api/ipc-renderer.md | 46 ++++++++++++----- docs-translations/ko/api/menu.md | 2 +- .../ko/api/power-save-blocker.md | 2 +- docs-translations/ko/api/process.md | 6 +++ docs-translations/ko/api/protocol.md | 2 +- docs-translations/ko/api/remote.md | 2 +- docs-translations/ko/api/tray.md | 2 +- docs-translations/ko/api/window-open.md | 4 +- .../development/atom-shell-vs-node-webkit.md | 2 +- .../development/build-instructions-linux.md | 4 +- .../ko/development/build-instructions-mac.md | 2 +- .../development/build-instructions-windows.md | 4 +- docs-translations/ko/styleguide.md | 2 +- .../ko/tutorial/application-packaging.md | 2 +- .../ko/tutorial/debugging-main-process.md | 4 +- .../ko/tutorial/online-offline-events.md | 8 +-- docs-translations/ko/tutorial/quick-start.md | 2 +- .../ko/tutorial/using-native-node-modules.md | 2 +- .../ko/tutorial/using-pepper-flash-plugin.md | 3 +- 26 files changed, 119 insertions(+), 62 deletions(-) diff --git a/README-ko.md b/README-ko.md index 00cfe437..1b895c15 100644 --- a/README-ko.md +++ b/README-ko.md @@ -6,7 +6,7 @@ ### [Electron](https://github.com/atom/electron/) 한국어 참조문서 -:zap: *이전까지 Atom Shell로 알려져 있었습니다* :zap: +:zap: *프레임워크 이름이 Atom Shell에서 Electron으로 바뀌었습니다* :zap: Electron 프레임워크는 JavaScript, HTML 그리고 CSS를 사용하여 Cross-Platform 데스크톱 어플리케이션을 개발할 수 있도록 해주는 프레임워크입니다. 이 프레임워크는 [io.js](http://iojs.org) 와 [Chromium](http://www.chromium.org)을 기반으로 만들어 졌으며 [Atom Editor](https://github.com/atom/atom)에 사용되고 있습니다. diff --git a/docs-translations/ko/api/auto-updater.md b/docs-translations/ko/api/auto-updater.md index ca4da004..1b586d5c 100644 --- a/docs-translations/ko/api/auto-updater.md +++ b/docs-translations/ko/api/auto-updater.md @@ -17,7 +17,7 @@ Squirrel은 어플리케이션이 **안전하고 투명한 업데이트**를 제 Squirrel은 사용자에게 어플리케이션의 업데이트를 알릴 필요 없이 서버가 지시하는 버전을 받아온 후 자동으로 업데이트합니다. 이 기능을 사용하면 Squirrel을 통해 클라이언트의 어플리케이션을 지능적으로 업데이트 할 수 있습니다. -요청시 커스텀 헤더 또는 요청 본문에 인증 정보를 포함시킬 수도 있습니다. +또한 요청시 커스텀 헤더 또는 요청 본문에 인증 정보를 포함시킬 수 있습니다. 서버에선 이러한 요청을 분류 처리하여 적당한 업데이트를 제공할 수 있습니다. Squirrel JSON 업데이트 요청시 처리는 반드시 어떤 업데이트가 필요한지 요청의 기준에 맞춰 동적으로 생성되어야 합니다. diff --git a/docs-translations/ko/api/clipboard.md b/docs-translations/ko/api/clipboard.md index 5143a4c3..08007827 100644 --- a/docs-translations/ko/api/clipboard.md +++ b/docs-translations/ko/api/clipboard.md @@ -19,7 +19,7 @@ console.log(clipboard.readText('selection')); `clipboard` 모듈은 다음과 같은 메서드를 가지고 있습니다: -**알림:** Experimental 마크가 붙은 API는 실험적인 기능이며 차후 최신 버전에서 제거될 수 있습니다. +**참고:** Experimental 마크가 붙은 API는 실험적인 기능이며 차후 최신 버전에서 제거될 수 있습니다. ### `clipboard.readText([type])` diff --git a/docs-translations/ko/api/crash-reporter.md b/docs-translations/ko/api/crash-reporter.md index 53b5d3b7..3a7bc35f 100644 --- a/docs-translations/ko/api/crash-reporter.md +++ b/docs-translations/ko/api/crash-reporter.md @@ -37,7 +37,7 @@ crashReporter.start({ 다른 crashReporter API를 사용하기 전에 이 메서드를 먼저 호출해야 합니다. -**알림:** OS X에선 Windows와 Linux의 `breakpad`와 달리 새로운 `crashpad` 클라이언트를 사용합니다. +**참고:** OS X에선 Windows와 Linux의 `breakpad`와 달리 새로운 `crashpad` 클라이언트를 사용합니다. 오류 수집 기능을 활성화 시키려면 오류를 수집하고 싶은 메인 프로세스나 랜더러 프로세스에서 `crashReporter.start` 메서드를 호출하여 `crashpad`를 초기화 해야합니다. diff --git a/docs-translations/ko/api/dialog.md b/docs-translations/ko/api/dialog.md index 0c8bdec7..08530c05 100644 --- a/docs-translations/ko/api/dialog.md +++ b/docs-translations/ko/api/dialog.md @@ -52,7 +52,7 @@ console.log(dialog.showOpenDialog({ properties: [ 'openFile', 'openDirectory', ' `callback`이 전달되면 메소드가 비동기로 작동되며 결과는 `callback(filenames)`을 통해 전달됩니다. -**알림:** Windows와 Linux에선 파일 선택 모드, 디렉터리 선택 모드를 동시에 사용할 수 없습니다. +**참고:** Windows와 Linux에선 파일 선택 모드, 디렉터리 선택 모드를 동시에 사용할 수 없습니다. 이러한 이유로 `properties`를 `['openFile', 'openDirectory']`로 설정하면 디렉터리 선택 대화 상자가 표시됩니다. ### `dialog.showSaveDialog([browserWindow][, options][, callback])` diff --git a/docs-translations/ko/api/global-shortcut.md b/docs-translations/ko/api/global-shortcut.md index d99085f4..b6ad3fe8 100644 --- a/docs-translations/ko/api/global-shortcut.md +++ b/docs-translations/ko/api/global-shortcut.md @@ -1,8 +1,9 @@ # global-shortcut -`global-shortcut` 모듈은 운영체제의 전역 키보드 단축키를 설정 등록/해제 하는 방법을 제공합니다. +`global-shortcut` 모듈은 운영체제의 전역 키보드 단축키를 등록/해제 하는 방법을 제공합니다. 이 모듈을 사용하여 사용자가 다양한 단축키 작업을 할 수 있도록 단축키를 정의 할 수 있습니다. -참고로 설정된 단축키는 어플리케이션이 백그라운드로 작동(창이 포커스 되지 않음) 할 때도 여전히 계속 작동합니다. + +**참고:** 등록된 단축키는 어플리케이션이 백그라운드로 작동(창이 포커스 되지 않음) 할 때도 계속해서 작동합니다. 이 모듈은 `app` 모듈의 `ready` 이벤트 이전에 사용할 수 없습니다. ```javascript @@ -30,25 +31,29 @@ app.on('will-quit', function() { }); ``` -## globalShortcut.register(accelerator, callback) +## Methods + +`global-shortcut` 모듈은 다음과 같은 메서드를 가지고 있습니다: + +### `globalShortcut.register(accelerator, callback)` * `accelerator` [Accelerator](accelerator.md) * `callback` Function `accelerator`로 표현된 전역 단축키를 등록합니다. 유저로부터 등록된 단축키가 눌렸을 경우 `callback` 함수가 호출됩니다. -## globalShortcut.isRegistered(accelerator) +### `globalShortcut.isRegistered(accelerator)` * `accelerator` [Accelerator](accelerator.md) 지정된 `accelerator` 단축키가 등록되었는지 여부를 확인합니다. 반환값은 boolean(true, false) 입니다. -## globalShortcut.unregister(accelerator) +### `globalShortcut.unregister(accelerator)` * `accelerator` [Accelerator](accelerator.md) -`키코드`에 해당하는 전역 단축키를 등록 해제합니다. +`accelerator`에 해당하는 전역 단축키를 등록 해제합니다. -## globalShortcut.unregisterAll() +### `globalShortcut.unregisterAll()` 모든 전역 단축키 등록을 해제합니다. diff --git a/docs-translations/ko/api/ipc-main-process.md b/docs-translations/ko/api/ipc-main-process.md index 7f6a091d..496afd20 100644 --- a/docs-translations/ko/api/ipc-main-process.md +++ b/docs-translations/ko/api/ipc-main-process.md @@ -1,17 +1,21 @@ # ipc (main process) -랜더러 프로세스(웹 페이지)로 부터 동기 또는 비동기로 메시지를 받아 처리합니다. +`ipc` (main process) 모듈은 메인 프로세스에서 사용할 때 랜더러 프로세스(웹 페이지)에서 전달된 동기 또는 비동기 메시지를 보내고 받는 방법을 제공합니다. +랜더러 프로세스에서 메시지를 전달하면 이 모듈을 통해 메시지를 받을 수 있습니다. -랜더러로부터 발신된 메시지들은 모두 이 모듈에서 `channel` 이라는 특정 이벤트 이름을 통해 수신할 수 있습니다. -동기 메시지는 `event.returnValue`를 이용하여 반환값(답장)을 설정할 수 있습니다. 비동기 메시지라면 `event.sender.send(...)`를 사용하면 됩니다. +## 메시지 전송 -또한 메인 프로세스에서 랜더러 프로세스로 메시지를 보내는 것도 가능합니다. -자세한 내용은 [WebContents.send](browser-window.md#webcontentssendchannel-args)를 참고 하세요. +물론 메인 프로세스에서 랜더러 프로세스로 메시지를 보내는 것도 가능합니다. +자세한 내용은 [WebContents.send](browser-window.md#webcontentssendchannel-args)를 참고하세요. -보내진 메시지들을 처리하는 예제입니다: +- 메시지를 전송할 때 이벤트 이름은 `channel`이 됩니다. +- 메시지에 동기로 응답할 땐 반드시 `event.returnValue`를 설정해야 합니다. +- 메시지를 비동기로 응답할 땐 `event.sender.send(...)` 메서드를 사용할 수 있습니다. + +랜더러 프로세스와 메인 프로세스간에 메시지를 전달하고 받는 예제입니다: ```javascript -// 메인 프로세스에서 처리. +// 메인 프로세스 var ipc = require('ipc'); ipc.on('asynchronous-message', function(event, arg) { console.log(arg); // prints "ping" @@ -25,7 +29,7 @@ ipc.on('synchronous-message', function(event, arg) { ``` ```javascript -// 랜더러 프로세스에서의 처리 (web page). +// 랜더러 프로세스 (web page) var ipc = require('ipc'); console.log(ipc.sendSync('synchronous-message', 'ping')); // prints "pong" @@ -35,12 +39,33 @@ ipc.on('asynchronous-reply', function(arg) { ipc.send('asynchronous-message', 'ping'); ``` -## Class: Event +## 메시지 리스닝 + +`ipc` 모듈은 다음과 같은 이벤트 메서드를 가지고 있습니다: + +### `ipc.on(channel, callback)` + +* `channel` String - 이벤트 이름 +* `callback` Function + +이벤트가 발생하면 `callback`에 `event` 객체와 `arg` 메시지가 포함되어 호출됩니다. + +## IPC Events + +`callback`에서 전달된 `event` 객체는 다음과 같은 메서드와 속성을 가지고 있습니다: + +### `Event.returnValue` + +이 메시지를 지정하면 동기 메시지를 전달합니다. + +### `Event.sender` -### Event.returnValue +메시지를 보낸 `WebContents` 객체를 반환합니다. -동기 메시지를 설정합니다. +### `Event.sender.send(channel[, arg1][, arg2][, ...])` -### Event.sender +* `channel` String - The event name. +* `arg` (optional) -메시지를 보내온 sender `WebContents` 객체입니다. +랜더러 프로세스로 비동기 메시지를 전달합니다. +옵션으로 `arg`에 한 개 또는 여러 개의 메시지를 포함할 수 있습니다. 모든 타입을 사용할 수 있습니다. diff --git a/docs-translations/ko/api/ipc-renderer.md b/docs-translations/ko/api/ipc-renderer.md index b8bbb7ff..67864c4e 100644 --- a/docs-translations/ko/api/ipc-renderer.md +++ b/docs-translations/ko/api/ipc-renderer.md @@ -1,25 +1,45 @@ # ipc (renderer) -`ipc` 모듈은 메인 프로세스로 메시지를 동기 또는 비동기로 보내고 받을 수 있는 몇 가지 방법을 제공합니다. -만약 랜더러 프로세스에서 메인 프로세스의 모듈을 직접적으로 사용하고 싶다면 [remote](remote.md) 모듈을 사용하는 것을 고려해보는 것이 좋습니다. +`ipc` (renderer) 모듈은 메인 프로세스로 동기 또는 비동기 메시지를 보내고 받는 방법을 제공합니다. +물론 메인 프로세스로부터 받은 메시지에 응답할 수도 있습니다. -[ipc (main process)](ipc-main-process.md)에서 예제를 볼 수 있습니다. +**참고:** 만약 랜더러 프로세스에서 메인 프로세스의 모듈을 직접적 사용하고 싶다면 [remote](remote.md) 모듈을 사용하는 것을 고려해보는 것이 좋습니다. -## ipc.send(channel[, args...]) +[ipc (main process)](ipc-main-process.md)에서 예제를 확인 할 수 있습니다. -지정한 `channel`을 통해 `args..`를 비동기로 메시지를 보냅니다. 메인 프로세스는 `ipc` 모듈의 `channel` 이벤트를 통해 메시지를 받을 수 있습니다. +## Methods -## ipc.sendSync(channel[, args...]) +`ipc` 모듈은 다음과 같은 메서드를 가지고 있습니다: -지정한 `channel`을 통해 `args..`를 동기로 메시지를 보냅니다. 그리고 메인 프로세스에서 보낸 결과를 반환합니다. -메인 프로세스는 `ipc` 모듈의 `channel` 이벤트를 통해 메시지를 받을 수 있습니다. 그리고 `event.returnValue`를 통해 반환값을 설정할 수 있습니다. +**참고:** 이 메소드들을 사용하여 `message`를 보낼 땐 반드시 메인 프로세스의 +[`ipc (main process)`](ipc-main-process.md) 모듈에서도 이벤트 리스너를 등록해 두어야 합니다. -역자 주: `channel`은 이벤트 이름입니다. +### `ipc.send(channel[, arg1][, arg2][, ...])` -**알림:** 보통 개발자들은 해당 API를 사용하려 하지 않습니다. 동기 ipc 작업은 랜더러 프로세스의 모든 작업을 중단시킵니다. +* `channel` String - 이벤트 이름 +* `arg` (optional) -## ipc.sendToHost(channel[, args...]) +`channel`을 통해 메인 프로세스에 비동기 메시지를 보냅니다. +옵션으로 `arg`에 한 개 또는 여러 개의 메시지를 포함할 수 있습니다. 모든 타입을 사용할 수 있습니다. +메인 프로세스는 `ipc`를 통해 `channel` 이벤트를 리스닝 할 수 있습니다. -`ipc.send`와 비슷하지만 메시지를 메인 프로세스 대신 호스트 페이지로 보냅니다. +### `ipc.sendSync(channel[, arg1][, arg2][, ...])` -이 메소드는 보통 ``와 호스트 페이지 간의 통신에 사용됩니다. +* `channel` String - 이벤트 이름 +* `arg` (optional) + +`channel`을 통해 메인 프로세스에 동기 메시지를 보냅니다. +옵션으로 `arg`에 한 개 또는 여러 개의 메시지를 포함할 수 있습니다. 모든 타입을 사용할 수 있습니다. +메인 프로세스는 `ipc`를 통해 `channel` 이벤트를 리스닝 할 수 있습니다. + +메인 프로세스에선 `ipc` 모듈의 `channel` 이벤트를 통해 받은 `event.returnValue`로 회신 할 수 있습니다. + +**참고:** 동기 메시징은 모든 랜더러 프로세스의 작업을 일시 중단시킵니다. 이 메서드를 사용하는 것을 권장하지 않습니다. + +### `ipc.sendToHost(channel[, arg1][, arg2][, ...])` + +* `channel` String - 이벤트 이름 +* `arg` (optional) + +`ipc.send`와 비슷하지만 이벤트를 메인 프로세스 대신 호스트 페이지내의 ``로 보냅니다. +옵션으로 `arg`에 한 개 또는 여러 개의 메시지를 포함할 수 있습니다. 모든 타입을 사용할 수 있습니다. diff --git a/docs-translations/ko/api/menu.md b/docs-translations/ko/api/menu.md index 62e26f13..6636158c 100644 --- a/docs-translations/ko/api/menu.md +++ b/docs-translations/ko/api/menu.md @@ -183,7 +183,7 @@ Menu.setApplicationMenu(menu); `action`을 어플리케이션의 first responder에 전달합니다. 이 메서드는 Cocoa 메뉴 동작을 에뮬레이트 하는데 사용되며 보통 `MenuItem`의 `selector` 속성에 사용됩니다. -**알림:** 이 메서드는 OS X에서만 사용할 수 있습니다. +**참고:** 이 메서드는 OS X에서만 사용할 수 있습니다. ### Class Method: Menu.buildFromTemplate(template) diff --git a/docs-translations/ko/api/power-save-blocker.md b/docs-translations/ko/api/power-save-blocker.md index e686891a..03bb3bf2 100644 --- a/docs-translations/ko/api/power-save-blocker.md +++ b/docs-translations/ko/api/power-save-blocker.md @@ -23,7 +23,7 @@ powerSaveBlocker.stop(id); Power save blocker를 시작하고 시스템이 저전력 모드(슬립)로 진입하는 것을 막습니다. 정수로 된 식별 ID를 반환합니다. -**알림:** +**참고:** `prevent-display-sleep` 모드는 `prevent-app-suspension` 보다 우선순위가 높습니다. 가장 높은 우선순위의 모드만 작동합니다. 다시 말해 `prevent-display-sleep` 모드는 언제나 `prevent-app-suspension` 모드의 효과를 덮어씌웁니다. diff --git a/docs-translations/ko/api/process.md b/docs-translations/ko/api/process.md index b5f98266..09b57d1b 100644 --- a/docs-translations/ko/api/process.md +++ b/docs-translations/ko/api/process.md @@ -10,3 +10,9 @@ Electron의 `process` 객체는 기존의 node와는 달리 약간의 차이점 ## process.hang 현재 프로세스의 주 스레드를 중단시킵니다. + +## process.setFdLimit(maxDescriptors) _OS X_ _Linux_ + +* `maxDescriptors` Integer + +`maxDescriptors`에 file descriptor 소프트 리미트를 설정하거나 OS 하드 리미트를 설정합니다. 값은 현재 프로세스에 대해 낮은 값이어야 합니다. diff --git a/docs-translations/ko/api/protocol.md b/docs-translations/ko/api/protocol.md index 45cd69ee..0a1c04b6 100644 --- a/docs-translations/ko/api/protocol.md +++ b/docs-translations/ko/api/protocol.md @@ -20,7 +20,7 @@ app.on('ready', function() { }); ``` -**알림:** 이 모듈은 `ready` 이벤트가 호출된 이후에만 사용할 수 있습니다. +**참고:** 이 모듈은 `ready` 이벤트가 호출된 이후에만 사용할 수 있습니다. ## protocol.registerStandardSchemes(schemes) diff --git a/docs-translations/ko/api/remote.md b/docs-translations/ko/api/remote.md index 8700ba21..d5ee74cf 100644 --- a/docs-translations/ko/api/remote.md +++ b/docs-translations/ko/api/remote.md @@ -16,7 +16,7 @@ var win = new BrowserWindow({ width: 800, height: 600 }); win.loadUrl('https://github.com'); ``` -알림: 반대로 하려면(메인 프로세스에서 랜더러 프로세스에 접근) [webContents.executeJavascript](browser-window.md#webcontents-executejavascript-code) API를 사용하면 됩니다. +**참고:** 반대로 하려면(메인 프로세스에서 랜더러 프로세스에 접근) [webContents.executeJavascript](browser-window.md#webcontents-executejavascript-code) API를 사용하면 됩니다. ## Remote 객체 diff --git a/docs-translations/ko/api/tray.md b/docs-translations/ko/api/tray.md index 05decef5..8ee015f9 100644 --- a/docs-translations/ko/api/tray.md +++ b/docs-translations/ko/api/tray.md @@ -169,7 +169,7 @@ __주의:__ 이 기능은 OS X에서만 작동합니다. 트레이에 알림풍선을 생성합니다. -__알림:__ 이 기능은 Windows에서만 작동합니다. +__주의:__ 이 기능은 Windows에서만 작동합니다. ### Tray.popContextMenu([position]) diff --git a/docs-translations/ko/api/window-open.md b/docs-translations/ko/api/window-open.md index 706d7e09..6d7c0b9f 100644 --- a/docs-translations/ko/api/window-open.md +++ b/docs-translations/ko/api/window-open.md @@ -19,7 +19,7 @@ * `message` String * `targetOrigin` String -부모 윈도우에 메시지를 보냅니다. 특정한 origin을 지정할 수도 있으며 `*`를 지정하면 따로 origin 설정을 사용하지 않습니다. +부모 윈도우에 메시지를 보냅니다. origin을 특정할 수 있으며 `*`를 지정하면 따로 origin 설정을 사용하지 않습니다. ## Class: BrowserWindowProxy @@ -52,6 +52,6 @@ Forcefully closes the child window without calling its unload event. * `message` String * `targetOrigin` String -자식 윈도우에 메시지를 보냅니다. 특정한 origin을 지정할 수도 있으며 `*`를 지정하면 따로 origin 설정을 사용하지 않습니다. +자식 윈도우에 메시지를 보냅니다. origin을 특정할 수 있으며 `*`를 지정하면 따로 origin 설정을 사용하지 않습니다. 참고로 자식 윈도우의 `window.opener` 객체에는 다른 속성 없이 이 메서드 한 개만 구현되어 있습니다. diff --git a/docs-translations/ko/development/atom-shell-vs-node-webkit.md b/docs-translations/ko/development/atom-shell-vs-node-webkit.md index f688204d..aa0d3e19 100644 --- a/docs-translations/ko/development/atom-shell-vs-node-webkit.md +++ b/docs-translations/ko/development/atom-shell-vs-node-webkit.md @@ -1,6 +1,6 @@ # NW.js와 기술적으로 다른점 (이전 node-webkit) -__알림: Electron은 이전까지 Atom Shell로 불려졌습니다.__ +__주의: Electron은 Atom Shell의 새로운 이름입니다.__ NW.js 처럼 Electron은 JavaScript와 HTML 그리고 Node 통합환경을 제공함으로써 웹 페이지에서 저수준 시스템에 접근할 수 있는 웹 기반 데스크탑 어플리케이션을 작성할 수 있도록 합니다. diff --git a/docs-translations/ko/development/build-instructions-linux.md b/docs-translations/ko/development/build-instructions-linux.md index 285b933d..adcdab83 100644 --- a/docs-translations/ko/development/build-instructions-linux.md +++ b/docs-translations/ko/development/build-instructions-linux.md @@ -4,7 +4,7 @@ * Python 2.7.x. 몇몇 CentOS와 같은 배포판들은 아직도 Python 2.6.x 버전을 사용합니다. 그래서 `python -V`를 통해 버전을 확인해 줄 필요가 있습니다. * Node.js v0.12.x. Node를 설치하는 방법은 여러가지가 있습니다. 그중 하나는 [Node.js](http://nodejs.org) 사이트에서 소스코드를 받아 빌드하는 방법입니다. -이렇게 하면 Node를 일반 유저로 홈 디렉터리에 설치할 수 있습니다. 또는 [NodeSource](https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories) 에서 받아올 수도 있습니다. +이렇게 하면 Node를 일반 유저로 홈 디렉터리에 설치할 수 있습니다. 또는 [NodeSource](https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories)에서 소스 파일을 받아올 수 있습니다. 자세한 내용은 [Node.js 설치 방법](https://github.com/joyent/node/wiki/Installation) 을 참고하세요. * Clang 3.4 또는 최신 버전 * GTK+ 와 libnotify의 개발용 헤더 @@ -78,7 +78,7 @@ $ ./script/create-dist.py 이 스크립트는 매우 작은 배포판을 `dist` 디렉터리에 생성합니다. create-dist.py 스크립트를 실행한 이후 1.3GB를 초과하는 공간을 차지하는 out/R 폴더의 실행파일 바이너리는 삭제해도 됩니다. -`Debug` 타겟만 빌드 할 수도 있습니다: +또는 `Debug` 타겟만 빌드 할 수 있습니다: ```bash $ ./script/build.py -c D diff --git a/docs-translations/ko/development/build-instructions-mac.md b/docs-translations/ko/development/build-instructions-mac.md index ffab481c..eeed5a4d 100644 --- a/docs-translations/ko/development/build-instructions-mac.md +++ b/docs-translations/ko/development/build-instructions-mac.md @@ -34,7 +34,7 @@ $ ./script/bootstrap.py -v $ ./script/build.py ``` -`Debug` 타겟만 빌드 할 수도 있습니다: +또는 `Debug` 타겟만 빌드 할 수 있습니다: ```bash $ ./script/build.py -c D diff --git a/docs-translations/ko/development/build-instructions-windows.md b/docs-translations/ko/development/build-instructions-windows.md index df829de3..22734b1e 100644 --- a/docs-translations/ko/development/build-instructions-windows.md +++ b/docs-translations/ko/development/build-instructions-windows.md @@ -9,7 +9,7 @@ * [git](http://git-scm.com) 현재 Windows를 설치하지 않았다면 [modern.ie](https://www.modern.ie/en-us/virtualization-tools#downloads)에서 -사용기한이 정해져있는 무료 가상머신 버전의 Windows를 받아 Electron을 빌드할 수도 있습니다. +사용 기한이 정해져있는 무료 가상머신 버전의 Windows를 받아 Electron을 빌드하는 방법도 있습니다. Electron은 전적으로 command-line 스크립트를 사용하여 빌드합니다. 그렇기에 Electron을 개발하는데 아무런 에디터나 사용할 수 있습니다. 하지만 이 말은 Visual Studio를 개발을 위해 사용할 수 없다는 말이 됩니다. 나중에 Visual Studio를 이용한 빌드 방법도 제공할 예정입니다. @@ -40,7 +40,7 @@ python script\bootstrap.py -v python script\build.py ``` -`Debug` 타겟만 빌드 할 수도 있습니다: +또는 `Debug` 타겟만 빌드 할 수 있습니다: ```powershell python script\build.py -c D diff --git a/docs-translations/ko/styleguide.md b/docs-translations/ko/styleguide.md index 1916f80c..1168556a 100644 --- a/docs-translations/ko/styleguide.md +++ b/docs-translations/ko/styleguide.md @@ -41,7 +41,7 @@ Electron 문서 구조를 이해하는 데 참고할 수 있는 유용한 도움 --- 메서드 이름은 인수가 무엇을 받는지에 따라 결정됩니다. 선택적 인수는 브라켓([, ])으로 묶어 -이 인수가 다른 인수뒤에 선택적으로 사용할 수 있다는 것을 설명합니다. +이 인수가 다른 인수뒤에서 선택적으로 사용될 수 있다는 것을 표시합니다. 메서드의 밑에선 각 인수에 대해 자세한 설명을 합니다. 인수의 타입은 일반적인 타입 중 하나를 받거나: [`String`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), [`Number`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), [`Object`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object), [`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) diff --git a/docs-translations/ko/tutorial/application-packaging.md b/docs-translations/ko/tutorial/application-packaging.md index 4c799d71..0f816908 100644 --- a/docs-translations/ko/tutorial/application-packaging.md +++ b/docs-translations/ko/tutorial/application-packaging.md @@ -134,7 +134,7 @@ originalFs.readFileSync('/path/to/example.asar'); ## `asar` 아카이브에 미리 압축 해제된 파일 추가하기 전술한 바와 같이 몇몇 Node API는 호출 시 해당 파일을 임시폴더에 압축을 해제합니다. -따로 성능문제가 발생할 수 있습니다. 그리고 백신 소프트웨어의 잘못된 오진을 일으킬 수도 있습니다. +이 방법은 성능문제가 발생할 수 있습니다. 그리고 설계상 백신 소프트웨어에서 잘못 진단하여 바이러스로 판단 할 수도 있습니다. 이 문제를 해결하려면 `--unpack` 옵션을 활용하여 파일을 압축이 풀려진 상태로 유지해야 합니다. 다음의 예제는 node 네이티브 모듈의 공유 라이브러리를 unpack 상태로 유지합니다: diff --git a/docs-translations/ko/tutorial/debugging-main-process.md b/docs-translations/ko/tutorial/debugging-main-process.md index f396071c..dcaf6bc9 100644 --- a/docs-translations/ko/tutorial/debugging-main-process.md +++ b/docs-translations/ko/tutorial/debugging-main-process.md @@ -26,13 +26,13 @@ $ node-inspector ### 2. Electron용 디버그 모드 활성화 -다음과 같이 debung 플래그로 Electron을 실행할 수도 있습니다: +다음과 같이 debung 플래그로 Electron을 실행할 수 있습니다: ```bash $ electron --debug=5858 your/app ``` -또는 스크립트 첫번째 라인에서 일시정지: +또는 스크립트 첫번째 라인에서 일시 정지할 수 있습니다: ```bash $ electron --debug-brk=5858 your/app diff --git a/docs-translations/ko/tutorial/online-offline-events.md b/docs-translations/ko/tutorial/online-offline-events.md index 6a2e88fb..3ccf20c7 100644 --- a/docs-translations/ko/tutorial/online-offline-events.md +++ b/docs-translations/ko/tutorial/online-offline-events.md @@ -35,10 +35,10 @@ _online-status.html_ ``` -필요한 경우 이 이벤트를 메인 프로세스로 보낼 수도 있습니다. -메인 프로세스는 `navigator` 오브젝트를 가지고 있지 않기 때문에 이 이벤트를 직접 사용할 수 없습니다. -이는 다음 예제와 같이 electron의 inter-process communication(ipc)유틸리티를 사용하여 -이벤트를 메인 프로세스로 전달하는 것으로 해결할 수 있습니다. +물론 필요하다면 이 이벤트를 메인 프로세스로 보낼 수도 있습니다. +하지만 메인 프로세스는 `navigator` 객체를 가지고 있지 않기 때문에 이 이벤트를 직접 사용할 수 없습니다. + +대신 다음 예제와 같이 Electron의 inter-process communication(ipc) 유틸리티를 사용하면 이벤트를 메인 프로세스로 전달할 수 있습니다. _main.js_ diff --git a/docs-translations/ko/tutorial/quick-start.md b/docs-translations/ko/tutorial/quick-start.md index 39d9edfd..37b48d99 100644 --- a/docs-translations/ko/tutorial/quick-start.md +++ b/docs-translations/ko/tutorial/quick-start.md @@ -125,7 +125,7 @@ app.on('ready', function() { ## 앱 실행하기 앱을 작성한 후 [어플리케이션 배포](application-distribution.md) 가이드를 따라 앱을 패키징 하고 패키징한 앱을 실행할 수 있습니다. -또는 Electron 실행파일을 다운로드 받아 바로 실행해 볼 수도 있습니다. +또한 Electron 실행파일을 다운로드 받아 바로 실행해 볼 수도 있습니다. ### electron-prebuilt diff --git a/docs-translations/ko/tutorial/using-native-node-modules.md b/docs-translations/ko/tutorial/using-native-node-modules.md index 5b8f7121..4584ebd4 100644 --- a/docs-translations/ko/tutorial/using-native-node-modules.md +++ b/docs-translations/ko/tutorial/using-native-node-modules.md @@ -40,7 +40,7 @@ $ HOME=~/.electron-gyp node-gyp rebuild --target=0.29.1 --arch=x64 --dist-url=ht ### npm을 이용한 방법 -또한 `npm`을 사용하여 모듈을 설치할 수도 있습니다. +또한 `npm`을 통해 설치할 수도 있습니다. 환경변수가 필요한 것을 제외하고 일반 Node 모듈을 설치하는 방법과 완전히 똑같습니다: ```bash diff --git a/docs-translations/ko/tutorial/using-pepper-flash-plugin.md b/docs-translations/ko/tutorial/using-pepper-flash-plugin.md index 4a471c24..4577bc29 100644 --- a/docs-translations/ko/tutorial/using-pepper-flash-plugin.md +++ b/docs-translations/ko/tutorial/using-pepper-flash-plugin.md @@ -1,6 +1,7 @@ # Pepper 플래시 플러그인 사용하기 -필요하다면 Pepper 플래시 플러그인을 사용할 수 있습니다. Electron에서 pepper 플래시 플러그인을 사용하기 위해선 따로 pepper 플래시 플러그인의 위치를 지정해 주어야합니다. +작업에 필요한 경우 pepper 플래시 플러그인을 사용할 수 있습니다. +Electron에서 pepper 플래시 플러그인을 사용하기 위해선 따로 pepper 플래시 플러그인의 위치를 지정해 주어야합니다. ## 플래시 플러그인 준비하기 -- 2.43.0