/***************************************************************************
 * ROM Properties Page shell extension. (Win32)                            *
 * rp-de_DE.rc: Win32 resource script. (de_DE)                             *
 *                                                                         *
 * Copyright (c) 2016-2023 by David Korth.                                 *
 * SPDX-License-Identifier: GPL-2.0-or-later                               *
 ***************************************************************************/

// UTF-8 encoding
#pragma code_page(65001)

#include "resource.h"
#define WC_LANGUAGECOMBOBOX	"rp-LanguageComboBox"

#define APSTUDIO_HIDDEN_SYMBOLS
#include <windows.h>
#include <wingdi.h>
#include <commctrl.h>
#include <richedit.h>
#undef APSTUDIO_HIDDEN_SYMBOLS

/**
 * Configuration: Image type priorities
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_IMAGETYPES DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    LTEXT           "Wählen Sie die Bildtypen aus, die Sie für jedes System als Vorschaubild verwenden möchten.\nInterne Bilder sind in der ROM Datei enthalten.\nExterne Bilder werden aus einer externen Bilddatenbank heruntergeladen.", IDC_IMAGETYPES_DESC1, 7, 7, 397, 30, SS_LEFT, WS_EX_LEFT
    LTEXT           "1 = höchste Priorität; 2 = zweithöchste Priorität; Nein = ignorieren", IDC_IMAGETYPES_DESC2, 7, 37, 397, 8, SS_LEFT, WS_EX_LEFT
    CONTROL         "", IDC_IMAGETYPES_CREDITS, "SysLink", 0x50010000, 7, 226, 397, 24, 0x00000000
END

/**
 * Configuration: Systems
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_SYSTEMS DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    GROUPBOX        "Game Boy Titelbildschirme", IDC_STATIC, 7, 7, 397, 82
    LTEXT           "Wählen Sie das Game Boy-Modell aus, das für Titelbildschirme für verschiedene Arten von\nGame Boy-ROM-Bildern verwendet werden soll.", IDC_STATIC, 15, 18, 381, 16
    LTEXT           "Game Boy:", IDC_STATIC, 15, 38, 80, 9
    COMBOBOX        IDC_SYSTEMS_DMGTS_DMG, 77, 37, 69, 30, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Super Game Boy:", IDC_STATIC, 15, 53, 80, 9
    COMBOBOX        IDC_SYSTEMS_DMGTS_SGB, 77, 52, 69, 30, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Game Boy Color:", IDC_STATIC, 15, 68, 80, 9
    COMBOBOX        IDC_SYSTEMS_DMGTS_CGB, 77, 67, 69, 30, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END

/**
 * Configuration: Options
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_OPTIONS DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    GROUPBOX        "&Downloads", IDC_STATIC, 7, 7, 397, 121, BS_GROUPBOX, WS_EX_TRANSPARENT
    GROUPBOX        "", IDC_OPTIONS_GRPEXTIMGDL, 15, 19, 381, 47, 0, 0
    AUTOCHECKBOX    "E&xternal Image Downloads", IDC_OPTIONS_CHKEXTIMGDL, 21, 19, 101, 8, 0, 0
    RTEXT           "Wenn eine unlimitierte Netzwerkverbindung genutzt wird:", IDC_OPTIONS_LBL_UNMETERED_DL, 25, 31, 185, 8, 0, 0
    COMBOBOX        IDC_OPTIONS_CBO_UNMETERED_DL, 214, 29, 132, 30, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    RTEXT           "Wenn eine getaktete Netzwerkverbindung genutzt wird:", IDC_OPTIONS_LBL_METERED_DL, 25, 49, 185, 8, 0, 0
    COMBOBOX        IDC_OPTIONS_CBO_METERED_DL, 214, 47, 132, 30, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    AUTOCHECKBOX    "Wenn möglich immer das interne Icon für Bilder in kleiner Größe nutzen.", IDC_OPTIONS_INTICONSMALL, 15, 73, 381, 8, 0, WS_EX_TRANSPARENT
    AUTOCHECKBOX    "Ursprungsinformationen für zwischengespeicherte Dateien mithilfe von\nerweiterten Attributen sichern. Dies kann zu der Identifizierung beitragen.", IDC_OPTIONS_STOREFILEORIGININFO, 15, 87, 381, 16, BS_MULTILINE, WS_EX_TRANSPARENT
    LTEXT           "Sprache für PAL-Titel auf GameTDB:", IDC_STATIC, 15, 111, 120, 8, 0, WS_EX_TRANSPARENT
    // FIXME: Determine best height. (Compare to RP_ShellPropSheetExt for multi-language.)
    CONTROL         "", IDC_OPTIONS_PALLANGUAGEFORGAMETDB, WC_LANGUAGECOMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_TABSTOP | WS_VISIBLE, 138, 108, 68, 128, WS_EX_LEFT

    GROUPBOX        "&Optionen", IDC_STATIC, 7, 133, 397, 54, BS_GROUPBOX, WS_EX_TRANSPARENT
    AUTOCHECKBOX    "Zeige ein Sicherheits-Overlay-Symbol für ROM-Bilder mit\n""gefährlichen"" Berechtigungen.", IDC_OPTIONS_DANGEROUSPERMISSIONS, 15, 144, 381, 16, BS_MULTILINE, WS_EX_TRANSPARENT
    AUTOCHECKBOX    "Thumbnail- und Metadaten-Extrahierung auf Netzwerk-Dateisystemen aktivieren.\nDies kann das Browsen verlangsamen.", IDC_OPTIONS_ENABLETHUMBNAILONNETWORKFS, 15, 165, 381, 16, BS_MULTILINE, WS_EX_TRANSPARENT
END

/**
 * Configuration: Thumbnail cache (Windows Vista and later)
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_CACHE DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    LTEXT           "", IDC_CACHE_DESCRIPTION, 7, 7, 397, 8, SS_LEFT, WS_EX_TRANSPARENT
    PUSHBUTTON      "Vorschaubilder Cache löschen", IDC_CACHE_CLEAR_SYS_THUMBS, 7, 20, 398, 28, 0, WS_EX_LEFT
    LTEXT           "ROM-Eigenschaften Seite verwaltet einen eigenen Download-Cache für externe Bilder.\nDas Leeren diesen Caches führt dazu, dass externe Bilder erneut heruntergeladen werden müssen.", IDC_STATIC, 7, 55, 397, 17, SS_LEFT, WS_EX_TRANSPARENT
    PUSHBUTTON      "Löschen Sie den Cache der ROM-Eigenschaften Seite", IDC_CACHE_CLEAR_RP_DL, 7, 75, 398, 28, 0, WS_EX_LEFT
    LTEXT           "", IDC_CACHE_STATUS, 7, 205, 397, 9, NOT WS_VISIBLE | SS_LEFT, WS_EX_LEFT
    CONTROL         "", IDC_CACHE_PROGRESS, PROGRESS_CLASS, NOT WS_VISIBLE, 7, 216, 397, 16, WS_EX_LEFT
END

/**
 * Configuration: Thumbnail cache (Windows XP and earlier)
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_CACHE_XP DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    LTEXT           "", IDC_CACHE_DESCRIPTION, 7, 7, 397, 25, SS_LEFT, WS_EX_TRANSPARENT
    AUTORADIOBUTTON "Suche alle Thumbs.db Dateien auf dem angegebenen Laufwerk(en):", IDC_CACHE_XP_FIND_DRIVES, 7, 35, 168, 8, WS_GROUP, WS_EX_LEFT
    AUTORADIOBUTTON "Pfad angeben", IDC_CACHE_XP_FIND_PATH, 180, 35, 61, 8, 0, WS_EX_LEFT
    CONTROL         "", IDC_CACHE_XP_DRIVES, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_LIST | LVS_SINGLESEL, 7, 46, 397, 45, WS_EX_LEFT | WS_EX_CLIENTEDGE
    EDITTEXT        IDC_CACHE_XP_PATH, 7, 46, 343, 14, NOT WS_VISIBLE | ES_AUTOHSCROLL, WS_EX_LEFT
    PUSHBUTTON      "Durchsuchen...", IDC_CACHE_XP_BROWSE, 355, 45, 50, 15, NOT WS_VISIBLE, WS_EX_LEFT
    PUSHBUTTON      "Thumb.db Dateien suchen und löschen", IDC_CACHE_XP_CLEAR_SYS_THUMBS, 7, 95, 398, 20, WS_DISABLED | BS_MULTILINE, WS_EX_LEFT
    LTEXT           "ROM-Eigenschaften Seite verwaltet einen eigenen Download-Cache für externe Bilder.\nDas Leeren diesen Caches führt dazu, dass externe Bilder erneut heruntergeladen werden müssen.", IDC_STATIC, 7, 125, 313, 20, SS_LEFT, WS_EX_TRANSPARENT
    PUSHBUTTON      "Leeren", IDC_CACHE_CLEAR_RP_DL, 323, 127, 82, 15, 0, WS_EX_LEFT
    LTEXT           "", IDC_CACHE_STATUS, 7, 205, 397, 9, NOT WS_VISIBLE | SS_LEFT, WS_EX_LEFT
    CONTROL         "", IDC_CACHE_PROGRESS, PROGRESS_CLASS, NOT WS_VISIBLE, 7, 216, 397, 16, WS_EX_LEFT
END

/**
 * Configuration: Achievements
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_ACHIEVEMENTS DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    CONTROL         "", IDC_ACHIEVEMENTS_LIST, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT | LVS_SINGLESEL, 7, 7, 397, 243, WS_EX_LEFT | WS_EX_CLIENTEDGE
    // Dummy control needed to fix an issue on Win7 where the
    // tab background color is wrong.
    LTEXT           "", IDC_STATIC, 7, 7, 1, 1, NOT WS_VISIBLE, WS_EX_TRANSPARENT
END

#ifdef ENABLE_DECRYPTION
/**
 * Configuration: Key Manager
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_KEYMANAGER DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    CONTROL         "", IDC_KEYMANAGER_LIST, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT | LVS_OWNERDATA | LVS_SINGLESEL, 7, 7, 397, 225, WS_EX_LEFT | WS_EX_CLIENTEDGE
    // EDIT control is created as a child control of the ListView.
    //EDITTEXT        IDC_KEYMANAGER_EDIT, 0, 0, 0, 0, NOT WS_VISIBLE | ES_AUTOHSCROLL | ES_WANTRETURN, WS_EX_LEFT
    PUSHBUTTON      "I&mportieren", IDC_KEYMANAGER_IMPORT, 7, 236, 54, 14, 0, WS_EX_LEFT
END
#endif /* ENABLE_DECRYPTION */

/**
 * Configuration: About
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_CONFIG_ABOUT DIALOGEX 0, 0, 413, 257
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
EXSTYLE WS_EX_NOPARENTNOTIFY | WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", FW_NORMAL, 0, 0
BEGIN
    CONTROL         "", IDC_ABOUT_ICON, WC_STATIC, SS_ICON, 7, 7, 16, 16, WS_EX_LEFT
    CTEXT           "ROM-Eigenschaften Seite", IDC_ABOUT_LINE1, 7, 7, 398, 9, SS_CENTER, WS_EX_LEFT
    CTEXT           "Shell-Erweiterung", IDC_ABOUT_LINE2, 7, 16, 398, 9, SS_CENTER, WS_EX_LEFT
    CTEXT           "", IDC_ABOUT_VERSION, 7, 28, 398, 32, SS_CENTER, WS_EX_LEFT
    CONTROL         "", IDC_ABOUT_UPDATE_CHECK, RICHEDIT_CLASS, ES_MULTILINE | ES_READONLY, 310, 7, 96, 64, SS_RIGHT, WS_EX_RIGHT | WS_EX_NOPARENTNOTIFY | WS_EX_TRANSPARENT
    CONTROL         "", IDC_ABOUT_TABCONTROL, WC_TABCONTROL, 0, 7, 63, 398, 180, WS_EX_LEFT
    CONTROL         "", IDC_ABOUT_RICHEDIT, RICHEDIT_CLASS, WS_TABSTOP | WS_BORDER | WS_VSCROLL | ES_MULTILINE | ES_READONLY | ES_AUTOVSCROLL, 14, 84, 384, 152, WS_EX_LEFT | WS_EX_NOPARENTNOTIFY | WS_EX_CLIENTEDGE | WS_EX_TRANSPARENT
END

/**
 * XAttrView
 * FIXME: PROP_MED_CYDLG (215) is too small on Win7.
 * 215 vertical DLUs = 349px
 * Property sheet is ~404px, which is 249 DLUs.
 */
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
IDD_XATTRVIEW DIALOG 0, 0, PROP_MED_CXDLG, 249
STYLE DS_3DLOOK | DS_CONTROL | DS_SHELLFONT | WS_VISIBLE | WS_CHILDWINDOW | WS_TABSTOP
CAPTION ""
FONT 8, "Ms Shell Dlg"
BEGIN
    GROUPBOX        "MS-DOS-Attribute", IDC_STATIC, 5, 7, 215, 35, 0, WS_EX_LEFT
    CHECKBOX        "&Schreibgeschützt", IDC_XATTRVIEW_DOS_READONLY, 14, 17, 65, 8, 0, WS_EX_LEFT
    CHECKBOX        "&Versteckt", IDC_XATTRVIEW_DOS_HIDDEN, 83, 17, 43, 8, 0, WS_EX_LEFT
    CHECKBOX        "&Archiv", IDC_XATTRVIEW_DOS_ARCHIVE, 130, 17, 31, 8, 0, WS_EX_LEFT
    CHECKBOX        "&System", IDC_XATTRVIEW_DOS_SYSTEM, 165, 17, 42, 8, 0, WS_EX_LEFT
    CHECKBOX        "&Komprimiert", IDC_XATTRVIEW_NTFS_COMPRESSED, 14, 28, 48, 8, 0, WS_EX_LEFT
    CHECKBOX        "&Verschlüsselt", IDC_XATTRVIEW_NTFS_ENCRYPTED, 66, 28, 48, 8, 0, WS_EX_LEFT
    GROUPBOX        "Alternativ-Datenströme", IDC_XATTRVIEW_GRPADS, 7, 49, 213, 196, 0, WS_EX_LEFT
    CONTROL         "", IDC_XATTRVIEW_LISTVIEW_ADS, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_SINGLESEL | LVS_REPORT, 14, 60, 200, 179, WS_EX_LEFT
END
