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

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


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

Author: Hongbo Ni <hongbo at njstar.com>
Date:   Wed Sep  3 22:24:18 2008 +1000

setupapi: Add simplified and traditional Chinese resources.
(cherry picked from commit 4648b353e4cfcb0a128af35904ef3e54487a59cc)

---

 dlls/setupapi/Zh.rc       |   54 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/setupapi/setupapi.rc |    1 +
 2 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/dlls/setupapi/Zh.rc b/dlls/setupapi/Zh.rc
new file mode 100644
index 0000000..a2f6a8d
--- /dev/null
+++ b/dlls/setupapi/Zh.rc
@@ -0,0 +1,54 @@
+/*
+ * SETUPAPI (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
+
+COPYFILEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 208, 105
+STYLE DS_MODALFRAME | DS_SETFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION
+CAPTION "复制文件..."
+FONT 9, "MS Song"
+BEGIN
+	PUSHBUTTON "取消", IDCANCEL, 79, 84, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+	LTEXT "源文件:", -1, 7, 7, 77, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+	LTEXT "", SOURCESTRORD, 7, 18, 194, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+	LTEXT "目标文件:", -1, 7, 30, 77, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+	LTEXT "", DESTSTRORD, 7, 41, 194, 22, WS_CHILD | WS_VISIBLE | WS_GROUP
+	CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
+
+COPYFILEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 208, 105
+STYLE DS_MODALFRAME | DS_SETFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION
+CAPTION "複製檔案..."
+FONT 8, "PMingLiu"
+BEGIN
+	PUSHBUTTON "取消", IDCANCEL, 79, 84, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+	LTEXT "源檔案:", -1, 7, 7, 77, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+	LTEXT "", SOURCESTRORD, 7, 18, 194, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+	LTEXT "目標檔案:", -1, 7, 30, 77, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+	LTEXT "", DESTSTRORD, 7, 41, 194, 22, WS_CHILD | WS_VISIBLE | WS_GROUP
+	CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+#pragma code_page(default)
diff --git a/dlls/setupapi/setupapi.rc b/dlls/setupapi/setupapi.rc
index a7519dd..affbe5c 100644
--- a/dlls/setupapi/setupapi.rc
+++ b/dlls/setupapi/setupapi.rc
@@ -44,3 +44,4 @@
 #include "Ru.rc"
 #include "Sv.rc"
 #include "Tr.rc"
+#include "Zh.rc"




More information about the wine-cvs mailing list