Jeremy Newman : update zh-cn translation

Jeremy Newman jnewman at wine.codeweavers.com
Tue Jan 19 12:45:30 CST 2016


Module: website
Branch: master
Commit: 425bad19fb0248ba96501c7c95f062b853e8f7d9
URL:    http://source.winehq.org/git/website.git/?a=commit;h=425bad19fb0248ba96501c7c95f062b853e8f7d9

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Tue Jan 19 10:19:59 2016 -0600

update zh-cn translation

---

 templates/zh-cn/home.template | 144 ++++++++++++++++++++++--------------------
 1 file changed, 74 insertions(+), 70 deletions(-)

diff --git a/templates/zh-cn/home.template b/templates/zh-cn/home.template
index e7f1648..e4b0ee7 100644
--- a/templates/zh-cn/home.template
+++ b/templates/zh-cn/home.template
@@ -1,90 +1,94 @@
+<!--VAR:[__layout|open]-->
 <!--TITLE:[在 Linux,BSD,Solaris 和 Mac OS X 上运行 Windows 应用]-->
-<!--BLURB:[在 Linux,BSD,Solaris 和 Mac OS X 上运行 Windows 应用]-->
 <!--META_KEYWORDS:[windows, linux, macintosh, solaris, freebsd]-->
 <!--META_DESCRIPTION:[让你在其他操作系统运行 Windows 应用的开源软件. ]-->
-<!--STYLE:[content_nobox]-->
-
-<div id="main_left">
-
-    <div class="content cornerround" style="padding: 15px 10px 20px 60px; height: 445px; overflow: auto;">
-        <div class="winehq_menu">
-
-            <div class="info" onClick="document.location='{$root}/about/';">
-              <div class="icon"></div>
-              <div class="text">
-                <div class="title"><a href="{$root}/about/">关于</a></div>
-                <div class="subtitle">了解 Wine 项目. </div>
-              </div>
+<!--META_OG:[type|website]-->
+
+<div class="row">
+    <div class="col-sm-7">
+
+        <div class="whq-page-container margin-bottom-md">
+            <h3 class="title">最新发布</h3>
+            <div class="row">
+                <div class="col-sm-4 col-md-3">稳定版:</div>
+                <div class="col-sm-8">
+                    <b><a href="{$root}/announce/{$config_stable_release}">Wine {$config_stable_release}</a></b>
+                    <span class="small">
+                      (<a href="//source.winehq.org/git/wine.git?a=shortlog;h=refs/tags/wine-{$config_stable_release}">shortlog</a>)
+                    </span>
+                </div>
             </div>
-
-            <div class="dl" onClick="document.location='{$root}/download/';">
-              <div class="icon"></div>
-              <div class="text">
-                <div class="title"><a href="{$root}/download/">下载</a></div>
-                <div class="subtitle">安装最新的 Wine. </div>
-              </div>
+            <div class="row">
+                <div class="col-sm-4 col-md-3">开发版:</div>
+                <div class="col-sm-8">
+                    <b><a href="{$root}/announce/{$config_master_release}">Wine {$config_master_release}</a></b>
+                    <span class="small">
+                        (<a href="//source.winehq.org/git/wine.git?a=shortlog;h=refs/tags/wine-{$config_master_release}">shortlog</a>)
+                    </span>
+                </div>
             </div>
+        </div>
 
-            <div class="help" onClick="document.location='{$root}/help/';">
-              <div class="icon"></div>
-              <div class="text">
-                <div class="title"><a href="{$root}/help/">支持</a></div>
-                <div class="subtitle">获取帮助. </div>
-              </div>
-            </div>
+        <div class="whq-page-container">
 
-            <div class="devel" onClick="document.location='{$root}/devel/';">
-              <div class="icon"></div>
-              <div class="text">
-                <div class="title"><a href="{$root}/devel/">开发</a></div>
-                <div class="subtitle">成为 Wine 开发者. </div>
-              </div>
+            <div class="winehq_menu nopadding margin-bottom-lg">
+                <a class="winehq_menu_item info nomargin" href="{$root}/about">
+                    <span class="icon"></span>
+                    <span class="title">关于</span>
+                    <span class="subtitle">了解 Wine 项目.</span>
+                </a>
+                <div class="clear"></div>
             </div>
 
-            <div class="donate" onClick="document.location='{$root}/donate/';">
-              <div class="icon"></div>
-              <div class="text">
-                <div class="title"><a href="{$root}/donate/">捐助</a></div>
-                <div class="subtitle">捐助 Wine 项目. </div>
-              </div>
-            </div>
+            <p>Wine (“Wine Is Not an Emulator” 的首字母缩写)是一个能够在多种 POSIX-compliant 操作系统(诸如 Linux,Mac OSX 及 BSD 等)上运行 Windows 应用的兼容层。
+Wine 不是像虚拟机或者模拟器一样模仿内部的 Windows 逻辑,而是將 Windows API 调用翻译成为动态的 POSIX 调用,免除了性能和其他一些行为的内存占用,让你能够干净地集合 Windows 应用到你的桌面。</p>
 
         </div>
+
     </div>
+    <div class="col-sm-5 winehq_menu_wrap fill-height">
+
+        <div class="whq-page-container winehq_menu fill-height">
+
+                <a class="winehq_menu_item dl" href="{$root}/download">
+                    <span class="icon"></span>
+                    <span class="title">下载</span>
+                    <span class="subtitle">安装最新的 Wine.</span>
+                </a>
+                <div class="clear"></div>
+
+                <a class="winehq_menu_item help" href="{$root}/help">
+                    <span class="icon"></span>
+                    <span class="title">支持</span>
+                    <span class="subtitle">获取帮助.</span>
+                </a>
+                <div class="clear"></div>
+
+                <a class="winehq_menu_item devel" href="{$root}/devel">
+                    <span class="icon"></span>
+                    <span class="title">开发</span>
+                    <span class="subtitle">成为 Wine 开发者.</span>
+                </a>
+                <div class="clear"></div>
+
+                <a class="winehq_menu_item donate" href="{$root}/donate">
+                    <span class="icon"></span>
+                    <span class="title">捐助</span>
+                    <span class="subtitle">捐助 Wine 项目.</span>
+                </a>
+                <div class="clear"></div>
+
+        </div>
 
-</div>
-<div id="main_right">
-
-    <div class="content cornerround" style="padding: 10px; height: 85px; overflow: auto;">
-        <h3 class="title" style="margin: 0;">最新发布</h3>
-        <table style="margin: 7px 0 0 15px; border-spacing: 0; border: 0;">
-        <tr><td>稳定版:</td>
-        <td style="padding-left: 15px; padding-bottom: 2px;">
-            <b><a href="{$root}/announce/{$config_stable_release}">Wine {$config_stable_release}</a></b>
-            <span class="small">
-              (<a href="//source.winehq.org/git/wine.git?a=shortlog;h=refs/tags/wine-{$config_stable_release}">shortlog</a>)
-            </span>
-        </td></tr>
-        <tr><td>开发版:</td>
-        <td style="padding-left: 15px;">
-            <b><a href="{$root}/announce/{$config_master_release}">Wine {$config_master_release}</a></b>
-            <span class="small">
-              (<a href="//source.winehq.org/git/wine.git?a=shortlog;h=refs/tags/wine-{$config_master_release}">shortlog</a>)
-            </span>
-        </td></tr>
-        </table>
     </div>
+</div>
 
-    <div class="content cornerround" style="margin-top: 15px; padding: 10px 0px 10px 10px;">
-      <div style="height: 340px; overflow: auto; padding-right: 10px;">
+<div class="whq-page-container margin-top-md">
 
-        <h3 class="title"><a href="{$root}/news/">新闻</a></h3>
+    <h1 class="title"><a href="{$root}/news">新闻</a></h1>
 
-        <!--EXEC:[news?n=10]-->
+    <!--EXEC:[news?n=10]-->
 
-        <p><a href="{$root}/news/">更多新闻……</a></p>
-      </div>
-    </div>
+    <p><a href="{$root}/news">更多新闻……</a></p>
 
 </div>
-




More information about the wine-cvs mailing list