Browse Source

尝试机器翻译

liuyuqi 5 years ago
parent
commit
fa48800292
3 changed files with 47 additions and 49 deletions
  1. 1 1
      conf/_config.yml
  2. 24 26
      www/docs/zh-cn2/6.x/config_ref/images.md
  3. 22 22
      www/docs/zh-cn2/deprecated.md

+ 1 - 1
conf/_config.yml

@@ -11,7 +11,7 @@ url:            "https://cordova.apache.org" # the base hostname & protocol
 baseurl:        "" # the subpath of the site, e.g. /blog; NOTE: no trailing slash
 rss_path:       /feed.xml
 description: >
-    Apache Cordova是一组设备api,允许web移动应用程序开发人员通过JavaScript访问本机设备功能。
+    Apache Cordova 是一组设备 api,允许 web 移动应用程序开发人员通过 JavaScript 访问本机设备功能。
 
 excerpt_separator: <!--more-->
 

+ 24 - 26
www/docs/zh-cn2/6.x/config_ref/images.md

@@ -17,41 +17,39 @@ license: >
     specific language governing permissions and limitations
     under the License.
 
-title: Customize app icons
-toc_title: Customize icons
-description: Learn how to customize icons for your Cordova application.
+标题:自定义应用图标
+Toc_标题:自定义图标
+说明:了解如何为您的 Cordova 应用程序自定义图标。
 ---
+• 自定义图标
 
-# Customize Icons
+本节演示如何为各种平台配置应用程序的图标。有关初始屏幕图像的文档可以在 Cordova-Plugin-Splash 屏幕文档 [飞溅屏幕插件文档] [飞溅屏幕]插件]中找到。
 
-This section shows how to configure an application's icon for various platforms. Documentation about splash screen images can be found in the Cordova-Plugin-Splashscreen documentation [Splashscreen plugin docs][splashscreen_plugin].
+• 配置 CLI 中的图标
 
-## Configuring Icons in the CLI
+在 CLI 中工作时,您可以通过"<icon>"元素 (' Config.xml') 定义应用程序图标 (s)。
+如果不指定图标,则使用 Apache Cordova 徽标。
 
-When working in the CLI you can define application icon(s) via the `<icon>` element (`config.xml`).
-If you do not specify an icon, the Apache Cordova logo is used.
-
-```xml
-    <icon src="res/ios/icon.png" platform="ios" width="57" height="57" density="mdpi" />
+' XML
+    • 图标 src = " RES/iOS/icon.png" 平台 • " ios" 宽度 • " 57" 高度 • " 57" 密度 = " mdpi/]
 ```
 
-Attributes    | Description
+属性 |描述
 --------------|--------------------------------------------------------------------------------
-src           | *Required* <br/> Location of the image file, relative to your project directory
-platform      | *Optional* <br/> Target platform
-width         | *Optional* <br/> Icon width in pixels
-height        | *Optional* <br/> Icon height in pixels
-density       | *Optional* <br/> ==Android== <br/> Specified icon density
-target        | *Optional* <br/> ==Windows== <br/> Destination filename for the image file and all its' MRT companions
-
-
-The following configuration can be used to define a single default icon
-which will be used for all platforms.
-```xml
-    <icon src="res/icon.png" />
+Src |• 所需 = <br/>图像文件的位置,相对于您的项目目录
+平台 |• 可选 • <br/>目标平台
+宽度 |• 可选 = <br/>图标宽度(以像素为单位)
+高度 |• 可选 • <br/>图标高度(以像素为单位)
+密度 |• 可选 • <br/> • • • 安卓 • <br/>指定的图标密度
+目标 |• 可选 = <br/> • • Windows = 图像文件及其所有 MRT 配套<br/>目标文件名
+
+以下配置可用于定义单个默认图标
+它将用于所有平台。
+' XML
+    • 图标 src = = "RES/图标.png"/*
 ```
-For each platform, you can also define a pixel-perfect icon set to fit
-different screen resolutions.
+对于每个平台,您还可以定义一个像素完美的图标集,以适合
+不同的屏幕分辨率。
 
 ##Android
 ```xml

+ 22 - 22
www/docs/zh-cn2/deprecated.md

@@ -1,34 +1,34 @@
 ---
-license: >
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
+许可证: |
+    授权给 Apache 软件基金会 (ASF) 下一个
+    或更多的参与者许可协议。 请参阅通知文件
+    随此工作一起分发,以获取更多信息
+    关于版权所有权。 ASF 许可此文件
+    在 Apache 许可证 2.0 版(A.0 版)下为您提供帮助。
+    [许可证]);您不得使用此文件,除非符合要求
+    与许可证。 您可以在以下方面获得许可证的副本:
 
-        http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
 
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
+除非适用法律要求或书面同意,
+    根据许可证分发的软件在
+    [按相同情况]为基础,不保证或任何条件
+    KIND,明示或暗示。 请参阅许可证
+    管理权限和限制的特定语言
+    根据许可证。
 
-title: Deprecated Content
-layout: page
-priority: 0.1
+标题: 已弃用的内容
+布局:页面
+优先级: 0.1
 ---
 
-<div class="whole-page-content vertical-center-parent deprecated">
-    <div class="vertical-center-child">
+[div 类]"整页内容垂直中心-父级已弃用"*。
+    [div 类]"垂直中心-子级"*
         <h1>
-            This content is deprecated in the latest docs (version {{ site.latest_docs_version }}).
+            此内容在最新文档中被弃用(版本 = 网站.latest_docs_版本})。
         </h1>
         <h2>
-            To view the latest docs, go <a href="/docs/{{ page.language }}/latest/">here</a>.
+            要查看最新的文档,请转到 [href]"/文档/*页.语言/最新/"</a> 此处。
         </h2>
     </div>
 </div>