From 387dd67b6021ff4a4f80157c305f032d50cecf37 Mon Sep 17 00:00:00 2001 From: x-yao Date: Thu, 22 Dec 2016 17:10:27 +0800 Subject: [PATCH] [ci skip]fix chinese incorrect words --- docs-translations/zh-CN/README.md | 2 +- docs-translations/zh-CN/api/dialog.md | 2 +- docs-translations/zh-CN/api/environment-variables.md | 2 +- docs-translations/zh-CN/api/net.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-translations/zh-CN/README.md b/docs-translations/zh-CN/README.md index 8c1921f8fd2f..ce26eca3d3cd 100644 --- a/docs-translations/zh-CN/README.md +++ b/docs-translations/zh-CN/README.md @@ -4,7 +4,7 @@ ## 常见问题 -这里是一些被经常问到的问题,再提 issue 之前请先看一下这里。 +这里是一些被经常问到的问题,在提 issue 之前请先看一下这里。 + [Electron 常见问题](faq/electron-faq.md) diff --git a/docs-translations/zh-CN/api/dialog.md b/docs-translations/zh-CN/api/dialog.md index 34016c52497c..366d7b8ff3c7 100644 --- a/docs-translations/zh-CN/api/dialog.md +++ b/docs-translations/zh-CN/api/dialog.md @@ -79,7 +79,7 @@ console.log(dialog.showOpenDialog({properties: ['openFile', 'openDirectory', 'mu * `detail` String - 额外信息. * `icon` [NativeImage](native-image.md) * `cancelId` Integer - 当用户关闭对话框的时候,不是通过点击对话框的button,就返回值.默认值为对应 "cancel" 或 "no" 标签button 的索引值, 或者如果没有这种button,就返回0. 在 macOS 和 Windows 上, "Cancel" button 的索引值将一直是 `cancelId`, 不管之前是不是特别指出的. - * `noLink` Boolean - 在 Windows ,Electron 将尝试识别哪个button 是普通 button (如 "Cancel" 或 "Yes"), 然后再对话框中以链接命令(command links)方式展现其它的 button . 这能让对话框展示得很炫酷.如果你不喜欢这种效果,你可以设置 `noLink` 为 `true`. + * `noLink` Boolean - 在 Windows ,Electron 将尝试识别哪个button 是普通 button (如 "Cancel" 或 "Yes"), 然后在对话框中以链接命令(command links)方式展现其它的 button . 这能让对话框展示得很炫酷.如果你不喜欢这种效果,你可以设置 `noLink` 为 `true`. * `callback` Function 展示 message box, 它会阻塞进程,直到 message box 关闭为止.返回点击按钮的索引值. diff --git a/docs-translations/zh-CN/api/environment-variables.md b/docs-translations/zh-CN/api/environment-variables.md index 0a35eb59dfdb..706e340245f1 100644 --- a/docs-translations/zh-CN/api/environment-variables.md +++ b/docs-translations/zh-CN/api/environment-variables.md @@ -46,7 +46,7 @@ Windows 控制台: ## `ELECTRON_FORCE_WINDOW_MENU_BAR` _Linux_ -不可再 Linux 上使用全局菜单栏. +不可在 Linux 上使用全局菜单栏. ## `ELECTRON_HIDE_INTERNAL_MODULES` diff --git a/docs-translations/zh-CN/api/net.md b/docs-translations/zh-CN/api/net.md index a7575086f8d8..7daecfe1692a 100644 --- a/docs-translations/zh-CN/api/net.md +++ b/docs-translations/zh-CN/api/net.md @@ -39,7 +39,7 @@ app.on('ready', () => { 也就是说,它对于你使用过 Node.js 的 [HTTP](https://nodejs.org/api/http.html)/[HTTPS](https://nodejs.org/api/https.html) 模块来说是非常的相似的。 -`net` API 只有在应用触发 `ready` 事件后才可以使用。如果再 `ready` 事件前尝试使用会抛出一个错误。 +`net` API 只有在应用触发 `ready` 事件后才可以使用。如果在 `ready` 事件前尝试使用会抛出一个错误。 ## 方法