2 * WineConsole (Simplified and Traditional Chinese Language Support)
4 * Copyright 2002 liuspider <liuspider@yahoo.com>
5 * Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
6 * Copyright 2010 Cheer Xiao <xiaqqaix.at.gmail.com>
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.
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.
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
23 #include "wineconsole_res.h"
25 /* Chinese text is encoded in UTF-8 */
26 #pragma code_page(65001)
28 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
30 IDD_OPTION DIALOG 36, 24, 140, 105
31 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
33 FONT 9, "MS Shell Dlg"
35 GROUPBOX "光标尺寸", -1, 10, 11, 60, 44, BS_GROUPBOX
36 AUTORADIOBUTTON "小(&S)", IDC_OPT_CURSOR_SMALL, 14, 23, 44, 10, WS_TABSTOP
37 AUTORADIOBUTTON "中(&M)", IDC_OPT_CURSOR_MEDIUM, 14, 33, 44, 10, WS_TABSTOP
38 AUTORADIOBUTTON "大(&L)", IDC_OPT_CURSOR_LARGE, 14, 43, 44, 10, WS_TABSTOP
40 GROUPBOX "控制", -1, 75, 11, 125, 44, BS_GROUPBOX
41 LTEXT "弹出菜单", -1, 79, 23, 40, 10
42 AUTOCHECKBOX "&Control", IDC_OPT_CONF_CTRL, 129, 23, 60, 10, WS_TABSTOP
43 AUTOCHECKBOX "S&hift", IDC_OPT_CONF_SHIFT, 129, 33, 60, 10, WS_TABSTOP
44 LTEXT "快速编辑", -1, 79, 43, 50, 10
45 AUTOCHECKBOX "启用(&E)", IDC_OPT_QUICK_EDIT, 129, 43, 60, 10, WS_TABSTOP
47 GROUPBOX "命令历史", -1, 10, 57, 190, 35, BS_GROUPBOX
48 LTEXT "最大记录命令数:", -1, 14, 67, 78, 18
49 EDITTEXT IDC_OPT_HIST_SIZE, 92, 69, 31, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
50 CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
51 AUTOCHECKBOX "删除连续相同的命令(&R)", IDC_OPT_HIST_NODOUBLE, 130, 67, 50, 18, WS_TABSTOP|BS_MULTILINE
54 IDD_FONT DIALOG 36, 24, 140, 105
55 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
57 FONT 9, "MS Shell Dlg"
59 LTEXT "字体(&F)", -1, 5, 5, 24, 8
60 LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
61 LTEXT "颜色(&C)", -1, 100, 5, 50, 8
62 CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
63 CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
64 LTEXT "大小(&S)", -1, 158, 5, 40, 8
65 LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
66 CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
67 LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18
70 IDD_CONFIG DIALOG 36, 24, 140, 105
71 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
73 FONT 9, "MS Shell Dlg"
75 GROUPBOX "缓冲区", -1, 10, 11, 100, 42, BS_GROUPBOX
76 LTEXT "宽度(&W):", -1, 14, 25, 54, 9
77 EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
78 CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
79 LTEXT "高度(&H):", -1, 14, 39, 54, 9
80 EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
81 CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
83 GROUPBOX "窗口大小", -1, 10, 55, 100, 42
84 LTEXT "宽度(&I):", -1, 14, 69, 54, 9
85 EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
86 CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
87 LTEXT "高度(&E):", -1, 14, 83, 54, 9
88 EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
89 CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
91 GROUPBOX "当程序退出后", -1, 115, 11, 80, 42, BS_GROUPBOX
92 AUTOCHECKBOX "关闭控制台(&C)", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
94 GROUPBOX "Edition", -1, 115, 55, 80, 42 /* 待求证 */
95 COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
98 IDD_SAVE_SETTINGS DIALOG 20, 20, 140, 60
99 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
101 FONT 9, "MS Shell Dlg"
103 GROUPBOX "", -1, 10, 10, 120, 31, BS_GROUPBOX
104 AUTORADIOBUTTON "保留当前配置以便以后使用", IDC_SAV_SAVE, 14, 15, 110, 10, WS_TABSTOP
105 AUTORADIOBUTTON "仅修改当前会话", IDC_SAV_SESSION, 14, 27, 110, 10, WS_TABSTOP
107 PUSHBUTTON "确定", IDOK, 20, 45, 35, 12
108 PUSHBUTTON "取消", IDCANCEL, 65, 45, 35, 12
111 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
113 IDD_OPTION DIALOG 36, 24, 140, 105
114 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
116 FONT 9, "MS Shell Dlg"
118 GROUPBOX "游標尺寸", -1, 10, 11, 60, 44, BS_GROUPBOX
119 AUTORADIOBUTTON "小(&S)", IDC_OPT_CURSOR_SMALL, 14, 23, 44, 10, WS_TABSTOP
120 AUTORADIOBUTTON "中(&M)", IDC_OPT_CURSOR_MEDIUM, 14, 33, 44, 10, WS_TABSTOP
121 AUTORADIOBUTTON "大(&L)", IDC_OPT_CURSOR_LARGE, 14, 43, 44, 10, WS_TABSTOP
123 GROUPBOX "控制", -1, 75, 11, 125, 44, BS_GROUPBOX
124 LTEXT "彈出功能表", -1, 79, 23, 40, 10
125 AUTOCHECKBOX "&Control", IDC_OPT_CONF_CTRL, 129, 23, 60, 10, WS_TABSTOP
126 AUTOCHECKBOX "S&hift", IDC_OPT_CONF_SHIFT, 129, 33, 60, 10, WS_TABSTOP
127 LTEXT "快速編輯", -1, 79, 43, 50, 10
128 AUTOCHECKBOX "啟用(&E)", IDC_OPT_QUICK_EDIT, 129, 43, 60, 10, WS_TABSTOP
130 GROUPBOX "歷史指令", -1, 10, 57, 190, 35, BS_GROUPBOX
131 LTEXT "最大記錄指令數:", -1, 14, 67, 78, 18
132 EDITTEXT IDC_OPT_HIST_SIZE, 92, 69, 31, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
133 CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
134 AUTOCHECKBOX "刪除連續相同的指令(&R)", IDC_OPT_HIST_NODOUBLE, 130, 67, 50, 18, WS_TABSTOP|BS_MULTILINE
137 IDD_FONT DIALOG 36, 24, 140, 105
138 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
140 FONT 9, "MS Shell Dlg"
142 LTEXT "字型(&F)", -1, 5, 5, 24, 8
143 LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
144 LTEXT "顏色(&C)", -1, 100, 5, 50, 8
145 CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
146 CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
147 LTEXT "大小(&S)", -1, 158, 5, 40, 8
148 LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
149 CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
150 LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18
153 IDD_CONFIG DIALOG 36, 24, 140, 105
154 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
156 FONT 9, "MS Shell Dlg"
158 GROUPBOX "緩衝區域", -1, 10, 11, 100, 42, BS_GROUPBOX
159 LTEXT "寬度(&W):", -1, 14, 25, 54, 9
160 EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
161 CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
162 LTEXT "高度(&H):", -1, 14, 39, 54, 9
163 EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
164 CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
166 GROUPBOX "窗口大小", -1, 10, 55, 100, 42
167 LTEXT "寬度(&I):", -1, 14, 69, 54, 9
168 EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
169 CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
170 LTEXT "高度(&E):", -1, 14, 83, 54, 9
171 EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
172 CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
174 GROUPBOX "當程式結束後", -1, 115, 11, 80, 42, BS_GROUPBOX
175 AUTOCHECKBOX "關閉虛擬終端(&C)", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
177 GROUPBOX "Edition", -1, 115, 55, 80, 42
178 COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
181 IDD_SAVE_SETTINGS DIALOG 20, 20, 140, 60
182 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
184 FONT 9, "MS Shell Dlg"
186 GROUPBOX "", -1, 10, 10, 120, 31, BS_GROUPBOX
187 AUTORADIOBUTTON "保留當前配置以便下次使用", IDC_SAV_SAVE, 14, 15, 110, 10, WS_TABSTOP
188 AUTORADIOBUTTON "僅修改當前會話", IDC_SAV_SESSION, 14, 27, 110, 10, WS_TABSTOP
190 PUSHBUTTON "確定", IDOK, 20, 45, 35, 12
191 PUSHBUTTON "取消", IDCANCEL, 65, 45, 35, 12