Link only a single .rc file with application.
[wine] / programs / progman / Xx.rc
1 /*
2  * Program Manager
3  *
4  * Copyright 1996 Ulrich Schmid
5  */
6
7 /* Menu */
8
9 CONCAT(MENU_, LANGUAGE_ID) MENU
10 {
11  POPUP MENU_FILE {
12    MENUITEM MENU_FILE_NEW,              PM_NEW 
13    MENUITEM MENU_FILE_OPEN,             PM_OPEN
14    MENUITEM MENU_FILE_MOVE,             PM_MOVE,      GRAYED
15    MENUITEM MENU_FILE_COPY,             PM_COPY,      GRAYED
16    MENUITEM MENU_FILE_DELETE,           PM_DELETE
17    MENUITEM MENU_FILE_ATTRIBUTES,       PM_ATTRIBUTES
18    MENUITEM SEPARATOR   
19    MENUITEM MENU_FILE_EXECUTE,          PM_EXECUTE
20    MENUITEM SEPARATOR   
21    MENUITEM MENU_FILE_EXIT,             PM_EXIT
22  }
23  POPUP MENU_OPTIONS {
24    MENUITEM MENU_OPTIONS_AUTO_ARRANGE,  PM_AUTO_ARRANGE
25    MENUITEM MENU_OPTIONS_MIN_ON_RUN,    PM_MIN_ON_RUN
26    MENUITEM MENU_OPTIONS_SAVE_SETTINGS, PM_SAVE_SETTINGS
27  }
28  POPUP MENU_WINDOWS {
29    MENUITEM MENU_WINDOWS_OVERLAP,       PM_OVERLAP
30    MENUITEM MENU_WINDOWS_SIDE_BY_SIDE,  PM_SIDE_BY_SIDE
31    MENUITEM MENU_WINDOWS_ARRANGE,       PM_ARRANGE
32  }
33  POPUP MENU_LANGUAGE {
34    /* Dummy item, will be removed */
35    MENUITEM SEPARATOR
36  }
37  POPUP MENU_HELP {
38    MENUITEM MENU_HELP_CONTENTS,         PM_CONTENTS
39    MENUITEM MENU_HELP_SEARCH,           PM_SEARCH
40    MENUITEM SEPARATOR   
41    MENUITEM MENU_HELP_HELP_ON_HELP,     PM_HELPONHELP
42    MENUITEM MENU_HELP_TUTORIAL,         PM_TUTORIAL
43    MENUITEM SEPARATOR   
44
45    POPUP MENU_INFO {
46      MENUITEM MENU_INFO_LICENSE,        PM_LICENSE
47      MENUITEM MENU_INFO_NO_WARRANTY,    PM_NO_WARRANTY
48      MENUITEM MENU_INFO_ABOUT_WINE,     PM_ABOUT_WINE
49    }
50  }
51 }
52
53 /* Dialog `New' */
54
55 CONCAT(DIALOG_NEW_, LANGUAGE_ID) DIALOG 0, 0, 170, 65
56 STYLE DS_MODALFRAME
57 CAPTION DIALOG_NEW_CAPTION
58 {
59 RADIOBUTTON   "",                 PM_NEW_GROUP,    10, 15,  10, 15
60 LTEXT         DIALOG_NEW_GROUP,   PM_NEW_GROUP,    20, 18,  80, 15
61 RADIOBUTTON   "",                 PM_NEW_PROGRAM,  10, 35,  10, 15
62 LTEXT         DIALOG_NEW_PROGRAM, PM_NEW_PROGRAM,  20, 38,  80, 15
63 DEFPUSHBUTTON DIALOG_OK,          IDOK,           105,  5,  60, 15, WS_TABSTOP
64 PUSHBUTTON    DIALOG_CANCEL,      IDCANCEL,       105, 25,  60, 15, WS_TABSTOP
65 PUSHBUTTON    DIALOG_HELP,        PM_HELP,        105, 45,  60, 15, WS_TABSTOP
66 }
67
68 /* Dialog `Move' */
69
70 CONCAT(DIALOG_MOVE_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
71 STYLE DS_MODALFRAME
72 CAPTION DIALOG_MOVE_CAPTION
73 {
74 LTEXT         DIALOG_MOVE_PROGRAM,    IDIGNORE,            5,  5,  90, 15
75 LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
76 LTEXT         DIALOG_MOVE_FROM_GROUP, IDIGNORE,            5, 13,  90, 15
77 LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
78 LTEXT         DIALOG_MOVE_TO_GROUP,   PM_TO_GROUP_TXT,     5, 28, 140, 15
79 COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
80 DEFPUSHBUTTON DIALOG_OK,              IDOK,              185,  5,  60, 15, WS_TABSTOP
81 PUSHBUTTON    DIALOG_CANCEL,          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
82 PUSHBUTTON    DIALOG_HELP,            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
83 }
84
85 /* Dialog `Copy' */
86
87 CONCAT(DIALOG_COPY_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
88 STYLE DS_MODALFRAME
89 CAPTION DIALOG_COPY_CAPTION
90 {
91 LTEXT         DIALOG_COPY_PROGRAM,    IDIGNORE,            5,  5,  90, 15
92 LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
93 LTEXT         DIALOG_COPY_FROM_GROUP, IDIGNORE,            5, 13,  90, 15
94 LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
95 LTEXT         DIALOG_COPY_TO_GROUP,   PM_TO_GROUP_TXT,     5, 28, 140, 15
96 COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
97 DEFPUSHBUTTON DIALOG_OK,              IDOK,              185,  5,  60, 15, WS_TABSTOP
98 PUSHBUTTON    DIALOG_CANCEL,          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
99 PUSHBUTTON    DIALOG_HELP,            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
100 }
101
102 /* Dialog `Group attributes' */
103
104 CONCAT(DIALOG_GROUP_, LANGUAGE_ID) DIALOG 0, 0, 230, 65
105 STYLE DS_MODALFRAME
106 CAPTION DIALOG_GROUP_CAPTION
107 {
108 LTEXT     DIALOG_GROUP_DESCRIPTION, PM_DESCRIPTION_TXT,   05, 18,  50, 10
109 EDITTEXT                            PM_DESCRIPTION,       60, 18,  90, 15, WS_TABSTOP
110 LTEXT     DIALOG_GROUP_FILE,        PM_FILE_TXT,          05, 38,  50, 10
111 EDITTEXT                            PM_FILE,              60, 38,  90, 15, WS_TABSTOP
112 DEFPUSHBUTTON DIALOG_OK,            IDOK,                155,  5,  60, 15, WS_TABSTOP
113 PUSHBUTTON    DIALOG_CANCEL,        IDCANCEL,            155, 25,  60, 15, WS_TABSTOP
114 PUSHBUTTON    DIALOG_HELP,          PM_HELP,             155, 45,  60, 15, WS_TABSTOP
115 }
116
117 /* Dialog `Program attributes' */
118
119 CONCAT(DIALOG_PROGRAM_, LANGUAGE_ID) DIALOG 0, 0, 250, 105
120 STYLE DS_MODALFRAME
121 CAPTION DIALOG_PROGRAM_CAPTION
122 {
123 LTEXT         DIALOG_PROGRAM_DESCRIPTION,  PM_DESCRIPTION_TXT,   05, 10,  60, 10
124 EDITTEXT                                   PM_DESCRIPTION,       80, 10,  90, 15, WS_TABSTOP
125 LTEXT         DIALOG_PROGRAM_COMMAND_LINE, PM_COMMAND_LINE_TXT,  05, 25,  60, 10
126 EDITTEXT                                   PM_COMMAND_LINE,      80, 25,  90, 15, WS_TABSTOP
127 LTEXT         DIALOG_PROGRAM_DIRECTORY,    PM_DIRECTORY_TXT,     05, 40,  60, 10
128 EDITTEXT                                   PM_DIRECTORY,         80, 40,  90, 15, WS_TABSTOP
129 LTEXT         DIALOG_PROGRAM_HOT_KEY,      PM_HOT_KEY_TXT,       05, 55,  60, 10
130 EDITTEXT                                   PM_HOT_KEY,           80, 55,  90, 15, WS_TABSTOP
131 ICON          "",                          PM_ICON,              20, 70
132 CHECKBOX      "",                          PM_SYMBOL,            80, 75,  10, 10, WS_TABSTOP
133 LTEXT         DIALOG_PROGRAM_SYMBOL,       IDIGNORE,             95, 75,  75, 10
134 DEFPUSHBUTTON DIALOG_OK,                   IDOK,                185,  5,  60, 15, WS_TABSTOP
135 PUSHBUTTON    DIALOG_CANCEL,               IDCANCEL,            185, 25,  60, 15, WS_TABSTOP
136 PUSHBUTTON    DIALOG_BROWSE,               PM_BROWSE,           185, 45,  60, 15, WS_TABSTOP
137 PUSHBUTTON    DIALOG_PROGRAM_OTHER_SYMBOL, PM_OTHER_SYMBOL,     185, 65,  60, 15, WS_TABSTOP
138 PUSHBUTTON    DIALOG_HELP,                 PM_HELP,             185, 85,  60, 15, WS_TABSTOP
139 }
140
141 /* Dialog `Symbol' */
142
143 CONCAT(DIALOG_SYMBOL_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
144 STYLE DS_MODALFRAME
145 CAPTION DIALOG_SYMBOL_CAPTION
146 {
147 LTEXT     DIALOG_SYMBOL_FILE,    PM_ICON_FILE_TXT,    5, 15,  40, 10
148 EDITTEXT                         PM_ICON_FILE,       45, 15,  85, 15, WS_TABSTOP
149 LTEXT     DIALOG_SYMBOL_CURRENT, PM_SYMBOL_LIST_TXT,  5, 30, 125, 10
150 COMBOBOX                         PM_SYMBOL_LIST,      5, 40, 125, 50,
151    CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
152 DEFPUSHBUTTON DIALOG_OK,         IDOK,              135,  5,  60, 15, WS_TABSTOP
153 PUSHBUTTON    DIALOG_CANCEL,     IDCANCEL,          135, 25,  60, 15, WS_TABSTOP
154 PUSHBUTTON    DIALOG_BROWSE ,    PM_BROWSE,         135, 45,  60, 15, WS_TABSTOP
155 PUSHBUTTON    DIALOG_HELP,       PM_HELP,           135, 65,  60, 15, WS_TABSTOP
156 }
157
158 /* Dialog `Execute' */
159
160 CONCAT(DIALOG_EXECUTE_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
161 STYLE DS_MODALFRAME
162 CAPTION DIALOG_EXECUTE_CAPTION
163 {
164 LTEXT     DIALOG_EXECUTE_COMMAND_LINE, IDIGNORE,   05, 15, 120, 10
165 EDITTEXT                               PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
166 CHECKBOX      "",                      PM_SYMBOL,  05, 45,  10, 10, WS_TABSTOP
167 LTEXT         DIALOG_EXECUTE_SYMBOL,   IDIGNORE,   20, 45, 120, 10
168 DEFPUSHBUTTON DIALOG_OK,               IDOK,      135,  5,  60, 15, WS_TABSTOP
169 PUSHBUTTON    DIALOG_CANCEL,           IDCANCEL,  135, 25,  60, 15, WS_TABSTOP
170 PUSHBUTTON    DIALOG_BROWSE ,          PM_BROWSE, 135, 45,  60, 15, WS_TABSTOP
171 PUSHBUTTON    DIALOG_HELP,             PM_HELP,   135, 65,  60, 15, WS_TABSTOP
172 }
173
174 /* Strings */
175
176 #define STRING_LANGUAGE_ID        STRINGIFY(LANGUAGE_ID)
177 #define STRING_LANGUAGE_MENU_ITEM LANGUAGE_MENU_ITEM
178
179 STRINGTABLE
180 {
181 ADDSTRING(LANGUAGE_ID)
182 ADDSTRING(LANGUAGE_MENU_ITEM)
183 ADDSTRING(PROGRAM_MANAGER)
184 ADDSTRING(ERROR)
185 ADDSTRING(WARNING)
186 ADDSTRING(INFO)
187 ADDSTRING(DELETE)
188 ADDSTRING(DELETE_GROUP_s)
189 ADDSTRING(DELETE_PROGRAM_s)
190 ADDSTRING(NOT_IMPLEMENTED)
191 ADDSTRING(FILE_READ_ERROR_s)
192 ADDSTRING(FILE_WRITE_ERROR_s)
193 ADDSTRING(GRPFILE_READ_ERROR_s)
194 ADDSTRING(OUT_OF_MEMORY)
195 ADDSTRING(WINHELP_ERROR)
196 ADDSTRING(UNKNOWN_FEATURE_s)
197 ADDSTRING(FILE_NOT_OVERWRITTEN_s)
198 ADDSTRING(SAVE_GROUP_AS_s)
199 ADDSTRING(NO_HOT_KEY)
200 ADDSTRING(ALL_FILES)
201 ADDSTRING(PROGRAMS)
202 ADDSTRING(LIBRARIES_DLL)
203 ADDSTRING(SYMBOL_FILES)
204 ADDSTRING(SYMBOLS_ICO)
205 }
206
207
208 /* Undefine all language-specific strings */
209
210 #undef LANGUAGE_ID
211 #undef LANGUAGE_NUMBER
212 #undef LANGUAGE_MENU_ITEM
213
214 #undef MENU_FILE
215 #undef MENU_FILE_NEW
216 #undef MENU_FILE_OPEN
217 #undef MENU_FILE_MOVE
218 #undef MENU_FILE_COPY
219 #undef MENU_FILE_DELETE
220 #undef MENU_FILE_ATTRIBUTES
221 #undef MENU_FILE_EXECUTE
222 #undef MENU_FILE_EXIT
223 #undef MENU_OPTIONS
224 #undef MENU_OPTIONS_AUTO_ARRANGE
225 #undef MENU_OPTIONS_MIN_ON_RUN
226 #undef MENU_OPTIONS_SAVE_SETTINGS
227 #undef MENU_WINDOWS
228 #undef MENU_WINDOWS_OVERLAP
229 #undef MENU_WINDOWS_SIDE_BY_SIDE
230 #undef MENU_WINDOWS_ARRANGE
231 #undef MENU_LANGUAGE
232 #undef MENU_HELP
233 #undef MENU_HELP_CONTENTS
234 #undef MENU_HELP_SEARCH
235 #undef MENU_HELP_HELP_ON_HELP
236 #undef MENU_HELP_TUTORIAL
237 #undef MENU_INFO
238 #undef MENU_INFO_LICENSE
239 #undef MENU_INFO_NO_WARRANTY
240 #undef MENU_INFO_ABOUT_WINE
241
242 #undef DIALOG_OK
243 #undef DIALOG_CANCEL
244 #undef DIALOG_BROWSE
245 #undef DIALOG_HELP
246 #undef DIALOG_NEW_CAPTION
247 #undef DIALOG_NEW_NEW
248 #undef DIALOG_NEW_GROUP
249 #undef DIALOG_NEW_PROGRAM
250 #undef DIALOG_MOVE_CAPTION
251 #undef DIALOG_MOVE_PROGRAM
252 #undef DIALOG_MOVE_FROM_GROUP
253 #undef DIALOG_MOVE_TO_GROUP
254 #undef DIALOG_COPY_CAPTION
255 #undef DIALOG_COPY_PROGRAM
256 #undef DIALOG_COPY_FROM_GROUP
257 #undef DIALOG_COPY_TO_GROUP
258 #undef DIALOG_GROUP_CAPTION
259 #undef DIALOG_GROUP_DESCRIPTION
260 #undef DIALOG_GROUP_FILE
261 #undef DIALOG_PROGRAM_CAPTION
262 #undef DIALOG_PROGRAM_DESCRIPTION
263 #undef DIALOG_PROGRAM_COMMAND_LINE
264 #undef DIALOG_PROGRAM_DIRECTORY
265 #undef DIALOG_PROGRAM_HOT_KEY
266 #undef DIALOG_PROGRAM_SYMBOL
267 #undef DIALOG_PROGRAM_OTHER_SYMBOL
268 #undef DIALOG_SYMBOL_CAPTION
269 #undef DIALOG_SYMBOL_FILE
270 #undef DIALOG_SYMBOL_CURRENT
271 #undef DIALOG_EXECUTE_CAPTION
272 #undef DIALOG_EXECUTE_COMMAND_LINE
273 #undef DIALOG_EXECUTE_SYMBOL
274
275 #undef STRING_LANGUAGE_ID
276 #undef STRING_LANGUAGE_MENU_ITEM
277 #undef STRING_PROGRAM_MANAGER
278 #undef STRING_ERROR
279 #undef STRING_WARNING
280 #undef STRING_INFO
281 #undef STRING_DELETE
282 #undef STRING_DELETE_GROUP_s
283 #undef STRING_DELETE_PROGRAM_s
284 #undef STRING_NOT_IMPLEMENTED
285 #undef STRING_FILE_READ_ERROR_s
286 #undef STRING_FILE_WRITE_ERROR_s
287 #undef STRING_GRPFILE_READ_ERROR_s
288 #undef STRING_OUT_OF_MEMORY
289 #undef STRING_WINHELP_ERROR
290 #undef STRING_UNKNOWN_FEATURE_s
291 #undef STRING_FILE_NOT_OVERWRITTEN_s
292 #undef STRING_SAVE_GROUP_AS_s
293 #undef STRING_NO_HOT_KEY
294 #undef STRING_ALL_FILES
295 #undef STRING_PROGRAMS
296 #undef STRING_LIBRARIES_DLL
297 #undef STRING_SYMBOL_FILES
298 #undef STRING_SYMBOLS_ICO
299