mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
2263547985
CORE-18958 Introduce an emergency log-off and restart feature, available when holding down the control key and selecting "Log Off" or "Shut down" in the MSGINA Ctrl-Alt-Del security dialog, similar to Windows Server 2003 and newer Windows versions.
259 lines
14 KiB
Plaintext
259 lines
14 KiB
Plaintext
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
IDD_STATUS DIALOGEX 0, 0, 275, 78
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Please wait..."
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
CONTROL "", IDC_BAR, "Static", SS_OWNERDRAW, 0, 44, 275, 4
|
|
LTEXT "", IDC_STATUS_MESSAGE, 7, 59, 261, 12, SS_WORDELLIPSIS
|
|
END
|
|
|
|
IDD_WELCOME DIALOGEX 0, 0, 275, 78
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Welcome to ReactOS"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
CONTROL IDI_BAR, IDC_BAR, "Static", SS_BITMAP, 0, 44, 275, 4
|
|
ICON IDI_KEYBOARD, IDC_STATIC, 7, 53, 32, 32
|
|
LTEXT "Press Ctrl-Alt-Delete to begin.", IDC_STATIC, 38, 59, 230, 14
|
|
END
|
|
|
|
IDD_LOGON DIALOGEX 0, 0, 275, 147
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Logon"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
CONTROL IDI_BAR, IDC_BAR, "Static", SS_BITMAP, 0, 44, 275, 4
|
|
LTEXT "Username:", IDC_STATIC, 6, 60, 52, 8
|
|
EDITTEXT IDC_LOGON_USERNAME, 60, 57, 155, 14, ES_AUTOHSCROLL
|
|
LTEXT "Password:", IDC_STATIC, 6, 78, 52, 8
|
|
EDITTEXT IDC_LOGON_PASSWORD, 60, 76, 155, 14, ES_AUTOHSCROLL | ES_PASSWORD
|
|
LTEXT "Log on to:", IDC_STATIC, 6, 96, 52, 8
|
|
COMBOBOX IDC_LOGON_DOMAIN, 60, 95, 155, 14, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "OK",IDOK, 106, 122, 50, 14, BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "Cancel", IDCANCEL, 160, 122, 50, 14
|
|
PUSHBUTTON "&Shut Down", IDC_LOGON_SHUTDOWN, 214, 122, 50, 14
|
|
END
|
|
|
|
IDD_SECURITY DIALOGEX 0, 0, 275, 164
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Security"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
GROUPBOX "Logon Information", IDC_STATIC, 7, 50, 261, 52
|
|
LTEXT "<Message>", IDC_SECURITY_MESSAGE, 15, 62, 245, 18
|
|
LTEXT "<Logon date>", IDC_SECURITY_LOGONDATE, 15, 83, 245, 8
|
|
CTEXT "What do you want to do?", IDC_STATIC, 10, 108, 255, 8
|
|
PUSHBUTTON "Loc&k Computer", IDC_SECURITY_LOCK, 7, 124, 80, 14
|
|
PUSHBUTTON "&Log Off...", IDC_SECURITY_LOGOFF, 98, 124, 80, 14
|
|
PUSHBUTTON "&Shut Down...", IDC_SECURITY_SHUTDOWN, 188, 124, 80, 14
|
|
PUSHBUTTON "&Change Password...", IDC_SECURITY_CHANGEPWD, 7, 143, 80, 14
|
|
PUSHBUTTON "&Task Manager", IDC_SECURITY_TASKMGR, 98, 143, 80, 14
|
|
PUSHBUTTON "Cancel", IDCANCEL, 188, 143, 80, 14
|
|
END
|
|
|
|
IDD_LOCKED DIALOGEX 0, 0, 275, 121
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Computer Locked"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_LOCKICON, IDC_STATIC, 7, 59, 20, 20
|
|
LTEXT "This computer is in use and has been locked.", IDC_STATIC, 36, 61, 232, 8
|
|
LTEXT "<Message>", IDC_LOCKED_MESSAGE, 37, 75, 231, 26
|
|
LTEXT "Press Ctrl-Alt-Del to unlock this computer.", IDC_STATIC, 36, 106, 232, 8
|
|
END
|
|
|
|
IDD_UNLOCK DIALOGEX 0, 0, 275, 179
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Unlock Computer"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_LOCKICON, IDC_STATIC, 7, 59, 20, 20
|
|
LTEXT "This computer is in use and has been locked.", IDC_STATIC, 36, 61, 232, 8
|
|
LTEXT "<Message>", IDC_UNLOCK_MESSAGE, 36, 75, 232, 26
|
|
LTEXT "User name:", IDC_STATIC, 36, 107, 40, 8
|
|
EDITTEXT IDC_UNLOCK_USERNAME, 84, 104, 119, 14, ES_AUTOHSCROLL
|
|
LTEXT "Password:", IDC_STATIC, 36, 125, 42, 8
|
|
EDITTEXT IDC_UNLOCK_PASSWORD, 84, 123, 119, 14, ES_AUTOHSCROLL | ES_PASSWORD
|
|
PUSHBUTTON "OK", IDOK, 80, 154, 50, 14, BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "Cancel", IDCANCEL, 144, 154, 50, 14
|
|
END
|
|
|
|
IDD_CHANGEPWD DIALOGEX 0, 0, 275, 166
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Change Password"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
LTEXT "User name:", IDC_STATIC, 7, 61, 78, 8
|
|
EDITTEXT IDC_CHANGEPWD_USERNAME, 90, 59, 127, 12, ES_AUTOHSCROLL
|
|
LTEXT "Log on to:", IDC_STATIC, 7, 78, 78, 8
|
|
COMBOBOX IDC_CHANGEPWD_DOMAIN, 90, 75, 127, 144, CBS_DROPDOWNLIST | CBS_SORT | WS_TABSTOP
|
|
LTEXT "Old Password:", IDC_STATIC, 7, 95, 78, 8
|
|
EDITTEXT IDC_CHANGEPWD_OLDPWD, 90, 92, 127, 12, ES_AUTOHSCROLL | ES_PASSWORD
|
|
LTEXT "New Password:", IDC_STATIC, 7, 111, 78, 8
|
|
EDITTEXT IDC_CHANGEPWD_NEWPWD1, 90, 109, 127, 12, ES_AUTOHSCROLL | ES_PASSWORD
|
|
LTEXT "Confirm new Password:", IDC_STATIC, 7, 127, 78, 8
|
|
EDITTEXT IDC_CHANGEPWD_NEWPWD2, 90, 125, 127, 12, ES_AUTOHSCROLL | ES_PASSWORD
|
|
PUSHBUTTON "OK", IDOK, 164, 145, 50, 14, BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14
|
|
END
|
|
|
|
IDD_LOGOFF DIALOGEX 0, 0, 188, 60
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP
|
|
CAPTION "Log Off ReactOS"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 1
|
|
BEGIN
|
|
ICON IDI_LOGOFF, IDC_STATIC, 7, 7, 20, 20
|
|
LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8
|
|
PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "No", IDNO, 95, 39, 50, 14
|
|
END
|
|
|
|
IDD_SHUTDOWN DIALOGEX 0, 0, 275, 146
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
|
|
// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Shut Down ReactOS"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
CONTROL IDI_BAR, IDC_BAR, "Static", SS_BITMAP, 0, 44, 275, 4
|
|
ICON IDI_SHUTDOWN, IDC_STATIC, 9, 57, 21, 20, WS_GROUP
|
|
LTEXT "&What do you want the computer to do?", IDC_STATIC, 39, 57, 167, 10
|
|
COMBOBOX IDC_SHUTDOWN_ACTION, 39, 70, 165, 210, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 187, 27
|
|
DEFPUSHBUTTON "OK", IDOK, 143, 122, 55, 14, WS_GROUP
|
|
PUSHBUTTON "Cancel", IDCANCEL, 204, 122, 55, 14
|
|
|
|
// DEFPUSHBUTTON "OK", IDOK, 80, 122, 55, 14, WS_GROUP
|
|
// PUSHBUTTON "Cancel", IDCANCEL, 143, 122, 55, 14
|
|
// PUSHBUTTON "&Help", IDHELP, 204, 122, 55, 14
|
|
END
|
|
|
|
IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
|
|
// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "Shut Down ReactOS"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_SHUTDOWN, IDC_STATIC, 9, 57, 21, 20, WS_GROUP
|
|
LTEXT "&What do you want the computer to do?", IDC_STATIC, 39, 57, 167, 10
|
|
COMBOBOX IDC_SHUTDOWN_ACTION, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
|
|
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
|
|
LTEXT "Select the option that best describes why you want to shut down your computer.", IDC_STATIC, 39, 134, 190, 17
|
|
LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
|
|
AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
|
|
COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
|
|
LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
|
|
EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
|
|
PUSHBUTTON "Cancel", IDCANCEL, 211, 276, 55, 14
|
|
|
|
// DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
|
|
// PUSHBUTTON "Cancel", IDCANCEL, 150, 276, 55, 14
|
|
// PUSHBUTTON "&Help", IDHELP, 211, 276, 55, 14
|
|
END
|
|
|
|
IDD_LEGALNOTICE DIALOGEX 0, 0, 280, 200
|
|
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION ""
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
EDITTEXT IDC_LEGALNOTICE_TEXT, 7, 7, 266, 165, ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK", IDOK, 115, 179, 50, 14
|
|
END
|
|
|
|
IDD_SHUTDOWN_FANCY DIALOGEX 0, 0, 208, 122
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_SHELLFONT | WS_BORDER | WS_POPUP
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL IDI_DLG_BG, IDC_DLG_BG, "STATIC", SS_BITMAP | SS_REALSIZECONTROL, 0, 0, 208, 122
|
|
CONTROL IDI_ROSLOGO_FLAG, IDC_ROSLOGO_WHITE, "STATIC", SS_BITMAP, 176, 1, 32, 26
|
|
PUSHBUTTON "&Hibernate", IDC_BUTTON_HIBERNATE, 30093, 30049, 22, 20, BS_OWNERDRAW | WS_DISABLED
|
|
PUSHBUTTON "Slee&p", IDC_BUTTON_SLEEP, 36, 46, 22, 20, BS_OWNERDRAW | WS_GROUP
|
|
PUSHBUTTON "&Shut Down", IDC_BUTTON_SHUTDOWN, 93, 46, 22, 20, BS_OWNERDRAW
|
|
PUSHBUTTON "&Restart", IDC_BUTTON_REBOOT, 150, 46, 22, 20, BS_OWNERDRAW
|
|
PUSHBUTTON "Cancel", IDCANCEL, 162, 103, 40, 12, BS_FLAT | WS_GROUP
|
|
LTEXT "Shut Down ReactOS", IDC_TURN_OFF_STATIC, 4, 7, 130, 19
|
|
CTEXT "Sleep", IDC_SLEEP_STATIC, 22, 70, 51, 11
|
|
CTEXT "Shut Down", IDC_SHUTDOWN_STATIC, 79, 70, 51, 11
|
|
CTEXT "Restart", IDC_RESTART_STATIC, 136, 70, 51, 11
|
|
END
|
|
|
|
IDD_SHUTDOWN_FANCY_LONG DIALOGEX 0, 0, 264, 122
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_SHELLFONT | WS_BORDER | WS_POPUP
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL IDI_DLG_BG, IDC_DLG_BG, "STATIC", SS_BITMAP | SS_REALSIZECONTROL, 0, 0, 264, 122
|
|
CONTROL IDI_ROSLOGO_FLAG, IDC_ROSLOGO_WHITE, "STATIC", SS_BITMAP, 232, 1, 32, 26
|
|
PUSHBUTTON "&Hibernate", IDC_BUTTON_HIBERNATE, 36, 46, 22, 20, BS_OWNERDRAW | WS_GROUP
|
|
PUSHBUTTON "Slee&p", IDC_BUTTON_SLEEP, 93, 46, 22, 20, BS_OWNERDRAW
|
|
PUSHBUTTON "&Shut Down", IDC_BUTTON_SHUTDOWN, 150, 46, 22, 20, BS_OWNERDRAW
|
|
PUSHBUTTON "&Restart", IDC_BUTTON_REBOOT, 207, 46, 22, 20, BS_OWNERDRAW
|
|
PUSHBUTTON "Cancel", IDCANCEL, 218, 103, 40, 12, BS_FLAT | WS_GROUP
|
|
LTEXT "Shut Down ReactOS", IDC_TURN_OFF_STATIC, 4, 7, 130, 19
|
|
CTEXT "Hibernate", IDC_HIBERNATE_STATIC, 22, 70, 51, 11
|
|
CTEXT "Sleep", IDC_SLEEP_STATIC, 79, 70, 51, 11
|
|
CTEXT "Shut Down", IDC_SHUTDOWN_STATIC, 136, 70, 51, 11
|
|
CTEXT "Restart", IDC_RESTART_STATIC, 193, 70, 51, 11
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_LOGGEDOUTSAS "Welcome!"
|
|
IDS_LOCKEDSAS "The computer is currently locked."
|
|
IDS_PRESSCTRLALTDELETE "Press Control+Alt+Delete to Logon."
|
|
IDS_ASKFORUSER "User name: "
|
|
IDS_ASKFORPASSWORD "Password: "
|
|
IDS_FORCELOGOFF "This will log out the current user and lose all unsaved data. Continue?"
|
|
IDS_LOCKMSG "Only %s or an Administrator can unlock this computer."
|
|
IDS_LOGONMSG "You are logged on as %s."
|
|
IDS_LOGONDATE "Logon date: %s %s"
|
|
IDS_COMPUTERLOCKED "Computer locked"
|
|
IDS_LOCKEDWRONGPASSWORD "The password is wrong. Please enter your password again. Letters in passwords must be typed using the correct case."
|
|
IDS_LOCKEDWRONGUSER "This computer is locked. Only %s\\%s or an Administrator can unlock this computer."
|
|
IDS_CHANGEPWDTITLE "Change Password"
|
|
IDS_NONMATCHINGPASSWORDS "The passwords you typed do not match. Type the same password in both text boxes."
|
|
IDS_PASSWORDCHANGED "Your password has been changed."
|
|
IDS_LOGONTITLE "Logon Message"
|
|
IDS_LOGONWRONGUSERORPWD "The system could not log you on. Make sure your User name and domain are correct, then type your password again. Letters in passwords must be typed using the correct case."
|
|
IDS_LOGONUSERDISABLED "Your account has been disabled. Please see your system administrator."
|
|
IDS_PASSWORDMUSTCHANGE "You are required to change your password at first logon."
|
|
IDS_PASSWORDEXPIRED "Your password has expired and must be changed."
|
|
IDS_ACCOUNTEXPIRED "Your account has expired. Please see your system administrator."
|
|
IDS_ACCOUNTLOCKED "Unable to log you on beacuse your account has been locked out. Please see your system administrator."
|
|
IDS_INVALIDLOGONHOURS "Your account has time restrictions that prevent you from logging on at this time. Please try again later."
|
|
IDS_INVALIDWORKSTATION "Your account is configured to prevent you from using this computer. Please try another computer."
|
|
IDS_ACCOUNTRESTRICTION "Unable to log you on because of an account restriction."
|
|
IDS_EMERGENCYLOGOFFTITLE "Log Off ReactOS"
|
|
IDS_EMERGENCYLOGOFF "Click OK to immediately log off. Any unsaved data will be lost. Use this only as a last resort."
|
|
IDS_EMERGENCYRESTARTTITLE "Emergency restart"
|
|
IDS_EMERGENCYRESTART "Click OK to immediately restart. Any unsaved data will be lost. Use this only as a last resort."
|
|
END
|
|
|
|
/* Shutdown Dialog Strings */
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_SHUTDOWN_LOGOFF "Log off ""%s"""
|
|
IDS_SHUTDOWN_SHUTDOWN "Shut down"
|
|
IDS_SHUTDOWN_RESTART "Restart"
|
|
IDS_SHUTDOWN_SLEEP "Sleep"
|
|
IDS_SHUTDOWN_HIBERNATE "Hibernate"
|
|
/* Shut down descriptions */
|
|
IDS_SHUTDOWN_LOGOFF_DESC "Ends your current session and allows other users to log on to the system."
|
|
IDS_SHUTDOWN_SHUTDOWN_DESC "Ends your current session and shuts down the system so you can safely shut down the power."
|
|
IDS_SHUTDOWN_RESTART_DESC "Ends your current session and reboots the system."
|
|
IDS_SHUTDOWN_SLEEP_DESC "Puts the system in sleep mode."
|
|
IDS_SHUTDOWN_HIBERNATE_DESC "Saves the current session and shuts down the computer."
|
|
END
|