2 * WineConsole (Simplified and Traditional Chinese Language Support)
4 * Copyright 2002 liuspider <liuspider@yahoo.com>
5 * Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include "wineconsole_res.h"
24 /* Chinese text is encoded in UTF-8 */
25 #pragma code_page(65001)
27 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
32 IDS_DEFAULT, "设为默认值(&D)"
33 IDS_PROPERTIES, "属性(&P)"
37 IDS_SELECTALL, "全选(&S)"
40 IDS_FNT_DISPLAY, "每个字都是 %ld 个像素宽,%ld 个像素高"
41 IDS_FNT_PREVIEW, "这是一段测试语句"
42 IDS_DLG_TIT_DEFAULT, "配置 - 默认设置"
43 IDS_DLG_TIT_CURRENT, "配置 - 当前设置"
44 IDS_DLG_TIT_ERROR, "配置错误"
45 IDS_DLG_ERR_SBWINSIZE, "屏幕缓存大小必须大于或等于视窗缓存"
48 IDD_OPTION DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
49 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
51 FONT 9, "MS Shell Dlg"
53 GROUPBOX "光标尺寸", -1, 10, 11, 60, 44, BS_GROUPBOX
54 AUTORADIOBUTTON "小(&S)", IDC_OPT_CURSOR_SMALL, 14, 23, 44, 10, WS_TABSTOP
55 AUTORADIOBUTTON "中(&M)", IDC_OPT_CURSOR_MEDIUM, 14, 33, 44, 10, WS_TABSTOP
56 AUTORADIOBUTTON "大(&L)", IDC_OPT_CURSOR_LARGE, 14, 43, 44, 10, WS_TABSTOP
58 GROUPBOX "控制", -1, 75, 11, 125, 44, BS_GROUPBOX
59 LTEXT "弹出菜单", -1, 79, 23, 40, 10
60 AUTOCHECKBOX "&Control", IDC_OPT_CONF_CTRL, 129, 23, 60, 10, WS_TABSTOP
61 AUTOCHECKBOX "S&hift", IDC_OPT_CONF_SHIFT, 129, 33, 60, 10, WS_TABSTOP
62 LTEXT "快速编辑", -1, 79, 43, 50, 10
63 AUTOCHECKBOX "启用(&E)", IDC_OPT_QUICK_EDIT, 129, 43, 60, 10, WS_TABSTOP
65 GROUPBOX "历史命令", -1, 10, 57, 190, 35, BS_GROUPBOX
66 LTEXT "最大记录命令数:", -1, 14, 67, 78, 18
67 EDITTEXT IDC_OPT_HIST_SIZE, 92, 69, 31, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
68 CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
69 AUTOCHECKBOX "删除连续相同的命令(&R)", IDC_OPT_HIST_NODOUBLE, 130, 67, 50, 18, WS_TABSTOP|BS_MULTILINE
72 IDD_FONT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
73 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
75 FONT 9, "MS Shell Dlg"
77 LTEXT "字体(&F)", -1, 5, 5, 24, 8
78 LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
79 LTEXT "颜色(&C)", -1, 100, 5, 50, 8
80 CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
81 CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
82 LTEXT "大小(&S)", -1, 158, 5, 40, 8
83 LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
84 CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
85 LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18
88 IDD_CONFIG DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
89 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
91 FONT 9, "MS Shell Dlg"
93 GROUPBOX "缓冲区域", -1, 10, 11, 100, 42, BS_GROUPBOX
94 LTEXT "宽度(&W):", -1, 14, 25, 54, 9
95 EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
96 CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
97 LTEXT "高度(&H):", -1, 14, 39, 54, 9
98 EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
99 CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
101 GROUPBOX "窗口大小", -1, 10, 55, 100, 42
102 LTEXT "宽度(&I):", -1, 14, 69, 54, 9
103 EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
104 CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
105 LTEXT "高度(&E):", -1, 14, 83, 54, 9
106 EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
107 CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
109 GROUPBOX "当程序退出后", -1, 115, 11, 80, 42, BS_GROUPBOX
110 AUTOCHECKBOX "关闭虚拟终端(&C)", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
112 GROUPBOX "Edition", -1, 115, 55, 80, 42
113 COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
116 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60
117 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
119 FONT 9, "MS Shell Dlg"
121 GROUPBOX "", -1, 10, 10, 120, 31, BS_GROUPBOX
122 AUTORADIOBUTTON "保留当前配置以便下次使用", IDC_SAV_SAVE, 14, 15, 110, 10, WS_TABSTOP
123 AUTORADIOBUTTON "仅修改当前会话", IDC_SAV_SESSION, 14, 27, 110, 10, WS_TABSTOP
125 PUSHBUTTON "确定", IDOK, 20, 45, 35, 12
126 PUSHBUTTON "取消", IDCANCEL, 65, 45, 35, 12
129 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
134 IDS_DEFAULT, "設為默認值(&D)"
135 IDS_PROPERTIES, "屬性(&P)"
139 IDS_SELECTALL, "全選(&S)"
142 IDS_FNT_DISPLAY, "每個字都是 %ld 個像素寬,%ld 個像素高"
143 IDS_FNT_PREVIEW, "這是一段測試語句"
144 IDS_DLG_TIT_DEFAULT, "配置 - 默認設定"
145 IDS_DLG_TIT_CURRENT, "配置 - 當前設定"
146 IDS_DLG_TIT_ERROR, "配置錯誤"
147 IDS_DLG_ERR_SBWINSIZE, "螢幕緩存大小必須大於或等於視窗緩存"
150 IDD_OPTION DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
151 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
153 FONT 9, "MS Shell Dlg"
155 GROUPBOX "游標尺寸", -1, 10, 11, 60, 44, BS_GROUPBOX
156 AUTORADIOBUTTON "小(&S)", IDC_OPT_CURSOR_SMALL, 14, 23, 44, 10, WS_TABSTOP
157 AUTORADIOBUTTON "中(&M)", IDC_OPT_CURSOR_MEDIUM, 14, 33, 44, 10, WS_TABSTOP
158 AUTORADIOBUTTON "大(&L)", IDC_OPT_CURSOR_LARGE, 14, 43, 44, 10, WS_TABSTOP
160 GROUPBOX "控制", -1, 75, 11, 125, 44, BS_GROUPBOX
161 LTEXT "彈出功能表", -1, 79, 23, 40, 10
162 AUTOCHECKBOX "&Control", IDC_OPT_CONF_CTRL, 129, 23, 60, 10, WS_TABSTOP
163 AUTOCHECKBOX "S&hift", IDC_OPT_CONF_SHIFT, 129, 33, 60, 10, WS_TABSTOP
164 LTEXT "快速編輯", -1, 79, 43, 50, 10
165 AUTOCHECKBOX "啟用(&E)", IDC_OPT_QUICK_EDIT, 129, 43, 60, 10, WS_TABSTOP
167 GROUPBOX "歷史指令", -1, 10, 57, 190, 35, BS_GROUPBOX
168 LTEXT "最大記錄指令數:", -1, 14, 67, 78, 18
169 EDITTEXT IDC_OPT_HIST_SIZE, 92, 69, 31, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
170 CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
171 AUTOCHECKBOX "刪除連續相同的指令(&R)", IDC_OPT_HIST_NODOUBLE, 130, 67, 50, 18, WS_TABSTOP|BS_MULTILINE
174 IDD_FONT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
175 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
177 FONT 9, "MS Shell Dlg"
179 LTEXT "字型(&F)", -1, 5, 5, 24, 8
180 LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
181 LTEXT "顏色(&C)", -1, 100, 5, 50, 8
182 CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
183 CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
184 LTEXT "大小(&S)", -1, 158, 5, 40, 8
185 LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
186 CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
187 LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18
190 IDD_CONFIG DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
191 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
193 FONT 9, "MS Shell Dlg"
195 GROUPBOX "緩衝區域", -1, 10, 11, 100, 42, BS_GROUPBOX
196 LTEXT "寬度(&W):", -1, 14, 25, 54, 9
197 EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
198 CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
199 LTEXT "高度(&H):", -1, 14, 39, 54, 9
200 EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
201 CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
203 GROUPBOX "窗口大小", -1, 10, 55, 100, 42
204 LTEXT "寬度(&I):", -1, 14, 69, 54, 9
205 EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
206 CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
207 LTEXT "高度(&E):", -1, 14, 83, 54, 9
208 EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
209 CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
211 GROUPBOX "當程式結束後", -1, 115, 11, 80, 42, BS_GROUPBOX
212 AUTOCHECKBOX "關閉虛擬終端(&C)", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
214 GROUPBOX "Edition", -1, 115, 55, 80, 42
215 COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
218 IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60
219 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
221 FONT 9, "MS Shell Dlg"
223 GROUPBOX "", -1, 10, 10, 120, 31, BS_GROUPBOX
224 AUTORADIOBUTTON "保留當前配置以便下次使用", IDC_SAV_SAVE, 14, 15, 110, 10, WS_TABSTOP
225 AUTORADIOBUTTON "僅修改當前會話", IDC_SAV_SESSION, 14, 27, 110, 10, WS_TABSTOP
227 PUSHBUTTON "確定", IDOK, 20, 45, 35, 12
228 PUSHBUTTON "取消", IDCANCEL, 65, 45, 35, 12