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

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


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

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

htctrl: Add simplified and traditional Chinese resources.
(cherry picked from commit ee288272a501e3a01a6ad331240a74d2c447df83)

---

 dlls/hhctrl.ocx/Zh.rc     |  100 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/hhctrl.ocx/hhctrl.rc |    1 +
 2 files changed, 101 insertions(+), 0 deletions(-)

diff --git a/dlls/hhctrl.ocx/Zh.rc b/dlls/hhctrl.ocx/Zh.rc
new file mode 100644
index 0000000..a7ccab0
--- /dev/null
+++ b/dlls/hhctrl.ocx/Zh.rc
@@ -0,0 +1,100 @@
+/*
+ * HTML Help (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
+
+STRINGTABLE
+BEGIN
+    IDS_CONTENTS     "内容(&C)"
+    IDS_INDEX        "目录(&N)"
+    IDS_SEARCH       "搜寻(&S)"
+    IDS_FAVORITES    "最爱(&I)"
+END
+
+STRINGTABLE
+BEGIN
+    IDTB_EXPAND      "显示"
+    IDTB_CONTRACT    "隐藏"
+    IDTB_STOP        "停止"
+    IDTB_REFRESH     "刷新"
+    IDTB_BACK        "向后"
+    IDTB_HOME        "首页"
+    IDTB_SYNC        "同步"
+    IDTB_PRINT       "打印"
+    IDTB_OPTIONS     "选项"
+    IDTB_FORWARD     "向前"
+    IDTB_NOTES       "说明"
+    IDTB_BROWSE_FWD  "向前"
+    IDTB_BROWSE_BACK "向后"
+    IDTB_CONTENTS    "内容"
+    IDTB_INDEX       "目录"
+    IDTB_SEARCH      "搜寻"
+    IDTB_HISTORY     "历史"
+    IDTB_FAVORITES   "最爱"
+    IDTB_JUMP1       "Jump1"
+    IDTB_JUMP2       "Jump2"
+    IDTB_CUSTOMIZE   "个性化"
+    IDTB_ZOOM        "放大"
+    IDTB_TOC_NEXT    "后一项"
+    IDTB_TOC_PREV    "前一项"
+END
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
+
+STRINGTABLE
+BEGIN
+    IDS_CONTENTS     "內容(&C)"
+    IDS_INDEX        "目錄(&N)"
+    IDS_SEARCH       "搜尋(&S)"
+    IDS_FAVORITES    "最愛(&I)"
+END
+
+STRINGTABLE
+BEGIN
+    IDTB_EXPAND      "顯示"
+    IDTB_CONTRACT    "隱藏"
+    IDTB_STOP        "停止"
+    IDTB_REFRESH     "刷新"
+    IDTB_BACK        "向後"
+    IDTB_HOME        "首頁"
+    IDTB_SYNC        "同步"
+    IDTB_PRINT       "列印"
+    IDTB_OPTIONS     "選項"
+    IDTB_FORWARD     "向前"
+    IDTB_NOTES       "說明"
+    IDTB_BROWSE_FWD  "向前"
+    IDTB_BROWSE_BACK "向後"
+    IDTB_CONTENTS    "內容"
+    IDTB_INDEX       "目錄"
+    IDTB_SEARCH      "搜尋"
+    IDTB_HISTORY     "歷史"
+    IDTB_FAVORITES   "最愛"
+    IDTB_JUMP1       "Jump1"
+    IDTB_JUMP2       "Jump2"
+    IDTB_CUSTOMIZE   "個性化"
+    IDTB_ZOOM        "放大"
+    IDTB_TOC_NEXT    "後一項"
+    IDTB_TOC_PREV    "前一項"
+END
+
+#pragma code_page(default)
diff --git a/dlls/hhctrl.ocx/hhctrl.rc b/dlls/hhctrl.ocx/hhctrl.rc
index 08d9648..1a5950c 100644
--- a/dlls/hhctrl.ocx/hhctrl.rc
+++ b/dlls/hhctrl.ocx/hhctrl.rc
@@ -45,3 +45,4 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 #include "Si.rc"
 #include "Sv.rc"
 #include "Tr.rc"
+#include "Zh.rc"




More information about the wine-cvs mailing list