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