1/*
2 * PROJECT:     ReactOS Notepad
3 * LICENSE:     LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE:     Chinese (Simplified) resource file
5 * TRANSLATORS: Copyright 2018, 2022 Luke Luo <njlyf2011@hotmail.com>
6 *              Copyright 2021-2022 Wu Haotian <rigoligo03@gmail.com>
7 */
8
9LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
10
11ID_ACCEL ACCELERATORS
12BEGIN
13    "^A", CMD_SELECT_ALL
14    "^C", CMD_COPY
15    "^F", CMD_SEARCH
16    "^G", CMD_GOTO
17    "H", CMD_REPLACE, VIRTKEY, CONTROL
18    "^N", CMD_NEW
19    "N", CMD_NEW_WINDOW, VIRTKEY,CONTROL , SHIFT
20    "^O", CMD_OPEN
21    "^P", CMD_PRINT
22    "^S", CMD_SAVE
23    "^V", CMD_PASTE
24    "^X", CMD_CUT
25    "^Z", CMD_UNDO
26    VK_F3, CMD_SEARCH_NEXT, VIRTKEY
27    VK_F5, CMD_TIME_DATE, VIRTKEY
28END
29
30MAIN_MENU MENU
31BEGIN
32    POPUP "文件(&F)"
33    BEGIN
34        MENUITEM "新建(&N)\tCtrl+N", CMD_NEW
35        MENUITEM "新建窗口(&W)\tCtrl+Shift+N", CMD_NEW_WINDOW
36        MENUITEM "打开(&O)...\tCtrl+O", CMD_OPEN
37        MENUITEM "保存(&S)\tCtrl+S", CMD_SAVE
38        MENUITEM "另存为(&A)...", CMD_SAVE_AS
39        MENUITEM SEPARATOR
40        MENUITEM "页面设置(&T)...", CMD_PAGE_SETUP
41        MENUITEM "打印(&P)...\tCtrl+P", CMD_PRINT
42        MENUITEM SEPARATOR
43        MENUITEM "退出(&E)", CMD_EXIT
44    END
45    POPUP "编辑(&E)"
46    BEGIN
47        MENUITEM "撤消(&U)\tCtrl+Z", CMD_UNDO
48        MENUITEM SEPARATOR
49        MENUITEM "剪切(&T)\tCtrl+X", CMD_CUT
50        MENUITEM "复制(&C)\tCtrl+C", CMD_COPY
51        MENUITEM "粘贴(&P)\tCtrl+V", CMD_PASTE
52        MENUITEM "删除(&D)\tDel", CMD_DELETE
53        MENUITEM SEPARATOR
54        MENUITEM "搜索(&S)", CMD_SEARCH
55        MENUITEM "搜索下一个(&S)\tF3", CMD_SEARCH_NEXT
56        MENUITEM "替换...\tCtrl+H", CMD_REPLACE
57        MENUITEM "转到...\tCtrl+G", CMD_GOTO
58        MENUITEM SEPARATOR
59        MENUITEM "全选(&A)", CMD_SELECT_ALL
60        MENUITEM "插入日期、时间(&T)\tF5", CMD_TIME_DATE
61    END
62    POPUP "格式(&O)"
63    BEGIN
64        MENUITEM "自动换行(&W)", CMD_WRAP
65        MENUITEM "字体(&F)...", CMD_FONT
66    END
67    POPUP "查看(&V)"
68    BEGIN
69        MENUITEM "状态栏(&B)", CMD_STATUSBAR
70    END
71    POPUP "帮助(&H)"
72    BEGIN
73        MENUITEM "内容(&C)", CMD_HELP_CONTENTS
74        MENUITEM SEPARATOR
75        MENUITEM "关于记事本(&A)", CMD_HELP_ABOUT_NOTEPAD
76    END
77END
78
79/* Dialog 'Page setup' */
80DIALOG_PAGESETUP DIALOGEX 0, 0, 365, 193
81STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
82FONT 9, "宋体"
83CAPTION "页面设置"
84BEGIN
85    GROUPBOX "预览", 0, 240, 6, 120, 153, BS_GROUPBOX
86    CONTROL "", rct1, "Static", SS_WHITERECT, 260, 42, 80, 80
87    CONTROL "", rct2, "Static", SS_GRAYRECT, 340, 46, 4, 80
88    CONTROL "", rct3, "Static", SS_GRAYRECT, 264, 122, 80, 4
89    GROUPBOX "纸张", grp2, 8, 6, 224, 56, BS_GROUPBOX
90    LTEXT "尺寸(&S):", stc2, 16, 22, 36, 8
91    COMBOBOX cmb2, 64, 20, 160, 160, CBS_SIMPLE | CBS_DROPDOWN | CBS_SORT | WS_GROUP | WS_TABSTOP | WS_VSCROLL
92    LTEXT "纸盒(&T):", stc3, 16, 42, 36, 8
93    COMBOBOX cmb3, 64, 40, 160, 160, CBS_SIMPLE | CBS_DROPDOWN | CBS_SORT | WS_GROUP | WS_TABSTOP | WS_VSCROLL
94    GROUPBOX "方向", grp1, 8, 66, 64, 56, BS_GROUPBOX
95    AUTORADIOBUTTON "纵向(&P)", rad1, 16, 80, 52, 12, BS_AUTORADIOBUTTON
96    AUTORADIOBUTTON "横向(&L)", rad2, 16, 100, 52, 12, BS_AUTORADIOBUTTON
97    GROUPBOX "边界", grp4, 80, 66, 152, 56, BS_GROUPBOX
98    LTEXT "左(&E):", stc15, 88, 82, 30, 8
99    EDITTEXT edt4, 119, 80, 36, 12, WS_TABSTOP | WS_GROUP | WS_BORDER
100    LTEXT "右(&R):", stc16, 159, 82, 30, 8
101    EDITTEXT edt6, 190, 80, 36, 12, WS_TABSTOP | WS_GROUP | WS_BORDER
102    LTEXT "上(&O):", stc17, 88, 102, 30, 8
103    EDITTEXT edt5, 119, 100, 36, 12, WS_TABSTOP | WS_GROUP | WS_BORDER
104    LTEXT "下(&B):", stc18, 159, 102, 30, 8
105    EDITTEXT edt7, 190, 100, 36, 12, WS_TABSTOP | WS_GROUP | WS_BORDER
106    LTEXT "页眉(&H):", 0x140, 8, 132, 40, 15
107    EDITTEXT 0x141, 58, 130, 173, 12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
108    LTEXT "页脚(&F):", 0x142, 8, 149, 40, 15
109    EDITTEXT 0x143, 58, 147, 173, 12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
110    PUSHBUTTON "帮助", IDHELP, 8, 170, 50, 14
111    DEFPUSHBUTTON "确定", IDOK, 198, 170, 50, 14, BS_PUSHBUTTON
112    PUSHBUTTON "取消", IDCANCEL, 254, 170, 50, 14
113    PUSHBUTTON "打印机(&R)...", psh3, 310, 170, 50, 14
114END
115
116/* Dialog 'Encoding' */
117DIALOG_ENCODING DIALOGEX 0, 0, 256, 44
118STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS | WS_CAPTION | WS_SYSMENU
119FONT 9, "宋体"
120CAPTION "编码"
121BEGIN
122    COMBOBOX ID_ENCODING, 124, 0, 125, 80, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
123    LTEXT "编码:", 0x155, 65, 2, 41, 12
124    COMBOBOX ID_EOLN, 124, 18, 125, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
125    LTEXT "换行:", 0x156, 65, 20, 41, 12
126END
127
128/* Dialog 'Go To' */
129DIALOG_GOTO DIALOGEX 0, 0, 165, 50
130STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
131FONT 9, "宋体"
132CAPTION "转到行"
133BEGIN
134    EDITTEXT ID_LINENUMBER, 54, 10, 106, 12, WS_CHILD | WS_BORDER | WS_TABSTOP
135    LTEXT "行数:", 0x155, 5, 12, 41, 12, WS_CHILD | WS_TABSTOP | ES_NUMBER
136    DEFPUSHBUTTON "确定", IDOK, 75, 30, 40, 15, WS_CHILD | WS_TABSTOP
137    PUSHBUTTON "取消", IDCANCEL, 120, 30, 40, 15, WS_CHILD | WS_TABSTOP
138END
139
140STRINGTABLE
141BEGIN
142    STRING_PAGESETUP_HEADERVALUE "&n" /* FIXME */
143    STRING_PAGESETUP_FOOTERVALUE "页面 &s" /* FIXME */
144    STRING_PAGESETUP_LEFTVALUE "20 mm" /* FIXME */
145    STRING_PAGESETUP_RIGHTVALUE "20 mm" /* FIXME */
146    STRING_PAGESETUP_TOPVALUE "25 mm" /* FIXME */
147    STRING_PAGESETUP_BOTTOMVALUE "25 mm" /* FIXME */
148    STRING_NOTEPAD "记事本"
149    STRING_ERROR "错误"
150    STRING_WARNING "警告"
151    STRING_INFO "信息"
152    STRING_UNTITLED "未命名"
153    STRING_ALL_FILES "所有文件 (*.*)"
154    STRING_TEXT_FILES_TXT "文本文件 (*.txt)"
155    STRING_TOOLARGE "文件“%s”太大,记事本无法打开它。\n\
156请使用其他的编辑器。"
157    STRING_NOTEXT "您没有输入任何文本。\
158\n请输入一些再试试"
159    STRING_DOESNOTEXIST "文件“%s”\n不存在\n\n\
160您想新建一个文件吗?"
161    STRING_NOTSAVED "文件“%s”\n已经被更改\n\n\
162是否保存更改?"
163    STRING_NOTFOUND "找不到文件“%s”"
164    STRING_OUT_OF_MEMORY "内存不足,无法完成此操作。\
165\n请关闭一些程序释放内存后再试。"
166    STRING_CANNOTFIND "找不到“%s”"
167    STRING_ANSI "ANSI"
168    STRING_UNICODE "Unicode"
169    STRING_UNICODE_BE "Unicode(大端)"
170    STRING_UTF8 "UTF-8"
171    STRING_UTF8_BOM "UTF-8 with BOM"
172    STRING_CRLF "Windows(CR + LF)"
173    STRING_LF "Unix(LF)"
174    STRING_CR "Mac(CR)"
175    STRING_LINE_COLUMN "行 %d,列 %d"
176    STRING_PRINTERROR "无法打印文件“%s”。\n\n请确保打印机已打开,并且已正确配置。"
177    STRING_DEFAULTFONT "宋体" /* SimSun */
178
179    STRING_TEXT_DOCUMENT "文本文档"
180    STRING_NOTEPAD_AUTHORS "版权所有 1997,98 Marcel Baur, 2000 Mike McCormack, 2002 Sylvain Petreolle, 2002 Andriy Palamarchuk\r\n"
181END
182