LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL

ID_ACCEL ACCELERATORS
BEGIN
    "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
    VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
    "^F", ID_EDIT_FIND
    VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
    VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
    VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
    VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
    VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END

/* Command-line strings */
STRINGTABLE
BEGIN
    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"
    STRING_OUT_OF_MEMORY "regedit: Out of memory! (%1!S!, line %2!u!)\n"
    STRING_INVALID_HEX "regedit: Invalid hexadecimal value.\n"
    STRING_CSV_HEX_ERROR "regedit: Unable to convert hexadecimal data. An invalid value was encountered at '%1'.\n"
    STRING_ESCAPE_SEQUENCE "regedit: Unrecognized escape sequence [\\%1!c!]\n"
    STRING_UNKNOWN_DATA_FORMAT "regedit: Unsupported registry data type [0x%1!x!]\n"
    STRING_UNEXPECTED_EOL "regedit: Unexpected end of line in '%1'.\n"
    STRING_UNRECOGNIZED_LINE "regedit: The line '%1' was not recognized.\n"
    STRING_SETVALUE_FAILED "regedit: Unable to add the registry value '%1' to '%2'.\n"
    STRING_OPEN_KEY_FAILED "regedit: Unable to open the registry key '%1'.\n"
    STRING_UNSUPPORTED_TYPE "regedit: Unsupported registry data type [0x%1!x!] encountered in '%2'.\n"
    STRING_EXPORT_AS_BINARY "regedit: The registry value '%1' will be exported as binary data.\n"
    STRING_INVALID_SYSTEM_KEY "regedit: Invalid system key [%1]\n"
    STRING_REG_KEY_NOT_FOUND "regedit: Unable to export '%1'. The specified registry key was not found.\n"
    STRING_DELETE_FAILED "regedit: Unable to delete the registry key '%1'.\n"
    STRING_UNKNOWN_TYPE "Unknown Type"
    STRING_INVALID_LINE_SYNTAX, "regedit: The line contains invalid syntax.\n"
END

/* Menus */

IDR_REGEDIT_MENU MENU
BEGIN
    POPUP "&Arkiv"
    BEGIN
        MENUITEM "&Importera registerfil...", ID_REGISTRY_IMPORTREGISTRYFILE
        MENUITEM "&Exportera registerfil...", ID_REGISTRY_EXPORTREGISTRYFILE
        MENUITEM SEPARATOR
        MENUITEM "Läs in Registerdata...", ID_REGISTRY_LOADHIVE, GRAYED //FIXME: add accelerator. It is possible to use the same accel for ID_REGISTRY_LOADHIVE and ID_REGISTRY_UNLOADHIVE, because they are never enabled at the same time. Use the one from Windows though!
        MENUITEM "Ta bort Registerdata...", ID_REGISTRY_UNLOADHIVE, GRAYED //FIXME: add accelerator. It is possible to use the same accel for ID_REGISTRY_LOADHIVE and ID_REGISTRY_UNLOADHIVE, because they are never enabled at the same time. Use the one from Windows though!
        MENUITEM SEPARATOR
        MENUITEM "&Anslut Nätverksregister...", ID_REGISTRY_CONNECTNETWORKREGISTRY //FIXME: accelerator collision &A. Check what swedish Windows does please!
        MENUITEM "&Koppla ifrån Nätverksregister...", ID_REGISTRY_DISCONNECTNETWORKREGISTRY, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "Skriv &ut...\tCtrl+P", ID_REGISTRY_PRINT, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "&Avsluta", ID_REGISTRY_EXIT //FIXME: accelerator collision &A. Check what swedish Windows does please! Please notice that there is a second MENUITEM "&Avsluta". Therefore I used MENUITEM "Anslut &Nätverksregister...", ID_REGISTRY_CONNECTNETWORKREGISTRY for the backport and left ID_REGISTRY_EXIT untouched.
    END
    POPUP "&Redigera"
    BEGIN
        MENUITEM "&Ändra", ID_EDIT_MODIFY
        MENUITEM SEPARATOR
        POPUP "&Nytt"
        BEGIN
            MENUITEM "&Nyckel", ID_EDIT_NEW_KEY
            MENUITEM SEPARATOR
            MENUITEM "&Strängvärde", ID_EDIT_NEW_STRINGVALUE
            MENUITEM "&Binärvärde", ID_EDIT_NEW_BINARYVALUE
            MENUITEM "&DWORD-värde", ID_EDIT_NEW_DWORDVALUE
            MENUITEM "&Multisträngvärde", ID_EDIT_NEW_MULTISTRINGVALUE
            MENUITEM "&Expandable Strängvärde", ID_EDIT_NEW_EXPANDABLESTRINGVALUE
        END
        MENUITEM SEPARATOR
        MENUITEM "B&ehörigheter...", ID_EDIT_PERMISSIONS
        MENUITEM SEPARATOR
        MENUITEM "&Ta bort\tDel", ID_EDIT_DELETE
        MENUITEM "&Byt namn", ID_EDIT_RENAME
        MENUITEM SEPARATOR
        MENUITEM "&Kopiera nyckelnamn", ID_EDIT_COPYKEYNAME
        MENUITEM SEPARATOR
        MENUITEM "&Sök...\tCtrl+F", ID_EDIT_FIND
        MENUITEM "Sök N&ästa\tF3", ID_EDIT_FINDNEXT
    END
    POPUP "&Visa"
    BEGIN
        MENUITEM "Statusfält", ID_VIEW_STATUSBAR
        MENUITEM SEPARATOR
        MENUITEM "Dela", ID_VIEW_SPLIT
        MENUITEM SEPARATOR
        MENUITEM "&Uppdatera\tF5", ID_VIEW_REFRESH
    END
    POPUP "&Favoriter"
    BEGIN
        MENUITEM "&Lägg till i Favoriter", ID_FAVOURITES_ADDTOFAVOURITES, GRAYED
        MENUITEM "&Ta bort från Favoriter", ID_FAVOURITES_REMOVEFAVOURITE, GRAYED
    END
    POPUP "&Hjälp"
    BEGIN
        MENUITEM "&Hjälpavsnitt\tF1", ID_HELP_HELPTOPICS
        MENUITEM SEPARATOR
        MENUITEM "&Om Registereditorn", ID_HELP_ABOUT
    END
END

IDR_POPUP_MENUS MENU
BEGIN
    POPUP ""
    BEGIN
        MENUITEM "&Ändra", ID_EDIT_MODIFY
        MENUITEM "Ändra binärdata", ID_EDIT_MODIFY_BIN
        MENUITEM SEPARATOR
        MENUITEM "&Ta bort\tDel", ID_EDIT_DELETE
        MENUITEM "&Byt namn", ID_EDIT_RENAME
    END
    POPUP ""
    BEGIN
        POPUP "&Nytt"
        BEGIN
            MENUITEM "&Nyckel", ID_EDIT_NEW_KEY
            MENUITEM SEPARATOR
            MENUITEM "&Strängvärde", ID_EDIT_NEW_STRINGVALUE
            MENUITEM "&Binärvärde", ID_EDIT_NEW_BINARYVALUE
            MENUITEM "&DWORD-värde", ID_EDIT_NEW_DWORDVALUE
            MENUITEM "&Multisträngvärde", ID_EDIT_NEW_MULTISTRINGVALUE
            MENUITEM "&Expandable Strängvärde", ID_EDIT_NEW_EXPANDABLESTRINGVALUE
        END
    END
    POPUP ""
    BEGIN
        MENUITEM "Visa/dölj nivå", ID_TREE_EXPANDBRANCH
        POPUP "&Ny(tt)"
        BEGIN
            MENUITEM "&Nyckel", ID_EDIT_NEW_KEY
            MENUITEM SEPARATOR
            MENUITEM "&Strängvärde", ID_EDIT_NEW_STRINGVALUE
            MENUITEM "&Binärvärde", ID_EDIT_NEW_BINARYVALUE
            MENUITEM "&DWORD-värde", ID_EDIT_NEW_DWORDVALUE
            MENUITEM "&Multisträngvärde", ID_EDIT_NEW_MULTISTRINGVALUE
            MENUITEM "&Expandable Strängvärde", ID_EDIT_NEW_EXPANDABLESTRINGVALUE
        END
        MENUITEM "&Sök...", ID_EDIT_FIND
        MENUITEM SEPARATOR
        MENUITEM "&Ta bort", ID_TREE_DELETE
        MENUITEM "&Byt namn", ID_TREE_RENAME //FIXME: accelerator collision &B. Attention "&Byt namn" does exist 3 times in this file. Therefote I do recommend to change the accel at "&Behörigheter..." instead!
        MENUITEM SEPARATOR
        MENUITEM "&Exportera", ID_TREE_EXPORT
        MENUITEM "&Behörigheter...", ID_TREE_PERMISSIONS //FIXME: accelerator collision &B. I used "Be&hörigheter..." for the backport
        MENUITEM SEPARATOR
        MENUITEM "&Kopiera nyckelnamn", ID_EDIT_COPYKEYNAME
    END
    POPUP ""
    BEGIN
        MENUITEM "Visa/dölj nivå", ID_TREE_EXPANDBRANCH
        MENUITEM SEPARATOR
        MENUITEM "&Exportera", ID_TREE_EXPORT
        MENUITEM SEPARATOR
        MENUITEM "Ta bort Registerdata...", ID_REGISTRY_UNLOADHIVE, GRAYED
    END
    POPUP ""
    BEGIN
        MENUITEM "Klipp &ut", ID_HEXEDIT_CUT
        MENUITEM "&Kopiera", ID_HEXEDIT_COPY
        MENUITEM "Klistra &in", ID_HEXEDIT_PASTE
        MENUITEM "&Ta bort", ID_HEXEDIT_DELETE
        MENUITEM SEPARATOR
        MENUITEM "Markera &Allt", ID_HEXEDIT_SELECT_ALL
    END
END

/* Dialogs */

IDD_EDIT_STRING DIALOGEX 32, 24, 252, 84
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ändra sträng"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "&Värde:", IDC_STATIC, 6, 6, 134, 8
    EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY
    LTEXT "&Data:", IDC_STATIC, 6, 35, 161, 8
    EDITTEXT IDC_VALUE_DATA, 6, 46, 240, 12, ES_AUTOHSCROLL
    DEFPUSHBUTTON "OK", IDOK, 142, 64, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 196, 64, 50, 14
END

IDD_EDIT_MULTI_STRING DIALOGEX 32, 24, 252, 174
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ändra multisträng"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "&Värde:", IDC_STATIC, 6, 6, 134, 8
    EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY
    LTEXT "&Data:", IDC_STATIC, 6, 35, 161, 8
    EDITTEXT IDC_VALUE_DATA, 6, 46, 240, 102, ES_AUTOHSCROLL | ES_MULTILINE |
             ES_WANTRETURN | ES_AUTOVSCROLL | WS_VSCROLL
    DEFPUSHBUTTON "OK", IDOK, 142, 154, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 196, 154, 50, 14
END

IDD_EDIT_BIN_DATA DIALOGEX 32, 24, 252, 174
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ändra Binärvärde"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "&Värde:", IDC_STATIC, 6, 6, 134, 8
    EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY
    LTEXT "&Data:", IDC_STATIC, 6, 35, 161, 8
    CONTROL "", IDC_VALUE_DATA, "HexEdit32", WS_VSCROLL | WS_BORDER | WS_TABSTOP, 6, 46, 240, 102
    DEFPUSHBUTTON "OK", IDOK, 142, 154, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 196, 154, 50, 14
END

IDD_EDIT_DWORD DIALOGEX 32, 24, 252, 104
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ändra DWORD-värde"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "&Värde:", IDC_STATIC, 6, 6, 134, 8
    EDITTEXT IDC_VALUE_NAME, 6, 17, 240, 12, ES_AUTOHSCROLL | ES_READONLY
    LTEXT "&Data:", IDC_STATIC, 6, 35, 161, 8
    EDITTEXT IDC_VALUE_DATA, 6, 46, 116, 12, ES_AUTOHSCROLL
    GROUPBOX "Bas", IDC_STATIC, 130, 35, 116, 39
    AUTORADIOBUTTON "&Hexadecimal", IDC_FORMAT_HEX, 141, 46, 60, 10, WS_GROUP
    AUTORADIOBUTTON "&Decimal", IDC_FORMAT_DEC, 141, 59, 60, 10
    DEFPUSHBUTTON "OK", IDOK, 142, 82, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 196, 82, 50, 14
END

IDD_EDIT_RESOURCE_LIST DIALOGEX 32, 24, 170, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Resource List"
FONT 8, "MS Shell Dlg"
BEGIN
    CONTROL "", IDC_RESOURCE_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 10, 150, 75
    DEFPUSHBUTTON "OK", IDOK, 27, 100, 50, 14
    PUSHBUTTON "Show...", IDC_SHOW_RESOURCE, 93, 100, 50, 14, WS_DISABLED
END

IDD_EDIT_RESOURCE DIALOGEX 6, 18, 281, 283
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Resources"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "DMA:", IDC_STATIC, 10, 5, 20, 8
    CONTROL "", IDC_DMA_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 15, 261, 31
    LTEXT "Interrupt:", IDC_STATIC, 10, 48, 35, 8
    CONTROL "", IDC_IRQ_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 58, 261, 31
    LTEXT "Memory:", IDC_STATIC, 10, 91, 32, 8
    CONTROL "", IDC_MEMORY_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 101, 261, 31
    LTEXT "Port:", IDC_STATIC, 10, 134, 38, 8
    CONTROL "", IDC_PORT_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 144, 261, 31
    LTEXT "Device specific data:", IDC_STATIC, 10, 177, 80, 8
    CONTROL "", IDC_DEVICE_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 188, 261, 31
    GROUPBOX "Usage", IDC_STATIC, 10, 219, 125, 39
    LTEXT "Undetermined", IDC_UNDETERMINED, 18, 230, 46, 8, WS_DISABLED
    LTEXT "Shared", IDC_SHARED, 18, 240, 48, 8, WS_DISABLED
    LTEXT "Device exclusive", IDC_DEVICE_EXCLUSIVE, 72, 230, 58, 8, WS_DISABLED
    LTEXT "Driver exclusive", IDC_DRIVER_EXCLUSIVE, 72, 240, 54, 8, WS_DISABLED
    RTEXT "Interface Type:", IDC_STATIC, 144, 220, 58, 8
    LTEXT "", IDC_INTERFACETYPE, 205, 220, 66, 8
    RTEXT "Bus Number:", IDC_STATIC, 151, 230, 51, 8
    LTEXT "", IDC_BUSNUMBER, 205, 230, 66, 8
    RTEXT "Version:", IDC_STATIC, 151, 240, 51, 8
    LTEXT "", IDC_VERSION, 205, 240, 66, 8
    RTEXT "Revision:", IDC_STATIC, 151, 250, 51, 8
    LTEXT "", IDC_REVISION, 205, 250, 66, 8
    DEFPUSHBUTTON "OK", IDOK, 92, 263, 40, 14
    PUSHBUTTON "&Data...", IDC_SHOW_RESOURCE_DATA, 148, 263, 40, 14, WS_DISABLED
END

IDD_EDIT_REQUIREMENTS_LIST DIALOGEX 32, 24, 220, 135
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Requirements List"
FONT 8, "MS Shell Dlg"
BEGIN
    CONTROL "", IDC_REQUIREMENTS_LIST, "SysListView32", LVS_REPORT | LVS_NOSORTHEADER |
            LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 10, 10, 200, 66
    RTEXT "Interface Type:", IDC_STATIC, 10, 80, 62, 8
    LTEXT "", IDC_REQINTERFACETYPE, 77, 80, 76, 8
    RTEXT "Bus Number:", IDC_STATIC, 10, 90, 62, 8
    LTEXT "", IDC_REQBUSNUMBER, 77, 90, 76, 8
    RTEXT "Slot Type:", IDC_STATIC, 10, 100, 62, 8
    LTEXT "", IDC_REQSLOTNUMBER, 77, 100, 76, 8
    DEFPUSHBUTTON "OK", IDOK, 62, 115, 50, 14
    PUSHBUTTON "Show...", IDC_SHOW_REQUIREMENT, 118, 115, 50, 14, WS_DISABLED
END

IDD_EDIT_REQUIREMENTS_PORT DIALOGEX 32, 24, 158, 135
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Port"
FONT 8, "MS Shell Dlg"
BEGIN
    RTEXT "Type:", IDC_STATIC, 10, 10, 61, 8
    LTEXT "", IDC_REQ_PORT_TYPE, 77, 10, 76, 8
    RTEXT "Length:", IDC_STATIC, 10, 20, 61, 8
    LTEXT "", IDC_REQ_PORT_LENGTH, 77, 20, 76, 8
    RTEXT "Alignment:", IDC_STATIC, 10, 30, 61, 8
    LTEXT "", IDC_REQ_PORT_ALIGN, 77, 30, 76, 8
    RTEXT "Minimum Address:", IDC_STATIC, 10, 40, 61, 8
    LTEXT "", IDC_REQ_PORT_MIN, 77, 40, 76, 8
    RTEXT "Maximum Address:", IDC_STATIC, 10, 50, 61, 8
    LTEXT "", IDC_REQ_PORT_MAX, 77, 50, 76, 8
    RTEXT "Share Disposition:", IDC_STATIC, 10, 60, 61, 8
    LTEXT "", IDC_REQ_PORT_SHARE, 77, 60, 76, 8
    GROUPBOX "Options", IDC_STATIC, 10, 72, 83, 39
    LTEXT "Alternative", IDC_REQ_PORT_ALTERNATIVE, 34, 86, 37, 8, WS_DISABLED
    LTEXT "Preferred", IDC_REQ_PORT_PREFERRED, 34, 96, 37, 8, WS_DISABLED
    DEFPUSHBUTTON "OK", IDOK, 58, 117, 40, 14
END

IDD_EDIT_REQUIREMENTS_MEMORY DIALOGEX 32, 24, 158, 135
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Memory"
FONT 8, "MS Shell Dlg"
BEGIN
    RTEXT "Access:", IDC_STATIC, 10, 10, 61, 8
    LTEXT "", IDC_REQ_MEMORY_ACCESS, 77, 10, 76, 8
    RTEXT "Length:", IDC_STATIC, 10, 20, 61, 8
    LTEXT "", IDC_REQ_MEMORY_LENGTH, 77, 20, 76, 8
    RTEXT "Alignment:", IDC_STATIC, 10, 30, 61, 8
    LTEXT "", IDC_REQ_MEMORY_ALIGN, 77, 30, 76, 8
    RTEXT "Minimum Address:", IDC_STATIC, 10, 40, 61, 8
    LTEXT "", IDC_REQ_MEMORY_MIN, 77, 40, 76, 8
    RTEXT "Maximum Address:", IDC_STATIC, 10, 50, 61, 8
    LTEXT "", IDC_REQ_MEMORY_MAX, 77, 50, 76, 8
    RTEXT "Share Disposition:", IDC_STATIC, 10, 60, 61, 8
    LTEXT "", IDC_REQ_MEMORY_SHARE, 77, 60, 76, 8
    GROUPBOX "Options", IDC_STATIC, 10, 72, 83, 39
    LTEXT "Alternative", IDC_REQ_MEMORY_ALTERNATIVE, 34, 86, 37, 8, WS_DISABLED
    LTEXT "Preferred", IDC_REQ_MEMORY_PREFERRED, 34, 96, 37, 8, WS_DISABLED
    DEFPUSHBUTTON "OK", IDOK, 58, 117, 40, 14
END

IDD_EDIT_REQUIREMENTS_INT DIALOGEX 32, 24, 158, 135
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Interrupt"
FONT 8, "MS Shell Dlg"
BEGIN
    RTEXT "Type:", IDC_STATIC, 10, 10, 61, 8
    LTEXT "", IDC_REQ_INT_TYPE, 77, 10, 76, 8
    RTEXT "Minimum Vector:", IDC_STATIC, 10, 20, 61, 8
    LTEXT "", IDC_REQ_INT_MIN, 77, 20, 76, 8
    RTEXT "Maximum Vector:", IDC_STATIC, 10, 30, 61, 8
    LTEXT "", IDC_REQ_INT_MAX, 77, 30, 76, 8
    RTEXT "Share Disposition:", IDC_STATIC, 10, 40, 61, 8
    LTEXT "", IDC_REQ_INT_SHARE, 77, 40, 76, 8
    GROUPBOX "Options", IDC_STATIC, 10, 72, 83, 39
    LTEXT "Alternative", IDC_REQ_INT_ALTERNATIVE, 34, 86, 37, 8, WS_DISABLED
    LTEXT "Preferred", IDC_REQ_INT_PREFERRED, 34, 96, 37, 8, WS_DISABLED
    DEFPUSHBUTTON "OK", IDOK, 58, 117, 40, 14
END

IDD_EDIT_REQUIREMENTS_DMA DIALOGEX 32, 24, 158, 135
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "DMA"
FONT 8, "MS Shell Dlg"
BEGIN
    RTEXT "Minimum Channel:", IDC_STATIC, 10, 10, 61, 8
    LTEXT "", IDC_REQ_DMA_MIN, 77, 10, 76, 8
    RTEXT "Maximum Channel:", IDC_STATIC, 10, 20, 61, 8
    LTEXT "", IDC_REQ_DMA_MAX, 77, 20, 76, 8
    RTEXT "Share Disposition:", IDC_STATIC, 10, 30, 61, 8
    LTEXT "", IDC_REQ_DMA_SHARE, 77, 30, 76, 8
    GROUPBOX "Options", IDC_STATIC, 10, 72, 83, 39
    LTEXT "Alternative", IDC_REQ_DMA_ALTERNATIVE, 34, 86, 37, 8, WS_DISABLED
    LTEXT "Preferred", IDC_REQ_DMA_PREFERRED, 34, 96, 37, 8, WS_DISABLED
    DEFPUSHBUTTON "OK", IDOK, 58, 117, 40, 14
END

/* String Tables */

STRINGTABLE
BEGIN
    IDS_LIST_COLUMN_NAME "Namn"
    IDS_LIST_COLUMN_TYPE "Typ"
    IDS_LIST_COLUMN_DATA "Data"
END

STRINGTABLE
BEGIN
    IDS_APP_TITLE "Registereditorn"
    IDC_REGEDIT "REGEDIT"
    IDC_REGEDIT_FRAME "REGEDIT_FRAME"
END

STRINGTABLE
BEGIN
    ID_REGISTRY_MENU "Innehåller kommandon för att arbeta med hela registret"
    ID_EDIT_MENU "Innehåller kommandon för att ändra värden och nycklar"
    ID_VIEW_MENU "Innehåller kommandon för att anpassa registerfönstret"
    ID_FAVOURITES_MENU "Innehåller kommandon för att komma åt nycklar som används ofta"
    ID_HELP_MENU "Innehåller kommandon för att visa hjälpen och information om Registereditorn"
    ID_EDIT_NEW_MENU "Innehåller kommandon för att skapa nya nycklar eller värden"
END

STRINGTABLE
BEGIN
    ID_EDIT_MODIFY "Ändrar värdets data"
    ID_EDIT_NEW_KEY "Lägger till en ny nyckel"
    ID_EDIT_NEW_STRINGVALUE "Lägger till ett nytt strängvärde"
    ID_EDIT_NEW_BINARYVALUE "Lägger till ett nytt binärt värde"
    ID_EDIT_NEW_DWORDVALUE "Lägger till ett nytt dubbelordsvärde"
    ID_EDIT_NEW_MULTISTRINGVALUE "Adds a new multi string value"
    ID_EDIT_NEW_EXPANDABLESTRINGVALUE "Adds a new expandable string value"
    ID_REGISTRY_IMPORTREGISTRYFILE "Importerar en textfil till registret"
    ID_REGISTRY_EXPORTREGISTRYFILE "Exporterar hela eller en del av registret till en textfil"
    ID_REGISTRY_LOADHIVE "Läser in registerdatafil till registret"
    ID_REGISTRY_UNLOADHIVE "Tar bort registerdatafil från registret"
    ID_REGISTRY_CONNECTNETWORKREGISTRY "Ansluter till en annan dators register"
    ID_REGISTRY_DISCONNECTNETWORKREGISTRY "Kopplar ifrån en annan dators register"
    ID_REGISTRY_PRINT "Skriver ut hela eller en del av registret"
//    ID_HELP_HELPTOPICS "Öppnar hjälpen för Registereditorn"
    ID_HELP_ABOUT "Visar programinformation, versionsnummer, och upphovsrätt"
END

STRINGTABLE
BEGIN
    ID_REGISTRY_EXIT "Avslutar Registereditorn"
    ID_FAVOURITES_ADDTOFAVOURITES "Lägger till nycklar till Favoriter"
    ID_FAVOURITES_REMOVEFAVOURITE "Tar bort nycklar från Favoriter"
    ID_VIEW_STATUSBAR "Visar eller döljer statusfältet"
    ID_VIEW_SPLIT "Ändra storlek på delningslisten"
    ID_VIEW_REFRESH "Uppdaterar fönstret"
    ID_EDIT_DELETE "Tar bort markeringen"
    ID_EDIT_RENAME "Byter namn på markeringen"
    ID_EDIT_COPYKEYNAME "Kopierar namnet på den valda nyckeln till urklippet"
    ID_EDIT_FIND "Hittar en textsträng i en nyckel, ett värde eller data"
    ID_EDIT_FINDNEXT "Söker igen efter nästa träff i registret"
END

STRINGTABLE
BEGIN
    IDS_ERROR "Fel"
    IDS_WARNING "Varning"
    IDS_BAD_KEY "Kan inte läsa nyckel '%s'"
    IDS_BAD_VALUE "Kan inte läsa värdet  '%s'"
    IDS_UNSUPPORTED_TYPE "Kan inte ändra nycklar av typen %ld"
    IDS_TOO_BIG_VALUE "Värdet är för stort (%ld)"
    IDS_MULTI_SZ_EMPTY_STRING "Data av typen REG_MULTI_SZ kan inte innehålla tomma strängar.\nDe tomma strängarna har tagits bort från listan."
    IDS_QUERY_DELETE_KEY_ONE "Är du säker på att du vill ta bort denna nyckeln?"
    IDS_QUERY_DELETE_KEY_MORE "Är du säker på att du vill ta bort dessa nycklarna?"
    IDS_QUERY_DELETE_KEY_CONFIRM "Bekärfta borttagning av nyckel"
    IDS_QUERY_DELETE_ONE "Är du säker på att du vill ta bort detta värdet?"
    IDS_QUERY_DELETE_MORE "Är du säker på att du vill ta bort dessa värdena?"
    IDS_QUERY_DELETE_CONFIRM "Bekräfta borttagning av värde"
    IDS_ERR_DELVAL_CAPTION "Fel vid borttagning av värde"
    IDS_ERR_DELETEVALUE "Det gick inte att ta bort alla specificerade värden!"
    IDS_ERR_RENVAL_CAPTION "Fel vid namnändring av värde"
    IDS_ERR_RENVAL_TOEMPTY "Kunde inte byta namn på %s. Det specificerade värdenamnet är tomt. Ange ett annat namn och försök igen."
    IDS_QUERY_IMPORT_HIVE_CAPTION "Confirm Key Restoration"
    IDS_QUERY_IMPORT_HIVE_MSG "A key will be restored on top of the currently selected key.\nAll values and subkeys of this key will be deleted.\nDo you want to continue the operation?"
    IDS_NEW_KEY "Ny Nyckel #%d"
    IDS_NEW_VALUE "Nytt Värde #%d"
END

STRINGTABLE
BEGIN
    IDS_BINARY_EMPTY "(Tomt binärvärde)"
    IDS_DEFAULT_VALUE_NAME "(Standard)"
    IDS_VALUE_NOT_SET "(värde ej angivet)"
    IDS_UNKNOWN_TYPE "Okänd typ: (0x%lx)"
    IDS_MY_COMPUTER "Den här datorn"
    IDS_IMPORT_REG_FILE "Importera registerfil"
    IDS_EXPORT_REG_FILE "Exportera registerfil"
    IDS_LOAD_HIVE "Läs in registerdatafil"
    IDS_UNLOAD_HIVE "Ta bort registerdatafil"
    IDS_INVALID_DWORD "(felaktigt DWORD-värde)"
END

STRINGTABLE
BEGIN
    IDS_FLT_REGFILE "Registerfil"
    IDS_FLT_REGFILES "Registerfiler (*.reg)"
    IDS_FLT_REGFILES_FLT "*.reg"
    IDS_FLT_HIVFILES "Registry Hive Files (*.*)"
    IDS_FLT_HIVFILES_FLT "*.*"
    IDS_FLT_REGEDIT4 "Win9x/NT4-Registerfiler (REGEDIT4) (*.reg)"
    IDS_FLT_REGEDIT4_FLT "*.reg"
    IDS_FLT_ALLFILES "Alla filer (*.*)"
    IDS_FLT_ALLFILES_FLT "*.*"
    IDS_FLT_TXTFILES "Text Files (*.txt)"
    IDS_FLT_TXTFILES_FLT "*.txt"
END

STRINGTABLE
BEGIN
    IDS_ACCESS_FULLCONTROL "Fullständig behörighet"
    IDS_ACCESS_READ "Läsa"
    IDS_ACCESS_QUERYVALUE "Läsa värde"
    IDS_ACCESS_SETVALUE "Ange värde"
    IDS_ACCESS_CREATESUBKEY "Skapa undernyckel"
    IDS_ACCESS_ENUMERATESUBKEYS "Räkna upp undernycklar"
    IDS_ACCESS_NOTIFY "Meddela"
    IDS_ACCESS_CREATELINK "Skapa länk"
    IDS_ACCESS_DELETE "Ta bort"
    IDS_ACCESS_WRITEDAC "Skriva DAC"
    IDS_ACCESS_WRITEOWNER "Skriva ägare"
    IDS_ACCESS_READCONTROL "Läsa behörighet"
END

STRINGTABLE
BEGIN
    IDS_INHERIT_THISKEYONLY "Endast denna nyckel"
    IDS_INHERIT_THISKEYANDSUBKEYS "Denna nyckel samt undernycklar"
    IDS_INHERIT_SUBKEYSONLY "Endast undernycklar"
END

STRINGTABLE
BEGIN
    IDS_EXPAND "&Visa nivå"
    IDS_COLLAPSE "&Dölj nivå"
    IDS_GOTO_SUGGESTED_KEY "&Go to '%s'"
    IDS_FINISHEDFIND "Slutfört sökningen av registret."
END

STRINGTABLE
BEGIN
    IDS_IMPORT_PROMPT "Adding information can unintentionally change or delete values and cause components to stop working correctly.\nIf you do not trust the source of this information in '%s', do not add it to registry.\n\nAre you sure you want to continue?"
    IDS_IMPORT_OK "The keys and values contained in '%s' have been successfully added to the registry."
    IDS_IMPORT_ERROR "Cannot import '%s': Error opening the file. There may be a disk, file system error or file may not exist."
    IDS_EXPORT_ERROR "Cannot export '%s': Error creating or writing to the file. There may be a disk or file system error."
END

STRINGTABLE
BEGIN
    IDS_BUSNUMBER "Bus Number"
    IDS_INTERFACE "Interface"
    IDS_DMA_CHANNEL "Channel"
    IDS_DMA_PORT "Port"
    IDS_INTERRUPT_VECTOR "Vector"
    IDS_INTERRUPT_LEVEL "Level"
    IDS_INTERRUPT_AFFINITY "Affinity"
    IDS_INTERRUPT_TYPE "Type"
    IDS_MEMORY_ADDRESS "Physical Address"
    IDS_MEMORY_LENGTH "Length"
    IDS_MEMORY_ACCESS "Access"
    IDS_PORT_ADDRESS "Physical Address"
    IDS_PORT_LENGTH "Length"
    IDS_PORT_ACCESS "Access"
    IDS_SPECIFIC_RESERVED1 "Reserved 1"
    IDS_SPECIFIC_RESERVED2 "Reserved 2"
    IDS_SPECIFIC_DATASIZE "Data Size"
END

STRINGTABLE
BEGIN
    IDS_PORT_PORT_IO "Port"
    IDS_PORT_MEMORY_IO "Memory"
    IDS_INTERRUPT_EDGE_SENSITIVE "Edge Sensitive"
    IDS_INTERRUPT_LEVEL_SENSITIVE "Level Sensitive"
    IDS_MEMORY_READ_ONLY "Read Only"
    IDS_MEMORY_WRITE_ONLY "Write Only"
    IDS_MEMORY_READ_WRITE "Read / Write"
END

STRINGTABLE
BEGIN
    IDS_BUS_UNDEFINED "Undefined"
    IDS_BUS_INTERNAL "Internal"
    IDS_BUS_ISA "ISA"
    IDS_BUS_EISA "EISA"
    IDS_BUS_MICROCHANNEL "MicroChannel"
    IDS_BUS_TURBOCHANNEL "TurboChannel"
    IDS_BUS_PCIBUS "PCI"
    IDS_BUS_VMEBUS "VME"
    IDS_BUS_NUBUS "NuBus"
    IDS_BUS_PCMCIABUS "PCMCIA"
    IDS_BUS_CBUS "C-Bus"
    IDS_BUS_MPIBUS "MPI-Bus"
    IDS_BUS_MPSABUS "MPSA-Bus"
    IDS_BUS_PROCESSORINTERNAL "Processor Internal"
    IDS_BUS_INTERNALPOWERBUS "Internal Power Bus"
    IDS_BUS_PNPISABUS "PnP-ISA Bus"
    IDS_BUS_PNPBUS "PnP Bus"
    IDS_BUS_UNKNOWNTYPE "Unknown Interface Type"
END

STRINGTABLE
BEGIN
    IDS_FIELD_KEY_NAME "Key Name:"
    IDS_FIELD_CLASS_NAME "Class Name:"
    IDS_NO_CLASS_NAME "<NO CLASS>"
    IDS_NULL_TIMESTAMP "<NULL>"
    IDS_FIELD_NAME "  Name:"
    IDS_FIELD_TYPE "  Type:"
    IDS_FIELD_DATA "  Data:"
    IDS_FIELD_LASTWRITE "Last Write Time:"
    IDS_UNKNOWN "<UNKNOWN>"
    IDS_VALUE_INDEX "Value %d"
END

STRINGTABLE
BEGIN
    IDS_REQALTERNATIVELIST "Alternative List"
    IDS_REQRESOURCELIST "Resource List"
    IDS_REQDESCRIPTOR "Descriptor"
    IDS_REQDEVICETYPE "Device Type"
    IDS_TYPE_PORT "Port"
    IDS_TYPE_INTERRUPT "Interrupt"
    IDS_TYPE_MEMORY "Memory"
    IDS_TYPE_DMA "DMA"
    IDS_SHARE_DEVICE_EXCLUSIVE "Device Exclusive"
    IDS_SHARE_DRIVER_EXCLUSIVE "Driver Exclusive"
    IDS_SHARE_SHARED "Shared"
    IDS_SHARE_UNDETERMINED "Undetermined"
END

/*****************************************************************/

/* Dialogs */

IDD_EXPORTRANGE DIALOGEX 50, 50, 370, 50
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS | WS_BORDER
FONT 8, "MS Shell Dlg"
BEGIN
    GROUPBOX "Exportera Intervall", IDC_STATIC, 2, 0, 366, 48
    AUTORADIOBUTTON "&Alla", IDC_EXPORT_ALL, 10, 10, 99, 11, WS_GROUP | WS_TABSTOP
    AUTORADIOBUTTON "&Vald Gren", IDC_EXPORT_BRANCH, 10, 22, 99, 11
    EDITTEXT IDC_EXPORT_BRANCH_TEXT, 30, 34, 335, 12
END

IDD_LOADHIVE DIALOGEX 0, 0, 193, 34
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Läs in registerdata"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "&Nyckel:", IDC_STATIC, 4, 4, 15, 8, SS_LEFT
    EDITTEXT IDC_EDIT_KEY, 23, 2, 167, 13
    DEFPUSHBUTTON "OK", IDOK, 140, 17, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 89, 17, 50, 14
END

IDD_ADDFAVORITES DIALOGEX 0, 0, 186, 46
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Lägg till i Favoriter"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON "OK", IDOK, 129, 7, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 129, 24, 50, 14
    LTEXT "&Namn på Favorit:", IDC_STATIC, 7, 7, 70, 10
    EDITTEXT IDC_FAVORITENAME, 7, 26, 110, 13, ES_AUTOHSCROLL
END

IDD_REMOVEFAVORITES DIALOGEX 0, 0, 164, 135
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ta bort Favoriter"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON "OK", IDOK, 107, 114, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 7, 114, 50, 14
    CONTROL "", IDC_FAVORITESLIST, "SysListView32", LVS_LIST | WS_BORDER |
            WS_TABSTOP, 7, 20, 150, 90
    LTEXT "Välj Favorit(er):", IDC_STATIC, 7, 7, 99, 12
END

IDD_FIND DIALOGEX 0, 0, 254, 82
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sök"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON "&Sök Nästa", IDOK, 197, 7, 50, 14
    PUSHBUTTON "Avbryt", IDCANCEL, 197, 24, 50, 14
    GROUPBOX "Sök i", IDC_STATIC, 7, 25, 63, 51
    LTEXT "&Sök efter:", IDC_STATIC, 7, 8, 37, 10
    EDITTEXT IDC_FINDWHAT, 47, 7, 142, 13, ES_AUTOHSCROLL
    CONTROL "&Nycklar", IDC_LOOKAT_KEYS, "Button", BS_AUTOCHECKBOX |
            WS_TABSTOP, 14, 36, 35, 8
    CONTROL "&Värden", IDC_LOOKAT_VALUES, "Button", BS_AUTOCHECKBOX |
            WS_TABSTOP, 14, 48, 36, 8
    CONTROL "&Data", IDC_LOOKAT_DATA, "Button", BS_AUTOCHECKBOX |
            WS_TABSTOP, 14, 60, 42, 8
    CONTROL "Matcha endast &hela strängar", IDC_MATCHSTRING, "Button", BS_AUTOCHECKBOX |
            WS_TABSTOP, 83, 32, 94, 13
    CONTROL "Matcha &shiftläge", IDC_MATCHCASE, "Button", BS_AUTOCHECKBOX |
            WS_TABSTOP, 83, 48, 90, 12
END

IDD_FINDING DIALOGEX 0, 0, 145, 50
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sök"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    ICON IDI_REGEDIT, IDC_STATIC, 7, 7, 20, 20
    DEFPUSHBUTTON "Avbryt", IDCANCEL, 93, 29, 45, 14
    LTEXT "Sök i registret...", IDC_STATIC, 33, 12, 83, 8
END
