crypt32: Test CryptStringToBinary with weird Base64.
[wine.git] / programs / regedit / regedit.rc
blob4bfd23a8b1ac8262f3f6ee9ac8ca0323e4a9e9d5
1 /*
2  * Regedit resources
3  *
4  * Copyright 2002 Robert Dickenson
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
21 #include "resource.h"
23 #pragma makedep po
25 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
28  * Menus
29  */
31 IDR_REGEDIT_MENU MENU
32 BEGIN
33     POPUP "&Registry"
34     BEGIN
35         MENUITEM "&Import Registry File...",    ID_REGISTRY_IMPORTREGISTRYFILE
36         MENUITEM "&Export Registry File...",    ID_REGISTRY_EXPORTREGISTRYFILE
37         MENUITEM SEPARATOR
38         MENUITEM "&Print...\tCtrl+P",           ID_REGISTRY_PRINT
39         MENUITEM SEPARATOR
40         MENUITEM "E&xit",                       ID_REGISTRY_EXIT
41     END
42     POPUP "&Edit"
43     BEGIN
44         MENUITEM "&Modify...",                  ID_EDIT_MODIFY
45         MENUITEM SEPARATOR
46         POPUP "&New"
47         BEGIN
48             MENUITEM "&Key",                        ID_EDIT_NEW_KEY
49             MENUITEM SEPARATOR
50             MENUITEM "&String Value",               ID_EDIT_NEW_STRINGVALUE
51             MENUITEM "&Binary Value",               ID_EDIT_NEW_BINARYVALUE
52             MENUITEM "&DWORD Value",                ID_EDIT_NEW_DWORDVALUE
53             MENUITEM "&Multi-String Value",         ID_EDIT_NEW_MULTI_STRINGVALUE
54             MENUITEM "&Expandable String Value",    ID_EDIT_NEW_EXPANDVALUE
55         END
56         MENUITEM SEPARATOR
57         MENUITEM "&Delete\tDel",                ID_EDIT_DELETE
58         MENUITEM "&Rename\tF2",                 ID_EDIT_RENAME
59         MENUITEM SEPARATOR
60         MENUITEM "&Copy Key Name",              ID_EDIT_COPYKEYNAME
61         MENUITEM SEPARATOR
62         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND, GRAYED
63         MENUITEM "Find Ne&xt\tF3",              ID_EDIT_FINDNEXT, GRAYED
64     END
65     POPUP "&View"
66     BEGIN
67         MENUITEM "Status &Bar",                 ID_VIEW_STATUSBAR
68         MENUITEM SEPARATOR
69         MENUITEM "Sp&lit",                      ID_VIEW_SPLIT
70         MENUITEM SEPARATOR
71         MENUITEM "&Refresh\tF5",                ID_VIEW_REFRESH
72     END
73     POPUP "&Favorites"
74     BEGIN
75         MENUITEM "&Add to Favorites...",          ID_FAVORITES_ADDTOFAVORITES
76         MENUITEM "&Remove Favorite...",           ID_FAVORITES_REMOVEFAVORITE
77     END
78     POPUP "&Help"
79     BEGIN
80         MENUITEM "&Contents\tF1",               ID_HELP_HELPTOPICS
81         MENUITEM "&About Registry Editor",      ID_HELP_ABOUT
82     END
83 END
85 IDR_POPUP_MENUS MENU
86 BEGIN
87   POPUP ""
88   BEGIN
89         MENUITEM "&Modify...",                  ID_EDIT_MODIFY
90         MENUITEM "Modify Binary Data...",       ID_EDIT_MODIFY_BIN
91         MENUITEM SEPARATOR
92         MENUITEM "&Delete\tDel",                ID_EDIT_DELETE
93         MENUITEM "&Rename",                     ID_EDIT_RENAME
94   END
95   POPUP ""
96   BEGIN
97         POPUP "&New"
98         BEGIN
99             MENUITEM "&Key",                        ID_EDIT_NEW_KEY
100             MENUITEM SEPARATOR
101             MENUITEM "&String Value",               ID_EDIT_NEW_STRINGVALUE
102             MENUITEM "&Binary Value",               ID_EDIT_NEW_BINARYVALUE
103             MENUITEM "&DWORD Value",                ID_EDIT_NEW_DWORDVALUE
104             MENUITEM "&Multi-String Value",         ID_EDIT_NEW_MULTI_STRINGVALUE
105             MENUITEM "&Expandable String Value",    ID_EDIT_NEW_EXPANDVALUE
106         END
107         MENUITEM SEPARATOR
108         MENUITEM "&Delete\tDel",                ID_EDIT_DELETE
109         MENUITEM "&Rename\tF2",                 ID_EDIT_RENAME
110         MENUITEM SEPARATOR
111         MENUITEM "&Export...",                  ID_EDIT_EXPORT
112         MENUITEM "&Copy Key Name",              ID_EDIT_COPYKEYNAME
113         MENUITEM SEPARATOR
114         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND, GRAYED
115   END
119  * String Tables
120  */
122 STRINGTABLE
123 BEGIN
124     IDS_LIST_COLUMN_NAME    "Name"
125     IDS_LIST_COLUMN_TYPE    "Type"
126     IDS_LIST_COLUMN_DATA    "Data"
129 STRINGTABLE
130 BEGIN
131     IDS_APP_TITLE           "Registry Editor"
134 STRINGTABLE
135 BEGIN
136     ID_REGISTRY_MENU        "Contains commands for working with the whole registry"
137     ID_EDIT_MENU            "Contains commands for editing values or keys"
138     ID_VIEW_MENU            "Contains commands for customizing the registry window"
139     ID_FAVORITES_MENU       "Contains commands for accessing frequently used keys"
140     ID_HELP_MENU            "Contains commands for displaying help and information about registry editor"
141     ID_EDIT_NEW_MENU        "Contains commands for creating new keys or values"
144 STRINGTABLE
145 BEGIN
146     ID_EDIT_MODIFY          "Modifies the value's data"
147     ID_EDIT_NEW_KEY         "Adds a new key"
148     ID_EDIT_NEW_STRINGVALUE "Adds a new string value"
149     ID_EDIT_NEW_BINARYVALUE "Adds a new binary value"
150     ID_EDIT_NEW_DWORDVALUE  "Adds a new double word value"
151     ID_EDIT_NEW_MULTI_STRINGVALUE "Adds a new multi-string value"
152     ID_REGISTRY_IMPORTREGISTRYFILE "Imports a text file into the registry"
153     ID_REGISTRY_EXPORTREGISTRYFILE
154                             "Exports all or part of the registry to a text file"
155     ID_REGISTRY_PRINT       "Prints all or part of the registry"
156 /*    ID_HELP_HELPTOPICS      "Opens registry editor help" */
157     ID_HELP_ABOUT           "Displays program information, version number and copyright"
160 STRINGTABLE
161 BEGIN
162     ID_REGISTRY_EXIT        "Quits the registry editor"
163     ID_FAVORITES_ADDTOFAVORITES "Adds keys to the favorites list"
164     ID_FAVORITES_REMOVEFAVORITE "Removes keys from the favorites list"
165     ID_VIEW_STATUSBAR       "Shows or hides the status bar"
166     ID_VIEW_SPLIT           "Change position of split between two panes"
167     ID_VIEW_REFRESH         "Refreshes the window"
168     ID_EDIT_DELETE          "Deletes the selection"
169     ID_EDIT_RENAME          "Renames the selection"
170     ID_EDIT_COPYKEYNAME     "Copies the name of the selected key to the clipboard"
171     ID_EDIT_FIND            "Finds a text string in a key, value or data"
172     ID_EDIT_FINDNEXT        "Finds next occurrence of text specified in previous search"
173     ID_EDIT_EXPORT          "Exports selected branch of the registry to a text file"
176 STRINGTABLE
177 BEGIN
178     IDS_ERROR               "Error"
179     IDS_BAD_KEY             "Unable to query the registry key '%1'."
180     IDS_BAD_VALUE           "Unable to query the registry value '%1'."
181     IDS_UNSUPPORTED_TYPE    "Unable to edit registry keys of this type (%1!u!)."
182     IDS_TOO_BIG_VALUE       "The value is too big (%1!u!)."
183     IDS_DELETE_BOX_TITLE    "Confirm Value Delete"
184     IDS_DELETE_BOX_TEXT     "Are you sure you want to delete the registry value '%1'?"
185     IDS_DELETE_BOX_TEXT_MULTIPLE "Are you sure you want to delete these values?"
186     IDS_NEWKEY              "New Key #%d"
187     IDS_NEWVALUE            "New Value #%d"
188     IDS_NOTFOUND            "Search complete. The string '%1' was not found."
191 STRINGTABLE
192 BEGIN
193     IDS_FILEDIALOG_IMPORT_TITLE   "Import Registry File"
194     IDS_FILEDIALOG_EXPORT_TITLE   "Export Registry File"
195     IDS_FILEDIALOG_FILTER_REG     "Registry files (*.reg)"
196     IDS_FILEDIALOG_FILTER_REG4    "Win9x/NT4 Registry files (REGEDIT4)"
197     IDS_FILEDIALOG_FILTER_ALL     "All files (*.*)"
200 STRINGTABLE
201 BEGIN
202     IDS_REGISTRY_ROOT_NAME           "My Computer"
203     IDS_REGISTRY_DEFAULT_VALUE       "(Default)"
204     IDS_REGISTRY_VALUE_NOT_SET       "(value not set)"
205     IDS_REGISTRY_VALUE_CANT_DISPLAY  "(cannot display value)"
206     IDS_REGISTRY_UNKNOWN_TYPE        "(unknown %d)"
209 STRINGTABLE
210 BEGIN
211     IDS_SET_VALUE_FAILED     "Unable to modify the selected registry value."
212     IDS_CREATE_KEY_FAILED    "Unable to create a new registry key."
213     IDS_CREATE_VALUE_FAILED  "Unable to create a new registry value."
214     IDS_KEY_EXISTS           "Unable to rename the key '%1'.\nThe specified key name already exists."
215     IDS_VALUE_EXISTS         "Unable to rename the value '%1'.\nThe specified value name already exists."
216     IDS_DELETE_KEY_FAILED    "Unable to delete the selected registry key."
217     IDS_RENAME_KEY_FAILED    "Unable to rename the selected registry key."
218     IDS_RENAME_VALUE_FAILED  "Unable to rename the selected registry value."
219     IDS_IMPORT_SUCCESSFUL    "The keys and values contained in %1 were successfully added to the registry."
220     IDS_IMPORT_FAILED        "Unable to import %1. The specified file is not a valid registry file."
224  * Dialogs
225  */
227 IDD_EXPORT_TEMPLATE DIALOG  50, 50, 278, 68
228 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
229 FONT 8, "MS Shell Dlg"
230 BEGIN
231     GROUPBOX "Export registry", IDC_EXPORT_BASE, 6, 6, 266, 55, WS_GROUP
232     AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 12, 17, 244, 12
233     AUTORADIOBUTTON "S&elected branch:", IDC_EXPORT_SELECTED, 12, 30, 244, 12
234     EDITTEXT IDC_EXPORT_PATH, 32, 43, 224, 12
237 IDD_FIND DIALOG  22, 17, 225, 85
238 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
239 CAPTION "Find"
240 FONT 8, "MS Shell Dlg"
241 BEGIN
242     LTEXT           "Find:",IDC_STATIC,5,7,119,8
243     EDITTEXT        IDC_VALUE_NAME,50,5,115,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
244     LTEXT           "Find in:",IDC_STATIC,5, 22, 119, 8
245     CHECKBOX        "Keys", IDC_FIND_KEYS, 5, 34, 160, 10, WS_TABSTOP | WS_GROUP | BS_AUTOCHECKBOX
246     CHECKBOX        "Value names", IDC_FIND_VALUES, 5, 46, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
247     CHECKBOX        "Value content", IDC_FIND_CONTENT, 5, 58, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
248     CHECKBOX        "Whole string only", IDC_FIND_WHOLE, 5, 70, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
249     DEFPUSHBUTTON   "Find",IDOK,175,5,45,15,WS_GROUP
250     PUSHBUTTON      "Close",IDCANCEL,175,24,45,15, WS_GROUP
253 IDD_ADDFAVORITE DIALOG  22, 17, 210, 55
254 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
255 CAPTION "Add Favorite"
256 FONT 8, "MS Shell Dlg"
257 BEGIN
258     LTEXT           "Name:",IDC_STATIC,5,5,119,8
259     EDITTEXT        IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
260     DEFPUSHBUTTON   "OK",IDOK,110,36,45,15,WS_GROUP
261     PUSHBUTTON      "Cancel",IDCANCEL,160,36,45,15,WS_GROUP
264 IDD_DELFAVORITE DIALOG  22, 17, 210, 90
265 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
266 CAPTION "Remove Favorite"
267 FONT 8, "MS Shell Dlg"
268 BEGIN
269     LTEXT           "Name:",IDC_STATIC,5,5,119,8
270     LISTBOX         IDC_NAME_LIST,5,15,200,52, WS_BORDER | WS_TABSTOP | LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL
271     DEFPUSHBUTTON   "OK",IDOK,110,72,45,15,WS_GROUP
272     PUSHBUTTON      "Cancel",IDCANCEL,160,72,45,15,WS_GROUP
275 IDD_EDIT_STRING DIALOG  22, 17, 210, 75
276 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
277 CAPTION "Edit String"
278 FONT 8, "MS Shell Dlg"
279 BEGIN
280     LTEXT           "Value name:",IDC_STATIC,5,5,119,8
281     EDITTEXT        IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
282     LTEXT           "Value data:",IDC_STATIC,5,30,119,8
283     EDITTEXT        IDC_VALUE_DATA,5,40,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
284     DEFPUSHBUTTON   "OK",IDOK,110,56,45,15,WS_GROUP
285     PUSHBUTTON   "Cancel",IDCANCEL,160,56,45,15,WS_GROUP
288 IDD_EDIT_DWORD DIALOG  22, 17, 220, 100
289 STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
290 CAPTION "Edit DWORD"
291 FONT 8, "MS Shell Dlg"
292 BEGIN
293     LTEXT           "Value name:",IDC_STATIC,5,5,119,8
294     EDITTEXT        IDC_VALUE_NAME,5,15,210,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
295     LTEXT           "Value data:",IDC_STATIC,5,30,90,8
296     EDITTEXT        IDC_VALUE_DATA,5,40,90,12, WS_BORDER | WS_TABSTOP
297     GROUPBOX        "Base", IDC_DWORD_BASE, 120, 30, 95, 37, BS_GROUPBOX
298     AUTORADIOBUTTON "Hexadecimal", IDC_DWORD_HEX, 130, 40, 80, 10, WS_TABSTOP
299     AUTORADIOBUTTON "Decimal", IDC_DWORD_DEC, 130, 52, 80, 10, WS_TABSTOP
300     DEFPUSHBUTTON   "OK",IDOK,110,81,45,15,WS_GROUP
301     PUSHBUTTON   "Cancel",IDCANCEL,160,81,45,15,WS_GROUP
304 IDD_EDIT_BINARY DIALOG  22, 17, 170, 100
305 STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
306 CAPTION "Edit Binary"
307 FONT 8, "MS Shell Dlg"
308 BEGIN
309     LTEXT           "Value name:",IDC_STATIC,5,5,119,8
310     EDITTEXT        IDC_VALUE_NAME,5,15,160,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
311     LTEXT           "Value data:",IDC_STATIC,5,30,90,8
312     CONTROL         "",IDC_VALUE_DATA,"HexEdit",WS_TABSTOP,5,40,160,40
313     DEFPUSHBUTTON   "OK",IDOK,70,83,45,15,WS_GROUP
314     PUSHBUTTON   "Cancel",IDCANCEL,120,83,45,15,WS_GROUP
317 IDD_EDIT_MULTI_STRING DIALOG  22, 17, 210, 175
318 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
319 CAPTION "Edit Multi-String"
320 FONT 8, "MS Shell Dlg"
321 BEGIN
322     LTEXT           "Value name:",IDC_STATIC,5,5,119,8
323     EDITTEXT        IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
324     LTEXT           "Value data:",IDC_STATIC,5,30,119,8
325     EDITTEXT        IDC_VALUE_DATA,5,40,200,112, WS_BORDER | WS_TABSTOP | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_WANTRETURN
326     DEFPUSHBUTTON   "OK",IDOK,110,156,45,15,WS_GROUP
327     PUSHBUTTON   "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
331  * Accelerators
332  */
334 IDC_REGEDIT ACCELERATORS
336     "#msgctxt#accelerator Find#F", ID_EDIT_FIND, VIRTKEY, CONTROL
337     "#msgctxt#accelerator Print#P", ID_REGISTRY_PRINT, VIRTKEY, CONTROL
338     VK_DELETE,  ID_EDIT_DELETE, VIRTKEY
339     VK_F1,      ID_HELP_HELPTOPICS, VIRTKEY
340     VK_F2,      ID_EDIT_RENAME, VIRTKEY
341     VK_F3,      ID_EDIT_FINDNEXT, VIRTKEY
342     VK_F5,      ID_VIEW_REFRESH, VIRTKEY
345 /* Command-line strings */
346 STRINGTABLE
348     STRING_USAGE, "Usage:\n\
349 \  regedit [options] [filename] [reg_key]\n\
351 \Options:\n\
352 \  [no option]    Launch the graphical version of this program.\n\
353 \  /L:system.dat  The location of the system.dat file to be modified.\n\
354 \                 Compatible with any other switch. Ignored.\n\
355 \  /R:user.dat    The location of the user.dat file to be modified.\n\
356 \                 Compatible with any other switch. Ignored.\n\
357 \  /C             Import the contents of a registry file.\n\
358 \  /D             Delete a specified registry key.\n\
359 \  /E             Export the contents of a specified registry key to a file.\n\
360 \                 If no key is specified, the entire registry is exported.\n\
361 \  /S             Silent mode. No messages will be displayed.\n\
362 \  /V             Launch the GUI in advanced mode. Ignored.\n\
363 \  /?             Display this information and exit.\n\
364 \  [filename]     The location of the file containing registry information to\n\
365 \                 be imported. When used with [/E], this option specifies the\n\
366 \                 file location where registry information will be exported.\n\
367 \  [reg_key]      The registry key to be modified.\n\
369 \Usage examples:\n\
370 \  regedit \"import.reg\"\n\
371 \  regedit /E \"export.reg\" \"HKEY_CURRENT_USER\\Console\"\n\
372 \  regedit /D \"HKEY_LOCAL_MACHINE\\Error\\Path\"\n"
373     STRING_INVALID_SWITCH, "regedit: Invalid or unrecognized switch [%1]\n"
374     STRING_HELP, "Type \"regedit /?\" for help.\n"
375     STRING_NO_FILENAME, "regedit: No filename was specified.\n"
376     STRING_NO_REG_KEY, "regedit: No registry key was specified for removal.\n"
377     STRING_FILE_NOT_FOUND, "regedit: The file '%1' was not found.\n"
378     STRING_CANNOT_OPEN_FILE, "regedit: Unable to open the file '%1'.\n"
379     STRING_UNHANDLED_ACTION, "regedit: Unhandled action.\n"
380     STRING_OUT_OF_MEMORY, "regedit: Out of memory! (%1!S!, line %2!u!)\n"
381     STRING_INVALID_HEX, "regedit: Invalid hexadecimal value.\n"
382     STRING_CSV_HEX_ERROR, "regedit: Unable to convert hexadecimal data. An invalid value was encountered at '%1'.\n"
383     STRING_ESCAPE_SEQUENCE, "regedit: Unrecognized escape sequence [\\%1!c!]\n"
384     STRING_UNKNOWN_DATA_FORMAT, "regedit: Unsupported registry data type [%1]\n"
385     STRING_UNEXPECTED_EOL, "regedit: Unexpected end of line in '%1'.\n"
386     STRING_UNRECOGNIZED_LINE, "regedit: The line '%1' was not recognized.\n"
387     STRING_SETVALUE_FAILED, "regedit: Unable to add the registry value '%1' to '%2'.\n"
388     STRING_OPEN_KEY_FAILED, "regedit: Unable to open the registry key '%1'.\n"
389     STRING_UNSUPPORTED_TYPE, "regedit: Unsupported registry data type [%1] encountered in '%2'.\n"
390     STRING_EXPORT_AS_BINARY, "regedit: The registry value '%1' will be exported as binary data.\n"
391     STRING_INCORRECT_REG_CLASS, "regedit: Incorrect registry class specification in '%1'.\n"
392     STRING_REG_KEY_NOT_FOUND, "regedit: Unable to export '%1'. The specified registry key was not found.\n"
393     STRING_DELETE_REG_CLASS_FAILED, "regedit: Unable to delete the registry class '%1'.\n"
396 /* define language neutral resources */
398 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
400 /* @makedep: folderopen.ico */
401 IDI_OPEN_FILE ICON folderopen.ico
403 /* @makedep: folder.ico */
404 IDI_CLOSED_FILE ICON folder.ico
406 /* @makedep: computer.ico */
407 IDI_ROOT ICON computer.ico
409 /* @makedep: string.ico */
410 IDI_STRING ICON string.ico
412 /* @makedep: bin.ico */
413 IDI_BIN  ICON bin.ico
415 /* @makedep: regedit.ico */
416 IDI_REGEDIT ICON regedit.ico
418 #define WINE_FILEDESCRIPTION_STR "Wine Registry Editor"
419 #define WINE_FILENAME "REGEDIT"
420 #define WINE_FILENAME_STR "REGEDIT.EXE"
421 #define WINE_FILETYPE VFT_APP
422 #define WINE_FILEVERSION 5,2,3790,0
423 #define WINE_FILEVERSION_STR "5.2.3790.0"
425 #define WINE_PRODUCTVERSION 5,2,3790,0
426 #define WINE_PRODUCTVERSION_STR "5.2"
428 #include "wine/wine_common_ver.rc"