2 * Copyright 2001 Eric Pouech
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include "wineconsole_res.h"
21 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
26 IDS_DEFAULT, "Set &Defaults"
27 IDS_PROPERTIES, "&Properties"
31 IDS_SELECTALL, "&Select all"
34 IDS_FNT_DISPLAY, "Each character is %ld pixels wide on %ld pixels high"
35 IDS_FNT_PREVIEW, "This is a test"
36 IDS_DLG_TIT_DEFAULT, "Setup - Default settings"
37 IDS_DLG_TIT_CURRENT, "Setup - Current settings"
38 IDS_DLG_TIT_ERROR, "Configuration error"
39 IDS_DLG_ERR_SBWINSIZE, "Screen buffer size must be greater or equal to the window's one"
41 IDS_CMD_INVALID_EVENT_ID "wineconsole: Couldn't parse event id\n"
42 IDS_CMD_INVALID_BACKEND "wineconsole: Invalid backend\n"
43 IDS_CMD_INVALID_OPTION "wineconsole: Unrecognized command line option\n"
44 IDS_CMD_ABOUT "Starts a program in a Wine console\n"
45 IDS_CMD_LAUNCH_FAILED "wineconsole: Starting program %s failed.\n"\
46 "The command is invalid.\n"
48 IDS_USAGE_HEADER "\nUsage:\n wineconsole [options] <command>\n\nOptions:\n"
49 IDS_USAGE_BACKEND " --backend={user|curses} Choosing user will spawn a new window, curses will\n"\
50 " try to setup the current terminal as a Wine console\n"
51 IDS_USAGE_COMMAND " <command> The Wine program to launch in the console\n"
52 IDS_USAGE_FOOTER "\nExample:\n wineconsole cmd\nStarts the Wine command prompt in a Wine console\n\n"
56 IDD_OPTION DIALOG 36, 24, 140, 105
57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
59 FONT 8, "MS Shell Dlg"
61 GROUPBOX "Cursor size", -1, 10, 11, 60, 44, BS_GROUPBOX
62 AUTORADIOBUTTON "&Small", IDC_OPT_CURSOR_SMALL, 14, 23, 44, 10, WS_TABSTOP
63 AUTORADIOBUTTON "&Medium", IDC_OPT_CURSOR_MEDIUM, 14, 33, 44, 10, WS_TABSTOP
64 AUTORADIOBUTTON "&Large", IDC_OPT_CURSOR_LARGE, 14, 43, 44, 10, WS_TABSTOP
66 GROUPBOX "Control", -1, 75, 11, 125, 44, BS_GROUPBOX
67 LTEXT "Popup menu", -1, 79, 23, 40, 10
68 AUTOCHECKBOX "&Control", IDC_OPT_CONF_CTRL, 129, 23, 60, 10, WS_TABSTOP
69 AUTOCHECKBOX "S&hift", IDC_OPT_CONF_SHIFT, 129, 33, 60, 10, WS_TABSTOP
70 LTEXT "Quick edit", -1, 79, 43, 50, 10
71 AUTOCHECKBOX "&enable", IDC_OPT_QUICK_EDIT, 129, 43, 60, 10, WS_TABSTOP
73 GROUPBOX "Command history", -1, 10, 57, 190, 35, BS_GROUPBOX
74 LTEXT "&Number of recalled commands :", -1, 14, 67, 78, 18
75 EDITTEXT IDC_OPT_HIST_SIZE, 92, 69, 31, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
76 CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
77 AUTOCHECKBOX "&Remove doubles", IDC_OPT_HIST_NODOUBLE, 130, 67, 50, 18, WS_TABSTOP|BS_MULTILINE
80 IDD_FONT DIALOG 36, 24, 140, 105
81 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
83 FONT 8, "MS Shell Dlg"
85 LTEXT "&Font", -1, 5, 5, 24, 8
86 LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
87 LTEXT "&Color", -1, 100, 5, 50, 8
88 CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
89 CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
90 LTEXT "&Size", -1, 158, 5, 40, 8
91 LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
92 CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
93 LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18
96 IDD_CONFIG DIALOG 36, 24, 140, 105
97 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
98 CAPTION " Configuration "
99 FONT 8, "MS Shell Dlg"
101 GROUPBOX "Buffer zone", -1, 10, 11, 100, 42, BS_GROUPBOX
102 LTEXT "&Width :", -1, 14, 25, 54, 9
103 EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
104 CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
105 LTEXT "&Height :", -1, 14, 39, 54, 9
106 EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
107 CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
109 GROUPBOX "Window size", -1, 10, 55, 100, 42
110 LTEXT "W&idth :", -1, 14, 69, 54, 9
111 EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
112 CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
113 LTEXT "H&eight :", -1, 14, 83, 54, 9
114 EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
115 CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
117 GROUPBOX "End of program", -1, 115, 11, 80, 42, BS_GROUPBOX
118 AUTOCHECKBOX "&Close console", IDC_CNF_CLOSE_EXIT, 119, 25, 72, 20, WS_TABSTOP
120 GROUPBOX "Edition", -1, 115, 55, 80, 42
121 COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 72, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
124 IDD_SAVE_SETTINGS DIALOG 20, 20, 170, 60
125 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
126 CAPTION "Console parameters"
127 FONT 8, "MS Shell Dlg"
129 GROUPBOX "", -1, 10, 10, 150, 31, BS_GROUPBOX
130 AUTORADIOBUTTON "Retain these settings for later sessions", IDC_SAV_SAVE, 14, 15, 140, 10, WS_TABSTOP
131 AUTORADIOBUTTON "Modify only current session", IDC_SAV_SESSION, 14, 27, 140, 10, WS_TABSTOP
133 PUSHBUTTON "OK", IDOK, 35, 45, 35, 12
134 PUSHBUTTON "Cancel", IDCANCEL, 80, 45, 35, 12
137 LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
139 IDD_FONT DIALOG 36, 24, 140, 105
140 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
142 FONT 8, "MS Shell Dlg"
144 LTEXT "&Font", -1, 5, 5, 24, 8
145 LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
146 LTEXT "&Colour", -1, 100, 5, 50, 8
147 CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
148 CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
149 LTEXT "&Size", -1, 158, 5, 40, 8
150 LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
151 CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
152 LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18