mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
![David Quintana](/assets/img/avatar_default.png)
[SHELL32] * Implement shell shutdown using a proper shutdown dialog. Patch by Lee Schroeder with a small change to fix MSVC build. CORE-7559 #comment Commited into shell-experiments branch r64403. svn path=/branches/shell-experiments/; revision=64403
194 lines
9.6 KiB
Plaintext
194 lines
9.6 KiB
Plaintext
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
|
|
|
IDD_STATUSWINDOW_DLG DIALOGEX 0, 0, 275, 80
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "お待ちください..."
|
|
FONT 9, "MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
LTEXT "", IDC_STATUSLABEL, 7, 62, 261, 12, SS_WORDELLIPSIS
|
|
END
|
|
|
|
IDD_NOTICE_DLG DIALOGEX 0, 0, 275, 80
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "ReactOS へようこそ"
|
|
FONT 9, "MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_LOCKICON, IDC_STATIC, 7, 55, 32, 32
|
|
LTEXT "Ctrl-Alt-Del キーの組み合わせを押してください", IDC_STATIC, 38, 60, 144, 14
|
|
END
|
|
|
|
IDD_LOGGEDOUT_DLG DIALOGEX 0, 0, 275, 147
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "ログオン"
|
|
FONT 9, "MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
LTEXT "ユーザー名:", IDC_STATIC, 6, 60, 52, 8
|
|
EDITTEXT IDC_USERNAME, 60, 57, 155, 14, ES_AUTOHSCROLL
|
|
LTEXT "パスワード:", IDC_STATIC, 6, 78, 52, 8
|
|
EDITTEXT IDC_PASSWORD, 60, 76, 155, 14, ES_AUTOHSCROLL | ES_PASSWORD
|
|
LTEXT "Log on to:", IDC_STATIC, 6, 96, 52, 8
|
|
COMBOBOX IDC_LOGON_TO, 60, 95, 155, 14, CBS_DROPDOWNLIST | WS_VSCROLL
|
|
PUSHBUTTON "OK",IDOK, 106, 122, 50, 14, BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "キャンセル", IDCANCEL, 160, 122, 50, 14
|
|
PUSHBUTTON "シャットダウン", IDC_SHUTDOWN, 214, 122, 50, 14
|
|
END
|
|
|
|
IDD_LOGGEDON_DLG DIALOGEX 0, 0, 275, 175
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "セキュリティ"
|
|
FONT 9, "MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
GROUPBOX "Logon Information", IDC_STATIC, 7, 61, 261, 52
|
|
LTEXT "<Message>", IDC_LOGONMSG, 15, 73, 245, 18
|
|
LTEXT "<Logon date>", IDC_LOGONDATE, 15, 94, 245, 8
|
|
CTEXT "何をしますか?", IDC_STATIC, 10, 119, 255, 8
|
|
PUSHBUTTON "コンピュータのロック", IDC_LOCK, 10, 135, 70, 14
|
|
PUSHBUTTON "ログオフ", IDC_LOGOFF, 90, 135, 70, 14
|
|
PUSHBUTTON "シャットダウン", IDC_SHUTDOWN, 170, 135, 70, 14
|
|
PUSHBUTTON "Change Password", IDC_CHANGEPWD, 10, 154, 76, 14
|
|
PUSHBUTTON "タスク マネージャ", IDC_TASKMGR, 90, 154, 70, 14
|
|
PUSHBUTTON "キャンセル", IDCANCEL, 170, 154, 70, 14
|
|
END
|
|
|
|
IDD_LOCKED_DLG 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 9,"MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_LOCKICON, -1, 7, 59, 20, 20
|
|
LTEXT "This computer is in use and has been locked.", IDC_STATIC, 37, 61, 231, 8
|
|
LTEXT "Message", IDC_LOCKMSG, 37, 75, 231, 26
|
|
LTEXT "Press Ctrl-Alt-Del to unlock this computer.", IDC_STATIC, 37, 106, 231, 8
|
|
END
|
|
|
|
IDD_UNLOCK_DLG 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 9,"MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_LOCKICON, -1, 7, 59, 20, 20
|
|
LTEXT "This computer is in use and has been locked.", IDC_STATIC, 36, 61, 232, 8
|
|
LTEXT "Message", IDC_LOCKMSG, 36, 75, 232, 26
|
|
LTEXT "User name:", IDC_STATIC, 36, 107, 40, 8
|
|
EDITTEXT IDC_USERNAME, 84, 104, 119, 14, ES_AUTOHSCROLL
|
|
LTEXT "Password:", IDC_STATIC, 36, 125, 42, 8
|
|
EDITTEXT IDC_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_CHANGE_PASSWORD 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 9,"MS UI Gothic", 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
|
|
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_DLG 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 9,"MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
ICON IDI_LOCKICON, -1, 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_DLG DIALOGEX 0, 0, 275, 146
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
|
|
CAPTION "ReactOSのシャットダウン"
|
|
FONT 9,"MS UI Gothic", 400, 0, 1
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_SHELL_SHUTDOWN, IDI_SHELL_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
|
|
LTEXT "&コンピュータの動作を選択してください", IDC_STATIC, 39, 57, 167, 10
|
|
COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 165, 210, CBS_DROPDOWNLIST | WS_VSCROLL
|
|
LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 187, 27
|
|
DEFPUSHBUTTON "OK", IDOK, 143, 122, 55, 14, WS_GROUP
|
|
PUSHBUTTON "キャンセル", IDCANCEL, 204, 122, 55, 14
|
|
END
|
|
|
|
IDD_LEGALNOTICE_DLG 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_SHELL DIALOGEX 0, 0, 275, 146
|
|
STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
|
|
CAPTION "ReactOSのシャットダウン"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
|
|
ICON IDI_SHELL_SHUTDOWN, IDI_SHELL_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
|
|
LTEXT "&コンピュータの動作を選択してください", IDC_STATIC, 39, 57, 167, 10
|
|
COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 165, 210, CBS_DROPDOWNLIST | WS_VSCROLL
|
|
LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 187, 27
|
|
DEFPUSHBUTTON "OK", IDOK, 80, 122, 55, 14, WS_GROUP
|
|
PUSHBUTTON "キャンセル", IDCANCEL, 143, 122, 55, 14
|
|
PUSHBUTTON "ヘルプ(&H)", IDHELP, 204, 122, 55, 14
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_LOGGEDOUTSAS "ようこそ!"
|
|
IDS_LOCKEDSAS "このコンピュータは現在ロックされています。"
|
|
IDS_PRESSCTRLALTDELETE "ログオンするには、Control+Alt+Delete を押してください。"
|
|
IDS_ASKFORUSER "ユーザー名: "
|
|
IDS_ASKFORPASSWORD "パスワード: "
|
|
IDS_FORCELOGOFF "現在のユーザーをログアウトします。保存されていないデータはすべて失われます。 続行しますか?"
|
|
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."
|
|
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
|