Hongbo Ni : view: Add simplified and traditional Chinese resources.

Alexandre Julliard julliard at winehq.org
Wed Oct 8 12:48:23 CDT 2008


Module: wine
Branch: stable
Commit: 7a955e6128d390bff418a23d168acdaa31cdee7f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7a955e6128d390bff418a23d168acdaa31cdee7f

Author: Hongbo Ni <hongbo at njstar.com>
Date:   Sat Aug 30 16:18:31 2008 +1000

view: Add simplified and traditional Chinese resources.
(cherry picked from commit d6017c1bedfffa09ffe9016201e7339e783a826d)

---

 programs/view/Zh.rc     |  124 +++++++++++++++++++++++++++++++++++++++++++++++
 programs/view/viewrc.rc |    1 +
 2 files changed, 125 insertions(+), 0 deletions(-)

diff --git a/programs/view/Zh.rc b/programs/view/Zh.rc
new file mode 100644
index 0000000..84bd638
--- /dev/null
+++ b/programs/view/Zh.rc
@@ -0,0 +1,124 @@
+/*
+ * View (Simplified and Traditional Chinese Resource)
+ *
+ * Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/* Chinese text is encoded in UTF-8 */
+#pragma code_page(65001)
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
+
+/*
+ *
+ * Menu
+ *
+ */
+
+VIEW MENU
+BEGIN
+    POPUP "文件(&F)"
+    BEGIN
+	MENUITEM "打开(&O)", IDM_OPEN
+        MENUITEM "退出(&x)", IDM_EXIT
+    END
+    POPUP "平移(&P)"
+    BEGIN
+      MENUITEM "放大至视窗(&S)", IDM_SET_EXT_TO_WIN
+      MENUITEM SEPARATOR
+      MENUITEM "左(&L)", IDM_LEFT
+      MENUITEM "右(&R)", IDM_RIGHT
+      MENUITEM "上(&U)", IDM_UP
+      MENUITEM "下(&D)", IDM_DOWN
+    END
+END
+
+
+/*
+ *
+ * Accelerator
+ *
+ */
+
+VIEW ACCELERATORS
+BEGIN
+    "Q", IDM_EXIT, VIRTKEY, CONTROL
+END
+
+
+/*
+ *
+ * String Table
+ *
+ */
+
+STRINGTABLE DISCARDABLE
+BEGIN
+    IDS_DESCRIPTION         "普通 Metafile 阅读器"
+END
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
+
+/*
+ *
+ * Menu
+ *
+ */
+
+VIEW MENU
+BEGIN
+    POPUP "檔案(&F)"
+    BEGIN
+	MENUITEM "開啟(&O)", IDM_OPEN
+        MENUITEM "結束(&x)", IDM_EXIT
+    END
+    POPUP "平移(&P)"
+    BEGIN
+      MENUITEM "放大至視窗(&S)", IDM_SET_EXT_TO_WIN
+      MENUITEM SEPARATOR
+      MENUITEM "左(&L)", IDM_LEFT
+      MENUITEM "右(&R)", IDM_RIGHT
+      MENUITEM "上(&U)", IDM_UP
+      MENUITEM "下(&D)", IDM_DOWN
+    END
+END
+
+
+/*
+ *
+ * Accelerator
+ *
+ */
+
+VIEW ACCELERATORS
+BEGIN
+    "Q", IDM_EXIT, VIRTKEY, CONTROL
+END
+
+
+/*
+ *
+ * String Table
+ *
+ */
+
+STRINGTABLE DISCARDABLE
+BEGIN
+    IDS_DESCRIPTION         "普通 Metafile 閱讀器"
+END
+
+#pragma code_page(default)
diff --git a/programs/view/viewrc.rc b/programs/view/viewrc.rc
index 1558b23..67a0dea 100644
--- a/programs/view/viewrc.rc
+++ b/programs/view/viewrc.rc
@@ -37,6 +37,7 @@
 #include "Ru.rc"
 #include "Si.rc"
 #include "Tr.rc"
+#include "Zh.rc"
 
 /*
  * Icon




More information about the wine-cvs mailing list