diff --git a/docs-translations/ko-KR/api/app.md b/docs-translations/ko-KR/api/app.md index 709e97c88939..44fb62915e88 100644 --- a/docs-translations/ko-KR/api/app.md +++ b/docs-translations/ko-KR/api/app.md @@ -220,14 +220,7 @@ Returns: * `event` Event * `webContents` [WebContents](web-contents.md) * `url` URL -* `certificateList` [Objects] - * `data` String - PEM으로 인코딩된 데이터 - * `issuerName` String - 인증서 발급자의 공통 이름 - * `subjectName` String - 대상의 공통 이름 - * `serialNumber` String - 문자열로 표현된 hex 값 - * `validStart` Integer - 초 단위의 인증서가 유효하기 시작한 날짜 - * `validExpiry` Integer - 초 단위의 인증서가 만료되는 날짜 - * `fingerprint` String - 인증서의 지문 +* `certificateList` [Certificate[]](structures/certificate.md) * `callback` Function 클라이언트 인증이 요청되었을 때 발생하는 이벤트입니다. @@ -521,7 +514,7 @@ Returns `Boolean` ### `app.setUserTasks(tasks)` _Windows_ -* `tasks` Array - `Task` 객체의 배열 +* `tasks` [Task[]](structures/task.md) - `Task` 객체의 배열 Windows에서 사용할 수 있는 JumpList의 [Tasks][tasks] 카테고리에 `task`를 추가합니다. @@ -551,14 +544,14 @@ Returns `Boolean` - 호출 성공 여부. Returns `Object`: * `minItems` Integer - 점프 목록에서 보여질 항목의 최소 수 (이 값에 대한 자세한 설명은 [MSDN 문서][JumpListBeginListMSDN])를 보세요. -* `removedItems` Array - 점프 목록의 사용자 정의 카테고리에서 사용자가 삭제한 +* `removedItems` [JumpListItem[]](structures/jump-list-item.md) - 점프 목록의 사용자 정의 카테고리에서 사용자가 삭제한 항목에 해당하는 `JumpListItem` 객체 배열. 이 항목들은 **다음** `app.setJumpList()` 호출로 다시 추가하면 안됩니다. 윈도우는 삭제된 항목을 포함하는 카테고리를 표시하지 않을 것 입니다. ### `app.setJumpList(categories)` _Windows_ -* `categories` Array or `null` - `JumpListCategory` 객체의 배열. +* `categories` [JumpListCategory[]](structures/jump-list-category.md) or `null` - `JumpListCategory` 객체의 배열. 애플리케이션에 사용자 정의 점프 목록을 설정하거나 삭제하고 다음 문자열 중 하나를 반환: @@ -582,16 +575,16 @@ Returns `Object`: * `tasks` - 이 카테고리의 항목은 표준 `Tasks` 카테고리에 위치할 것 입니다. 이 카테고리는 하나만 존재하며, 항상 점프 목록의 하단에 보여집니다. * `frequent` - 앱에 의해 자주 열린 파일의 목록을 보여줍니다. 카테고리의 - 이름과 항목들은 윈도우에 읳해 설정 됩니다. + 이름과 항목들은 윈도우에 의해 설정 됩니다. * `recent` - 앱에 의해 최근에 열린 파일의 목록을 보여줍니다. 카테고리의 이름과 항목들은 윈도우에 의해 설정 됩니다. `app.addRecentDocument(path)` 을 사용하면 간접적으로 이 카테고리에 항목이 추가될 것 입니다. * `custom` - 작업 또는 파일 링크를 보여주며, 앱에 의해 `name` 설정되어야 합니다. * `name` String - `type` 이 `custom` 이면 꼭 설정되어야 하고, 그 외는 생략합니다. -* `items` Array - `type` 이 `taks` 면 `JumpListItem` 객체의 배열, 그 외는 +* `items` Array - `type` 이 `tasks` 면 `JumpListItem` 객체의 배열, 그 외는 생략합니다. -**참고:** `JumpListCategory` 객체가 `type`, `name` 솏속성 둘 다 없다면 `type` 은 +**참고:** `JumpListCategory` 객체가 `type`, `name` 속성 둘 다 없다면 `type` 은 `tasks` 로 가정합니다. `name` 속성이 설정되었지만 `type` 속성이 생략된 경우 `type` 은 `custom` 으로 가정합니다. @@ -619,10 +612,9 @@ Returns `Object`: 설정되어야 합니다. * `description` String - 작업의 설명 (툴팁으로 표시됨). `type` 이 `task` 일 경우만 설정되어야 합니다. -* `iconPath` String - The absolute path to an icon to be displayed in a - Jump List, which can be an arbitrary resource file that contains an icon - (e.g. `.ico`, `.exe`, `.dll`). You can usually specify `process.execPath` to - show the program icon. +* `iconPath` String - 점프 목록에서 보여질 아이콘의 절대 경로. 아이콘을 포함하는 + 임의의 자원 파일 경로일 수 있습니다. (예. `.ico`, `.exe`, `.dll`). 일반적으로 + 프로그램 아이콘을 보여주기 위해 `process.execPath` 를 명시할 수 있습니다. * `iconIndex` Integer - 리소스 파일의 아이콘 인덱스. 리소스 파일이 여러 아이콘을 포함하고 있다면 이 작업을 위해 표시되어야 할 아이콘의 0 기준 인덱스를 명시할 수 있다. 리소스 파일이 하나의 아이콘만 가지고 있다면 이 속성은 0 이어야 합니다. diff --git a/docs-translations/ko-KR/api/browser-window.md b/docs-translations/ko-KR/api/browser-window.md index 22f593ebb046..01f1a73645b2 100644 --- a/docs-translations/ko-KR/api/browser-window.md +++ b/docs-translations/ko-KR/api/browser-window.md @@ -654,34 +654,27 @@ Returns `Boolean` - 윈도우가 전체화면 모드인지 여부. 크기는 관여하지 않습니다. 그저 전체 콘텐츠 뷰 내에 있는 모든 엑스트라 너비, 높이 영역이 합해집니다. -#### `win.setBounds(options[, animate])` - -* `options` Object - - * `x` Integer - * `y` Integer - * `width` Integer - * `height` Integer +#### `win.setBounds(bounds[, animate])` +* `bounds` [Rectangle](structures/rectangle.md) * `animate` Boolean (optional) _macOS_ -윈도우를 지정한 `width`, `height`, `x`, `y`로 크기 재조정 및 이동합니다. +윈도우를 주어진 영역으로 크기 재조정 및 이동합니다. #### `win.getBounds()` -Returns `Object`: -* `width` Integer -* `height` Integer -* `x` Integer -* `y` Integer +Returns [`Rectangle`](structures/rectangle.md) + +#### `win.setContentBounds(bounds[, animate])` + +* `bounds` [Rectangle](structures/rectangle.md) +* `animate` Boolean (optional) _macOS_ + +윈도우의 내부 영역 (예. 웹페이지) 을 주어진 영역으로 크기 재조정 및 이동합니다. #### `win.getContentBounds()` -Returns `Object`: -* `width` Integer -* `height` Integer -* `x` Integer -* `y` Integer +* `bounds` [`Rectangle`](structures/rectangle.md) 윈도우의 클라이언트 영역 (웹 페이지)의 너비, 높이, x, y 값을 포함하는 객체를 반환합니다. @@ -946,11 +939,7 @@ Returns `Boolean` - 윈도우의 문서가 변경되었는지 여부. #### `win.capturePage([rect, ]callback)` -* `rect` Object (optional) - 캡쳐될 페이지의 영역 - * `x` Integer - * `y` Integer - * `width` Integer - * `height` Integer +* `rect` [Rectangle](structures/rectangle.md) (optional) - 캡쳐될 페이지의 영역 * `callback` Function `webContents.capturePage([rect, ]callback)`와 같습니다. @@ -1038,7 +1027,9 @@ Windows와 Linux에선 항상 `true`를 반환합니다. #### `win.setThumbarButtons(buttons)` _Windows_ -* `buttons` - Array +* `buttons` [ThumbarButton[]](structures/thumbar-button.md) + +Returns `Boolean` - 버튼이 성공적으로 추가되었는지 여부 윈도우 작업표시줄 버튼 레이아웃의 미리보기 이미지 영역에 미리보기 툴바와 버튼 세트를 추가합니다. 반환되는 `Boolean` 값은 미리보기 툴바가 성공적으로 추가됬는지를 알려줍니다. @@ -1071,11 +1062,7 @@ Windows와 Linux에선 항상 `true`를 반환합니다. #### `win.setThumbnailClip(region)` _Windows_ -* `region` Object - Region of the window - * `x` Integer - 영역의 x 위치 - * `y` Integer - 영역의 y 위치 - * `width` Integer - 영역의 너비 - * `height` Integer - 영역의 높이 +* `region` [Rectangle](structures/rectangle.md) - 윈도우의 영역 작업 표시줄에 윈도우의 섬네일이 표시될 때 섬네일 이미지로 사용할 윈도우의 영역을 지정합니다. 빈 영역을 지정하는 것으로 전체 윈도우의 섬네일로 초기화할 수 있습니다: diff --git a/docs-translations/ko-KR/api/screen.md b/docs-translations/ko-KR/api/screen.md index 185314daf266..924babd7947f 100644 --- a/docs-translations/ko-KR/api/screen.md +++ b/docs-translations/ko-KR/api/screen.md @@ -49,24 +49,6 @@ app.on('ready', () => { }) ``` -## `Display` 객체 - -`Display` 객체는 시스템에 연결된 물리적인 디스플레이를 표현합니다. 헤드레스(headless) -시스템에선 가짜 `Display` 객체가 보여지거나 리모트(remote), 가상 디스플레이에 -해당하게 됩니다. - -* `display` object - * `id` Integer - 디스플레이에 관련된 유일 식별자. - * `rotation` Integer - 값은 0, 90, 180, 270이 될 수 있고, 각 값은 시계 방향을 - 기준으로 0, 90, 180, 270도의 화면 회전 상태를 표현합니다. - * `scaleFactor` Number - 기기의 픽셀 스케일 크기. - * `touchSupport` String - 터치 스크린의 여부, `available`, `unavailable`, - `unknown` 값으로 반환됩니다. - * `bounds` Object - * `size` Object - * `workArea` Object - * `workAreaSize` Object - ## Events `screen` 모듈은 다음과 같은 이벤트를 가지고 있습니다: @@ -76,25 +58,25 @@ app.on('ready', () => { Returns: * `event` Event -* `newDisplay` Object +* `newDisplay` [Display](structures/display.md) -새로운 디스플레이가 추가되면 발생하는 이벤트입니다. +`newDisplay` 가 추가되면 발생하는 이벤트입니다. ### Event: 'display-removed' Returns: * `event` Event -* `oldDisplay` Object +* `oldDisplay` [Display](structures/display.md) -기존의 디스플레이가 제거되면 발생하는 이벤트입니다. +`oldDisplay` 가 제거되면 발생하는 이벤트입니다. ### Event: 'display-metrics-changed' Returns: * `event` Event -* `display` Object +* `display` [Display](structures/display.md) * `changedMetrics` String[] `display`에서 하나 또는 다수의 매트릭스가 변경될 때 발생하는 이벤트입니다. @@ -131,10 +113,6 @@ Returns `Display` - 지정한 좌표에 가까운 디스플레이. ### `screen.getDisplayMatching(rect)` -* `rect` Object - * `x` Integer - * `y` Integer - * `width` Integer - * `height` Integer +* `rect` [Rectangle](structures/rectangle.md) Returns `Display` - 지정한 범위에 가장 가깝게 교차한 디스플레이. diff --git a/docs-translations/ko-KR/api/shell.md b/docs-translations/ko-KR/api/shell.md index c443edcf8daa..f85c745232cd 100644 --- a/docs-translations/ko-KR/api/shell.md +++ b/docs-translations/ko-KR/api/shell.md @@ -67,19 +67,7 @@ Returns `Boolean` - 아이템이 성공적으로 휴지통으로 이동되었는 * `update` - 이미 존재하는 바로가기의 특정한 속성을 갱신합니다. * `replace` - 이미 존재하는 바로가기를 덮어씁니다. 바로가기가 존재하지 않으면 실패합니다. -* `options` Object - * `target` String - 이 바로가기로부터 실행될 대상입니다. - * `cwd` String (optional) - 작업 디렉토리입니다. 기본값은 없습니다. - * `args` String (optional) - 이 바로가기로부터 실행될 때 `target`에 적용될 인수 - 값입니다. 기본값은 없습니다. - * `description` String (optional) - 바로가기의 설명입니다. 기본값은 없습니다. - * `icon` String (optional) - 아이콘의 경로입니다. DLL 또는 EXE가 될 수 있습니다. - `icon`과 `iconIndex`는 항상 같이 설정되어야 합니다. 기본값은 없으며 `target`의 - 아이콘을 사용합니다. - * `iconIndex` Integer (optional) - `icon`이 DLL 또는 EXE일 때 사용되는 아이콘의 - 리소스 ID이며 기본값은 0입니다. - * `appUserModelId` String (optional) - 애플리케이션 사용자 모델 ID입니다. - 기본값은 없습니다. +* `options` [ShortcutDetails](structures/shortcut-details.md) Returns `Boolean` - 바로가기 생성 여부. @@ -89,19 +77,7 @@ Returns `Boolean` - 바로가기 생성 여부. * `shortcutPath` String -Returns `Object`: -* `target` String - 바로가기로 실행할 대상. -* `cwd` String (optional) - 작업 디렉토리. 기본값은 빈 문자열. -* `args` String (optional) - 바로가기로 실행할 때 `target` 에 적용될 인수. - 기본값은 빈 문자열. -* `description` String (optional) - 바로가기의 설명. 기본값은 빈 문자열. -* `icon` String (optional) - 아이콘의 경로. DLL 이나 EXE 일 수 있다. `icon` 과 - `iconIndex` 는 함께 설정해야 합니다. 기본값은 빈 문자열이며, 타겟의 아이콘을 - 사용합니다. -* `iconIndex` Integer (optional) - `icon` 이 DLL 이나 EXE 일 경우 아이콘의 - 리소스 ID. 기본값은 0. -* `appUserModelId` String (optional) - 애플리케이션 사용자 모델 ID. 기본값은 빈 - 문자열. +Returns [`ShortcutDetails`](structures/shortcut-details.md) Resolves the shortcut link at `shortcutPath`. `shortcutPath`에 위치한 바로가기 링크를 해석합니다. `shell.writeShortcutLink` diff --git a/docs-translations/ko-KR/api/structures/certificate.md b/docs-translations/ko-KR/api/structures/certificate.md new file mode 100644 index 000000000000..e8e26f0378a9 --- /dev/null +++ b/docs-translations/ko-KR/api/structures/certificate.md @@ -0,0 +1,9 @@ +# Certificate Object + +* `data` String - PEM 인코딩된 데이터 +* `issuerName` String - 인증서 발급자의 공통 이름 +* `subjectName` String - 대상의 공통 이름 +* `serialNumber` String - 문자열로 표현된 hex 값 +* `validStart` Integer - 초 단위의 인증서가 유효하기 시작한 날짜 +* `validExpiry` Integer - 초 단위의 인증서가 만료되는 날짜 +* `fingerprint` String - 인증서의 지문 diff --git a/docs-translations/ko-KR/api/structures/display.md b/docs-translations/ko-KR/api/structures/display.md new file mode 100644 index 000000000000..69e7897bbd29 --- /dev/null +++ b/docs-translations/ko-KR/api/structures/display.md @@ -0,0 +1,18 @@ +# Display Object + +* `id` Number - 디스플레이와 관련된 고유 식별자. +* `rotation` Number - 0, 90, 180, 270, 시계 방향의 화면 회전을 표시. +* `scaleFactor` Number - 출력 장치의 화소 배율. +* `touchSupport` String - `available`, `unavailable`, `unknown`. +* `bounds` [Rectangle](rectangle.md) +* `size` Object + * `height` Number + * `width` Number +* `workArea` [Rectangle](rectangle.md) +* `workAreaSize` Object + * `height` Number + * `width` Number + +`Display` 객체는 시스템에 연결된 물리 디스플레이입니다. 머리가 없는 시스템에서는 +가짜 `Display` 가 존재할 수 있습니다. 또는 `Display` 는 원격 가상 디스플레이일 +수 있습니다. diff --git a/docs-translations/ko-KR/api/structures/jump-list-category.md b/docs-translations/ko-KR/api/structures/jump-list-category.md new file mode 100644 index 000000000000..e8ddb3882c37 --- /dev/null +++ b/docs-translations/ko-KR/api/structures/jump-list-category.md @@ -0,0 +1,18 @@ +# JumpListCategory Object + +* `type` String - 다음 중 하나: + * `tasks` - 이 카테고리의 항목은 표준 `Tasks` 카테고리에 위치할 것 입니다. + 이 카테고리는 하나만 존재하며, 항상 점프 목록의 하단에 보여집니다. + * `frequent` - 앱에 의해 자주 열린 파일의 목록을 보여줍니다. 카테고리의 + 이름과 항목들은 윈도우에 의해 설정 됩니다. + * `recent` - 앱에 의해 최근에 열린 파일의 목록을 보여줍니다. 카테고리의 + 이름과 항목들은 윈도우에 의해 설정 됩니다. `app.addRecentDocument(path)` 을 + 사용하면 간접적으로 이 카테고리에 항목이 추가될 것 입니다. + * `custom` - 작업 또는 파일 링크를 보여주며, 앱에 의해 `name` 설정되어야 합니다. +* `name` String - `type` 이 `custom` 이면 꼭 설정되어야 하고, 그 외는 생략합니다. +* `items` JumpListItem[] - `type` 이 `tasks` 또는 `custom` 이면 [`JumpListItem`] + (jump-list-item.md) 객체의 배열, 그 외는 생략합니다. + +**참고:** `JumpListCategory` 객체가 `type`, `name` 속성 둘 다 없다면 `type` 은 +`tasks` 로 가정합니다. `name` 속성이 설정되었지만 `type` 속성이 생략된 경우 +`type` 은 `custom` 으로 가정합니다. diff --git a/docs-translations/ko-KR/api/structures/jump-list-item.md b/docs-translations/ko-KR/api/structures/jump-list-item.md new file mode 100644 index 000000000000..32b89092ddec --- /dev/null +++ b/docs-translations/ko-KR/api/structures/jump-list-item.md @@ -0,0 +1,25 @@ +# JumpListItem Object + +* `type` String - 다음 중 하나: + * `task` - 특정 인수로 앱을 실행시킬 작업. + * `separator` - 표준 `Tasks` 범주에서 항목을 구분하는데 사용할 수 있습니다. + * `file` - 점프 목록을 만든 앱을 사용하여 파일을 열 파일 링크. 이것이 + 동작하려면 그 파일 형식을 앱이 처리할 수 있게 등록되있어야 한다. (하지만, + 그것이 기본 처리기일 필요는 없습니다.). +* `path` String - 파일을 열기 위한 경로. `type` 이 `file` 경우에만 설정되어야 + 한다. +* `program` String - 실행하기 위한 프로그램의 경로. 일반적으로 현재 프로그램을 + 열기 위해 `process.execPath` 를 지정해야 합니다. `type` 이 `task` 일 경우만 + 설정되어야 한다. +* `args` String - `program` 이 실행됐을 때의 명령줄 인수. `type` 이 `task` 일 + 경우만 설정되어야 한다. +* `title` String - 점프 목록에서 항목에 표시될 글자. `type` 이 `task` 일 경우만 + 설정되어야 한다. +* `description` String - 작업의 설명 (툴팁으로 표시된다). `type` 이 `task` 일 + 경우만 설정되어야 한다. +* `iconPath` String - 점프 목록에서 보여질 아이콘의 절대 경로. 아이콘을 포함하는 + 임의의 자원 파일 경로일 수 있습니다. (예. `.ico`, `.exe`, `.dll`). 일반적으로 + 프로그램 아이콘을 보여주기 위해 `process.execPath` 를 명시할 수 있습니다. +* `iconIndex` Integer - 리소스 파일의 아이콘 인덱스. 리소스 파일이 여러 아이콘을 + 포함하고 있다면 이 작업을 위해 표시되어야 할 아이콘의 0 기준 인덱스를 명시할 + 수 있다. 리소스 파일이 하나의 아이콘만 가지고 있다면 이 속성은 0 이어야 한다. diff --git a/docs-translations/ko-KR/api/structures/memory-usage-details.md b/docs-translations/ko-KR/api/structures/memory-usage-details.md new file mode 100644 index 000000000000..228a4452907b --- /dev/null +++ b/docs-translations/ko-KR/api/structures/memory-usage-details.md @@ -0,0 +1,8 @@ +# MemoryUsageDetails Object + +* `count` Number +* `size` Number +* `liveSize` Number +* `decodedSize` Number +* `purgedSize` Number +* `purgeableSize` Number diff --git a/docs-translations/ko-KR/api/structures/rectangle.md b/docs-translations/ko-KR/api/structures/rectangle.md new file mode 100644 index 000000000000..642ff4f9238f --- /dev/null +++ b/docs-translations/ko-KR/api/structures/rectangle.md @@ -0,0 +1,6 @@ +# Rectangle Object + +* `x` Number - 사각형의 원점 x 좌표 +* `y` Number - 사각형의 원점 y 좌표 +* `width` Number +* `height` Number diff --git a/docs-translations/ko-KR/api/structures/shortcut-details.md b/docs-translations/ko-KR/api/structures/shortcut-details.md new file mode 100644 index 000000000000..dcd13c51d139 --- /dev/null +++ b/docs-translations/ko-KR/api/structures/shortcut-details.md @@ -0,0 +1,14 @@ +# ShortcutDetails Object + +* `target` String - 이 바로가기로부터 실행될 대상입니다. +* `cwd` String (optional) - 작업 디렉토리입니다. 기본값은 없습니다. +* `args` String (optional) - 이 바로가기로부터 실행될 때 `target`에 적용될 인수 + 값입니다. 기본값은 없습니다. +* `description` String (optional) - 바로가기의 설명입니다. 기본값은 없습니다. +* `icon` String (optional) - 아이콘의 경로입니다. DLL 또는 EXE가 될 수 있습니다. + `icon`과 `iconIndex`는 항상 같이 설정되어야 합니다. 기본값은 없으며 `target`의 + 아이콘을 사용합니다. +* `iconIndex` Integer (optional) - `icon`이 DLL 또는 EXE일 때 사용되는 아이콘의 + 리소스 ID이며 기본값은 0입니다. +* `appUserModelId` String (optional) - 애플리케이션 사용자 모델 ID입니다. + 기본값은 없습니다. diff --git a/docs-translations/ko-KR/api/structures/task.md b/docs-translations/ko-KR/api/structures/task.md new file mode 100644 index 000000000000..bc1543c633bf --- /dev/null +++ b/docs-translations/ko-KR/api/structures/task.md @@ -0,0 +1,13 @@ +# Task Object + +* `program` String - 실행할 프로그램의 경로. + 보통 현재 작동중인 애플리케이션의 경로인 `process.execPath`를 지정합니다. +* `arguments` String - `program`이 실행될 때 사용될 명령줄 인수. +* `title` String - JumpList에 표시할 문자열. +* `description` String - 이 작업에 대한 설명. +* `iconPath` String - JumpList에 표시될 아이콘의 절대 경로. 아이콘을 포함하고 + 있는 임의의 리소스 파일을 사용할 수 있습니다. 보통 애플리케이션의 아이콘을 + 그대로 사용하기 위해 `process.execPath`를 지정합니다. +* `iconIndex` Integer - 아이콘 파일의 인덱스. 만약 아이콘 파일이 두 개 이상의 + 아이콘을 가지고 있을 경우, 사용할 아이콘의 인덱스를 이 옵션으로 지정해 주어야 + 합니다. 단, 아이콘을 하나만 포함하고 있는 경우 0을 지정하면 됩니다. diff --git a/docs-translations/ko-KR/api/structures/thumbar-button.md b/docs-translations/ko-KR/api/structures/thumbar-button.md new file mode 100644 index 000000000000..cdd4f155accd --- /dev/null +++ b/docs-translations/ko-KR/api/structures/thumbar-button.md @@ -0,0 +1,19 @@ +# ThumbarButton Object + +* `icon` [NativeImage](../native-image.md) - The icon showing in thumbnail + toolbar. +* `click` Function +* `tooltip` String (optional) - 버튼 툴팁 글자. +* `flags` String[] (optional) - 버튼의 컨트롤 특유의 상태와 행동. 기본값은 + `['enabled']`. + +`flags` 는 다음 `String` 들을 포함할 수 있는 배열입니다: + +* `enabled` - 버튼이 활성화되어 사용자가 이용할 수 있다. +* `disabled` - 버튼이 비활성화 되어있습니다. 존재하지만 사용자 동작에 반응할 수 + 없는 시각 상태를 표시합니다. +* `dismissonclick` - 버튼이 눌렸을 때 미리보기 창을 즉시 닫습니다. +* `nobackground` - 버튼 테두리를 그리지 않고 이미지만 사용합니다. +* `hidden` - 버튼이 사용자에게 보이지 않습니다. +* `noninteractive` - 버튼이 활성화되어있지만 상호작용하지 않습니다; 눌려지지않은 + 버튼 상태로 그려집니다. 이 값은 버튼이 알림에 사용되는 경우를 위한 것입니다. diff --git a/docs-translations/ko-KR/api/tray.md b/docs-translations/ko-KR/api/tray.md index 105bac09771d..a162b48f5d06 100644 --- a/docs-translations/ko-KR/api/tray.md +++ b/docs-translations/ko-KR/api/tray.md @@ -61,11 +61,7 @@ appIcon.setContextMenu(contextMenu) * `shiftKey` Boolean * `ctrlKey` Boolean * `metaKey` Boolean -* `bounds` Object _macOS_ _Windows_ - 트레이 아이콘의 범위 - * `x` Integer - * `y` Integer - * `width` Integer - * `height` Integer +* `bounds` [Rectangle](structures/rectangle.md) - 트레이 아이콘의 범위 트레이 아이콘이 클릭될 때 발생하는 이벤트입니다. @@ -76,11 +72,7 @@ appIcon.setContextMenu(contextMenu) * `shiftKey` Boolean * `ctrlKey` Boolean * `metaKey` Boolean -* `bounds` Object - 트레이 아이콘의 범위 - * `x` Integer - * `y` Integer - * `width` Integer - * `height` Integer +* `bounds` [Rectangle](structures/rectangle.md) - 트레이 아이콘의 범위 트레이 아이콘을 오른쪽 클릭될 때 호출 됩니다. @@ -91,11 +83,7 @@ appIcon.setContextMenu(contextMenu) * `shiftKey` Boolean * `ctrlKey` Boolean * `metaKey` Boolean -* `bounds` Object - 트레이 아이콘의 범위 - * `x` Integer - * `y` Integer - * `width` Integer - * `height` Integer +* `bounds` [Rectangle](structures/rectangle.md) - 트레이 아이콘의 범위 트레이 아이콘이 더블 클릭될 때 발생하는 이벤트입니다. @@ -232,11 +220,7 @@ win.on('hide', () => { #### `tray.getBounds()` _macOS_ _Windows_ -Returns `Object`: -* `x` Integer -* `y` Integer -* `width` Integer -* `height` Integer +Returns [`Rectangle`](structures/rectangle.md) 이 트레이 아이콘의 `Object` 형식의 `bounds`. diff --git a/docs-translations/ko-KR/api/web-contents.md b/docs-translations/ko-KR/api/web-contents.md index 1c0fcf6a5943..6814f0717160 100644 --- a/docs-translations/ko-KR/api/web-contents.md +++ b/docs-translations/ko-KR/api/web-contents.md @@ -244,14 +244,7 @@ Returns: * `event` Event * `url` URL * `error` String - 에러 코드 -* `certificate` Object - * `data` String - PEM 인코딩된 데이터 - * `issuerName` String - 인증서 발급자의 공통 이름 - * `subjectName` String - 대상의 공통 이름 - * `serialNumber` String - 문자열로 표현된 hex 값 - * `validStart` Integer - 초 단위의 인증서가 유효하기 시작한 날짜 - * `validExpiry` Integer - 초 단위의 인증서가 만료되는 날짜 - * `fingerprint` String - 인증서의 지문 +* `certificate` [Certificate](structures/certificate.md) * `callback` Function `url`에 대한 `certificate` 인증서의 유효성 검증에 실패했을 때 발생하는 이벤트입니다. @@ -265,14 +258,7 @@ Returns: * `event` Event * `url` URL -* `certificateList` [Objects] - * `data` String - PEM 인코딩된 데이터 - * `issuerName` String - 인증서 발급자의 공통 이름 - * `subjectName` String - 대상의 공통 이름 - * `serialNumber` String - 문자열로 표현된 hex 값 - * `validStart` Integer - 초 단위의 인증서가 유효하기 시작한 날짜 - * `validExpiry` Integer - 초 단위의 인증서가 만료되는 날짜 - * `fingerprint` String - 인증서의 지문 +* `certificateList` Certificate[] * `callback` Function 클라이언트 인증이 요청되었을 때 발생하는 이벤트입니다. diff --git a/docs-translations/ko-KR/api/web-frame.md b/docs-translations/ko-KR/api/web-frame.md index c02039c7e07f..0e92da6b11fe 100644 --- a/docs-translations/ko-KR/api/web-frame.md +++ b/docs-translations/ko-KR/api/web-frame.md @@ -107,41 +107,11 @@ ServiceWorker의 등록과 fetch API를 사용할 수 있도록 지원합니다. ### `webFrame.getResourceUsage()` Returns `Object`: -* `images` Object - * `count` Integer - * `size` Integer - * `liveSize` Integer - * `decodedSize` Integer - * `purgedSize` Integer - * `purgeableSize` Integer -* `cssStyleSheets` Object - * `count` Integer - * `size` Integer - * `liveSize` Integer - * `decodedSize` Integer - * `purgedSize` Integer - * `purgeableSize` Integer -* `xslStyleSheets` Object - * `count` Integer - * `size` Integer - * `liveSize` Integer - * `decodedSize` Integer - * `purgedSize` Integer - * `purgeableSize` Integer -* `fonts` Object - * `count` Integer - * `size` Integer - * `liveSize` Integer - * `decodedSize` Integer - * `purgedSize` Integer - * `purgeableSize` Integer -* `other` Object - * `count` Integer - * `size` Integer - * `liveSize` Integer - * `decodedSize` Integer - * `purgedSize` Integer - * `purgeableSize` Integer +* `images` [MemoryUsageDetails](structures/memory-usage-details.md) +* `cssStyleSheets` [MemoryUsageDetails](structures/memory-usage-details.md) +* `xslStyleSheets` [MemoryUsageDetails](structures/memory-usage-details.md) +* `fonts` [MemoryUsageDetails](structures/memory-usage-details.md) +* `other` [MemoryUsageDetails](structures/memory-usage-details.md) Blink의 내부 메모리 캐시 사용 정보를 담고있는 객체를 반환합니다. diff --git a/docs-translations/ko-KR/tutorial/desktop-environment-integration.md b/docs-translations/ko-KR/tutorial/desktop-environment-integration.md index 71cbe0616950..cf6a2e8d79c2 100644 --- a/docs-translations/ko-KR/tutorial/desktop-environment-integration.md +++ b/docs-translations/ko-KR/tutorial/desktop-environment-integration.md @@ -117,10 +117,11 @@ const {app, Menu} = require('electron') const dockMenu = Menu.buildFromTemplate([ {label: 'New Window', click () { console.log('New Window') }}, {label: 'New Window with Settings', - submenu: [ - {label: 'Basic'}, - {label: 'Pro'} - ]}, + submenu: [ + {label: 'Basic'}, + {label: 'Pro'} + ] + }, {label: 'New Command...'} ]) app.dock.setMenu(dockMenu) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 106934ab0b62..28051df461d3 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -261,7 +261,7 @@ Returns: * `event` Event * `url` URL -* `certificateList` Certificate[] +* `certificateList` [Certificate[]](structures/certificate.md) * `callback` Function Emitted when a client certificate is requested.