/*
 * PROJECT:     ReactOS Event Log Viewer
 * LICENSE:     GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
 * PURPOSE:     English resource file
 * TRANSLATORS: Copyright 2007 Marc Piulachs <marc.piulachs@codexchange.net>
 *              Copyright 2008-2016 Eric Kohl <eric.kohl@reactos.org>
 *              Copyright 2016-2022 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
 */

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

IDM_EVENTVWR MENU
BEGIN
    POPUP "&Log"
    BEGIN
        MENUITEM "&Open...", IDM_OPEN_EVENTLOG
        MENUITEM "Save &Event Log as...", IDM_SAVE_EVENTLOG
        MENUITEM "&Close", IDM_CLOSE_EVENTLOG
        MENUITEM SEPARATOR
        MENUITEM "C&lear all Events", IDM_CLEAR_EVENTS
        MENUITEM "&Rename\tF2", IDM_RENAME_EVENTLOG
        MENUITEM "Log Se&ttings...", IDM_EVENTLOG_SETTINGS
        MENUITEM SEPARATOR
        MENUITEM "E&xit", IDM_EXIT
    END
    POPUP "&View"
    BEGIN
        MENUITEM "&Newest first", IDM_LIST_NEWEST
        MENUITEM "&Oldest first", IDM_LIST_OLDEST
        MENUITEM SEPARATOR
        MENUITEM "&Details...\tEnter", IDM_EVENT_DETAILS
        MENUITEM SEPARATOR
        MENUITEM "&Refresh\tF5", IDM_REFRESH
    END
    POPUP "&Options"
    BEGIN
        MENUITEM "Event details &view", IDM_EVENT_DETAILS_VIEW
        MENUITEM "&Grid lines", IDM_LIST_GRID_LINES
        MENUITEM SEPARATOR
        MENUITEM "&Save settings on exit", IDM_SAVE_SETTINGS
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "H&elp", IDM_HELP
        MENUITEM SEPARATOR
        MENUITEM "&About", IDM_ABOUT
    END
END

IDM_EVENTWR_CTX MENU
BEGIN
    POPUP ""
    BEGIN
        MENUITEM "&Open Event Log...", IDM_OPEN_EVENTLOG
        MENUITEM "&Save Event Log as...", IDM_SAVE_EVENTLOG
        MENUITEM SEPARATOR
        MENUITEM "&Clear all Events", IDM_CLEAR_EVENTS
        MENUITEM "&Rename\tF2", IDM_RENAME_EVENTLOG
        MENUITEM "Log Se&ttings...", IDM_EVENTLOG_SETTINGS
    END
END

IDA_EVENTVWR ACCELERATORS
BEGIN
    "?", IDM_ABOUT, ASCII, ALT
    "/", IDM_ABOUT, ASCII, ALT
    VK_F2, IDM_RENAME_EVENTLOG, VIRTKEY
    VK_F5, IDM_REFRESH, VIRTKEY
END

IDD_EVENTDETAILS_DLG DIALOGEX 0, 0, 266, 240
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_THICKFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Event Details"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "EvtDetailsCtrl", IDC_STATIC, 0, 0, 266, 215
    PUSHBUTTON "&Help", IDHELP, 8, 220, 50, 14
    DEFPUSHBUTTON "&Close", IDOK, 208, 220, 50, 14
END

IDD_EVENTDETAILS_CTRL DIALOGEX 0, 0, 266, 215
STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "Date:", IDC_STATIC, 8, 5, 31, 8
    EDITTEXT IDC_EVENTDATESTATIC, 46, 5, 47, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "Source:", IDC_STATIC, 103, 5, 36, 8
    EDITTEXT IDC_EVENTSOURCESTATIC, 140, 5, 82, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "Time:", IDC_STATIC, 8, 15, 31, 8
    EDITTEXT IDC_EVENTTIMESTATIC, 46, 15, 47, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "Category:", IDC_STATIC, 103, 15, 36, 8
    EDITTEXT IDC_EVENTCATEGORYSTATIC, 140, 15, 82, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "Type:", IDC_STATIC, 8, 25, 31, 8
    EDITTEXT IDC_EVENTTYPESTATIC, 46, 25, 47, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "Event ID:", IDC_STATIC, 103, 25, 36, 8
    EDITTEXT IDC_EVENTIDSTATIC, 140, 25, 82, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "&User:", IDC_STATIC, 8, 35, 36, 8
    EDITTEXT IDC_EVENTUSERSTATIC, 46, 35, 152, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "&Computer:", IDC_STATIC, 8, 45, 36, 8
    EDITTEXT IDC_EVENTCOMPUTERSTATIC, 46, 45, 152, 8, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL

    PUSHBUTTON "", IDC_PREVIOUS, 230, 5, 28, 14, BS_ICON
    PUSHBUTTON "", IDC_NEXT, 230, 21, 28, 14, BS_ICON
    PUSHBUTTON "", IDC_COPY, 230, 37, 28, 14, BS_ICON

    LTEXT "&Description:", IDC_STATIC, 8, 65, 39, 8
    CONTROL "", IDC_EVENTTEXTEDIT, RICHEDIT_CLASS, ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL | WS_BORDER, 8, 76, 250, 60

    LTEXT "D&ata:", IDC_DETAILS_STATIC, 8, 140, 20, 8
    AUTORADIOBUTTON "&Bytes", IDC_BYTESRADIO, 39, 140, 34, 8
    AUTORADIOBUTTON "&Word", IDC_WORDRADIO, 77, 140, 34, 8
    EDITTEXT IDC_EVENTDATAEDIT, 8, 150, 250, 60, ES_MULTILINE | ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL | WS_BORDER
END

IDD_LOGPROPERTIES_GENERAL DIALOGEX 0, 0, 252, 234
STYLE DS_SHELLFONT | WS_POPUP | WS_CAPTION
CAPTION "General"
FONT 8, "MS Shell Dlg"
BEGIN
    LTEXT "&Display name:", IDC_STATIC, 7, 9, 60, 8
    EDITTEXT IDC_DISPLAYNAME, 67, 7, 178, 12, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
    LTEXT "&Log name:", IDC_STATIC, 7, 25, 60, 8
    EDITTEXT IDC_LOGNAME, 67, 23, 178, 12, ES_LEFT | ES_AUTOHSCROLL | ES_READONLY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
    LTEXT "Log &file:", IDC_STATIC, 7, 41, 60, 8
    EDITTEXT IDC_LOGFILE, 67, 39, 178, 12, ES_LEFT | ES_AUTOHSCROLL | ES_READONLY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
// The following 4 IDC_STATIC shall have accels in ReactOS, although MS doesn't have accels for them.
// Translation note: First fill out ALL accels that MS has in this dialog for your language,
// and only then as a final step use some remaining unused letters for those 4 controls!
    LTEXT "&Size:", IDC_STATIC, 7, 57, 60, 8
    EDITTEXT IDC_SIZE_LABEL, 67, 57, 178, 12, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "&Created:", IDC_STATIC, 7, 69, 60, 8
    EDITTEXT IDC_CREATED_LABEL, 67, 69, 178, 12, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "Modifi&ed:", IDC_STATIC, 7, 81, 60, 8
    EDITTEXT IDC_MODIFIED_LABEL, 67, 81, 178, 12, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    LTEXT "&Accessed:", IDC_STATIC, 7, 93, 60, 8
    EDITTEXT IDC_ACCESSED_LABEL, 67, 93, 178, 12, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL
    GROUPBOX "Log size", IDC_STATIC, 7, 106, 238, 99
    LTEXT "&Maximum log size:", IDC_STATIC, 17, 122, 58, 8
    EDITTEXT IDC_EDIT_MAXLOGSIZE, 80, 119, 40, 14, ES_LEFT | ES_NUMBER | WS_GROUP
    CONTROL "", IDC_UPDOWN_MAXLOGSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_NOTHOUSANDS | UDS_ALIGNRIGHT |
            UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 119, 10, 14
    LTEXT "KB", IDC_STATIC, 130, 122, 20, 8
    LTEXT "When maximum log size is reached:", IDC_STATIC, 17, 140, 219, 8
    AUTORADIOBUTTON "&Overwrite events as needed", IDC_OVERWRITE_AS_NEEDED, 17, 155, 219, 10, WS_GROUP | WS_TABSTOP
    AUTORADIOBUTTON "O&verwrite events older than", IDC_OVERWRITE_OLDER_THAN, 17, 168, 102, 10
    AUTORADIOBUTTON "Do &not overwrite events\n(clear log manually)", IDC_NO_OVERWRITE, 17, 180, 143, 20, BS_MULTILINE | WS_TABSTOP
    EDITTEXT IDC_EDIT_EVENTS_AGE, 122, 165, 35, 14, ES_LEFT | ES_NUMBER | WS_GROUP
    CONTROL "", IDC_UPDOWN_EVENTS_AGE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
            UDS_AUTOBUDDY | UDS_ARROWKEYS, 157, 165, 10, 14
    LTEXT "days", IDC_STATIC, 162, 168, 20, 8
    PUSHBUTTON "&Restore Defaults", IDC_RESTOREDEFAULTS, 166, 183, 70, 14
    AUTOCHECKBOX "Using a lo&w-speed connection", IDC_LOW_SPEED_CONNECTION, 7, 217, 167, 10
    PUSHBUTTON "&Clear Log", ID_CLEARLOG, 195, 213, 50, 14
END

STRINGTABLE
BEGIN
    IDS_COPYRIGHT "Copyright (C) 2007 Marc Piulachs (marc.piulachs@codexchange.net)"
    IDS_APP_TITLE "Event Viewer"
    IDS_APP_TITLE_EX "%s - %s Log on \\\\"
    IDS_STATUS_MSG "%s has %lu event(s) (listed: %lu)"
    IDS_LOADING_WAIT "Loading Event Logs. Please wait..."
    IDS_NO_ITEMS "There are no items to show in this view." // "No events in this log."
    IDS_EVENTLOG_SYSTEM "System Logs"
    IDS_EVENTLOG_APP "Application Logs"
    IDS_EVENTLOG_USER "User Logs"
    IDS_SAVE_FILTER "Event Log (*.evt)\0*.evt\0"
    IDS_CLEAREVENTS_MSG "Do you want to save this event log before clearing it?"
    IDS_RESTOREDEFAULTS "Do you want to restore all settings for this log to their default values?"
    IDS_EVENTSTRINGIDNOTFOUND "The description for Event ID ( %lu ) in Source ( %s ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer.\n\nThe following information is part of the event:\n\n"
END

STRINGTABLE
BEGIN
/* Please note that explicit TAB characters '\t' are used to fix the alignment of the message in the MessageBox */
    IDS_USAGE "ReactOS Event Viewer\n\
\n\
EventVwr [computer name] [/L:<event log file>] [/?]\n\
\n\
""computer name"" : Specifies the remote computer where to connect\n\
\tto retrieve the events to display. If no name is specified, the\n\
\tlocal computer is used.\n\
\n\
/L:<event log file> : Specifies which event log file to open.\n\
\tOnly files in the .evt format (NT ≤ 5.2) are supported.\n\
\n\
/? : Displays this help message.\n\
"
    IDS_EVENTLOGFILE "Event Log File"
END

STRINGTABLE
BEGIN
    IDS_EVENTLOG_ERROR_TYPE "Error"
    IDS_EVENTLOG_WARNING_TYPE "Warning"
    IDS_EVENTLOG_INFORMATION_TYPE "Information"
    IDS_EVENTLOG_AUDIT_SUCCESS "Audit Success"
    IDS_EVENTLOG_AUDIT_FAILURE "Audit Failure"
    IDS_EVENTLOG_SUCCESS "Success"
    IDS_EVENTLOG_UNKNOWN_TYPE "Unknown Event"
END

STRINGTABLE
BEGIN
    IDS_BYTES_FORMAT "bytes" // "%s bytes"
    // "%1!ls! (%2!ls! bytes)"
END

STRINGTABLE
BEGIN
    IDS_COLUMNTYPE "Type"
    IDS_COLUMNDATE "Date"
    IDS_COLUMNTIME "Time"
    IDS_COLUMNSOURCE "Source"
    IDS_COLUMNCATEGORY "Category"
    IDS_COLUMNEVENT "Event"
    IDS_COLUMNUSER "User"
    IDS_COLUMNCOMPUTER "Computer"
END

STRINGTABLE
BEGIN
    IDS_COPY "\
Event Type:     %s\r\n\
Event Source:   %s\r\n\
Event Category: %s\r\n\
Event ID:       %s\r\n\
Date:           %s\r\n\
Time:           %s\r\n\
User:           %s\r\n\
Computer:       %s\r\n\
Description:\r\n%s"
END

STRINGTABLE
BEGIN
    IDS_NONE "None"
    IDS_NOT_AVAILABLE "N/A"
END
