Module: wine
Branch: stable
Commit: 7a955e6128d390bff418a23d168acdaa31cdee7f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a955e6128d390bff418a23d1…
Author: Hongbo Ni <hongbo(a)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
Module: wine
Branch: stable
Commit: 7cdf589fd1172ff1579a063fa8a4af4fa0576b8d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7cdf589fd1172ff1579a063fa…
Author: Hongbo Ni <hongbo(a)njstar.com>
Date: Sat Aug 30 16:17:54 2008 +1000
wineboot: Add simplified and traditional Chinese resources.
(cherry picked from commit 0a11607dc85fbaad3ada576e68ad453e39772201)
---
programs/wineboot/wineboot.rc | 1 +
programs/wineboot/wineboot_Zh.rc | 55 ++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/programs/wineboot/wineboot.rc b/programs/wineboot/wineboot.rc
index f087d2f..e52e6c4 100644
--- a/programs/wineboot/wineboot.rc
+++ b/programs/wineboot/wineboot.rc
@@ -41,3 +41,4 @@
#include "wineboot_Ru.rc"
#include "wineboot_Si.rc"
#include "wineboot_Sv.rc"
+#include "wineboot_Zh.rc"
diff --git a/programs/wineboot/wineboot_Zh.rc b/programs/wineboot/wineboot_Zh.rc
new file mode 100644
index 0000000..5248b38
--- /dev/null
+++ b/programs/wineboot/wineboot_Zh.rc
@@ -0,0 +1,55 @@
+/*
+ * wineboot (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
+
+IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71
+STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "正在等待程序"
+FONT 9, "MS Song"
+BEGIN
+ DEFPUSHBUTTON "取消",IDCANCEL,129,49,50,15
+ PUSHBUTTON "中断进程",IDOK,51,49,71,15
+ LTEXT "正在模拟关机, 但是这个程序没有反应.",
+ IDC_STATIC,7,7,172,19
+ LTEXT "如果你中断进程,有可能丢失没有保存的数据.",
+ IDC_STATIC,7,28,172,15
+END
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
+
+IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71
+STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "正在等待程式"
+FONT 8, "PMingLiu"
+BEGIN
+ DEFPUSHBUTTON "取消",IDCANCEL,129,49,50,15
+ PUSHBUTTON "中斷進程",IDOK,51,49,71,15
+ LTEXT "正在模擬關機, 但是這個程式沒有反應.",
+ IDC_STATIC,7,7,172,19
+ LTEXT "如果你中斷進程,有可能丟失沒有儲存的數據.",
+ IDC_STATIC,7,28,172,15
+END
+
+#pragma code_page(default)