Hongbo Ni : winspool: Add simplified and traditional Chinese resources.
Alexandre Julliard
julliard at winehq.org
Thu Sep 4 08:26:57 CDT 2008
Module: wine
Branch: master
Commit: 2656c02dd64dc7a7acbfef4bfa2c27669ba55c59
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2656c02dd64dc7a7acbfef4bfa2c27669ba55c59
Author: Hongbo Ni <hongbo at njstar.com>
Date: Wed Sep 3 22:25:25 2008 +1000
winspool: Add simplified and traditional Chinese resources.
---
dlls/winspool.drv/Zh.rc | 64 +++++++++++++++++++++++++++++++++++++++++
dlls/winspool.drv/winspool.rc | 1 +
2 files changed, 65 insertions(+), 0 deletions(-)
diff --git a/dlls/winspool.drv/Zh.rc b/dlls/winspool.drv/Zh.rc
new file mode 100644
index 0000000..5394448
--- /dev/null
+++ b/dlls/winspool.drv/Zh.rc
@@ -0,0 +1,64 @@
+/*
+ * winspool (Simplified and Traditional Chinese Resources)
+ *
+ * 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
+
+FILENAME_DIALOG DIALOG LOADONCALL MOVEABLE DISCARDABLE 6, 18, 245, 47
+STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
+CAPTION "打印到文件"
+FONT 9, "MS Song"
+BEGIN
+ LTEXT "输出文件名(&O):", -1, 7, 13, 194, 13, WS_VISIBLE
+ EDITTEXT EDITBOX, 6, 28, 174, 12, WS_VISIBLE | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "确定", IDOK, 199, 10, 40, 14, WS_VISIBLE
+ PUSHBUTTON "取消", IDCANCEL, 199, 27, 40, 14, WS_VISIBLE
+END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_CAPTION "本地端口"
+ IDS_FILE_EXISTS "输出文件已存在, 按'确定'覆盖。"
+ IDS_CANNOT_OPEN "不能打开输出文件."
+}
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
+
+FILENAME_DIALOG DIALOG LOADONCALL MOVEABLE DISCARDABLE 6, 18, 245, 47
+STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
+CAPTION "列印到檔案"
+FONT 8, "PMingLiu"
+BEGIN
+ LTEXT "輸出檔案名(&O):", -1, 7, 13, 194, 13, WS_VISIBLE
+ EDITTEXT EDITBOX, 6, 28, 174, 12, WS_VISIBLE | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "確定", IDOK, 199, 10, 40, 14, WS_VISIBLE
+ PUSHBUTTON "取消", IDCANCEL, 199, 27, 40, 14, WS_VISIBLE
+END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_CAPTION "本地端口"
+ IDS_FILE_EXISTS "輸出檔案已存在, 按'確定'覆蓋。"
+ IDS_CANNOT_OPEN "不能開啟輸出檔案."
+}
+
+#pragma code_page(default)
diff --git a/dlls/winspool.drv/winspool.rc b/dlls/winspool.drv/winspool.rc
index e9b168e..8fd7cb5 100644
--- a/dlls/winspool.drv/winspool.rc
+++ b/dlls/winspool.drv/winspool.rc
@@ -56,3 +56,4 @@
#include "Si.rc"
#include "Sv.rc"
#include "Tr.rc"
+#include "Zh.rc"
More information about the wine-cvs
mailing list