4 * Copyright 2002 Robert Dickenson
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.
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.
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
25 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
35 MENUITEM "&Import Registry File...", ID_REGISTRY_IMPORTREGISTRYFILE
36 MENUITEM "&Export Registry File...", ID_REGISTRY_EXPORTREGISTRYFILE
38 MENUITEM "&Print...\tCtrl+P", ID_REGISTRY_PRINT
40 MENUITEM "E&xit", ID_REGISTRY_EXIT
46 MENUITEM "&Key", ID_EDIT_NEW_KEY
48 MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
49 MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
50 MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
51 MENUITEM "&QWORD Value", ID_EDIT_NEW_QWORDVALUE
52 MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
53 MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
56 MENUITEM "&Delete\tDel", ID_EDIT_DELETE
57 MENUITEM "&Rename\tF2", ID_EDIT_RENAME
59 MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
61 MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
62 MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT
66 MENUITEM "Status &Bar", ID_VIEW_STATUSBAR
68 MENUITEM "Sp&lit", ID_VIEW_SPLIT
70 MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH
74 MENUITEM "&Add to Favorites...", ID_FAVORITES_ADDTOFAVORITES
75 MENUITEM "&Remove Favorite...", ID_FAVORITES_REMOVEFAVORITE
79 MENUITEM "&Contents\tF1", ID_HELP_HELPTOPICS
80 MENUITEM "&About Registry Editor", ID_HELP_ABOUT
89 MENUITEM "Expand", ID_TREE_EXPAND_COLLAPSE
91 MENUITEM "&Export...", ID_EDIT_EXPORT
96 MENUITEM "Expand" ID_TREE_EXPAND_COLLAPSE
99 MENUITEM "&Key", ID_EDIT_NEW_KEY
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 "&QWORD Value", ID_EDIT_NEW_QWORDVALUE
105 MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
106 MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
108 MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
110 MENUITEM "&Delete\tDel", ID_EDIT_DELETE
111 MENUITEM "&Rename\tF2", ID_EDIT_RENAME
113 MENUITEM "&Export...", ID_EDIT_EXPORT
115 MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
122 MENUITEM "&Key", ID_EDIT_NEW_KEY
124 MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
125 MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
126 MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
127 MENUITEM "&QWORD Value", ID_EDIT_NEW_QWORDVALUE
128 MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
129 MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
132 /* PM_MODIFY_VALUE */
135 MENUITEM "&Modify...", ID_EDIT_MODIFY
136 MENUITEM "Modify &Binary Data...", ID_EDIT_MODIFY_BIN
138 MENUITEM "&Delete\tDel", ID_EDIT_DELETE
139 MENUITEM "&Rename\tF2", ID_EDIT_RENAME
149 IDS_LIST_COLUMN_NAME "Name"
150 IDS_LIST_COLUMN_TYPE "Type"
151 IDS_LIST_COLUMN_DATA "Data"
156 IDS_APP_TITLE "Registry Editor"
161 ID_REGISTRY_MENU "Contains commands for working with the whole registry"
162 ID_EDIT_MENU "Contains commands for editing values or keys"
163 ID_VIEW_MENU "Contains commands for customizing the registry window"
164 ID_FAVORITES_MENU "Contains commands for accessing frequently used keys"
165 ID_HELP_MENU "Contains commands for displaying Help and information about Registry Editor"
166 ID_EDIT_NEW_MENU "Contains commands for creating new keys or values"
171 ID_EDIT_MODIFY "Modifies the value's data"
172 ID_EDIT_MODIFY_BIN "Modifies the value's data in binary form"
173 ID_EDIT_NEW_KEY "Adds a new key"
174 ID_EDIT_NEW_STRINGVALUE "Adds a new string value"
175 ID_EDIT_NEW_BINARYVALUE "Adds a new binary value"
176 ID_EDIT_NEW_DWORDVALUE "Adds a new 32-bit value"
177 ID_EDIT_NEW_QWORDVALUE "Adds a new 64-bit value"
178 ID_EDIT_NEW_MULTI_STRINGVALUE "Adds a new multi-string value"
179 ID_EDIT_NEW_EXPANDVALUE "Adds a new expandable string value"
180 ID_REGISTRY_IMPORTREGISTRYFILE "Imports a text file into the registry"
181 ID_REGISTRY_EXPORTREGISTRYFILE
182 "Exports all or part of the registry to a text file"
183 ID_REGISTRY_PRINT "Prints all or part of the registry"
184 ID_HELP_HELPTOPICS "Opens Registry Editor Help"
185 ID_HELP_ABOUT "Displays program information, version number and copyright"
190 ID_REGISTRY_EXIT "Quits the Registry Editor"
191 ID_FAVORITES_ADDTOFAVORITES "Adds keys to the favorites list"
192 ID_FAVORITES_REMOVEFAVORITE "Removes keys from the favorites list"
193 ID_VIEW_STATUSBAR "Shows or hides the status bar"
194 ID_VIEW_SPLIT "Changes the position of the split between two panes"
195 ID_VIEW_REFRESH "Refreshes the window"
196 ID_EDIT_DELETE "Deletes the selection"
197 ID_EDIT_RENAME "Renames the selection"
198 ID_EDIT_COPYKEYNAME "Copies the name of the selected key to the clipboard"
199 ID_EDIT_FIND "Finds a text string in a key, value or data"
200 ID_EDIT_FINDNEXT "Finds next occurrence of text specified in previous search"
201 ID_EDIT_EXPORT "Exports the selected branch of the registry to a text file"
202 ID_TREE_EXPAND_COLLAPSE "Expands or collapses the selected node"
208 IDS_BAD_KEY "Unable to query the registry key '%1'."
209 IDS_BAD_VALUE "Unable to query the registry value '%1'."
210 IDS_UNSUPPORTED_TYPE "Unable to edit registry keys of this type (%1!u!)."
211 IDS_TOO_BIG_VALUE "The value is too big (%1!u!)."
212 IDS_DELETE_VALUE_TITLE "Confirm Value Delete"
213 IDS_DELETE_VALUE_TEXT "Are you sure you want to delete the selected registry value?"
214 IDS_DELETE_VALUE_TEXT_MULTIPLE "Are you sure you want to delete these values?"
215 IDS_DELETE_KEY_TITLE "Confirm Key Delete"
216 IDS_DELETE_KEY_TEXT "Are you sure you want to delete this registry key and all of its subkeys?"
217 IDS_NEWKEY "New Key #%d"
218 IDS_NEWVALUE "New Value #%d"
219 IDS_NOTFOUND "Search complete. The string '%1' was not found."
220 IDS_EDIT_QWORD "Edit QWORD"
225 IDS_FILEDIALOG_IMPORT_TITLE "Import Registry File"
226 IDS_FILEDIALOG_EXPORT_TITLE "Export Registry File"
227 IDS_FILEDIALOG_FILTER_REG "Registry files (*.reg)"
228 IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Registry files (REGEDIT4)"
229 IDS_FILEDIALOG_FILTER_ALL "All files (*.*)"
235 IDS_COLLAPSE "Collapse"
236 IDS_EDIT_MODIFY "&Modify..."
237 IDS_EDIT_MODIFY_BIN "Modify &Binary Data..."
242 IDS_REGISTRY_ROOT_NAME "My Computer"
243 IDS_REGISTRY_DEFAULT_VALUE "(Default)"
244 IDS_REGISTRY_VALUE_NOT_SET "(value not set)"
245 IDS_REGISTRY_VALUE_CANT_DISPLAY "(cannot display value)"
246 IDS_REGISTRY_UNKNOWN_TYPE "(unknown %d)"
251 IDS_SET_VALUE_FAILED "Unable to modify the selected registry value."
252 IDS_CREATE_KEY_FAILED "Unable to create a new registry key."
253 IDS_CREATE_VALUE_FAILED "Unable to create a new registry value."
254 IDS_KEY_EXISTS "Unable to rename the key '%1'.\nThe specified key name already exists."
255 IDS_VALUE_EXISTS "Unable to rename the value '%1'.\nThe specified value name already exists."
256 IDS_DELETE_KEY_FAILED "Unable to delete the selected registry key."
257 IDS_RENAME_KEY_FAILED "Unable to rename the selected registry key."
258 IDS_RENAME_VALUE_FAILED "Unable to rename the selected registry value."
259 IDS_IMPORT_SUCCESSFUL "The keys and values contained in %1 were successfully added to the registry."
260 IDS_IMPORT_FAILED "Unable to import %1. The specified file is not a valid registry file."
267 IDD_EXPORT_TEMPLATE DIALOG 50, 50, 278, 68
268 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
269 FONT 8, "MS Shell Dlg"
271 GROUPBOX "Export registry", IDC_EXPORT_BASE, 6, 6, 266, 55, WS_GROUP
272 AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 12, 17, 244, 12
273 AUTORADIOBUTTON "S&elected branch:", IDC_EXPORT_SELECTED, 12, 30, 244, 12
274 EDITTEXT IDC_EXPORT_PATH, 32, 43, 224, 12
277 IDD_FIND DIALOG 22, 17, 225, 85
278 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
280 FONT 8, "MS Shell Dlg"
282 LTEXT "Find:",IDC_STATIC,5,7,119,8
283 EDITTEXT IDC_VALUE_NAME,50,5,115,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
284 LTEXT "Find in:",IDC_STATIC,5, 22, 119, 8
285 CHECKBOX "Keys", IDC_FIND_KEYS, 5, 34, 160, 10, WS_TABSTOP | WS_GROUP | BS_AUTOCHECKBOX
286 CHECKBOX "Value names", IDC_FIND_VALUES, 5, 46, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
287 CHECKBOX "Value content", IDC_FIND_CONTENT, 5, 58, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
288 CHECKBOX "Whole string only", IDC_FIND_WHOLE, 5, 70, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
289 DEFPUSHBUTTON "Find",IDOK,175,5,45,15,WS_GROUP
290 PUSHBUTTON "Close",IDCANCEL,175,24,45,15, WS_GROUP
293 IDD_ADDFAVORITE DIALOG 22, 17, 210, 55
294 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
295 CAPTION "Add Favorite"
296 FONT 8, "MS Shell Dlg"
298 LTEXT "Name:",IDC_STATIC,5,5,119,8
299 EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
300 DEFPUSHBUTTON "OK",IDOK,110,36,45,15,WS_GROUP
301 PUSHBUTTON "Cancel",IDCANCEL,160,36,45,15,WS_GROUP
304 IDD_DELFAVORITE DIALOG 22, 17, 210, 90
305 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
306 CAPTION "Remove Favorite"
307 FONT 8, "MS Shell Dlg"
309 LTEXT "Name:",IDC_STATIC,5,5,119,8
310 LISTBOX IDC_NAME_LIST,5,15,200,52, WS_BORDER | WS_TABSTOP | LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL
311 DEFPUSHBUTTON "OK",IDOK,110,72,45,15,WS_GROUP
312 PUSHBUTTON "Cancel",IDCANCEL,160,72,45,15,WS_GROUP
315 IDD_EDIT_STRING DIALOG 22, 17, 210, 75
316 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
317 CAPTION "Edit String"
318 FONT 8, "MS Shell Dlg"
320 LTEXT "Value name:",IDC_STATIC,5,5,119,8
321 EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
322 LTEXT "Value data:",IDC_STATIC,5,30,119,8
323 EDITTEXT IDC_VALUE_DATA,5,40,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
324 DEFPUSHBUTTON "OK",IDOK,110,56,45,15,WS_GROUP
325 PUSHBUTTON "Cancel",IDCANCEL,160,56,45,15,WS_GROUP
328 IDD_EDIT_DWORD DIALOG 22, 17, 220, 100
329 STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
331 FONT 8, "MS Shell Dlg"
333 LTEXT "Value name:",IDC_STATIC,5,5,119,8
334 EDITTEXT IDC_VALUE_NAME,5,15,210,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
335 LTEXT "Value data:",IDC_STATIC,5,30,90,8
336 EDITTEXT IDC_VALUE_DATA,5,40,90,12, WS_BORDER | WS_TABSTOP
337 GROUPBOX "Base", IDC_DWORD_BASE, 120, 30, 95, 37, BS_GROUPBOX
338 AUTORADIOBUTTON "Hexadecimal", IDC_DWORD_HEX, 130, 40, 80, 10, WS_TABSTOP
339 AUTORADIOBUTTON "Decimal", IDC_DWORD_DEC, 130, 52, 80, 10, WS_TABSTOP
340 DEFPUSHBUTTON "OK",IDOK,110,81,45,15,WS_GROUP
341 PUSHBUTTON "Cancel",IDCANCEL,160,81,45,15,WS_GROUP
344 IDD_EDIT_BINARY DIALOG 22, 17, 250, 200
345 STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
346 CAPTION "Edit Binary"
347 FONT 8, "MS Shell Dlg"
349 LTEXT "Value name:",IDC_STATIC,5,5,119,8
350 EDITTEXT IDC_VALUE_NAME,5,15,240,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
351 LTEXT "Value data:",IDC_STATIC,5,30,90,8
352 CONTROL "",IDC_VALUE_DATA,"HexEdit",WS_TABSTOP,5,40,240,140
353 DEFPUSHBUTTON "OK",IDOK,70,183,45,15,WS_GROUP
354 PUSHBUTTON "Cancel",IDCANCEL,120,183,45,15,WS_GROUP
357 IDD_EDIT_MULTI_STRING DIALOG 22, 17, 210, 175
358 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
359 CAPTION "Edit Multi-String"
360 FONT 8, "MS Shell Dlg"
362 LTEXT "Value name:",IDC_STATIC,5,5,119,8
363 EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
364 LTEXT "Value data:",IDC_STATIC,5,30,119,8
365 EDITTEXT IDC_VALUE_DATA,5,40,200,112, WS_BORDER | WS_TABSTOP | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_WANTRETURN
366 DEFPUSHBUTTON "OK",IDOK,110,156,45,15,WS_GROUP
367 PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
374 IDC_REGEDIT ACCELERATORS
376 "#msgctxt#accelerator Find#F", ID_EDIT_FIND, VIRTKEY, CONTROL
377 "#msgctxt#accelerator Print#P", ID_REGISTRY_PRINT, VIRTKEY, CONTROL
378 VK_DELETE, ID_EDIT_DELETE, VIRTKEY
379 VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
380 VK_F2, ID_EDIT_RENAME, VIRTKEY
381 VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
382 VK_F5, ID_VIEW_REFRESH, VIRTKEY
385 /* Command-line strings */
388 STRING_USAGE, "Usage:\n\
389 \ regedit [options] [filename] [reg_key]\n\
392 \ [no option] Launch the graphical version of this program.\n\
393 \ /L:system.dat The location of the system.dat file to be modified.\n\
394 \ Compatible with any other switch. Ignored.\n\
395 \ /R:user.dat The location of the user.dat file to be modified.\n\
396 \ Compatible with any other switch. Ignored.\n\
397 \ /C Import the contents of a registry file.\n\
398 \ /D Delete a specified registry key.\n\
399 \ /E Export the contents of a specified registry key to a file.\n\
400 \ If no key is specified, the entire registry is exported.\n\
401 \ /S Silent mode. No messages will be displayed.\n\
402 \ /V Launch the GUI in advanced mode. Ignored.\n\
403 \ /? Display this information and exit.\n\
404 \ [filename] The location of the file containing registry information to\n\
405 \ be imported. When used with [/E], this option specifies the\n\
406 \ file location where registry information will be exported.\n\
407 \ [reg_key] The registry key to be modified.\n\
410 \ regedit \"import.reg\"\n\
411 \ regedit /E \"export.reg\" \"HKEY_CURRENT_USER\\Console\"\n\
412 \ regedit /D \"HKEY_LOCAL_MACHINE\\Key\\Path\"\n"
413 STRING_INVALID_SWITCH, "regedit: Invalid or unrecognized switch [%1]\n"
414 STRING_HELP, "Type \"regedit /?\" for help.\n"
415 STRING_NO_FILENAME, "regedit: No filename was specified.\n"
416 STRING_NO_REG_KEY, "regedit: No registry key was specified for removal.\n"
417 STRING_FILE_NOT_FOUND, "regedit: The file '%1' was not found.\n"
418 STRING_CANNOT_OPEN_FILE, "regedit: Unable to open the file '%1'.\n"
419 STRING_UNHANDLED_ACTION, "regedit: Unhandled action.\n"
420 STRING_OUT_OF_MEMORY, "regedit: Out of memory! (%1!S!, line %2!u!)\n"
421 STRING_INVALID_HEX, "regedit: Invalid hexadecimal value.\n"
422 STRING_CSV_HEX_ERROR, "regedit: Unable to convert hexadecimal data. An invalid value was encountered at '%1'.\n"
423 STRING_ESCAPE_SEQUENCE, "regedit: Unrecognized escape sequence [\\%1!c!]\n"
424 STRING_UNKNOWN_DATA_FORMAT, "regedit: Unsupported registry data type [0x%1!x!]\n"
425 STRING_UNEXPECTED_EOL, "regedit: Unexpected end of line in '%1'.\n"
426 STRING_UNRECOGNIZED_LINE, "regedit: The line '%1' was not recognized.\n"
427 STRING_SETVALUE_FAILED, "regedit: Unable to add the registry value '%1' to '%2'.\n"
428 STRING_OPEN_KEY_FAILED, "regedit: Unable to open the registry key '%1'.\n"
429 STRING_UNSUPPORTED_TYPE, "regedit: Unsupported registry data type [0x%1!x!] encountered in '%2'.\n"
430 STRING_EXPORT_AS_BINARY, "regedit: The registry value '%1' will be exported as binary data.\n"
431 STRING_INVALID_SYSTEM_KEY, "regedit: Invalid system key [%1]\n"
432 STRING_REG_KEY_NOT_FOUND, "regedit: Unable to export '%1'. The specified registry key was not found.\n"
433 STRING_DELETE_FAILED, "regedit: Unable to delete the registry key '%1'.\n"
434 STRING_UNKNOWN_TYPE, "Unknown Type"
435 STRING_INVALID_LINE_SYNTAX, "regedit: The line contains invalid syntax.\n"
438 /* define language neutral resources */
440 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
442 /* @makedep: regedit.manifest */
443 1 RT_MANIFEST regedit.manifest
445 /* @makedep: folderopen.ico */
446 IDI_OPEN_FILE ICON folderopen.ico
448 /* @makedep: folder.ico */
449 IDI_CLOSED_FILE ICON folder.ico
451 /* @makedep: computer.ico */
452 IDI_ROOT ICON computer.ico
454 /* @makedep: string.ico */
455 IDI_STRING ICON string.ico
457 /* @makedep: bin.ico */
460 /* @makedep: regedit.ico */
461 IDI_REGEDIT ICON regedit.ico
463 #define WINE_FILEDESCRIPTION_STR "Wine Registry Editor"
464 #define WINE_FILENAME "REGEDIT"
465 #define WINE_FILENAME_STR "REGEDIT.EXE"
466 #define WINE_FILETYPE VFT_APP
467 #define WINE_FILEVERSION 5,2,3790,0
468 #define WINE_FILEVERSION_STR "5.2.3790.0"
470 #define WINE_PRODUCTVERSION 5,2,3790,0
471 #define WINE_PRODUCTVERSION_STR "5.2"
473 #include "wine/wine_common_ver.rc"