Sweden-Number/programs/regedit/regedit.rc

401 lines
15 KiB
Plaintext
Raw Normal View History

/*
* Regedit resources
*
* Copyright 2002 Robert Dickenson
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "resource.h"
#pragma makedep po
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
/*
* Menus
*/
IDR_REGEDIT_MENU MENU
BEGIN
POPUP "&Registry"
BEGIN
MENUITEM "&Import Registry File...", ID_REGISTRY_IMPORTREGISTRYFILE
MENUITEM "&Export Registry File...", ID_REGISTRY_EXPORTREGISTRYFILE
MENUITEM SEPARATOR
MENUITEM "&Print...\tCtrl+P", ID_REGISTRY_PRINT
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_REGISTRY_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Modify...", ID_EDIT_MODIFY
MENUITEM SEPARATOR
POPUP "&New"
BEGIN
MENUITEM "&Key", ID_EDIT_NEW_KEY
MENUITEM SEPARATOR
MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
END
MENUITEM SEPARATOR
MENUITEM "&Delete\tDel", ID_EDIT_DELETE
MENUITEM "&Rename\tF2", ID_EDIT_RENAME
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
MENUITEM SEPARATOR
MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND, GRAYED
MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT, GRAYED
END
POPUP "&View"
BEGIN
MENUITEM "Status &Bar", ID_VIEW_STATUSBAR
MENUITEM SEPARATOR
MENUITEM "Sp&lit", ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH
END
POPUP "&Favorites"
BEGIN
MENUITEM "&Add to Favorites...", ID_FAVORITES_ADDTOFAVORITES
MENUITEM "&Remove Favorite...", ID_FAVORITES_REMOVEFAVORITE
END
POPUP "&Help"
BEGIN
2011-04-13 09:39:17 +02:00
MENUITEM "&Contents\tF1", ID_HELP_HELPTOPICS
MENUITEM "&About Registry Editor", ID_HELP_ABOUT
END
END
IDR_POPUP_MENUS MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Modify...", ID_EDIT_MODIFY
MENUITEM "Modify Binary Data...", ID_EDIT_MODIFY_BIN
MENUITEM SEPARATOR
MENUITEM "&Delete\tDel", ID_EDIT_DELETE
MENUITEM "&Rename", ID_EDIT_RENAME
END
POPUP ""
BEGIN
POPUP "&New"
BEGIN
MENUITEM "&Key", ID_EDIT_NEW_KEY
MENUITEM SEPARATOR
MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
END
MENUITEM SEPARATOR
MENUITEM "&Delete\tDel", ID_EDIT_DELETE
MENUITEM "&Rename\tF2", ID_EDIT_RENAME
MENUITEM SEPARATOR
MENUITEM "&Export...", ID_EDIT_EXPORT
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
MENUITEM SEPARATOR
MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND, GRAYED
END
END
/*
* String Tables
*/
STRINGTABLE
BEGIN
IDS_LIST_COLUMN_NAME "Name"
IDS_LIST_COLUMN_TYPE "Type"
IDS_LIST_COLUMN_DATA "Data"
END
STRINGTABLE
BEGIN
IDS_APP_TITLE "Registry Editor"
END
STRINGTABLE
BEGIN
ID_REGISTRY_MENU "Contains commands for working with the whole registry"
ID_EDIT_MENU "Contains commands for editing values or keys"
ID_VIEW_MENU "Contains commands for customizing the registry window"
ID_FAVORITES_MENU "Contains commands for accessing frequently used keys"
ID_HELP_MENU "Contains commands for displaying help and information about registry editor"
ID_EDIT_NEW_MENU "Contains commands for creating new keys or values"
END
STRINGTABLE
BEGIN
ID_EDIT_MODIFY "Modifies the value's data"
ID_EDIT_NEW_KEY "Adds a new key"
ID_EDIT_NEW_STRINGVALUE "Adds a new string value"
ID_EDIT_NEW_BINARYVALUE "Adds a new binary value"
ID_EDIT_NEW_DWORDVALUE "Adds a new double word value"
ID_EDIT_NEW_MULTI_STRINGVALUE "Adds a new multi-string value"
ID_REGISTRY_IMPORTREGISTRYFILE "Imports a text file into the registry"
ID_REGISTRY_EXPORTREGISTRYFILE
"Exports all or part of the registry to a text file"
ID_REGISTRY_PRINT "Prints all or part of the registry"
/* ID_HELP_HELPTOPICS "Opens registry editor help" */
ID_HELP_ABOUT "Displays program information, version number and copyright"
END
STRINGTABLE
BEGIN
ID_REGISTRY_EXIT "Quits the registry editor"
ID_FAVORITES_ADDTOFAVORITES "Adds keys to the favorites list"
ID_FAVORITES_REMOVEFAVORITE "Removes keys from the favorites list"
ID_VIEW_STATUSBAR "Shows or hides the status bar"
ID_VIEW_SPLIT "Change position of split between two panes"
ID_VIEW_REFRESH "Refreshes the window"
ID_EDIT_DELETE "Deletes the selection"
ID_EDIT_RENAME "Renames the selection"
ID_EDIT_COPYKEYNAME "Copies the name of the selected key to the clipboard"
ID_EDIT_FIND "Finds a text string in a key, value or data"
ID_EDIT_FINDNEXT "Finds next occurrence of text specified in previous search"
ID_EDIT_EXPORT "Exports selected branch of the registry to a text file"
END
STRINGTABLE
BEGIN
IDS_ERROR "Error"
IDS_BAD_KEY "Can't query key '%s'"
IDS_BAD_VALUE "Can't query value '%s'"
IDS_UNSUPPORTED_TYPE "Can't edit keys of this type (%u)"
IDS_TOO_BIG_VALUE "Value is too big (%u)"
IDS_DELETE_BOX_TITLE "Confirm Value Delete"
IDS_DELETE_BOX_TEXT "Are you sure you want to delete value '%s'?"
IDS_DELETE_BOX_TEXT_MULTIPLE "Are you sure you want to delete these values?"
IDS_NEWKEY "New Key #%d"
IDS_NEWVALUE "New Value #%d"
IDS_NOTFOUND "Search string '%s' not found"
END
STRINGTABLE
BEGIN
IDS_FILEDIALOG_IMPORT_TITLE "Import Registry File"
IDS_FILEDIALOG_EXPORT_TITLE "Export Registry File"
IDS_FILEDIALOG_FILTER_REG "Registry files (*.reg)"
IDS_FILEDIALOG_FILTER_REG4 "Win9x/NT4 Registry files (REGEDIT4)"
IDS_FILEDIALOG_FILTER_ALL "All files (*.*)"
END
STRINGTABLE
BEGIN
IDS_REGISTRY_ROOT_NAME "My Computer"
IDS_REGISTRY_DEFAULT_VALUE "(Default)"
IDS_REGISTRY_VALUE_NOT_SET "(value not set)"
IDS_REGISTRY_VALUE_CANT_DISPLAY "(cannot display value)"
IDS_REGISTRY_UNKNOWN_TYPE "(unknown %d)"
END
2011-11-08 15:27:07 +01:00
/*
* Dialogs
*/
IDD_EXPORT_TEMPLATE DIALOG 50, 50, 278, 68
STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Export registry", IDC_EXPORT_BASE, 6, 6, 266, 55, WS_GROUP
AUTORADIOBUTTON "&All", IDC_EXPORT_ALL, 12, 17, 244, 12
AUTORADIOBUTTON "S&elected branch:", IDC_EXPORT_SELECTED, 12, 30, 244, 12
EDITTEXT IDC_EXPORT_PATH, 32, 43, 224, 12
END
IDD_FIND DIALOG 22, 17, 225, 85
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Find"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Find:",IDC_STATIC,5,7,119,8
EDITTEXT IDC_VALUE_NAME,50,5,115,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
LTEXT "Find in:",IDC_STATIC,5, 22, 119, 8
CHECKBOX "Keys", IDC_FIND_KEYS, 5, 34, 160, 10, WS_TABSTOP | WS_GROUP | BS_AUTOCHECKBOX
CHECKBOX "Value names", IDC_FIND_VALUES, 5, 46, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
CHECKBOX "Value content", IDC_FIND_CONTENT, 5, 58, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
CHECKBOX "Whole string only", IDC_FIND_WHOLE, 5, 70, 160, 10, WS_TABSTOP | BS_AUTOCHECKBOX
DEFPUSHBUTTON "Find",IDOK,175,5,45,15,WS_GROUP
PUSHBUTTON "Close",IDCANCEL,175,24,45,15, WS_GROUP
END
IDD_ADDFAVORITE DIALOG 22, 17, 210, 55
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Add Favorite"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Name:",IDC_STATIC,5,5,119,8
EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,110,36,45,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,160,36,45,15,WS_GROUP
END
IDD_DELFAVORITE DIALOG 22, 17, 210, 90
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Remove Favorite"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Name:",IDC_STATIC,5,5,119,8
LISTBOX IDC_NAME_LIST,5,15,200,52, WS_BORDER | WS_TABSTOP | LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL
DEFPUSHBUTTON "OK",IDOK,110,72,45,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,160,72,45,15,WS_GROUP
END
IDD_EDIT_STRING DIALOG 22, 17, 210, 75
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Edit String"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Value name:",IDC_STATIC,5,5,119,8
EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
LTEXT "Value data:",IDC_STATIC,5,30,119,8
EDITTEXT IDC_VALUE_DATA,5,40,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,110,56,45,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,160,56,45,15,WS_GROUP
END
IDD_EDIT_DWORD DIALOG 22, 17, 220, 100
STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
CAPTION "Edit DWORD"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Value name:",IDC_STATIC,5,5,119,8
EDITTEXT IDC_VALUE_NAME,5,15,210,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
LTEXT "Value data:",IDC_STATIC,5,30,90,8
EDITTEXT IDC_VALUE_DATA,5,40,90,12, WS_BORDER | WS_TABSTOP
GROUPBOX "Base", IDC_DWORD_BASE, 120, 30, 95, 37, BS_GROUPBOX
AUTORADIOBUTTON "Hexadecimal", IDC_DWORD_HEX, 130, 40, 80, 10, WS_TABSTOP
AUTORADIOBUTTON "Decimal", IDC_DWORD_DEC, 130, 52, 80, 10, WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,110,81,45,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,160,81,45,15,WS_GROUP
END
IDD_EDIT_BINARY DIALOG 22, 17, 170, 100
STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_CAPTION | WS_SYSMENU
CAPTION "Edit Binary"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Value name:",IDC_STATIC,5,5,119,8
EDITTEXT IDC_VALUE_NAME,5,15,160,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
LTEXT "Value data:",IDC_STATIC,5,30,90,8
CONTROL "",IDC_VALUE_DATA,"HexEdit",WS_TABSTOP,5,40,160,40
DEFPUSHBUTTON "OK",IDOK,70,83,45,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,120,83,45,15,WS_GROUP
END
IDD_EDIT_MULTI_STRING DIALOG 22, 17, 210, 175
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Edit Multi-String"
2011-11-08 15:27:07 +01:00
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Value name:",IDC_STATIC,5,5,119,8
EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL| WS_DISABLED
LTEXT "Value data:",IDC_STATIC,5,30,119,8
EDITTEXT IDC_VALUE_DATA,5,40,200,112, WS_BORDER | WS_TABSTOP | WS_HSCROLL | WS_VSCROLL | ES_MULTILINE | ES_WANTRETURN
DEFPUSHBUTTON "OK",IDOK,110,156,45,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
END
/*
* Accelerators
*/
IDC_REGEDIT ACCELERATORS
{
"#msgctxt#accelerator Find#F", ID_EDIT_FIND, VIRTKEY, CONTROL
"#msgctxt#accelerator Print#P", ID_REGISTRY_PRINT, VIRTKEY, CONTROL
VK_DELETE, ID_EDIT_DELETE, VIRTKEY
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
VK_F2, ID_EDIT_RENAME, VIRTKEY
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
VK_F5, ID_VIEW_REFRESH, VIRTKEY
}
/* Command-line strings */
STRINGTABLE
{
STRING_USAGE, "Usage:\n\
\ regedit [options] [filename] [reg_key]\n\
\n\
\Options:\n\
\ [no option] Launch the graphical version of this program.\n\
\ /L:system.dat The location of the system.dat file to be modified.\n\
\ Compatible with any other switch. Ignored.\n\
\ /R:user.dat The location of the user.dat file to be modified.\n\
\ Compatible with any other switch. Ignored.\n\
\ /C Import the contents of a registry file.\n\
\ /D Delete a specified registry key.\n\
\ /E Export the contents of a specified registry key to a file.\n\
\ If no key is specified, the entire registry is exported.\n\
\ /S Silent mode. No messages will be displayed.\n\
\ /V Launch the GUI in advanced mode. Ignored.\n\
\ /? Display this information and exit.\n\
\ [filename] The location of the file containing registry information to\n\
\ be imported. When used with [/E], this option specifies the\n\
\ file location where registry information will be exported.\n\
\ [reg_key] The registry key to be modified.\n\
\n\
\Usage examples:\n\
\ regedit \"import.reg\"\n\
\ regedit /E \"export.reg\" \"HKEY_CURRENT_USER\\Console\"\n\
\ regedit /D \"HKEY_LOCAL_MACHINE\\Error\\Path\"\n"
STRING_INVALID_SWITCH, "regedit: Invalid or unrecognized switch [%1]\n"
STRING_HELP, "Type \"regedit /?\" for help.\n"
STRING_NO_FILENAME, "regedit: No filename was specified.\n"
STRING_NO_REG_KEY, "regedit: No registry key was specified for removal.\n"
STRING_FILE_NOT_FOUND, "regedit: The file '%1' was not found.\n"
STRING_CANNOT_OPEN_FILE, "regedit: Unable to open the file '%1'.\n"
STRING_UNHANDLED_ACTION, "regedit: Unhandled action.\n"
}
/* define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: folderopen.ico */
IDI_OPEN_FILE ICON folderopen.ico
/* @makedep: folder.ico */
IDI_CLOSED_FILE ICON folder.ico
/* @makedep: computer.ico */
IDI_ROOT ICON computer.ico
/* @makedep: string.ico */
IDI_STRING ICON string.ico
/* @makedep: bin.ico */
IDI_BIN ICON bin.ico
/* @makedep: regedit.ico */
IDI_REGEDIT ICON regedit.ico
#define WINE_FILEDESCRIPTION_STR "Wine Registry Editor"
#define WINE_FILENAME "REGEDIT"
#define WINE_FILENAME_STR "REGEDIT.EXE"
#define WINE_FILETYPE VFT_APP
#define WINE_FILEVERSION 5,2,3790,0
#define WINE_FILEVERSION_STR "5.2.3790.0"
#define WINE_PRODUCTVERSION 5,2,3790,0
#define WINE_PRODUCTVERSION_STR "5.2"
#include "wine/wine_common_ver.rc"