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 "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
52 MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
55 MENUITEM "&Delete\tDel", ID_EDIT_DELETE
56 MENUITEM "&Rename\tF2", ID_EDIT_RENAME
58 MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
60 MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
61 MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT
65 MENUITEM "Status &Bar", ID_VIEW_STATUSBAR
67 MENUITEM "Sp&lit", ID_VIEW_SPLIT
69 MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH
73 MENUITEM "&Add to Favorites...", ID_FAVORITES_ADDTOFAVORITES
74 MENUITEM "&Remove Favorite...", ID_FAVORITES_REMOVEFAVORITE
78 MENUITEM "&Contents\tF1", ID_HELP_HELPTOPICS
79 MENUITEM "&About Registry Editor", ID_HELP_ABOUT
88 MENUITEM "Expand", ID_TREE_EXPAND_COLLAPSE
90 MENUITEM "&Export...", ID_EDIT_EXPORT
95 MENUITEM "Expand" ID_TREE_EXPAND_COLLAPSE
98 MENUITEM "&Key", ID_EDIT_NEW_KEY
100 MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
101 MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
102 MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
103 MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
104 MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
106 MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
108 MENUITEM "&Delete\tDel", ID_EDIT_DELETE
109 MENUITEM "&Rename\tF2", ID_EDIT_RENAME
111 MENUITEM "&Export...", ID_EDIT_EXPORT
113 MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
120 MENUITEM "&Key", ID_EDIT_NEW_KEY
122 MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
123 MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
124 MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
125 MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
126 MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
129 /* PM_MODIFY_VALUE */
132 MENUITEM "&Modify...", ID_EDIT_MODIFY
133 MENUITEM "Modify &Binary Data...", ID_EDIT_MODIFY_BIN
135 MENUITEM "&Delete\tDel", ID_EDIT_DELETE
136 MENUITEM "&Rename\tF2", ID_EDIT_RENAME
146 IDS_LIST_COLUMN_NAME "Name"
147 IDS_LIST_COLUMN_TYPE "Type"
148 IDS_LIST_COLUMN_DATA "Data"
153 IDS_APP_TITLE "Registry Editor"
158 ID_REGISTRY_MENU "Contains commands for working with the whole registry"
159 ID_EDIT_MENU "Contains commands for editing values or keys"
160 ID_VIEW_MENU "Contains commands for customizing the registry window"
161 ID_FAVORITES_MENU "Contains commands for accessing frequently used keys"
162 ID_HELP_MENU "Contains commands for displaying Help and information about Registry Editor"
163 ID_EDIT_NEW_MENU "Contains commands for creating new keys or values"
168 ID_EDIT_MODIFY "Modifies the value's data"
169 ID_EDIT_MODIFY_BIN "Modifies the value's data in binary form"
170 ID_EDIT_NEW_KEY "Adds a new key"
171 ID_EDIT_NEW_STRINGVALUE "Adds a new string value"
172 ID_EDIT_NEW_BINARYVALUE "Adds a new binary value"
173 ID_EDIT_NEW_DWORDVALUE "Adds a new 32-bit value"
174 ID_EDIT_NEW_MULTI_STRINGVALUE "Adds a new multi-string value"
175 ID_EDIT_NEW_EXPANDVALUE "Adds a new expandable string value"
176 ID_REGISTRY_IMPORTREGISTRYFILE "Imports a text file into the registry"
177 ID_REGISTRY_EXPORTREGISTRYFILE
178 "Exports all or part of the registry to a text file"
179 ID_REGISTRY_PRINT "Prints all or part of the registry"
180 ID_HELP_HELPTOPICS "Opens Registry Editor Help"
181 ID_HELP_ABOUT "Displays program information, version number and copyright"
186 ID_REGISTRY_EXIT "Quits the Registry Editor"
187 ID_FAVORITES_ADDTOFAVORITES "Adds keys to the favorites list"
188 ID_FAVORITES_REMOVEFAVORITE "Removes keys from the favorites list"
189 ID_VIEW_STATUSBAR "Shows or hides the status bar"
190 ID_VIEW_SPLIT "Changes the position of the split between two panes"
191 ID_VIEW_REFRESH "Refreshes the window"
192 ID_EDIT_DELETE "Deletes the selection"
193 ID_EDIT_RENAME "Renames the selection"
194 ID_EDIT_COPYKEYNAME "Copies the name of the selected key to the clipboard"
195 ID_EDIT_FIND "Finds a text string in a key, value or data"
196 ID_EDIT_FINDNEXT "Finds next occurrence of text specified in previous search"
197 ID_EDIT_EXPORT "Exports the selected branch of the registry to a text file"
198 ID_TREE_EXPAND_COLLAPSE "Expands or collapses the selected node"
204 IDS_BAD_KEY "Unable to query the registry key '%1'."
205 IDS_BAD_VALUE "Unable to query the registry value '%1'."
206 IDS_UNSUPPORTED_TYPE "Unable to edit registry keys of this type (%1!u!)."
207 IDS_TOO_BIG_VALUE "The value is too big (%1!u!)."
208 IDS_DELETE_VALUE_TITLE "Confirm Value Delete"
209 IDS_DELETE_VALUE_TEXT "Are you sure you want to delete the selected registry value?"
210 IDS_DELETE_VALUE_TEXT_MULTIPLE "Are you sure you want to delete these values?"
211 IDS_DELETE_KEY_TITLE "Confirm Key Delete"
212 IDS_DELETE_KEY_TEXT "Are you sure you want to delete this registry key and all of its subkeys?"
213 IDS_NEWKEY "New Key #%d"
214 IDS_NEWVALUE "New Value #%d"
215 IDS_NOTFOUND "Search complete. The string '%1' was not found."
220 IDS_FILEDIALOG_IMPORT_TITLE "Import Registry File"
221 IDS_FILEDIALOG_EXPORT_TITLE "Export Registry File"
222 IDS_FILEDIALOG_FILTER_REG "Registry files (*.reg)"
223 IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Registry files (REGEDIT4)"
224 IDS_FILEDIALOG_FILTER_ALL "All files (*.*)"
230 IDS_COLLAPSE "Collapse"
231 IDS_EDIT_MODIFY "&Modify..."
232 IDS_EDIT_MODIFY_BIN "Modify &Binary Data..."
237 IDS_REGISTRY_ROOT_NAME "My Computer"
238 IDS_REGISTRY_DEFAULT_VALUE "(Default)"
239 IDS_REGISTRY_VALUE_NOT_SET "(value not set)"
240 IDS_REGISTRY_VALUE_CANT_DISPLAY "(cannot display value)"
241 IDS_REGISTRY_UNKNOWN_TYPE "(unknown %d)"
246 IDS_SET_VALUE_FAILED "Unable to modify the selected registry value."
247 IDS_CREATE_KEY_FAILED "Unable to create a new registry key."
248 IDS_CREATE_VALUE_FAILED "Unable to create a new registry value."
249 IDS_KEY_EXISTS "Unable to rename the key '%1'.\nThe specified key name already exists."
250 IDS_VALUE_EXISTS "Unable to rename the value '%1'.\nThe specified value name already exists."
251 IDS_DELETE_KEY_FAILED "Unable to delete the selected registry key."
252 IDS_RENAME_KEY_FAILED "Unable to rename the selected registry key."
253 IDS_RENAME_VALUE_FAILED "Unable to rename the selected registry value."
254 IDS_IMPORT_SUCCESSFUL "The keys and values contained in %1 were successfully added to the registry."
255 IDS_IMPORT_FAILED "Unable to import %1. The specified file is not a valid registry file."
262 IDD_EXPORT_TEMPLATE DIALOG 50, 50, 278, 68
263 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
264 FONT 8, "MS Shell Dlg"
266 GROUPBOX "Export registry", IDC_EXPORT_BASE, 6, 6, 266, 55, WS_GROUP
267 AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 12, 17, 244, 12
268 AUTORADIOBUTTON "S&elected branch:", IDC_EXPORT_SELECTED, 12, 30, 244, 12
269 EDITTEXT IDC_EXPORT_PATH, 32, 43, 224, 12
272 IDD_FIND DIALOG 22, 17, 225, 85
273 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
275 FONT 8, "MS Shell Dlg"
277 LTEXT "Find:",IDC_STATIC,5,7,119,8
278 EDITTEXT IDC_VALUE_NAME,50,5,115,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
279 LTEXT "Find in:",IDC_STATIC,5, 22, 119, 8
280 CHECKBOX "Keys", IDC_FIND_KEYS, 5, 34, 160, 10, WS_TABSTOP | WS_GROUP | BS_AUTOCHECKBOX
281 CHECKBOX "Value names", IDC_FIND_VALUES, 5, 46, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
282 CHECKBOX "Value content", IDC_FIND_CONTENT, 5, 58, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
283 CHECKBOX "Whole string only", IDC_FIND_WHOLE, 5, 70, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
284 DEFPUSHBUTTON "Find",IDOK,175,5,45,15,WS_GROUP
285 PUSHBUTTON "Close",IDCANCEL,175,24,45,15, WS_GROUP
288 IDD_ADDFAVORITE DIALOG 22, 17, 210, 55
289 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
290 CAPTION "Add Favorite"
291 FONT 8, "MS Shell Dlg"
293 LTEXT "Name:",IDC_STATIC,5,5,119,8
294 EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
295 DEFPUSHBUTTON "OK",IDOK,110,36,45,15,WS_GROUP
296 PUSHBUTTON "Cancel",IDCANCEL,160,36,45,15,WS_GROUP
299 IDD_DELFAVORITE DIALOG 22, 17, 210, 90
300 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
301 CAPTION "Remove Favorite"
302 FONT 8, "MS Shell Dlg"
304 LTEXT "Name:",IDC_STATIC,5,5,119,8
305 LISTBOX IDC_NAME_LIST,5,15,200,52, WS_BORDER | WS_TABSTOP | LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL
306 DEFPUSHBUTTON "OK",IDOK,110,72,45,15,WS_GROUP
307 PUSHBUTTON "Cancel",IDCANCEL,160,72,45,15,WS_GROUP
310 IDD_EDIT_STRING DIALOG 22, 17, 210, 75
311 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
312 CAPTION "Edit String"
313 FONT 8, "MS Shell Dlg"
315 LTEXT "Value name:",IDC_STATIC,5,5,119,8
316 EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
317 LTEXT "Value data:",IDC_STATIC,5,30,119,8
318 EDITTEXT IDC_VALUE_DATA,5,40,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
319 DEFPUSHBUTTON "OK",IDOK,110,56,45,15,WS_GROUP
320 PUSHBUTTON "Cancel",IDCANCEL,160,56,45,15,WS_GROUP
323 IDD_EDIT_DWORD DIALOG 22, 17, 220, 100
324 STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
326 FONT 8, "MS Shell Dlg"
328 LTEXT "Value name:",IDC_STATIC,5,5,119,8
329 EDITTEXT IDC_VALUE_NAME,5,15,210,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
330 LTEXT "Value data:",IDC_STATIC,5,30,90,8
331 EDITTEXT IDC_VALUE_DATA,5,40,90,12, WS_BORDER | WS_TABSTOP
332 GROUPBOX "Base", IDC_DWORD_BASE, 120, 30, 95, 37, BS_GROUPBOX
333 AUTORADIOBUTTON "Hexadecimal", IDC_DWORD_HEX, 130, 40, 80, 10, WS_TABSTOP
334 AUTORADIOBUTTON "Decimal", IDC_DWORD_DEC, 130, 52, 80, 10, WS_TABSTOP
335 DEFPUSHBUTTON "OK",IDOK,110,81,45,15,WS_GROUP
336 PUSHBUTTON "Cancel",IDCANCEL,160,81,45,15,WS_GROUP
339 IDD_EDIT_BINARY DIALOG 22, 17, 250, 200
340 STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
341 CAPTION "Edit Binary"
342 FONT 8, "MS Shell Dlg"
344 LTEXT "Value name:",IDC_STATIC,5,5,119,8
345 EDITTEXT IDC_VALUE_NAME,5,15,240,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
346 LTEXT "Value data:",IDC_STATIC,5,30,90,8
347 CONTROL "",IDC_VALUE_DATA,"HexEdit",WS_TABSTOP,5,40,240,140
348 DEFPUSHBUTTON "OK",IDOK,70,183,45,15,WS_GROUP
349 PUSHBUTTON "Cancel",IDCANCEL,120,183,45,15,WS_GROUP
352 IDD_EDIT_MULTI_STRING DIALOG 22, 17, 210, 175
353 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
354 CAPTION "Edit Multi-String"
355 FONT 8, "MS Shell Dlg"
357 LTEXT "Value name:",IDC_STATIC,5,5,119,8
358 EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
359 LTEXT "Value data:",IDC_STATIC,5,30,119,8
360 EDITTEXT IDC_VALUE_DATA,5,40,200,112, WS_BORDER | WS_TABSTOP | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_WANTRETURN
361 DEFPUSHBUTTON "OK",IDOK,110,156,45,15,WS_GROUP
362 PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
369 IDC_REGEDIT ACCELERATORS
371 "#msgctxt#accelerator Find#F", ID_EDIT_FIND, VIRTKEY, CONTROL
372 "#msgctxt#accelerator Print#P", ID_REGISTRY_PRINT, VIRTKEY, CONTROL
373 VK_DELETE, ID_EDIT_DELETE, VIRTKEY
374 VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
375 VK_F2, ID_EDIT_RENAME, VIRTKEY
376 VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
377 VK_F5, ID_VIEW_REFRESH, VIRTKEY
380 /* Command-line strings */
383 STRING_USAGE, "Usage:\n\
384 \ regedit [options] [filename] [reg_key]\n\
387 \ [no option] Launch the graphical version of this program.\n\
388 \ /L:system.dat The location of the system.dat file to be modified.\n\
389 \ Compatible with any other switch. Ignored.\n\
390 \ /R:user.dat The location of the user.dat file to be modified.\n\
391 \ Compatible with any other switch. Ignored.\n\
392 \ /C Import the contents of a registry file.\n\
393 \ /D Delete a specified registry key.\n\
394 \ /E Export the contents of a specified registry key to a file.\n\
395 \ If no key is specified, the entire registry is exported.\n\
396 \ /S Silent mode. No messages will be displayed.\n\
397 \ /V Launch the GUI in advanced mode. Ignored.\n\
398 \ /? Display this information and exit.\n\
399 \ [filename] The location of the file containing registry information to\n\
400 \ be imported. When used with [/E], this option specifies the\n\
401 \ file location where registry information will be exported.\n\
402 \ [reg_key] The registry key to be modified.\n\
405 \ regedit \"import.reg\"\n\
406 \ regedit /E \"export.reg\" \"HKEY_CURRENT_USER\\Console\"\n\
407 \ regedit /D \"HKEY_LOCAL_MACHINE\\Key\\Path\"\n"
408 STRING_INVALID_SWITCH, "regedit: Invalid or unrecognized switch [%1]\n"
409 STRING_HELP, "Type \"regedit /?\" for help.\n"
410 STRING_NO_FILENAME, "regedit: No filename was specified.\n"
411 STRING_NO_REG_KEY, "regedit: No registry key was specified for removal.\n"
412 STRING_FILE_NOT_FOUND, "regedit: The file '%1' was not found.\n"
413 STRING_CANNOT_OPEN_FILE, "regedit: Unable to open the file '%1'.\n"
414 STRING_UNHANDLED_ACTION, "regedit: Unhandled action.\n"
415 STRING_OUT_OF_MEMORY, "regedit: Out of memory! (%1!S!, line %2!u!)\n"
416 STRING_INVALID_HEX, "regedit: Invalid hexadecimal value.\n"
417 STRING_CSV_HEX_ERROR, "regedit: Unable to convert hexadecimal data. An invalid value was encountered at '%1'.\n"
418 STRING_ESCAPE_SEQUENCE, "regedit: Unrecognized escape sequence [\\%1!c!]\n"
419 STRING_UNKNOWN_DATA_FORMAT, "regedit: Unsupported registry data type [0x%1!x!]\n"
420 STRING_UNEXPECTED_EOL, "regedit: Unexpected end of line in '%1'.\n"
421 STRING_UNRECOGNIZED_LINE, "regedit: The line '%1' was not recognized.\n"
422 STRING_SETVALUE_FAILED, "regedit: Unable to add the registry value '%1' to '%2'.\n"
423 STRING_OPEN_KEY_FAILED, "regedit: Unable to open the registry key '%1'.\n"
424 STRING_UNSUPPORTED_TYPE, "regedit: Unsupported registry data type [0x%1!x!] encountered in '%2'.\n"
425 STRING_EXPORT_AS_BINARY, "regedit: The registry value '%1' will be exported as binary data.\n"
426 STRING_INVALID_SYSTEM_KEY, "regedit: Invalid system key [%1]\n"
427 STRING_REG_KEY_NOT_FOUND, "regedit: Unable to export '%1'. The specified registry key was not found.\n"
428 STRING_DELETE_FAILED, "regedit: Unable to delete the registry key '%1'.\n"
429 STRING_UNKNOWN_TYPE, "Unknown Type"
430 STRING_INVALID_LINE_SYNTAX, "regedit: The line contains invalid syntax.\n"
433 /* define language neutral resources */
435 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
437 /* @makedep: folderopen.ico */
438 IDI_OPEN_FILE ICON folderopen.ico
440 /* @makedep: folder.ico */
441 IDI_CLOSED_FILE ICON folder.ico
443 /* @makedep: computer.ico */
444 IDI_ROOT ICON computer.ico
446 /* @makedep: string.ico */
447 IDI_STRING ICON string.ico
449 /* @makedep: bin.ico */
452 /* @makedep: regedit.ico */
453 IDI_REGEDIT ICON regedit.ico
455 #define WINE_FILEDESCRIPTION_STR "Wine Registry Editor"
456 #define WINE_FILENAME "REGEDIT"
457 #define WINE_FILENAME_STR "REGEDIT.EXE"
458 #define WINE_FILETYPE VFT_APP
459 #define WINE_FILEVERSION 5,2,3790,0
460 #define WINE_FILEVERSION_STR "5.2.3790.0"
462 #define WINE_PRODUCTVERSION 5,2,3790,0
463 #define WINE_PRODUCTVERSION_STR "5.2"
465 #include "wine/wine_common_ver.rc"