1/*
2 * wordpad (Simplified and Traditional Chinese Resource)
3 *
4 * Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
5 * Copyright 2010 Cheer Xiao <xiaqqaix.at.gmail.com>
6 * Copyright 2017 Li Keqing <auroracloud4096.at.gmail.com>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 */
22
23/* Chinese text is encoded in UTF-8 */
24#pragma code_page(65001)
25
26LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
27
28IDM_MAINMENU MENU
29BEGIN
30    POPUP "文件(&F)"
31    BEGIN
32        MENUITEM "新建(&N)...\tCtrl+N", ID_FILE_NEW
33        MENUITEM "打开(&O)...\tCtrl+O", ID_FILE_OPEN
34        MENUITEM "保存(&S)\tCtrl+S", ID_FILE_SAVE
35        MENUITEM "另存为(&A)...", ID_FILE_SAVEAS
36        MENUITEM SEPARATOR
37        MENUITEM "打印(&P)...\tCtrl+P", ID_PRINT
38        MENUITEM "打印预览(&W)...", ID_PREVIEW
39        MENUITEM "页面设置(&E)...", ID_PRINTSETUP
40        MENUITEM SEPARATOR
41        MENUITEM "退出(&X)", ID_FILE_EXIT
42    END
43    POPUP "编辑(&E)"
44    BEGIN
45        MENUITEM "撤销(&U)\tCtrl+Z", ID_EDIT_UNDO
46        MENUITEM "重做(&E)\tCtrl+Y", ID_EDIT_REDO
47        MENUITEM SEPARATOR
48        MENUITEM "剪切(&T)\tCtrl+X", ID_EDIT_CUT
49        MENUITEM "复制(&C)\tCtrl+C", ID_EDIT_COPY
50        MENUITEM "粘贴(&P)\tCtrl+V", ID_EDIT_PASTE
51        MENUITEM "删除(&D)\tDEL", ID_EDIT_CLEAR
52        MENUITEM "全选(&S)\tCtrl+A", ID_EDIT_SELECTALL
53        MENUITEM SEPARATOR
54        MENUITEM "查找(&F)...\tCtrl+F", ID_FIND
55        MENUITEM "找下一个(&N)\tF3", ID_FIND_NEXT
56        MENUITEM "替换(&R)...\tCtrl+H", ID_REPLACE
57        MENUITEM SEPARATOR
58        MENUITEM "只读(&O)", ID_EDIT_READONLY
59        MENUITEM "已改动(&M)", ID_EDIT_MODIFIED
60        MENUITEM SEPARATOR
61        POPUP "其他(&X)"
62        BEGIN
63            MENUITEM "选中信息(&I)", ID_EDIT_SELECTIONINFO /* 准确性待议 */
64            MENUITEM "文字格式(&F)", ID_EDIT_CHARFORMAT
65            MENUITEM "默认格式(&D)", ID_EDIT_DEFCHARFORMAT
66            MENUITEM "段落格式(&H)", ID_EDIT_PARAFORMAT
67            MENUITEM "获取文字(&G)", ID_EDIT_GETTEXT
68        END
69    END
70    POPUP "视图(&V)"
71    BEGIN
72        MENUITEM "工具栏(&T)", ID_TOGGLE_TOOLBAR
73        MENUITEM "格式工具栏(&F)", ID_TOGGLE_FORMATBAR
74        MENUITEM "标尺(&R)", ID_TOGGLE_RULER
75        MENUITEM "状态栏(&S)", ID_TOGGLE_STATUSBAR
76        MENUITEM SEPARATOR
77        MENUITEM "选项(&O)...", ID_VIEWPROPERTIES
78    END
79    POPUP "插入(&I)"
80    BEGIN
81        MENUITEM "日期时间(&D)...", ID_DATETIME
82    END
83    POPUP "格式(&O)"
84    BEGIN
85        MENUITEM "字体(&F)..", ID_FONTSETTINGS
86        MENUITEM "项目符号(&B)", ID_BULLET
87        MENUITEM "段落(&P)...", ID_PARAFORMAT
88        MENUITEM "制表位(&T)...", ID_TABSTOPS
89        POPUP "背景(&D)"
90        BEGIN
91            MENUITEM "系统(&S)\tCtrl+1", ID_BACK_1
92            MENUITEM "淡黄色(&P)\tCtrl+2", ID_BACK_2
93        END
94    END
95    POPUP "帮助(&H)"
96    BEGIN
97        MENUITEM "关于 &Wine 写字板", ID_ABOUT
98    END
99END
100
101IDM_POPUP MENU
102BEGIN
103    POPUP ""
104    BEGIN
105        MENUITEM "剪切(&T)", ID_EDIT_CUT
106        MENUITEM "复制(&C)", ID_EDIT_COPY
107        MENUITEM "粘贴(&P)", ID_EDIT_PASTE
108        MENUITEM SEPARATOR
109        MENUITEM "项目符号(&B)",       ID_BULLET
110        MENUITEM "段落(&P)...",        ID_PARAFORMAT
111    END
112END
113
114IDM_COLOR_POPUP MENU
115BEGIN
116    POPUP ""
117    BEGIN
118        MENUITEM "黑色",      ID_COLOR_BLACK /* 未找到“标准译名表” */
119        MENUITEM "栗色",     ID_COLOR_MAROON
120        MENUITEM "绿色",      ID_COLOR_GREEN
121        MENUITEM "橄榄色",       ID_COLOR_OLIVE
122        MENUITEM "藏青",        ID_COLOR_NAVY
123        MENUITEM "紫色",      ID_COLOR_PURPLE
124        MENUITEM "鸭翅绿",        ID_COLOR_TEAL
125        MENUITEM "灰色",        ID_COLOR_GRAY
126        MENUITEM "银色",      ID_COLOR_SILVER
127        MENUITEM "红色",         ID_COLOR_RED
128        MENUITEM "青柠色",        ID_COLOR_LIME
129        MENUITEM "黄色",      ID_COLOR_YELLOW
130        MENUITEM "蓝色",        ID_COLOR_BLUE
131        MENUITEM "洋红",     ID_COLOR_FUCHSIA /* =magenta? */
132        MENUITEM "水绿",        ID_COLOR_AQUA
133        MENUITEM "白色",       ID_COLOR_WHITE
134        MENUITEM "自动",   ID_COLOR_AUTOMATIC
135    END
136END
137
138STRINGTABLE
139BEGIN
140    STRING_ALL_FILES,              "所有文件 (*.*)"
141    STRING_TEXT_FILES_TXT,         "文本文件 (*.txt)"
142    STRING_TEXT_FILES_UNICODE_TXT, "Unicode 文本文件 (*.txt)"
143    STRING_RICHTEXT_FILES_RTF,     "RTF 富文本 (*.rtf)"
144    STRING_NEWFILE_RICHTEXT,       "RTF 富文本"
145    STRING_NEWFILE_TXT,            "文本文件 "
146    STRING_NEWFILE_TXT_UNICODE,    "Unicode 文本文件"
147    STRING_PRINTER_FILES_PRN,      "打印文件 (*.prn)"
148END
149
150STRINGTABLE
151BEGIN
152    STRING_ALIGN_LEFT,            "左"
153    STRING_ALIGN_RIGHT,           "右"
154    STRING_ALIGN_CENTER,          "中"
155END
156
157STRINGTABLE
158BEGIN
159    STRING_VIEWPROPS_TITLE,          "选项"
160    STRING_VIEWPROPS_TEXT,           "文本文字"
161    STRING_VIEWPROPS_RICHTEXT,       "富文本格式"
162END
163
164STRINGTABLE
165BEGIN
166    STRING_PREVIEW_PRINT,            "打印"
167    STRING_PREVIEW_NEXTPAGE,         "下一页"
168    STRING_PREVIEW_PREVPAGE,         "上一页"
169    STRING_PREVIEW_TWOPAGES,         "双页"
170    STRING_PREVIEW_ONEPAGE,          "单页"
171    STRING_PREVIEW_ZOOMIN,           "放大"
172    STRING_PREVIEW_ZOOMOUT,          "缩小"
173    STRING_PREVIEW_CLOSE,            "关闭"
174    STRING_PREVIEW_PAGE,             "页"
175    STRING_PREVIEW_PAGES,            "页"
176    STRING_UNITS_CM,                 "cm"
177    STRING_UNITS_IN,                 "in"
178    STRING_UNITS_INCH,               "英寸"
179    STRING_UNITS_PT,                 "pt"
180END
181
182STRINGTABLE
183BEGIN
184    STRING_DEFAULT_FILENAME,     "文档"
185    STRING_PROMPT_SAVE_CHANGES,  "要保存“%s”吗?"
186    STRING_SEARCH_FINISHED,      "文件查找结束。"
187    STRING_LOAD_RICHED_FAILED,   "RichEdit 加载失败。"
188    STRING_SAVE_LOSEFORMATTING,  "你已经选择保存为文本文件,而这可能导致格式丢失。你确定要这么做吗?"
189    STRING_INVALID_NUMBER,       "数字格式无效"
190    STRING_OLE_STORAGE_NOT_SUPPORTED, "不支持 OLE 储存文件"
191    STRING_WRITE_FAILED,              "不能保存文件。"
192    STRING_WRITE_ACCESS_DENIED,       "你没有保存文件的权限。"
193    STRING_OPEN_FAILED,               "不能打开文件。"
194    STRING_OPEN_ACCESS_DENIED,        "你没有打开文件的权限。"
195    STRING_PRINTING_NOT_IMPLEMENTED,  "打印功能尚未实现"
196    STRING_MAX_TAB_STOPS,             "最多只能添加 32 个制表位宽度。"
197END
198
199IDD_DATETIME DIALOGEX 30, 20, 130, 80
200STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
201CAPTION "日期和时间"
202FONT 9, "宋体"
203BEGIN
204    LTEXT        "可选格式",-1,3,2,100,15
205    LISTBOX      IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
206    DEFPUSHBUTTON "确定(&O)",IDOK,87,12,40,12
207    PUSHBUTTON   "取消(&C)",IDCANCEL,87,26,40,12
208END
209
210IDD_NEWFILE DIALOGEX 30, 20, 140, 80
211STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
212CAPTION "新建"
213FONT 9, "宋体"
214BEGIN
215    LTEXT        "新文件类型",-1,3,2,100,15
216    LISTBOX      IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
217    DEFPUSHBUTTON "确定(&O)",IDOK,97,12,40,12
218    PUSHBUTTON   "取消(&C)",IDCANCEL,97,26,40,12
219END
220
221IDD_PARAFORMAT DIALOGEX 30, 20, 220, 110
222STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
223CAPTION "段落格式"
224FONT 9, "宋体"
225BEGIN
226    GROUPBOX "缩进", -1, 10, 10, 140, 68
227    LTEXT "左", -1, 15, 22, 60, 13
228    EDITTEXT IDC_PARA_LEFT, 75, 20, 65, 13
229    LTEXT "右", -1, 15, 40, 60, 13
230    EDITTEXT IDC_PARA_RIGHT, 75, 38, 65, 13
231    LTEXT "首行", -1, 15, 58, 60, 13
232    EDITTEXT IDC_PARA_FIRST, 75, 56, 65, 13
233    LTEXT "对齐", -1, 15, 87, 60, 13
234    COMBOBOX IDC_PARA_ALIGN, 75, 85, 65, 60, CBS_DROPDOWNLIST
235    DEFPUSHBUTTON "确定(&O)", IDOK, 160, 15, 50, 15
236    PUSHBUTTON "取消(&C)", IDCANCEL, 160, 33, 50, 15
237END
238
239IDD_TABSTOPS DIALOGEX 30, 20, 200, 110
240STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
241CAPTION "制表位"
242FONT 9, "宋体"
243BEGIN
244    GROUPBOX "制表位宽度", -1, 10, 10, 120, 90
245    COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
246    DEFPUSHBUTTON "添加(&A)", ID_TAB_ADD, 20, 80, 45, 15
247    PUSHBUTTON "删除(&R)", ID_TAB_DEL, 72, 80, 45, 15
248    PUSHBUTTON "确定(&O)", IDOK, 135, 15, 58, 15
249    PUSHBUTTON "取消(&C)", IDCANCEL, 135, 33, 58, 15
250    PUSHBUTTON "全部删除(&R)", ID_TAB_EMPTY, 135, 51, 58, 15
251END
252
253IDD_FORMATOPTS DIALOGEX 0, 0, 280, 110
254STYLE DS_SHELLFONT | DS_SYSMODAL
255CAPTION ""
256FONT 9, "宋体"
257BEGIN
258    GROUPBOX "自动换行", -1, 5, 10, 145, 85
259    RADIOBUTTON "不要自动换行", IDC_PAGEFMT_WN, 10, 25, 138, 15
260    RADIOBUTTON "按窗口宽度(&W)", IDC_PAGEFMT_WW, 10, 45, 138, 15
261    RADIOBUTTON "按纸张宽度(&M)", IDC_PAGEFMT_WM, 10, 65, 138, 15
262    GROUPBOX "工具栏", -1, 155, 10, 115, 85
263    CHECKBOX "工具栏(&T)", IDC_PAGEFMT_TB, 165, 20, 80, 15
264    CHECKBOX "格式工具栏(&F)", IDC_PAGEFMT_FB, 165, 38, 80, 15
265    CHECKBOX "标尺(&R)", IDC_PAGEFMT_RU, 165, 56, 80, 15
266    CHECKBOX "状态栏(&S)", IDC_PAGEFMT_SB, 165, 74, 80, 15
267    LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
268END
269