From 05def654c3cba14fcd809bed6f04cb06e45f3852 Mon Sep 17 00:00:00 2001 From: Plusb Preco Date: Thu, 30 Jul 2015 09:56:27 +0900 Subject: [PATCH] Translate web-view-tag-tag-ko.md, improve grammer --- docs/api/content-tracing-ko.md | 5 +- docs/api/screen-ko.md | 6 +- docs/api/web-view-tag-ko.md | 207 ++++++++---------- .../build-instructions-windows-ko.md | 2 +- 4 files changed, 99 insertions(+), 121 deletions(-) diff --git a/docs/api/content-tracing-ko.md b/docs/api/content-tracing-ko.md index defa29fd..9758d923 100644 --- a/docs/api/content-tracing-ko.md +++ b/docs/api/content-tracing-ko.md @@ -20,10 +20,7 @@ tracing.startRecording('*', tracing.DEFAULT_OPTIONS, function() { * `callback` Function -카테고리 그룹 세트를 가져옵니다. 카테고리 그룹은 도달 대상이 되는 코드 경로를 변경할 수 있습니다. - -Get a set of category groups. The category groups can change as new code paths -are reached. +카테고리 그룹 세트를 가져옵니다. 카테고리 그룹은 도달된 코드 경로를 변경할 수 있습니다. Once all child processes have acked to the `getCategories` request, `callback` is invoked with an array of category groups. diff --git a/docs/api/screen-ko.md b/docs/api/screen-ko.md index 6b508991..44f0c1ea 100644 --- a/docs/api/screen-ko.md +++ b/docs/api/screen-ko.md @@ -56,14 +56,14 @@ app.on('ready', function() { * `event` Event * `newDisplay` Object -새로운 디스플레이가 추가되면 발생합니다. +새로운 디스플레이가 추가되면 발생하는 이벤트입니다. ## Event: display-removed * `event` Event * `oldDisplay` Object -기존의 디스플레이가 제거되면 발생합니다. +기존의 디스플레이가 제거되면 발생하는 이벤트입니다. ## Event: display-metrics-changed @@ -71,7 +71,7 @@ app.on('ready', function() { * `display` Object * `changedMetrics` Array -`display`의 하나 또는 다수의 매트릭스가 변경될 경우 발생합니다. +`display`의 하나 또는 다수의 매트릭스가 변경될 때 발생하는 이벤트입니다. `changedMetrics`는 변경에 대한 정보를 담은 문자열의 배열입니다. `bounds`, `workArea`, `scaleFactor`, `rotation`등이 변경될 수 있습니다. diff --git a/docs/api/web-view-tag-ko.md b/docs/api/web-view-tag-ko.md index 9054d182..abef526d 100644 --- a/docs/api/web-view-tag-ko.md +++ b/docs/api/web-view-tag-ko.md @@ -1,31 +1,24 @@ # `` 태그 -Use the `webview` tag to embed 'guest' content (such as web pages) in your -Electron app. The guest content is contained within the `webview` container; -an embedder page within your app controls how the guest content is laid out and -rendered. +`guest` 컨텐츠(웹 페이지)를 Electron 앱 페이지에 삽입하기 위해 `webview` 태그를 사용할 수 있습니다. +게스트 컨텐츠는 `webview` 컨테이너에 담겨 대상 페이지에 삽입되고 해당 페이지에선 게스트 컨텐츠의 배치 및 렌더링 과정을 조작할 수 있습니다. -Different from the `iframe`, the `webview` runs in a separate process than your -app; it doesn't have the same permissions as your web page and all interactions -between your app and embedded content will be asynchronous. This keeps your app -safe from the embedded content. +`iframe`과 `webview`의 차이는 어플리케이션과 프로세스가 분리되어 돌아간다는 점입니다. +그것은 모든 권한이 웹 페이지와 같지 않고 모든 앱과 임베디드(게스트) 컨텐츠간의 상호작용이 비동기로 작동한다는 것을 의미합니다. +이에 따라 임베디드 컨텐츠로부터 어플리케이션을 안전하게 유지할 수 있습니다. ## 예제 -To embed a web page in your app, add the `webview` tag to your app's embedder -page (this is the app page that will display the guest content). In its simplest -form, the `webview` tag includes the `src` of the web page and css styles that -control the appearance of the `webview` container: +웹 페이지를 어플리케이션에 삽입하려면 `webview` 태그를 사용해 원하는 타겟 페이지에 추가하면 됩니다. (게스트 컨텐츠가 앱 페이지에 추가 됩니다) +간단한 예로 `webview` 태그의 `src` 속성에 페이지를 지정하고 css 스타일을 이용해서 컨테이너의 외관을 설정할 수 있습니다: ```html ``` -If you want to control the guest content in any way, you can write JavaScript -that listens for `webview` events and responds to those events using the -`webview` methods. Here's sample code with two event listeners: one that listens -for the web page to start loading, the other for the web page to stop loading, -and displays a "loading..." message during the load time: +게스트 컨텐츠를 조작하기 위해 자바스크립트로 `webview` 태그의 이벤트를 리스닝 하여 응답을 받을 수 있습니다. +다음 예제를 참고하세요: 첫번째 리스너는 페이지 로딩 시작시의 이벤트를 확인하고 두번째 리스너는 페이지의 로딩이 끝난시점을 확인합니다. +그리고 페이지를 로드하는 동안 "loading..." 메시지를 표시합니다. ```html