mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
15
base/applications/shutdown/CMakeLists.txt
Normal file
15
base/applications/shutdown/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
|
||||
|
||||
list(APPEND SOURCE
|
||||
gui.c
|
||||
misc.c
|
||||
shutdown.c
|
||||
precomp.h)
|
||||
|
||||
add_executable(shutdown ${SOURCE} shutdown.rc)
|
||||
set_module_type(shutdown win32cui UNICODE)
|
||||
target_link_libraries(shutdown conutils ${PSEH_LIB})
|
||||
add_importlibs(shutdown advapi32 user32 powrprof msvcrt kernel32)
|
||||
add_pch(shutdown precomp.h SOURCE)
|
||||
add_cd_file(TARGET shutdown DESTINATION reactos/system32 FOR all)
|
70
base/applications/shutdown/gui.c
Normal file
70
base/applications/shutdown/gui.c
Normal file
|
@ -0,0 +1,70 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS shutdown/logoff utility
|
||||
* FILE: base/applications/shutdown/gui.c
|
||||
* PURPOSE: Shows a GUI used for managing multiple remote shutdown/restarts
|
||||
* PROGRAMMERS: Lee Schroeder
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
BOOL CALLBACK ShutdownGuiProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
switch(msg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
break;
|
||||
|
||||
case WM_COMMAND:
|
||||
switch(LOWORD(wparam))
|
||||
{
|
||||
case IDC_OK:
|
||||
EndDialog(hwnd, IDC_OK);
|
||||
break;
|
||||
case IDC_CANCEL:
|
||||
EndDialog(hwnd, IDC_CANCEL);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_CLOSE:
|
||||
EndDialog(hwnd, 0);
|
||||
break;
|
||||
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* NOTE: Until the ability to shutdown computers remotely, the GUI feature
|
||||
* can't be fully implemented.
|
||||
*/
|
||||
BOOL ShutdownGuiMain(struct CommandLineOptions opts)
|
||||
{
|
||||
INT_PTR result = DialogBoxW(GetModuleHandle(NULL),
|
||||
MAKEINTRESOURCEW(IDD_GUI),
|
||||
NULL,
|
||||
ShutdownGuiProc);
|
||||
|
||||
switch (result)
|
||||
{
|
||||
case IDC_OK:
|
||||
MessageBoxW(NULL, L"This function is unimplemented.", L"Unimplemented", MB_OK);
|
||||
break;
|
||||
|
||||
case IDC_CANCEL:
|
||||
/* Exits the program */
|
||||
break;
|
||||
|
||||
default:
|
||||
MessageBoxW(NULL, L"Dialog Error!", L"Message", MB_OK);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* EOF */
|
103
base/applications/shutdown/lang/bg-BG.rc
Normal file
103
base/applications/shutdown/lang/bg-BG.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
107
base/applications/shutdown/lang/cs-CZ.rc
Normal file
107
base/applications/shutdown/lang/cs-CZ.rc
Normal file
|
@ -0,0 +1,107 @@
|
|||
/* FILE: base/applications/shutdown/lang/cs-CZ.rc
|
||||
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
|
||||
* UPDATED: 2013-06-01
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Vzdálené vypnutí"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Storno", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Počít&ače:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "Při&dat...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Odebrat", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "P&rocházet...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Akce", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "&Upozornit uživatele", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "&Zobrazit upozornění", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "sekund", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Přehled událostí vypnutí", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Dů&vod:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "&Plánováno", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Kom&entář:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS nástroj na vypínání\n\
|
||||
\n\
|
||||
Použití: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\počítač][/t xxx][/d [p|u:]xx:yy [/c ""komentář""]]\n\
|
||||
\n\
|
||||
Bez parametrů či s parametrem /? Zobrazí tuto nápovědu.\n\
|
||||
/i Zobrazí grafické uživatelské rozhraní (GUI). Tento parametr musí být\n\
|
||||
uveden jako první.\n\
|
||||
/l Odhlásí se pouze z místního systému. Nelze použít s /m nebo /d.\n\
|
||||
/s Vypne počítač.\n\
|
||||
/r Restartuje počítač.\n\
|
||||
/g Restartuje počítač a restartuje všechny registrované aplikace.\n\
|
||||
/a Zruší zpožděné vypnutí. Může být použito pouze během doby zpoždění.\n\
|
||||
/p Vypne místní počítač bez jakéhokoliv zpoždění či varování. Lze\n\
|
||||
použít s /d nebo /f.\n\
|
||||
/h Hibernuje místni počítač. Použitelné s /f.\n\
|
||||
/e Uvede důvod pro neočekávané vypnutí počítače.\n\
|
||||
/m \\\\počítač Specifikuje cílový počítač (UNC/IP adresa).\n\
|
||||
/t xxx Nastaví dobu zpoždění na xxx sekund před vypnutím počítače.\n\
|
||||
Platný rozsah je 0-315360000 (10 let), výchozí hodnota je 30.\n\
|
||||
/c ""komentář"" Zadejte komentář k důvodu vypnutí či restartu.\n\
|
||||
Povolené maximum je 512 znaků.\n\
|
||||
/f Vynutí ukončení běžících aplikací bez varování uživatelů. Pokud\n\
|
||||
nebude specifikován žádný další parametr, tato volba také provede\n\
|
||||
odhlášení.\n\
|
||||
/d [p|u:]xx:yy Zadejte důvod pro vypnutí či restart systému.\n\
|
||||
p značí, že vypnutí či restartování systému je plánované.\n\
|
||||
u značí, že důvod je určen uživatelem.\n\
|
||||
Pokud p ani u nejsou specifikovány, vypnutí či restart jsou\n\
|
||||
neplánované.\n\
|
||||
xx je hlavní číslo důvodu (celé kladné číslo menší než 256).\n\
|
||||
yy je vedlejší číslo důvodu (celé kladné číslo menší než 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "CHYBA: Nelze vypnout a restartovat zároveň.\n"
|
||||
IDS_ERROR_TIMEOUT "CHYBA: Hodnota zpoždění %u je mimo povolený rozsah (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "CHYBA: Nelze přerušit vypnutí systému.\n"
|
||||
IDS_ERROR_LOGOFF "CHYBA: Nelze se odhlásit ze systému.\n"
|
||||
IDS_ERROR_SHUTDOWN "CHYBA: Nelze vypnout systém.\n"
|
||||
IDS_ERROR_RESTART "CHYBA: Nelze restartovat systém.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "CHYBA: Délka komentáře přesahuje maximální povolenou délku.\n"
|
||||
IDS_ERROR_HIBERNATE "CHYBA: Nelze uvést systém do režimu hibernace.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "CHYBA: Režim hibernace nemůže být spuštěn vzdáleně.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "CHYBA: Režim hibernace není zapnutý.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Vzdálené vypnutí"
|
||||
IDS_ERROR_DIALOG_INIT "Nelze zobrazit grafické uživatelské rozhraní."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Vypnutí systému"
|
||||
IDS_ACTION_RESTART "Restart systému"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Zaznamenat neočekávané vypnutí"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Jiný"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Údržba"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Instalace"
|
||||
IDS_REASON_OS_RECOVER "Operační systém: Obnovení"
|
||||
IDS_REASON_OS_RECONFIGURE "Operační systém: Změna konfigurace"
|
||||
IDS_REASON_APP_MAINTENANCE "Aplikace: Údržba"
|
||||
IDS_REASON_APP_INSTALL "Aplikace: Instalace"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Aplikace: Neodpovídá"
|
||||
IDS_REASON_APP_UNSTABLE "Aplikace: Nestabilní"
|
||||
IDS_REASON_SECURITY "Potíže se zabezpečním"
|
||||
IDS_REASON_NETWORK "Ztráta síťového připojení"
|
||||
END
|
110
base/applications/shutdown/lang/de-DE.rc
Normal file
110
base/applications/shutdown/lang/de-DE.rc
Normal file
|
@ -0,0 +1,110 @@
|
|||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Abbrechen", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputer:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Hinzufügen...", IDC_ADD_SYSTEM, 174, 19, 55, 14
|
||||
PUSHBUTTON "&Entfernen", IDC_REMOVE_SYSTEM, 174, 36, 55, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Durchsuchen...", IDC_BROWSE_SYSTEM, 174, 53, 55, 14
|
||||
LTEXT "Aktion", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Nutzer warnen", IDC_WARN_USERS, 172, 79, 58, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Warnungen zeigen", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "Sekunde(n)", IDC_SHOW_WARN_TWO, 124, 99, 40, 10
|
||||
GROUPBOX "Ereignisprotokollierung", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Grund:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Geplant", IDC_PLANNED, 172, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Komm&entar:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Werkzeug\n\
|
||||
\n\
|
||||
Benutzung: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\Computer][/t xxx][/d [p|u:]xx:yy [/c ""Kommentar""]]\n\
|
||||
\n\
|
||||
Keine Argumente oder /? Zeigt diese Hilfe an.\n\
|
||||
/i Die grafische Benutzteroberfläche anzeigen. Diese Option\n\
|
||||
muss als erste angegeben werden\n\
|
||||
/l Nur vom lokalen System abmelden. Kann nicht mit /m oder /d\n\
|
||||
benutzt werden. \n\
|
||||
/s Fährt den Computer herunter.\n\
|
||||
/r Fährt den Computer herunter und startet ihn neu.\n\
|
||||
/g Fährt den Computer herunter und startet ihn neu. Nach dem\n\
|
||||
Neustart des Systems werden alle registrierten Anwendungen \n\
|
||||
ebenfalls neu gestartet. \n\
|
||||
/a Brich ein geplantes Herunterfahren ab. Diese Option kann\n\
|
||||
nur bei einem geplanten zeitverzögerten Herunterfahren\n\
|
||||
verwendet werden.\n\
|
||||
/p Den Computer ohne Warnungen oder Zeitlimit ausschalten.\n\
|
||||
Kann mit /d oder /f verwendet werden.\n\
|
||||
/h Den Computer in Ruhezustand versetzen. Verwendbar mit /f.\n\
|
||||
/e Aktiviert die Speicherung der Gründe für ein unerwartetes\n\
|
||||
Herunterfahren. \n\
|
||||
/m \\\\Computer Legt den Zielcomputer fest (UNC- oder IP-Adresse).\n\
|
||||
/t xxx Das Herunterfahren um xxx Sekunden verzögern.\n\
|
||||
Die möglichen Werte reichen von 0 bis 315360000 (10 Jahre),\n\
|
||||
der Standartwert ist 30.\n\
|
||||
/c ""Kommentar"" Den Grund für das Herunterfahren angeben.\n\
|
||||
Es sind maximal 512 Zeichen zulässig.\n\
|
||||
/f Laufende Anwendungen ohne Vorwarnung beenden. Wenn keine\n\
|
||||
anderen Parameter angegeben sind, werden Sie automatisch\n\
|
||||
abgemeldet. \n\
|
||||
/d [p|u:]xx:yy Gibt die Ursache für einen Neustart oder ein\n\
|
||||
Herunterfahren des Systems an.\n\
|
||||
""p"" gibt an, dass dieses Ereignis geplant ist.\n\
|
||||
""u"" gibt an, dass die Ursache benutzerdefiniert ist.\n\
|
||||
Sind weder ""p"" noch ""u"" angegeben, ist der Neustart oder\n\
|
||||
das Herunterfahren nicht geplant\n\
|
||||
xx gibt die Nummer des Hauptgrundes an (Zahl kleiner als 256).\n\
|
||||
yy gibt die Nummer des Nebengrundes an (Zahl kleiner als 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "FEHLER: Gleichzeitiger Neustart und Herunterfahren ist nicht möglich.\n"
|
||||
IDS_ERROR_TIMEOUT "FEHLER: Die Zeitangabe %u liegt nicht im gültigen Bereich(0-315360000).\n"
|
||||
IDS_ERROR_ABORT "FEHLER: Kann das Herunterfahren nicht abbrechen.\n"
|
||||
IDS_ERROR_LOGOFF "FEHLER: Kann das System nicht abmelden.\n"
|
||||
IDS_ERROR_SHUTDOWN "FEHLER: Kann das System nicht herunterfahren.\n"
|
||||
IDS_ERROR_RESTART "FEHLER: Kann das System nicht neustarten.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "FEHLER: Die Länge des Kommentars übersteigt die Systemlimits.\n"
|
||||
IDS_ERROR_HIBERNATE "FEHLER: Kann System nicht in Ruhezustnd versetzen.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "FEHLER: Ruhezustand kann nicht via Fernverbindung gestartet werden.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "FEHLER: Ruhezustand ist nicht aktiv.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Herunterfahren über Fernverbindung"
|
||||
IDS_ERROR_DIALOG_INIT "Kann die Benutzeroberfläche nicht anzeigen."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Das System herunterfahren"
|
||||
IDS_ACTION_RESTART "Das System neustarten"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Unerwartetes Herunterfahren melden"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Anderer Grund"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Wartung"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Betriebssystem: Wiederherstellung"
|
||||
IDS_REASON_OS_RECONFIGURE "Betriebssystem: Neukonfiguration"
|
||||
IDS_REASON_APP_MAINTENANCE "Anwendung: Wartung"
|
||||
IDS_REASON_APP_INSTALL "Anwendung: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Anwendung: Reagiert nicht"
|
||||
IDS_REASON_APP_UNSTABLE "Anwendung: Instabil"
|
||||
IDS_REASON_SECURITY "Sicherheitsproblem"
|
||||
IDS_REASON_NETWORK "Verlust der Netzwerkverbindung"
|
||||
END
|
103
base/applications/shutdown/lang/el-GR.rc
Normal file
103
base/applications/shutdown/lang/el-GR.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
103
base/applications/shutdown/lang/en-US.rc
Normal file
103
base/applications/shutdown/lang/en-US.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
106
base/applications/shutdown/lang/es-ES.rc
Normal file
106
base/applications/shutdown/lang/es-ES.rc
Normal file
|
@ -0,0 +1,106 @@
|
|||
/* Spanish Language resource file.
|
||||
* Translated by: Ismael Ferreras Morezuelas <2014-11-07> */
|
||||
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Apagado remoto"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&Aceptar", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancelar", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "&Equipos:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Añadir...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Eliminar", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Examinar...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Acción", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Avisar a los usuarios", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Mostrar la advertencia durante", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "segundo(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Rastreador de sucesos de apagado", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Razón:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planeado", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Co&mentario:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "Utilidad de apagado de ReactOS\n\
|
||||
\n\
|
||||
Uso: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\equipo][/t xxx][/d [p|u:]xx:yy [/c ""comentario""]]\n\
|
||||
\n\
|
||||
Sin argumentos o con /? Muestra esta ayuda.\n\
|
||||
/i Muestra la interfaz gráfica de usuario (GUI).\n\
|
||||
Esta opción debe ser la primera.\n\
|
||||
/l Cierrar sesión en el equipo local. No funciona con /m o /d.\n\
|
||||
/s Apaga el equipo.\n\
|
||||
/r Reinicia el equipo.\n\
|
||||
/g Reiniciar el equipo junto con todas las aplicaciones registradas.\n\
|
||||
/a Cancela un apagado retrasado. Sólo se puede utilizar durante\n\
|
||||
la cuanta atrás, pero no más tarde.\n\
|
||||
/p Apaga el equipo local sin esperas o avisos.\n\
|
||||
Se puede usar junto con /d o /f.\n\
|
||||
/h Hiberna el equipo local. Se puede usar junto con /f.\n\
|
||||
/e Documenta la razón por apagado no planeado.\n\
|
||||
/m \\\\equipo Especifica el equipo remoto de destino (dirección UNC/IP).\n\
|
||||
/t xxx Establece el tiempo de espera a xxx segundos antes de apagar.\n\
|
||||
El rango válido es de 0 a 315360000 (10 años),\n\
|
||||
con 30 siendo el valor por defecto.\n\
|
||||
/c ""comentario"" Comenta la razón de apagado o reinicio.\n\
|
||||
Sólo se permiten hasta 512 caracteres.\n\
|
||||
/f Fuerza el cierre de aplicaciones sin avisar a los usuarios.\n\
|
||||
Si no se especifica ningún otro parámetro también cerrará sesión.\n\
|
||||
/d [p|u:]xx:yy Da un código de razón para el apagado o reinicio.\n\
|
||||
p indica que el apagado o reinicio estaba planeado.\n\
|
||||
u indica que la razón está definida por el usuario.\n\
|
||||
Si no se especifica ni p ni la u, el apagado se\n\
|
||||
marca como no planeado.\n\
|
||||
Donde xx es el código de razón mayor (entero positivo menor que 256).\n\
|
||||
Donde yy es el código de razón mayor (entero positivo menor que 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: No se puede apagar y reiniciar a la vez.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: El valor de tiempo de espera de %u está fuera del rango permitido (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: No se ha podido cancelar el apagado del equipo.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: No se ha podido cerrar sesión en el equipo.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: No se ha podido apagar el equipo.\n"
|
||||
IDS_ERROR_RESTART "ERROR: No se ha podido reiniciar el equipo.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: La longitud del comentario excede el límite de palabras especificado por el equipo.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: No se ha podido poner el sistema en el modo de hibernación.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: No se ha podido activar de forma remota el modo de hibernación.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: No está activado el modo de hibernación.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Apagado remoto"
|
||||
IDS_ERROR_DIALOG_INIT "No se pudo mostrar la interfaz gráfica de usuario."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Apagar el equipo"
|
||||
IDS_ACTION_RESTART "Reiniciar el equipo"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Anotar las razones del apagado"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Otra"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Mantenimiento"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Sistema operativo: Recuperación"
|
||||
IDS_REASON_OS_RECONFIGURE "Sistema operativo: Reconfiguración"
|
||||
IDS_REASON_APP_MAINTENANCE "Aplicación: Mantenimiento"
|
||||
IDS_REASON_APP_INSTALL "Aplicación: Instalación"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Aplicación: No responde"
|
||||
IDS_REASON_APP_UNSTABLE "Aplicación: Inestable"
|
||||
IDS_REASON_SECURITY "Problema de seguridad"
|
||||
IDS_REASON_NETWORK "Pérdida de conectividad de red"
|
||||
END
|
107
base/applications/shutdown/lang/fr-FR.rc
Normal file
107
base/applications/shutdown/lang/fr-FR.rc
Normal file
|
@ -0,0 +1,107 @@
|
|||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Arrêt à distance"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "A&nnuler", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Or&dinateurs :", IDC_STATIC, 9, 9, 40, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "Ajout&er...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Supprimer", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "Pa&rcourir...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "&Quelle tâche voulez-vous que ces ordinateurs exécutent ?", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "A&vertir les utilisateurs de l'action", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "A&fficher l'avertissement pendant", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "seconde(s)", IDC_SHOW_WARN_TWO, 124, 99, 35, 10
|
||||
GROUPBOX "Moniteur d'événements d'arrêt", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Raison :", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planifié", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "&Commentaire :", IDC_COMMENT_CAPTION, 16, 159, 48, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Utilisation : shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\ordinateur][/t xxx][/d [p|u:]xx:yy [/c ""commentaire""]]\n\
|
||||
\n\
|
||||
Sans argument ou /? Afficher l'aide.\n\
|
||||
/i Afficher l'interface utilisateur graphique (GUI). Cette option doit\n\
|
||||
être la première.\n\
|
||||
/l Fermer la session sur l'ordinateur local uniquement. Ne peut pas\n\
|
||||
être utilisée avec les options /m ou /d.\n\
|
||||
/s Arrêter l'ordinateur.\n\
|
||||
/r Redémarrer l'ordinateur.\n\
|
||||
/g Redémarrer l'ordinateur et redémarrer toutes les applications\n\
|
||||
enregistrées.\n\
|
||||
/a Annuler un arrêt du système. Ne peut être utilisée que pendant\n\
|
||||
la période de délai.\n\
|
||||
/p Arrêter l'ordinateur local sans délai d'expiration ou\n\
|
||||
avertissement. Peut être utilisée avec les options /d ou /f.\n\
|
||||
/h Mettre l'ordinateur local en veille prolongée. Utilisable avec\n\
|
||||
l'option /f.\n\
|
||||
/e Documenter la raison de l'arrêt inattendu d'un ordinateur.\n\
|
||||
/m \\\\ordinateur Spécifier l'ordinateur cible (adresse UNC/IP).\n\
|
||||
/t xxx Définir la période de délai avant l'arrêt au bout de xxx secondes.\n\
|
||||
La plage valide est comprise entre 0 et 315360000 (10 ans),\n\
|
||||
30 étant la valeur par défaut.\n\
|
||||
/c ""commentaire"" Commentaire sur la raison de l'arrêt ou du redémarrage.\n\
|
||||
512 caractères maximum autorisés.\n\
|
||||
/f Force la fermeture des applications en cours d'exécution sans\n\
|
||||
prévenir les utilisateurs. Si vous ne spécifiez aucun autre\n\
|
||||
paramètre, cette option provoquera aussi une déconnexion.\n\
|
||||
/d [p|u:]xx:yy Fournit la raison de l'arrêt ou du redémarrage.\n\
|
||||
p indique que l'arrêt ou le redémarrage est planifié.\n\
|
||||
u indique que la raison est définie par l'utilisateur.\n\
|
||||
Si ni p ni u ne sont spécifiés, l'arrêt ou le redémarrage ne sont\n\
|
||||
planifiés.\n\
|
||||
xx est le code de raison majeur (entier positif inférieur à 256).\n\
|
||||
yy est le code de raison mineur (entier positif inférieur à 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERREUR : Impossible d'arrêter et de redémarrer en même temps.\n"
|
||||
IDS_ERROR_TIMEOUT "ERREUR : La valeur de délai %u est en-dehors des limites autorisées (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERREUR : Impossible d'annuler l'arrêt du système.\n"
|
||||
IDS_ERROR_LOGOFF "ERREUR : Impossible de se déconnecter du système.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERREUR : Impossible d'arrêter le système.\n"
|
||||
IDS_ERROR_RESTART "ERREUR : Impossible de redémarrer le système.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERREUR : La longueur du commentaire excède le nombre maximal de caractères imposé par le système.\n"
|
||||
IDS_ERROR_HIBERNATE "ERREUR : Impossible de mettre le système en veille prolongée.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERREUR : La mise en veille prolongée ne peut être commandée à distance.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERREUR : La mise en veille prolongée n'est pas activée.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Arrêt à distance"
|
||||
IDS_ERROR_DIALOG_INIT "Impossible d'afficher l'interface graphique utilisateur."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Arrêter le système"
|
||||
IDS_ACTION_RESTART "Redémarrer le système"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annoter l'arrêt non planifié"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Autre"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Matériel : Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Matériel : Installation"
|
||||
IDS_REASON_OS_RECOVER "Système d'exploitation : Récupération"
|
||||
IDS_REASON_OS_RECONFIGURE "Système d'exploitation : Reconfiguration"
|
||||
IDS_REASON_APP_MAINTENANCE "Application : Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application : Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application : Aucune réponse"
|
||||
IDS_REASON_APP_UNSTABLE "Application : Instable"
|
||||
IDS_REASON_SECURITY "Problème de sécurité"
|
||||
IDS_REASON_NETWORK "Perte de connectivité réseau"
|
||||
END
|
103
base/applications/shutdown/lang/he-IL.rc
Normal file
103
base/applications/shutdown/lang/he-IL.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "כיבוי מרחוק"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "אישור", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "ביטול", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "מחשבים:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "הוסף...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "הסר", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "סייר...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "הזהר משתמשים", IDC_WARN_USERS, 167, 78, 68, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "הצג אזהרה ל-", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "שניה/ות", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "מעקב אירועי כיבוי", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "סיבה:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "מתוכנן...", IDC_PLANNED, 175, 130, 43, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "הערה:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "כבה את המערכת"
|
||||
IDS_ACTION_RESTART "הפעל מחדש את המערכת"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "אחר"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "חומרה: תחזוקה"
|
||||
IDS_REASON_HARDWARE_INSTALL "חומרה: התקנה"
|
||||
IDS_REASON_OS_RECOVER "מערכת הפעלה: שחזור"
|
||||
IDS_REASON_OS_RECONFIGURE "מערכת הפעלה: הגדרה מחדש"
|
||||
IDS_REASON_APP_MAINTENANCE "יישום: תחזוקה"
|
||||
IDS_REASON_APP_INSTALL "יישום: התקנה"
|
||||
IDS_REASON_APP_UNRESPONSIVE "יישום: לא מגיב"
|
||||
IDS_REASON_APP_UNSTABLE "יישום: לא יציב"
|
||||
IDS_REASON_SECURITY "בעיית בטיחות"
|
||||
IDS_REASON_NETWORK "איבוד קישוריות רשת"
|
||||
END
|
103
base/applications/shutdown/lang/it-IT.rc
Normal file
103
base/applications/shutdown/lang/it-IT.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Accesso remoto"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Aggiungi...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Rimuovi...", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Naviga...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "quale azione si vuole eseguire?", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Avvio all'utente", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Visualizza avviso per", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "secondi(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Individuazione evento di arresto", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Ragione:", IDC_STATIC, 16, 130, 30, 8
|
||||
CHECKBOX "Progettato", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ento:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
Non ci sono argomenti o/? Visualizza aiuti.\n\
|
||||
/i Mostra l'interfaccia utente grafica (GUI). Questa opzione deve essere la \n\
|
||||
prima.\n\
|
||||
/l Disconnessione dal sistema locale. Non può essere utilizzata con /m or /d.\n\
|
||||
/s Chiusura del computer.\n\
|
||||
/r Riavvio del computer.\n\
|
||||
/g Riavvio del computer e riavvio di tutte le applicazioni registrate.\n\
|
||||
/a cancellare un arresto ritardato. Può essere utilizzato solo durante il periodo\n\
|
||||
di ritardo.\n\
|
||||
/p Spegnere il computer locale senza alcun timeout o avviso. Può essere\n\
|
||||
utilizzato con /d or /f.\n\
|
||||
/h Sospensione del computer locale. Utilizzabile con /f.\n\
|
||||
/e Documento e il motivo dell'arresto del computer inatteso.\n\
|
||||
/m \\\\computer Specificare la destinazione del computer (UNC/IP address).\n\
|
||||
/t xxx Imposta il periodo di timeout di xxx secondi prima di spegnersi.\n\
|
||||
L'intervallo valido inizia 0-315360000 (10 anni),\n\
|
||||
30 è il valore di default.\n\
|
||||
/c ""comment"" Commento sul motivo per cui spegnere o riavviare.\n\
|
||||
512 caratteri massimi consentiti.\n\
|
||||
/f Forzare la chiusura delle applicazioni in esecuzione senza che avvertire gli utenti. Se\n\
|
||||
non è specificato un'altro parametro, questa opzione è valida anche per la disconnessione.\n\
|
||||
/d [p|u:]xx:yy Indicare il codice motivo per l'arresto o il riavvio.\n\
|
||||
p indica che l'arresto o il riavvio è previsto.\n\
|
||||
u indica che il motivo è definito dall'utente.\n\
|
||||
Se nè p nè u vengono specificati, l'arresto o il riavvio non sono\n\
|
||||
pianificati.\n\
|
||||
xx è il codice maggiore (numero intero positivo inferiore a 256).\n\
|
||||
yy è il codice minore (numero intero positivo inferiore a 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Impossibile arrestare e riavviare al tempo stesso.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Il valore di timeout di u% è fuori dai limiti (0-315360000) \n"
|
||||
IDS_ERROR_ABORT "ERROR: Impossibile interrompere l'arresto del sistema \n."
|
||||
IDS_ERROR_LOGOFF "ERROR: Impossibile disconnettersi dal sistema \n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Impossibile arrestare il sistema \n."
|
||||
IDS_ERROR_RESTART "ERROR: Impossibile riavviare il sistema \n."
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Lunghezza commento supera il limite massimo di caratteri impostato dal sistema \n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Impossibile avviare il sistema in modalità di sospensione. \n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Modalitài sospensione non può essere avviata in modalità remota \n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Modalità di sospensione non è abilitata \n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Arresto improviso"
|
||||
IDS_ERROR_DIALOG_INIT "Impossibile visualizzare l'interfaccia utente grafica."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Esci dal sistema"
|
||||
IDS_ACTION_RESTART "Riavvia il sistema"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Arresto improviso"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Altro"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Manutenzione"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installazione"
|
||||
IDS_REASON_OS_RECOVER "Sistema Operativo System: Recupero"
|
||||
IDS_REASON_OS_RECONFIGURE "Sistema Operativo: Riconfigurazione"
|
||||
IDS_REASON_APP_MAINTENANCE "Applicazione: Manutenzione"
|
||||
IDS_REASON_APP_INSTALL "Applicazione: Installazione"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Applicazione: Non Risponde"
|
||||
IDS_REASON_APP_UNSTABLE "Applicazione: Instabile"
|
||||
IDS_REASON_SECURITY "Problema di sicurezza"
|
||||
IDS_REASON_NETWORK "Connetività di rete assente"
|
||||
END
|
103
base/applications/shutdown/lang/ja-JP.rc
Normal file
103
base/applications/shutdown/lang/ja-JP.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 9, "MS UI Gothic"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
103
base/applications/shutdown/lang/ko-KR.rc
Normal file
103
base/applications/shutdown/lang/ko-KR.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 9, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
103
base/applications/shutdown/lang/lt-LT.rc
Normal file
103
base/applications/shutdown/lang/lt-LT.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
103
base/applications/shutdown/lang/nl-NL.rc
Normal file
103
base/applications/shutdown/lang/nl-NL.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
103
base/applications/shutdown/lang/no-NO.rc
Normal file
103
base/applications/shutdown/lang/no-NO.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
116
base/applications/shutdown/lang/pl-PL.rc
Normal file
116
base/applications/shutdown/lang/pl-PL.rc
Normal file
|
@ -0,0 +1,116 @@
|
|||
/*
|
||||
* Translated by Saibamen - Adam Stachowicz (saibamenppl@gmail.com) (May, 2014)
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Zdalne zamknięcie systemu"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Anuluj", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Ko&mputery:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Dodaj...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Usuń", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Przeglądaj...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Akcja", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Ostrzeż użytkowników", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Wyświetlaj ostrzeżenie przez", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "sekund(y)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Śledzenie zdarzeń zamknięcia systemu", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Powód:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planowane", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Ko&mentarz:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "Narzędzie Zamykania ReactOS\n\
|
||||
\n\
|
||||
Sposób użycia: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\komputer][/t xxx][/d [p|u:]xx:yy [/c ""komentarz""]]\n\
|
||||
\n\
|
||||
Bez argumentów lub /? Wyświetla Pomoc.\n\
|
||||
/i Wyświetla graficzny interfejs użytkownika (GUI).\n\
|
||||
To musi być pierwsza opcja.\n\
|
||||
/l Wylogowuje. Ten parametr nie może być używany z opcjami /m\n\
|
||||
oraz /d.\n\
|
||||
/s Zamyka komputer.\n\
|
||||
/r Zamyka i ponownie uruchamia komputer.\n\
|
||||
/g Zamyka i ponownie uruchamia komputer. Po ponownym rozruchu\n\
|
||||
systemu, uruchamia ponownie wszystkie zarejestrowane\n\
|
||||
aplikacje.\n\
|
||||
/a Przerywa zamykanie systemu.\n\
|
||||
Do użytku tylko podczas limitu czasu.\n\
|
||||
/p Wyłącza lokalny komputer bez limitu czasu i ostrzeżenia.\n\
|
||||
Do użytku tylko z opcją /d i /f.\n\
|
||||
/h Przełącza komputer lokalny w stan hibernacji.\n\
|
||||
Do użytku tylko z opcją /f.\n\
|
||||
/e Dokumentuje przyczynę nieoczekiwanego zamknięcia systemu.\n\
|
||||
/m \\\\komputer Określa komputer docelowy (adres UNC/IP).\n\
|
||||
/t xxx Ustawia limit czasu zamknięcia systemu na xxx sekund.\n\
|
||||
Prawidłowy zakres to 0-315360000 (10 lat), domyślna wartość to 30.\n\
|
||||
/c ""komentarz"" Wstawia komentarz dotyczący przyczyny ponownego\n\
|
||||
uruchomienia lub zamknięcia.\n\
|
||||
Maksymalna dozwolona liczba znaków wynosi 512.\n\
|
||||
/f Wymusza zamknięcie uruchomionych aplikacji bez uprzedniego\n\
|
||||
powiadamiania użytkowników. Jeśli nie określisz innego parametru, opcja ta także wyloguje z systemu.\n\
|
||||
/d [p|u:]xx:yy Podaje przyczynę ponownego uruchomienia lub\n\
|
||||
zamknięcia systemu\n\
|
||||
Opcja p określa, że zaplanowano zamknięcie lub\n\
|
||||
ponowne uruchomienie.\n\
|
||||
Opcja u określa, że przyczyna jest zdefiniowana przez\n\
|
||||
użytkownika.\n\
|
||||
Jeśli nie określono opcji p i u, ponowne uruchomienie\n\
|
||||
lub zamknięcie nie jest zaplanowane.\n\
|
||||
xx to numer przyczyny głównej (dodatnia liczba całkowita\n\
|
||||
mniejsza niż 256).\n\
|
||||
yy to numer przyczyny dodatkowej (dodatnia liczba całkowita\n\
|
||||
mniejsza niż 65 536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "BŁĄD: Nie można zamknąć i ponownie uruchomić w tym samym czasie.\n"
|
||||
IDS_ERROR_TIMEOUT "BŁĄD: Limit czasu %u jest poza zakresem (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "BŁĄD: Nie można przerważ zamykania systemu.\n"
|
||||
IDS_ERROR_LOGOFF "BŁĄD: Nie można wylogować z systemu.\n"
|
||||
IDS_ERROR_SHUTDOWN "BŁĄD: Nie można zamknąć systemu.\n"
|
||||
IDS_ERROR_RESTART "BŁĄD: Nie można ponownie uruchomić systemu.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "BŁĄD: Długość komentarza przekrasza maksymalny limit znaków ustawiony przez system.\n"
|
||||
IDS_ERROR_HIBERNATE "BŁĄD: Nie można ustawić systemu w trybie hibernacji.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "BŁĄD: Tryb hibernacji nie może być uruchomiony zdalnie.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "BŁĄD: Tryb hibernacji jest wyłączony.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Zdalne Zamykanie"
|
||||
IDS_ERROR_DIALOG_INIT "Nie można wyświetlić graficznego interfejsu użytkownika."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Zamknięcie"
|
||||
IDS_ACTION_RESTART "Uruchom ponownie"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Adnotuj nieoczekiwane zamknięcie"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Inne zadania"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Sprzęt: konserwacja"
|
||||
IDS_REASON_HARDWARE_INSTALL "Sprzęt: instalacja"
|
||||
IDS_REASON_OS_RECOVER "System Operacyjny: odzyskiwanie"
|
||||
IDS_REASON_OS_RECONFIGURE "System Operacyjny: ponowna konfiguracja"
|
||||
IDS_REASON_APP_MAINTENANCE "Aplikacja: konserwacja"
|
||||
IDS_REASON_APP_INSTALL "Aplikacja: instalacja"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Aplikacja: nie odpowiada"
|
||||
IDS_REASON_APP_UNSTABLE "Aplikacja: niestabilna"
|
||||
IDS_REASON_SECURITY "Problem zabezpieczeń"
|
||||
IDS_REASON_NETWORK "Utrata połączenia sieciowego"
|
||||
END
|
103
base/applications/shutdown/lang/pt-BR.rc
Normal file
103
base/applications/shutdown/lang/pt-BR.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
107
base/applications/shutdown/lang/ro-RO.rc
Normal file
107
base/applications/shutdown/lang/ro-RO.rc
Normal file
|
@ -0,0 +1,107 @@
|
|||
/* Translator: Ștefan Fulea (stefan dot fulea at mail dot md) */
|
||||
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Închidere la distanță"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "Con&firmă", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "A&nulează", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "C&alculatoare:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "A&dăugare…", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Elimină", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "Spe&cificare…", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Acțiune", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "A&vertizează utilizatorii", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Avertismente afișate pentru", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "secunde", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Jurnal de evenimente-închideri", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Motiv:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planificat", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Co&mentariu:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "Utilitar de închidere ReactOS\n\
|
||||
\n\
|
||||
Utilizare: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\calculator][/t xxx][/d [p|u:]xx:yy [/c «comentariu»]]\n\
|
||||
\n\
|
||||
Fără argumente sau /? Este afișat acest manual.\n\
|
||||
/i Afișarea interfeței grafice de utilizator (GUI). Această\n\
|
||||
opțiune trebuie să preceadă.\n\
|
||||
/l Desautentificare locală. Nu poate fi utilizată cu /m sau /d.\n\
|
||||
/s Închidere calculator.\n\
|
||||
/r Repornire calculator.\n\
|
||||
/g Repornire calculator plus repornirea tuturor aplicațiilor\n\
|
||||
înregistrate.\n\
|
||||
/a Anularea unei închideri întârziate. Poate fi utilizată doar în\n\
|
||||
perioada de întârziere.\n\
|
||||
/p Închiderea calculatorului fără avertisment sau cronometrare\n\
|
||||
inversă. Poate fi utilizată cu /d sau /f.\n\
|
||||
/h Hibernarea calculatorului local. Utilizabilă cu /f.\n\
|
||||
/e Documentarea motivului pentru închiderea neprevăzută.\n\
|
||||
/m \\\\calculator Specificarea unui calculator țintă (adresă UNC/IP).\n\
|
||||
/t xxx Instituie cronometrarea unei perioade de xxx secunde înainte de\n\
|
||||
închidere. Domeniul de valori valide este de la 0 la 315360000\n\
|
||||
(10 ani), 30 fiind valoarea implicită.\n\
|
||||
/c «comentariu» Comentarea motivului pentru închidere sau repornire.\n\
|
||||
Sunt permise maxim 512 caractere.\n\
|
||||
/f Forțarea închiderii aplicațiilor curente fără avertizarea\n\
|
||||
utilizatorilor. Dacă nu sunt specificați alți parametri, această\n\
|
||||
opțiune implică și deautentificarea.\n\
|
||||
/d [p|u:]xx:yy Oferă un ca motiv un cod pentru închidere sau repornire.\n\
|
||||
p indică planificarea închiderii sau repornirii calculatorului.\n\
|
||||
u indică faptul că motivul este definit de utilizator.\n\
|
||||
Dacă nici p nici u nu sunt specificați, închiderea sau repornirea\n\
|
||||
nu sunt planificate.\n\
|
||||
xx este codul pentru motivul major (întreg pozitiv sub 256).\n\
|
||||
yy este codul pentru motivul minor (întreg pozitiv sub 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "Eroare: Închiderea și repornirea nu pot fi în același timp.\n"
|
||||
IDS_ERROR_TIMEOUT "Eroare: Valoarea %u a cronometrului este în afara limitelor valide (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "Eroare: Închiderea sistemului nu poate fi anulată.\n"
|
||||
IDS_ERROR_LOGOFF "Eroare: Deautentificarea din sistem nu poate fi executată.\n"
|
||||
IDS_ERROR_SHUTDOWN "Eroare: Sistemul nu poate fi închis.\n"
|
||||
IDS_ERROR_RESTART "Eroare: Sistemul nu poate fi repornit.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "Eroare: Numărul de caractere al comentariului depășește limita impusă de sistem.\n"
|
||||
IDS_ERROR_HIBERNATE "Eroare: Sistemul nu poate fi pus în hibernare.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "Eroare: Hibernarea nu poate fi comandată la distanță.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "Eroare: Modul de hibernare nu este activat.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Închidere la distanță"
|
||||
IDS_ERROR_DIALOG_INIT "Interfața grafică de utilizator nu a putut fi afișată."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Închide sistemul"
|
||||
IDS_ACTION_RESTART "Repornește sistemul"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Adnotează închiderea neprevăzută"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Altul"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Mentenanță"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Instalare"
|
||||
IDS_REASON_OS_RECOVER "Sistem de operare: Recuperare"
|
||||
IDS_REASON_OS_RECONFIGURE "Sistem de operare: Reconfigurare"
|
||||
IDS_REASON_APP_MAINTENANCE "Aplicații: Mentenanță"
|
||||
IDS_REASON_APP_INSTALL "Aplicații: Instalare"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Aplicații: Neresponsivitate"
|
||||
IDS_REASON_APP_UNSTABLE "Aplicații: Instabilitate"
|
||||
IDS_REASON_SECURITY "Probleme de securitate"
|
||||
IDS_REASON_NETWORK "Pierdere conexiune de rețea"
|
||||
END
|
108
base/applications/shutdown/lang/ru-RU.rc
Normal file
108
base/applications/shutdown/lang/ru-RU.rc
Normal file
|
@ -0,0 +1,108 @@
|
|||
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Удаленное завершение работы"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&ОК", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "О&тмена", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "&Компьютеры:", IDC_STATIC, 9, 9, 50, 8
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Добавить...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Удалить", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Обзор...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "&Желаемое действие для компьютеров:", IDC_ACTION, 11, 81, 170, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "&Предупредить пользователей", IDC_WARN_USERS, 175, 79, 120, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "По&казывать предупреждение в течение: ", IDC_SHOW_WARN_ONE, 11, 99, 146, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "сек.", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Регистрация событий завершения работы", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Причина:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Запланировано", IDC_PLANNED, 165, 125, 55, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Комме&нтарий:", IDC_COMMENT_CAPTION, 16, 159, 51, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "Утилита выключения ReactOS\n\
|
||||
\n\
|
||||
Использование: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\<компьютер>][/t xxx][/d [p|u:]xx:yy [/c ""комментарий""]]\n\
|
||||
\n\
|
||||
Без аргументов или /? Отображение справки.\n\
|
||||
/i Отображение графического интерфейса пользователя.\n\
|
||||
Этот параметр должен указываться первым.\n\
|
||||
/l Завершение сеанса. Этот параметр нельзя использовать с\n\
|
||||
параметрами /m или /d.\n\
|
||||
/s Завершение работы компьютера.\n\
|
||||
/r Завершение работы и перезагрузка компьютера.\n\
|
||||
/g Завершение работы и перезагрузка компьютера. После перезапуска\n\
|
||||
системы, запуск всех зарегистрированных приложений..\
|
||||
/a Отмена завершения работы системы. Может использоваться только в\n\
|
||||
течение периода ожидания выключения.\
|
||||
/p Немедленное отключение локального компьютера без предупреждения.\n\
|
||||
Можно использовать с параметрами /d и /f.\n\
|
||||
/h Переключение локального компьютера в режим гибернации.\n\
|
||||
Можно использовать с параметром /f.\n\
|
||||
/e Указание причины непредвиденного завершения работы компьютера.\n\
|
||||
/m \\\\<компьютер> Указание конечного компьютера.\n\
|
||||
(UNC/IP адрес).\n\
|
||||
/t xxx Задание задержки в xxx секунд перед завершением работы\n\
|
||||
компьютера. Допустимые значения от 0 сек. до 315360000 сек.\n\
|
||||
По умолчанию значение равно 30.\n\
|
||||
/c ""комментарий"" Комментарий с причиной перезапуска или завершения работы.\n\
|
||||
Наибольшая длина - 512 знаков.\n\
|
||||
/f Принудительное закрытие запущенных приложений без предупреждения\n\
|
||||
пользователей. Если не указаны дополнительные параметры, то этот\n\
|
||||
параметр также приведет к выходу из системы.\n\
|
||||
/d [p|u:]xx:yy Необходимо указать причину для перезагрузки или выключения.\n\
|
||||
""p"" означает запланированную перезагрузку или завершение работы.\n\
|
||||
""u"" означает, что причина определяется пользователем.\n\
|
||||
Если не задано ни ""p"", ни ""u"", перезагрузка или завершение работы\n\
|
||||
запланирована.\n\
|
||||
xx является основным номером причины (1 - 255).\n\
|
||||
yy является вспомогательным номером причины (1 - 65535).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ОШИБКА: Нельзя одновременно выключить и перезагрузить компьютер.\n"
|
||||
IDS_ERROR_TIMEOUT "ОШИБКА: Время ожидания %u находится за границами диапазона (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ОШИБКА: Невозможно отменить завершение системы.\n"
|
||||
IDS_ERROR_LOGOFF "ОШИБКА: Невозможно совершить выход из системы.\n"
|
||||
IDS_ERROR_SHUTDOWN "ОШИБКА: Невозможно выключить систему.\n"
|
||||
IDS_ERROR_RESTART "ОШИБКА: Невозможно перезагрузить систему.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ОШИБКА: Длина комментария превысила максимальную длину сообщения.\n"
|
||||
IDS_ERROR_HIBERNATE "ОШИБКА: Невозможно отправить систему в режим гибернации (""спящий режим"").\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ОШИБКА: Спящий режим нельзя запустить на удаленном компьютере.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ОШИБКА: Спящий режим не включен.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Удаленное завершение работы"
|
||||
IDS_ERROR_DIALOG_INIT "Не удается показать окно графического интерфейса."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Выключить систему"
|
||||
IDS_ACTION_RESTART "Перезапустить систему"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Описать неожиданное выключение"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Другая"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Оборудование: Обслуживание"
|
||||
IDS_REASON_HARDWARE_INSTALL "Оборудование: Установка"
|
||||
IDS_REASON_OS_RECOVER "Операционная система: Восстановление"
|
||||
IDS_REASON_OS_RECONFIGURE "Операционная система: Настройка"
|
||||
IDS_REASON_APP_MAINTENANCE "Приложение: Обслуживание"
|
||||
IDS_REASON_APP_INSTALL "Приложение: Установка"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Приложение: Не отвечает"
|
||||
IDS_REASON_APP_UNSTABLE "Приложение: Нестабильная работа"
|
||||
IDS_REASON_SECURITY "Проблема безопасности"
|
||||
IDS_REASON_NETWORK "Потеря сетевого соединения"
|
||||
END
|
103
base/applications/shutdown/lang/sk-SK.rc
Normal file
103
base/applications/shutdown/lang/sk-SK.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
107
base/applications/shutdown/lang/sq-AL.rc
Normal file
107
base/applications/shutdown/lang/sq-AL.rc
Normal file
|
@ -0,0 +1,107 @@
|
|||
/* TRANSLATOR : Ardit Dani (Ard1t) (ardit.dani@gmail.com)
|
||||
* DATE OF TR: 29-11-2013
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Fikje ne distance"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "Anulo", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Ko&mpjuter:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "Shto...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "Hiq", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "Shfleto...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Veprim", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Paralajmero perdoruesin", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Shfaq paralajmerimin per", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "sekond(a)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Fik ndjekesin e eventeve", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Arsye:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planifikuar", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Kom&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "Vegla e fikjes se ReactOS\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
Ska argument ose /? Shfaq ndihmen.\n\
|
||||
/i Shfaq interfaqen grafike te perdoruesit (GUI). Ky opsion duhet te jete\n\
|
||||
i pari.\n\
|
||||
/l Dil vetem nga sistemi vendas. Nuk mund te perdoret me /m ose /d.\n\
|
||||
/s Fik kompjuterin.\n\
|
||||
/r Rifillo kompjuterin.\n\
|
||||
/g Rifillo kompjuterin dhe rifillo te gjitha programet e rregjistrume.\n\
|
||||
/a Anulo fikjen e vonuar. Mund te perdoret vetem gjate kohes se\n\
|
||||
voneses.\n\
|
||||
/p Fik kompjuterin vendas pa asnje paralajmerim ose kohe. Mund te perdoret\n\
|
||||
me /d ose /f.\n\
|
||||
/h Ver ne pushim kompjuterin vendas. Perdoret me /f.\n\
|
||||
/e Dokumento arsyen e fikjes se kompjuterit vendas ne papritshmerin e fikjes.\n\
|
||||
/m \\\\computer Specifiko kompjuterin e planifikuar (UNC/IP address).\n\
|
||||
/t xxx Shih kohen dhe periudhen tel xxx sekonda para fikjes.\n\
|
||||
Periudha e vlefshme fillon nga 0 deri 315360000 (10 vjet),\n\
|
||||
30 eshte vlera e parazgjedhur.\n\
|
||||
/c ""comment"" Komento arsyen e fikjes ose rifillimit.\n\
|
||||
512 karaktere te lejuar maksimalisht.\n\
|
||||
/f Sforco mbylljen e aplikacioneve pa paralajmerim te perdoruesit. Nese ju\n\
|
||||
nuk specifikone parametra te tjere, ky opsion do te jete gjithashtu per dil.\n\
|
||||
/d [p|u:]xx:yy Hep kodin e arsyes per fikje ose per rifillimin.\n\
|
||||
p tregon qe fikja ose rifillimi eshte plafinikuar.\n\
|
||||
u tregon qe arsya eshte percaktuar nga perdoruesi.\n\
|
||||
Nese as p apo u jane te specifikuar, fikja ose rifillimi nuk jane\n\
|
||||
te planifikuara.\n\
|
||||
xx eshte arsya e kodit madhor (intigeri pozitiv me i vogel se 256).\n\
|
||||
yy eshte arsya e kodit minor (intigeri pozitiv me i vogel se 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: E pamundur te fiket dhe rifillohet ne te njejten kohe.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Vlera e kohezgjatjes e %u eshte jasht kufirit (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: E pamundur anullimi i fikjes se sistemit.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: E pamundur dalja nga sistemi.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: E pamundur fikja e sistemit.\n"
|
||||
IDS_ERROR_RESTART "ERROR: E pamundur rifillimi i sistemit.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Gjatesia e komentit kalon limitin maksimal te karaktereve te vendosur nga sistemit.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: E pamundur vendosja ne menyre letargjike te sistemit.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Menyra letargjike nuk te fillohet ne kontroll distace te sistemit.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Menyra letargjike e sistemit nuk eshte e aktivizuar.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Fikje ne distance"
|
||||
IDS_ERROR_DIALOG_INIT "E pamundur shfaqja e nderfaqes grafike te perdoruesit."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Fike Sistemit"
|
||||
IDS_ACTION_RESTART "Rifillo Sistemin"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Mbaj shenime te fikjes se papritur"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "T'tjera"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Mirembajtje"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Instalimi"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Rekuperim"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Rikonfiguro"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Mirembajtje"
|
||||
IDS_REASON_APP_INSTALL "Application: Instalim"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Nuk pergjigjes"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Jo stablet"
|
||||
IDS_REASON_SECURITY "Probleme Sigurie"
|
||||
IDS_REASON_NETWORK "Humbje e lidhjes ne rrjet"
|
||||
END
|
103
base/applications/shutdown/lang/sv-SE.rc
Normal file
103
base/applications/shutdown/lang/sv-SE.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
105
base/applications/shutdown/lang/tr-TR.rc
Normal file
105
base/applications/shutdown/lang/tr-TR.rc
Normal file
|
@ -0,0 +1,105 @@
|
|||
/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy@live.com) */
|
||||
|
||||
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Uzaktan Bilgisayarı Kapat"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "Tamam", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "İptal", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "&Bilgisayarlar:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Ekle...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Kaldır", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Göz At...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Eylem", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Kullanıcıları Uyar", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Uyarı Görüntüle:", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "sâniye", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Bilgisayarı Kapat Olay İzleyicisi", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Neden:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planlanmış", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "&Yorum:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Kapatma Aracı\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\bilgisayar][/t xxx][/d [p|u:]xx:yy [/c ""açıklama""]]\n\
|
||||
\n\
|
||||
Değiştirgen yok ya da /? Bu yardımı göster.\n\
|
||||
/i Çizgelik kullanıcı arayüzünü (GUI) göster. Bu seçenek birinci\n\
|
||||
seçenek olmalıdır.\n\
|
||||
/l Yalnızca yerli dizgede oturumu kapat. /m veyâ /d ile kullanılamaz.\n\
|
||||
/s Bilgisayarı kapat.\n\
|
||||
/r Bilgisayarı yeniden başlat.\n\
|
||||
/g Tüm kayıtlı uygulamaları ve bilgisayarı yeniden başlat.\n\
|
||||
/a Gecikmiş bir kapatmayı iptal et. Yalnızca gecikme süresi esnâsında\n\
|
||||
kullanılabilir.\n\
|
||||
/p Bir süre aşımı veyâ uyarı olmadan yerli bilgisayarı kapat. /d veyâ\n\
|
||||
/f ile kullanılabilir.\n\
|
||||
/h Yerli bilgisayarı anıkta beklet. /f ile kullanılabilir.\n\
|
||||
/e Beklenmeyen bilgisayarı kapatma için nedeni belgele.\n\
|
||||
/m \\\\bilgisayar Varış bilgisayarını (UNC/IP adresi) belirt.\n\
|
||||
/t xxx Bilgisayarı kapatmadan önce xxx sâniye denli süre aşımı zamânını ayarla.\n\
|
||||
Geçerli aralık 0'dan başlar, 315360000'a (10 yıl) dektir,\n\
|
||||
30 ön tanımlı değer olarak.\n\
|
||||
/c ""açıklama"" Kapatma ya da yeniden başlatma için nedeni açıkla.\n\
|
||||
en çok 512 damgaya izin verilmiştir.\n\
|
||||
/f Kullanıcıları uyarmadan çalışan uygulamaları kapatmaya zorla. Başka\n\
|
||||
bir parametre belirtmezseniz, bu seçenek ayrıca oturumu kapatacak.\n\
|
||||
/d [p|u:]xx:yy Kapatma ya da yeniden başlatma için neden kodu ver.\n\
|
||||
p kapatmanın ya da yeniden başlatmanın planlanmış olduğunu belirtir.\n\
|
||||
u nedenin kullanıcı eliyle tanımlanmış olduğunu belirtir.\n\
|
||||
p veyâ u belirtilmezse bilgisayarı kapatma ya da yeniden başlatma\n\
|
||||
planlanmış değildir.\n\
|
||||
xx büyük neden kodudur (256'dan küçük artı tamsayı).\n\
|
||||
yy küçük neden kodudur (65536'dan küçük artı tamsayı).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "YANLIŞLIK: Kapatma ve yeniden başlatma aynı zamanda olamaz.\n"
|
||||
IDS_ERROR_TIMEOUT "YANLIŞLIK: %u süre aşımı değeri hudutların (0-315360000) dışında.\n"
|
||||
IDS_ERROR_ABORT "YANLIŞLIK: Dizgenin kapatılması durdurulamaz.\n"
|
||||
IDS_ERROR_LOGOFF "YANLIŞLIK: Dizge oturumundan çıkılamaz.\n"
|
||||
IDS_ERROR_SHUTDOWN "YANLIŞLIK: Dizge kapatılamaz.\n"
|
||||
IDS_ERROR_RESTART "YANLIŞLIK: Dizge yenien başlatılamaz.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "YANLIŞLIK: Yorum uzunluğu, dizge eliyle ayarlanmış en çok damga hudûdunu aşıyor.\n"
|
||||
IDS_ERROR_HIBERNATE "YANLIŞLIK: Dizge anıkta bekletme kipine gönderilemez.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "YANLIŞLIK: Anıkta bekletme kipi uzaktan başlatılamıyor.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "YANLIŞLIK: Anıkta bekletme kipi etkin değil.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Uzaktan Bilgisayarı Kapat"
|
||||
IDS_ERROR_DIALOG_INIT "Çizgelik kullanıcı arayüzü görüntülenemez."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Dizgeyi Kapat"
|
||||
IDS_ACTION_RESTART "Dizgeyi Yeniden Başlat"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Beklenmeyen Kapatmayı Açımla"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Başka"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Donanım: Bakım"
|
||||
IDS_REASON_HARDWARE_INSTALL "Donanım: Kurulum"
|
||||
IDS_REASON_OS_RECOVER "İşletim Dizgesi: Kurtarma"
|
||||
IDS_REASON_OS_RECONFIGURE "İşletim Dizgesi: Yeniden Yapılandırma"
|
||||
IDS_REASON_APP_MAINTENANCE "Uygulama: Bakım"
|
||||
IDS_REASON_APP_INSTALL "Uygulama: Kurulum"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Uygulama: Yanıt Vermeme"
|
||||
IDS_REASON_APP_UNSTABLE "Uygulama: Kararsızlık"
|
||||
IDS_REASON_SECURITY "Güvenlik Sorunu"
|
||||
IDS_REASON_NETWORK "Ağ Bağlantısının Yitirilmesi"
|
||||
END
|
103
base/applications/shutdown/lang/uk-UA.rc
Normal file
103
base/applications/shutdown/lang/uk-UA.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Remote Shutdown"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "&OK", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "&Cancel", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "Co&mputers:", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "&Add...", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "&Remove", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Browse...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "Action", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "Warn users", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "Display warning for", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "second(s)", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "Reason:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "Planned", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "Comm&ent:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "ReactOS Shutdown Utility\n\
|
||||
\n\
|
||||
Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
No arguments or /? Display this help.\n\
|
||||
/i Show the graphical user interface (GUI). This option must be the\n\
|
||||
first one.\n\
|
||||
/l Log off on the local system only. Cannot be used with /m or /d.\n\
|
||||
/s Shutdown the computer.\n\
|
||||
/r Restart the computer.\n\
|
||||
/g Restart the computer and restart all the registered applications.\n\
|
||||
/a Cancel a delayed shutdown. Can only be used during the delay\n\
|
||||
period.\n\
|
||||
/p Shutdown the local computer without any timeout or warning. Can be\n\
|
||||
used with /d or /f.\n\
|
||||
/h Hibernate the local computer. Usable with /f.\n\
|
||||
/e Document the reason for the unexpected computer shutdown.\n\
|
||||
/m \\\\computer Specify the target computer (UNC/IP address).\n\
|
||||
/t xxx Set the timeout period to xxx seconds before shutting down.\n\
|
||||
The valid range starts from 0 to 315360000 (10 years),\n\
|
||||
30 being the default value.\n\
|
||||
/c ""comment"" Comment on the reason for shutdown or restart.\n\
|
||||
512 characters maximum allowed.\n\
|
||||
/f Force running applications to close without warning users. If you\n\
|
||||
do not specify any other parameter, this option will also log off.\n\
|
||||
/d [p|u:]xx:yy Give the reason code for the shutdown or the restart.\n\
|
||||
p indicates that the shutdown or the restart is planned.\n\
|
||||
u indicates that the reason is defined by the user.\n\
|
||||
If neither p nor u are specified, the shutdown or the restart are\n\
|
||||
not planned.\n\
|
||||
xx is the major reason code (positive integer smaller than 256).\n\
|
||||
yy is the minor reason code (positive integer smaller than 65536).\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "ERROR: Unable to shutdown and restart at the same time.\n"
|
||||
IDS_ERROR_TIMEOUT "ERROR: Timeout value of %u is out of bounds (0-315360000).\n"
|
||||
IDS_ERROR_ABORT "ERROR: Unable to abort the shutdown of the system.\n"
|
||||
IDS_ERROR_LOGOFF "ERROR: Unable to logoff the system.\n"
|
||||
IDS_ERROR_SHUTDOWN "ERROR: Unable to shutdown the system.\n"
|
||||
IDS_ERROR_RESTART "ERROR: Unable to restart the system.\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "ERROR: Comment length exceeds maximum character limit set by the system.\n"
|
||||
IDS_ERROR_HIBERNATE "ERROR: Unable to send system into hibernation mode.\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "ERROR: Hibernation mode cannot be started remotely.\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "ERROR: Hibernation mode is not enabled.\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "Remote Shutdown"
|
||||
IDS_ERROR_DIALOG_INIT "Unable to display the graphical user interface."
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "Shutdown the system"
|
||||
IDS_ACTION_RESTART "Restart the system"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "Annotate the unexpected shutdown"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "Other"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "Hardware: Maintenance"
|
||||
IDS_REASON_HARDWARE_INSTALL "Hardware: Installation"
|
||||
IDS_REASON_OS_RECOVER "Operating System: Recovery"
|
||||
IDS_REASON_OS_RECONFIGURE "Operating System: Reconfigure"
|
||||
IDS_REASON_APP_MAINTENANCE "Application: Maintenance"
|
||||
IDS_REASON_APP_INSTALL "Application: Installation"
|
||||
IDS_REASON_APP_UNRESPONSIVE "Application: Unresponsive"
|
||||
IDS_REASON_APP_UNSTABLE "Application: Unstable"
|
||||
IDS_REASON_SECURITY "Security Issue"
|
||||
IDS_REASON_NETWORK "Loss of network connectivity"
|
||||
END
|
103
base/applications/shutdown/lang/zh-CN.rc
Normal file
103
base/applications/shutdown/lang/zh-CN.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "远程关机"
|
||||
FONT 9, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "确定(&O)", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "取消(&C)", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "电脑:(&M)", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "添加...(&A)", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "删除(&R)", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "浏览...(&B)", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "行动", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "警告用户", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "显示警告", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "秒", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "关闭事件跟踪程序", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "原因:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "计划", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "评论:(&E)", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "电脑关机实用工具\n\
|
||||
\n\
|
||||
用法: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
没有参数或 /? 显示此帮助。\n\
|
||||
/i 显示图形用户界面 (GUI)。此选项必须是 \n\
|
||||
第一个。\n\
|
||||
/l 只在本地系统上注销。不能使用于 /m 或 /d。\n\
|
||||
/s 关闭计算机。\n\
|
||||
/r 重新启动计算机。\n\
|
||||
/g 重新启动计算机并重新启动所有已注册的应用程序。\n\
|
||||
/a 取消延迟关闭电源。只能使用延迟\n\
|
||||
期间。\n\
|
||||
/p 关闭本地计算机没有任何超时或警告。 可以\n\
|
||||
使用 /d 或 /f。\n\
|
||||
/h 休眠本地计算机。 /f 可以使用 。\n\
|
||||
/e 记录计算机意外的关机原因。\n\
|
||||
/m \\\\computer 指定目标计算机 (UNC 或 IP 地址)。\n\
|
||||
/t xxx 将超时时间设置为 xxx 秒后关闭。\n\
|
||||
有效范围从 0 开始到 315360000 (10 年),\n\
|
||||
30 为默认值。\n\
|
||||
/c ""comment"" 关机原因发表评论,或重新启动。\n\
|
||||
512 个字符最大允许。\n\
|
||||
/f 强制运行没有警告用户关闭应用程序。如果您\n\
|
||||
不指定任何其他参数,此选项将也注销。\n\
|
||||
/d [p|u:]xx:yy 给关机或重新启动的原因代码\n\
|
||||
p 指示关机或重新启动计划。\n\
|
||||
u 指示原因由用户定义。\n\
|
||||
If neither p nor u are specified, 不会计划关机或\n\
|
||||
重新启动。\n\
|
||||
xx 是主要原因代码 (积极整数小于 256)。\n\
|
||||
yy 是次要原因代码 (小于 65536 积极的整数)。\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "错误: 无法关闭和重新启动在同一时间。\n"
|
||||
IDS_ERROR_TIMEOUT "错误: %u 的超时值是超出界限 (0-315360000)。\n"
|
||||
IDS_ERROR_ABORT "错误: 无法中止的系统关闭。\n"
|
||||
IDS_ERROR_LOGOFF "错误: 无法注销系统。\n"
|
||||
IDS_ERROR_SHUTDOWN "错误: 无法关闭系统。\n"
|
||||
IDS_ERROR_RESTART "错误: 无法重新启动系统。\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "错误: 注释长度超过最大字符由系统设置的限制。\n"
|
||||
IDS_ERROR_HIBERNATE "错误: 无法发送系统进入休眠模式。\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "错误: 无法远程启动休眠模式。\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "错误: 未启用休眠模式。\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "远程关机"
|
||||
IDS_ERROR_DIALOG_INIT "无法显示图形用户界面。"
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "关闭系统"
|
||||
IDS_ACTION_RESTART "重新启动系统"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "注释意外的关闭"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "其他"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "硬件: 维护"
|
||||
IDS_REASON_HARDWARE_INSTALL "硬件: 安装"
|
||||
IDS_REASON_OS_RECOVER "操作系统: 恢复"
|
||||
IDS_REASON_OS_RECONFIGURE "操作系统: 重新配置"
|
||||
IDS_REASON_APP_MAINTENANCE "应用程序: 维护"
|
||||
IDS_REASON_APP_INSTALL "应用程序: 安装"
|
||||
IDS_REASON_APP_UNRESPONSIVE "应用程序: 没有反应"
|
||||
IDS_REASON_APP_UNSTABLE "应用程序: 不稳定"
|
||||
IDS_REASON_SECURITY "安全问题"
|
||||
IDS_REASON_NETWORK "网络连接丢失"
|
||||
END
|
103
base/applications/shutdown/lang/zh-TW.rc
Normal file
103
base/applications/shutdown/lang/zh-TW.rc
Normal file
|
@ -0,0 +1,103 @@
|
|||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
||||
|
||||
/* Dialog */
|
||||
IDD_GUI DIALOGEX 0, 0, 240, 255
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "遠端關機"
|
||||
FONT 9, "MS Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "確定(&O)", IDC_OK, 125, 232, 50, 14
|
||||
PUSHBUTTON "取消(&C)", IDC_CANCEL, 178, 232, 50, 14
|
||||
LTEXT "電腦:(&M)", IDC_STATIC, 9, 9, 35, 36
|
||||
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
|
||||
PUSHBUTTON "添加...(&A)", IDC_ADD_SYSTEM, 179, 19, 50, 14
|
||||
PUSHBUTTON "刪除(&R)", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
|
||||
PUSHBUTTON "流覽...(&B)", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
|
||||
LTEXT "行動", IDC_ACTION, 11, 81, 20, 14
|
||||
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
|
||||
CHECKBOX "警告使用者", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
LTEXT "顯示警告", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
|
||||
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
|
||||
LTEXT "秒", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
|
||||
GROUPBOX "關閉事件跟蹤程式", IDC_STATIC, 5, 114, 224, 114
|
||||
LTEXT "原因:", IDC_STATIC, 16, 130, 27, 8
|
||||
CHECKBOX "計畫", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
||||
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
|
||||
LTEXT "評論:(&E)", IDC_COMMENT_CAPTION, 16, 159, 38, 8
|
||||
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
|
||||
END
|
||||
|
||||
/* Information and error messages */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE "電腦關機公用程式\n\
|
||||
\n\
|
||||
使用方法: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
|
||||
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c ""comment""]]\n\
|
||||
\n\
|
||||
沒有參數或 /? 顯示此説明。\n\
|
||||
/i 顯示圖形化使用者介面 (GUI)。此選項必須是\n\
|
||||
第一個。\n\
|
||||
/l 只在本地系統上登出。不能使用與 /m 或 /d。\n\
|
||||
/s 關閉電腦。\n\
|
||||
/r 重新開機電腦。\n\
|
||||
/g 重新開機電腦並重新啟動所有已註冊的應用程式。\n\
|
||||
/a 取消延遲關閉電源。只有在延遲週期\n\
|
||||
內使用。\n\
|
||||
/p 關閉本地電腦沒有任何超時或警告。 可以\n\
|
||||
用 /d 或 /f。\n\
|
||||
/h 休眠本地電腦。可用與 /f。\n\
|
||||
/e 記錄電腦意外的關機的原因。\n\
|
||||
/m \\\\computer 指定目的電腦 (UNC 或 IP 位址)。\n\
|
||||
/t xxx 將超時時間設置為 xxx 秒後關閉。\n\
|
||||
有效範圍從 0 開始到 315360000 (10 年),\n\
|
||||
30 的預設值。\n\
|
||||
/c ""comment"" 關閉原因發表評論,或重新開機。\n\
|
||||
512 個字元最大允許。\n\
|
||||
/f 強制運行沒有警告使用者關閉應用程式。如果您\n\
|
||||
不指定任何其他參數,此選項將也登出。\n\
|
||||
/d [p|u:]xx:yy 給關機或重新開機的原因代碼。\n\
|
||||
p 指示關機或重新開機計畫。\n\
|
||||
u 表示原因由使用者定義。\n\
|
||||
如果指定了既不是 p 也不是你,不會計畫關機或\n\
|
||||
重新開機。\n\
|
||||
xx 是主要原因代碼 (正整數小於 256)。\n\
|
||||
yy 是次要原因代碼 (小於 65536 正整數)。\n"
|
||||
|
||||
IDS_ERROR_SHUTDOWN_REBOOT "錯誤: 在同一時間無法關機和重新開機。\n"
|
||||
IDS_ERROR_TIMEOUT "錯誤: %u 的超時值為 (0-315360000) 出界。\n"
|
||||
IDS_ERROR_ABORT "錯誤: 無法中止的系統關閉。\n"
|
||||
IDS_ERROR_LOGOFF "錯誤: 無法登出系統。\n"
|
||||
IDS_ERROR_SHUTDOWN "錯誤: 無法關閉系統。\n"
|
||||
IDS_ERROR_RESTART "錯誤: 無法重新開機系統。\n"
|
||||
IDS_ERROR_MAX_COMMENT_LENGTH "錯誤: 評論長度超出由系統設置的最大字元數限制。\n"
|
||||
IDS_ERROR_HIBERNATE "錯誤: 無法發送系統進入睡眠模式。\n"
|
||||
IDS_ERROR_HIBERNATE_LOCAL "錯誤: 無法遠端啟動睡眠模式。\n"
|
||||
IDS_ERROR_HIBERNATE_ENABLED "錯誤: 沒有啟用睡眠模式。\n"
|
||||
IDS_ERROR_DIALOG_CAPTION "遠端關機"
|
||||
IDS_ERROR_DIALOG_INIT "無法顯示圖形化使用者介面。"
|
||||
END
|
||||
|
||||
/* Remote shutdown action strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ACTION_SHUTDOWN "關閉系統"
|
||||
IDS_ACTION_RESTART "重新開機系統"
|
||||
IDS_ACTION_UNEXPECTED_SHUTDOWN "注釋意外的關閉"
|
||||
END
|
||||
|
||||
/* Remote shutdown reason strings */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_REASON_OTHER "其他"
|
||||
IDS_REASON_HARDWARE_MAINTENANCE "硬體: 維護"
|
||||
IDS_REASON_HARDWARE_INSTALL "硬體: 安裝"
|
||||
IDS_REASON_OS_RECOVER "作業系統: 恢復"
|
||||
IDS_REASON_OS_RECONFIGURE "作業系統: 重新配置"
|
||||
IDS_REASON_APP_MAINTENANCE "應用程式: 維護"
|
||||
IDS_REASON_APP_INSTALL "應用程式: 安裝"
|
||||
IDS_REASON_APP_UNRESPONSIVE "應用程式: 沒有反應"
|
||||
IDS_REASON_APP_UNSTABLE "應用程式: 不穩定"
|
||||
IDS_REASON_SECURITY "安全問題"
|
||||
IDS_REASON_NETWORK "網路連接丟失"
|
||||
END
|
170
base/applications/shutdown/misc.c
Normal file
170
base/applications/shutdown/misc.c
Normal file
|
@ -0,0 +1,170 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS shutdown/logoff utility
|
||||
* FILE: base/applications/shutdown/misc.c
|
||||
* PURPOSE: Misc. functions used for the shutdown utility
|
||||
* PROGRAMMERS: Lee Schroeder
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
const DWORD defaultReason = SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER;
|
||||
|
||||
REASON shutdownReason[] =
|
||||
{
|
||||
{L"U" , 0, 0, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER}, /* Other (Unplanned) */
|
||||
{L"E" , 0, 0, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER}, /* Other (Unplanned) */
|
||||
{L"EP", 0, 0, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER | SHTDN_REASON_FLAG_PLANNED}, /* Other (Planned) */
|
||||
{L"U" , 0, 5, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_HUNG}, /* Other Failure: System Unresponsive */
|
||||
{L"E" , 1, 1, SHTDN_REASON_MAJOR_HARDWARE | SHTDN_REASON_MINOR_MAINTENANCE}, /* Hardware: Maintenance (Unplanned) */
|
||||
{L"EP", 1, 1, SHTDN_REASON_MAJOR_HARDWARE | SHTDN_REASON_MINOR_MAINTENANCE | SHTDN_REASON_FLAG_PLANNED}, /* Hardware: Maintenance (Planned) */
|
||||
{L"E" , 1, 2, SHTDN_REASON_MAJOR_HARDWARE | SHTDN_REASON_MINOR_INSTALLATION}, /* Hardware: Installation (Unplanned) */
|
||||
{L"EP", 1, 2, SHTDN_REASON_MAJOR_HARDWARE | SHTDN_REASON_MINOR_INSTALLATION | SHTDN_REASON_FLAG_PLANNED}, /* Hardware: Installation (Planned) */
|
||||
{L"P" , 2, 3, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_UPGRADE | SHTDN_REASON_FLAG_PLANNED}, /* Operating System: Upgrade (Planned) */
|
||||
{L"E" , 2, 4, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_RECONFIG}, /* Operating System: Reconfiguration (Unplanned) */
|
||||
{L"EP", 2, 4, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_RECONFIG | SHTDN_REASON_FLAG_PLANNED}, /* Operating System: Reconfiguration (Planned) */
|
||||
{L"P" , 2, 16, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_RECONFIG | SHTDN_REASON_FLAG_PLANNED}, /* Operating System: Service pack (Planned) */
|
||||
{L"U" , 2, 17, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_HOTFIX}, /* Operating System: Hotfix (Unplanned) */
|
||||
{L"P" , 2, 17, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_HOTFIX | SHTDN_REASON_FLAG_PLANNED}, /* Operating System: Hotfix (Planned) */
|
||||
{L"U" , 2, 18, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_SECURITYFIX}, /* Operating System: Security fix (Unplanned) */
|
||||
{L"P" , 2, 18, SHTDN_REASON_MAJOR_OPERATINGSYSTEM | SHTDN_REASON_MINOR_SECURITYFIX | SHTDN_REASON_FLAG_PLANNED}, /* Operating System: Security fix (Planned) */
|
||||
{L"E" , 4, 1, SHTDN_REASON_MAJOR_APPLICATION | SHTDN_REASON_MINOR_MAINTENANCE}, /* Application: Maintenance (Unplanned) */
|
||||
{L"EP", 4, 1, SHTDN_REASON_MAJOR_APPLICATION | SHTDN_REASON_MINOR_MAINTENANCE | SHTDN_REASON_FLAG_PLANNED}, /* Application: Maintenance (Planned) */
|
||||
{L"EP", 4, 2, SHTDN_REASON_MAJOR_APPLICATION | SHTDN_REASON_MINOR_INSTALLATION | SHTDN_REASON_FLAG_PLANNED}, /* Application: Installation (Planned) */
|
||||
{L"E" , 4, 5, SHTDN_REASON_MAJOR_APPLICATION | SHTDN_REASON_MINOR_HUNG}, /* Application: Unresponsive */
|
||||
{L"E" , 4, 6, SHTDN_REASON_MAJOR_APPLICATION | SHTDN_REASON_MINOR_UNSTABLE}, /* Application: Unstable */
|
||||
{L"U" , 5, 15, SHTDN_REASON_MAJOR_SYSTEM | SHTDN_REASON_MINOR_BLUESCREEN}, /* System Failure: Stop Error */
|
||||
{L"E" , 5, 19, SHTDN_REASON_MAJOR_SYSTEM | SHTDN_REASON_MINOR_SECURITY}, /* Security Issue */
|
||||
{L"U" , 5, 19, SHTDN_REASON_MAJOR_SYSTEM | SHTDN_REASON_MINOR_SECURITY}, /* Security Issue */
|
||||
{L"EP", 5, 19, SHTDN_REASON_MAJOR_SYSTEM | SHTDN_REASON_MINOR_SECURITY | SHTDN_REASON_FLAG_PLANNED}, /* Security Issue (Planned) */
|
||||
{L"E" , 5, 20, SHTDN_REASON_MAJOR_SYSTEM | SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY}, /* Loss of Network Connectivity (Unplanned) */
|
||||
{L"U" , 6, 11, SHTDN_REASON_MAJOR_POWER | SHTDN_REASON_MINOR_CORDUNPLUGGED}, /* Power Failure: Cord Unplugged */
|
||||
{L"U" , 6, 12, SHTDN_REASON_MAJOR_POWER | SHTDN_REASON_MINOR_ENVIRONMENT}, /* Power Failure: Environment */
|
||||
{L"P" , 7, 0, SHTDN_REASON_MAJOR_POWER | SHTDN_REASON_MINOR_ENVIRONMENT} /* Legacy API shutdown (Planned) */
|
||||
};
|
||||
|
||||
/*
|
||||
* This command helps to work around the fact that the shutdown utility has
|
||||
* different upper limits for the comment flag since each version of Windows
|
||||
* seems to have different upper limits.
|
||||
*/
|
||||
BOOL CheckCommentLength(LPCWSTR comment)
|
||||
{
|
||||
DWORD finalLength = 0;
|
||||
size_t strLength = 0;
|
||||
DWORD osVersion = 0;
|
||||
DWORD osMajorVersion = 0;
|
||||
DWORD osMinorVersion = 0;
|
||||
|
||||
/* An empty string is always valid. */
|
||||
if (!comment || *comment == 0)
|
||||
return TRUE;
|
||||
|
||||
/* Grab the version of the current Operating System. */
|
||||
osVersion = GetVersion();
|
||||
|
||||
osMajorVersion = (DWORD)(LOBYTE(LOWORD(osVersion)));
|
||||
osMinorVersion = (DWORD)(HIBYTE(LOWORD(osVersion)));
|
||||
|
||||
/*
|
||||
* Check to make sure that the proper length is being used
|
||||
* based upon the version of Windows currently being used.
|
||||
*/
|
||||
if (osMajorVersion == 5) /* Windows XP/2003 */
|
||||
{
|
||||
if ((osMinorVersion == 1) || (osMinorVersion == 2))
|
||||
{
|
||||
finalLength = 127;
|
||||
}
|
||||
}
|
||||
else if (osMajorVersion == 6) /* Windows Vista/7/2008 */
|
||||
{
|
||||
if ((osMinorVersion == 0) || (osMinorVersion == 1))
|
||||
{
|
||||
finalLength = 512;
|
||||
}
|
||||
}
|
||||
|
||||
/* Grab the length of the comment string. */
|
||||
strLength = wcslen(comment);
|
||||
|
||||
/*
|
||||
* Compare the size of the string to make sure
|
||||
* it fits with the current version of Windows,
|
||||
* and return TRUE or FALSE accordingly.
|
||||
*/
|
||||
return (strLength <= finalLength);
|
||||
}
|
||||
|
||||
/*
|
||||
* This function parses the reason code to a usable format that will specify
|
||||
* why the user wants to shut the computer down. Although this is used for
|
||||
* both client and server environments, use of a reason code is more important
|
||||
* in a server environment since servers are supposed to be on all the time
|
||||
* for easier access.
|
||||
*/
|
||||
DWORD ParseReasonCode(LPCWSTR code)
|
||||
{
|
||||
PREASON reasonptr;
|
||||
int majorCode = 0;
|
||||
int minorCode = 0;
|
||||
LPWSTR tmpPrefix = NULL;
|
||||
size_t codeSize;
|
||||
|
||||
/* If no reason code is specified, use "Other (Unplanned)" as the default option */
|
||||
if(code == NULL)
|
||||
{
|
||||
return defaultReason;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Store the size of the code so we can use it later */
|
||||
codeSize = (size_t)wcslen(code);
|
||||
|
||||
/* A colon cannot be the first or last character in the reason code */
|
||||
if ((code[0] == L':') || (code[codeSize] == L':'))
|
||||
{
|
||||
return defaultReason;
|
||||
}
|
||||
|
||||
/* The minimum length that a reason code can be is 5-7 characters in length */
|
||||
if ((codeSize < 5) || (codeSize > 7))
|
||||
{
|
||||
return defaultReason;
|
||||
}
|
||||
|
||||
/* TODO: Add code for reason parsing here. */
|
||||
|
||||
/* Make sure that the major and minor codes are within size limits */
|
||||
if ((majorCode > 7 ) || (majorCode < 0) ||
|
||||
(minorCode > 20) || (minorCode < 0))
|
||||
{
|
||||
return defaultReason;
|
||||
}
|
||||
|
||||
/* Figure out what flags to return */
|
||||
for (reasonptr = shutdownReason ; reasonptr->prefix ; reasonptr++)
|
||||
{
|
||||
if ((majorCode == reasonptr->major) &&
|
||||
(minorCode == reasonptr->minor) &&
|
||||
(_wcsicmp(tmpPrefix, reasonptr->prefix) != 0))
|
||||
{
|
||||
return reasonptr->flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return defaultReason;
|
||||
}
|
||||
|
||||
/* Writes the last error as both text and error code to the console */
|
||||
VOID DisplayError(DWORD dwError)
|
||||
{
|
||||
ConMsgPuts(StdErr, FORMAT_MESSAGE_FROM_SYSTEM,
|
||||
NULL, dwError, LANG_USER_DEFAULT);
|
||||
ConPrintf(StdErr, L"Error code: %lu\n", dwError);
|
||||
}
|
||||
|
||||
/* EOF */
|
62
base/applications/shutdown/precomp.h
Normal file
62
base/applications/shutdown/precomp.h
Normal file
|
@ -0,0 +1,62 @@
|
|||
#ifndef __SHUTDOWN_PRECOMP_H
|
||||
#define __SHUTDOWN_PRECOMP_H
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#include <conutils.h>
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
/* DEFINES *******************************************************************/
|
||||
|
||||
#define MAX_MESSAGE_SIZE 512
|
||||
#define MAX_MAJOR_CODE 256
|
||||
#define MAX_MINOR_CODE 65536
|
||||
#define MAX_TIMEOUT 315360000
|
||||
|
||||
/* Reason Code List */
|
||||
typedef struct _REASON
|
||||
{
|
||||
LPWSTR prefix;
|
||||
int major;
|
||||
int minor;
|
||||
DWORD flag;
|
||||
} REASON, *PREASON;
|
||||
|
||||
/* Used to determine how to shutdown the system. */
|
||||
struct CommandLineOptions
|
||||
{
|
||||
BOOL abort;
|
||||
BOOL force;
|
||||
BOOL logoff;
|
||||
BOOL restart;
|
||||
BOOL shutdown;
|
||||
BOOL document_reason;
|
||||
BOOL hibernate;
|
||||
DWORD shutdown_delay;
|
||||
LPWSTR remote_system;
|
||||
LPWSTR message;
|
||||
DWORD reason;
|
||||
BOOL show_gui;
|
||||
};
|
||||
|
||||
extern const DWORD defaultReason;
|
||||
|
||||
/* PROTOTYPES *****************************************************************/
|
||||
|
||||
/* misc.c */
|
||||
BOOL CheckCommentLength(LPCWSTR);
|
||||
DWORD ParseReasonCode(LPCWSTR);
|
||||
VOID DisplayError(DWORD dwError);
|
||||
|
||||
/* gui.c */
|
||||
BOOL ShutdownGuiMain(struct CommandLineOptions opts);
|
||||
|
||||
#endif /* __SHUTDOWN_PRECOMP_H */
|
56
base/applications/shutdown/resource.h
Normal file
56
base/applications/shutdown/resource.h
Normal file
|
@ -0,0 +1,56 @@
|
|||
#pragma once
|
||||
|
||||
/* Strings */
|
||||
#define IDC_STATIC -1
|
||||
#define IDS_USAGE 1
|
||||
#define IDS_ERROR_SHUTDOWN_REBOOT 2
|
||||
#define IDS_ERROR_TIMEOUT 3
|
||||
#define IDS_ERROR_ABORT 4
|
||||
#define IDS_ERROR_LOGOFF 5
|
||||
#define IDS_ERROR_RESTART 6
|
||||
#define IDS_ERROR_SHUTDOWN 7
|
||||
#define IDS_ERROR_MAX_COMMENT_LENGTH 8
|
||||
#define IDS_ERROR_HIBERNATE 9
|
||||
#define IDS_ERROR_HIBERNATE_LOCAL 10
|
||||
#define IDS_ERROR_HIBERNATE_ENABLED 11
|
||||
#define IDS_ERROR_DIALOG_CAPTION 12
|
||||
#define IDS_ERROR_DIALOG_INIT 13
|
||||
|
||||
/* Action strings */
|
||||
#define IDS_ACTION_SHUTDOWN 14
|
||||
#define IDS_ACTION_RESTART 15
|
||||
#define IDS_ACTION_UNEXPECTED_SHUTDOWN 16
|
||||
|
||||
/* Reason strings */
|
||||
#define IDS_REASON_OTHER 17
|
||||
#define IDS_REASON_HARDWARE_MAINTENANCE 18
|
||||
#define IDS_REASON_HARDWARE_INSTALL 19
|
||||
#define IDS_REASON_OS_RECOVER 20
|
||||
#define IDS_REASON_OS_RECONFIGURE 21
|
||||
#define IDS_REASON_APP_MAINTENANCE 22
|
||||
#define IDS_REASON_APP_INSTALL 23
|
||||
#define IDS_REASON_APP_UNRESPONSIVE 24
|
||||
#define IDS_REASON_APP_UNSTABLE 25
|
||||
#define IDS_REASON_SECURITY 26
|
||||
#define IDS_REASON_NETWORK 27
|
||||
|
||||
/* Controls */
|
||||
#define IDC_OK 100
|
||||
#define IDC_CANCEL 101
|
||||
#define IDC_COMPUTER_LIST 102
|
||||
#define IDC_ADD_SYSTEM 103
|
||||
#define IDC_REMOVE_SYSTEM 104
|
||||
#define IDC_BROWSE_SYSTEM 105
|
||||
#define IDC_ACTION 106
|
||||
#define IDC_ACTION_TYPE 107
|
||||
#define IDC_WARN_USERS 108
|
||||
#define IDC_SHOW_WARN_ONE 109
|
||||
#define IDC_SHOW_WARN_TWO 110
|
||||
#define IDC_SHOW_WARN 111
|
||||
#define IDC_PLANNED 112
|
||||
#define IDC_REASON_CODE 113
|
||||
#define IDC_COMMENT_CAPTION 114
|
||||
#define IDC_COMMENT_TEXT 115
|
||||
|
||||
/* Dialogs */
|
||||
#define IDD_GUI 200
|
366
base/applications/shutdown/shutdown.c
Normal file
366
base/applications/shutdown/shutdown.c
Normal file
|
@ -0,0 +1,366 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS shutdown/logoff utility
|
||||
* FILE: base/applications/shutdown/shutdown.c
|
||||
* PURPOSE: Initiate logoff, shutdown or reboot of the system
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <tchar.h>
|
||||
#include <powrprof.h>
|
||||
|
||||
/*
|
||||
* Takes the commandline arguments, and creates a
|
||||
* struct which matches the arguments supplied.
|
||||
*/
|
||||
static DWORD
|
||||
ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
|
||||
{
|
||||
int index;
|
||||
|
||||
if (!pOpts)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
/* Reset all flags in struct */
|
||||
pOpts->abort = FALSE;
|
||||
pOpts->force = FALSE;
|
||||
pOpts->logoff = FALSE;
|
||||
pOpts->restart = FALSE;
|
||||
pOpts->shutdown = FALSE;
|
||||
pOpts->document_reason = FALSE;
|
||||
pOpts->hibernate = FALSE;
|
||||
pOpts->shutdown_delay = 30;
|
||||
pOpts->remote_system = NULL;
|
||||
pOpts->reason = ParseReasonCode(NULL); /* NOTE: NEVER use 0 here since it can delay the shutdown. */
|
||||
pOpts->message = NULL;
|
||||
pOpts->show_gui = FALSE;
|
||||
|
||||
/*
|
||||
* Determine which flags the user has specified
|
||||
* to the program so we can use them later.
|
||||
*/
|
||||
for (index = 1; index < argc; index++)
|
||||
{
|
||||
if (argv[index][0] == L'-' || argv[index][0] == L'/')
|
||||
{
|
||||
switch (towlower(argv[index][1]))
|
||||
{
|
||||
case L'?': /* Help */
|
||||
ConResPuts(StdOut, IDS_USAGE);
|
||||
return ERROR_SUCCESS;
|
||||
|
||||
case L'a': /* Cancel delayed shutdown */
|
||||
pOpts->abort = TRUE;
|
||||
break;
|
||||
|
||||
case L'c': /* Comment on reason for shutdown */
|
||||
if (index+1 > argc)
|
||||
return ERROR_INVALID_DATA;
|
||||
if(CheckCommentLength(argv[index+1]))
|
||||
{
|
||||
pOpts->message = argv[index+1];
|
||||
index++;
|
||||
}
|
||||
else
|
||||
{
|
||||
ConResPuts(StdErr, IDS_ERROR_MAX_COMMENT_LENGTH);
|
||||
return ERROR_BAD_LENGTH;
|
||||
}
|
||||
break;
|
||||
|
||||
case L'd': /* Reason code [p|u:]xx:yy */
|
||||
if (index+1 >= argc)
|
||||
return ERROR_INVALID_DATA;
|
||||
pOpts->reason = ParseReasonCode(argv[index+1]);
|
||||
index++;
|
||||
break;
|
||||
|
||||
case L'e': /* Documents reason for shutdown */
|
||||
/* TODO: Determine what this flag does exactly. */
|
||||
pOpts->document_reason = TRUE;
|
||||
break;
|
||||
|
||||
case L'f': /* Force shutdown without warning */
|
||||
pOpts->force = TRUE;
|
||||
break;
|
||||
|
||||
case L'h': /* Hibernate the local computer */
|
||||
pOpts->hibernate = TRUE;
|
||||
break;
|
||||
|
||||
case L'i': /* Shows GUI version of the tool */
|
||||
pOpts->show_gui = TRUE;
|
||||
break;
|
||||
|
||||
case L'l': /* Logoff the current user */
|
||||
pOpts->logoff = TRUE;
|
||||
break;
|
||||
|
||||
case L'm': /* Target remote systems (UNC name/IP address) */
|
||||
if (index+1 >= argc)
|
||||
return ERROR_INVALID_DATA;
|
||||
pOpts->remote_system = argv[index+1];
|
||||
index++;
|
||||
break;
|
||||
|
||||
case L'p': /* Turn off local computer with no warning/time-out */
|
||||
pOpts->force = TRUE;
|
||||
pOpts->shutdown_delay = 0;
|
||||
break;
|
||||
|
||||
case L'r': /* Restart computer */
|
||||
pOpts->restart = TRUE;
|
||||
break;
|
||||
|
||||
case L's': /* Shutdown */
|
||||
pOpts->shutdown = TRUE;
|
||||
break;
|
||||
|
||||
case L't': /* Shutdown delay */
|
||||
if (index+1 >= argc)
|
||||
return ERROR_INVALID_DATA;
|
||||
pOpts->shutdown_delay = _wtoi(argv[index+1]);
|
||||
if (pOpts->shutdown_delay > 0)
|
||||
pOpts->force = TRUE;
|
||||
index++;
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Unknown arguments will exit the program. */
|
||||
ConResPuts(StdOut, IDS_USAGE);
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
static DWORD
|
||||
EnablePrivilege(LPCWSTR lpszPrivilegeName, BOOL bEnablePrivilege)
|
||||
{
|
||||
DWORD dwRet = ERROR_SUCCESS;
|
||||
HANDLE hToken = NULL;
|
||||
|
||||
if (OpenProcessToken(GetCurrentProcess(),
|
||||
TOKEN_ADJUST_PRIVILEGES,
|
||||
&hToken))
|
||||
{
|
||||
TOKEN_PRIVILEGES tp;
|
||||
|
||||
tp.PrivilegeCount = 1;
|
||||
tp.Privileges[0].Attributes = (bEnablePrivilege ? SE_PRIVILEGE_ENABLED : 0);
|
||||
|
||||
if (LookupPrivilegeValueW(NULL,
|
||||
lpszPrivilegeName,
|
||||
&tp.Privileges[0].Luid))
|
||||
{
|
||||
if (AdjustTokenPrivileges(hToken, FALSE, &tp, 0, NULL, NULL))
|
||||
{
|
||||
if (GetLastError() == ERROR_NOT_ALL_ASSIGNED)
|
||||
dwRet = ERROR_NOT_ALL_ASSIGNED;
|
||||
}
|
||||
else
|
||||
{
|
||||
dwRet = GetLastError();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
dwRet = GetLastError();
|
||||
}
|
||||
|
||||
CloseHandle(hToken);
|
||||
}
|
||||
else
|
||||
{
|
||||
dwRet = GetLastError();
|
||||
}
|
||||
|
||||
/* Display the error description if any */
|
||||
if (dwRet != ERROR_SUCCESS) DisplayError(dwRet);
|
||||
|
||||
return dwRet;
|
||||
}
|
||||
|
||||
/* Main entry for program */
|
||||
int wmain(int argc, WCHAR *argv[])
|
||||
{
|
||||
DWORD error = ERROR_SUCCESS;
|
||||
struct CommandLineOptions opts;
|
||||
|
||||
/* Initialize the Console Standard Streams */
|
||||
ConInitStdStreams();
|
||||
|
||||
if (argc == 1) /* i.e. no commandline arguments given */
|
||||
{
|
||||
ConResPuts(StdOut, IDS_USAGE);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
error = ParseArguments(&opts, argc, argv);
|
||||
if (error != ERROR_SUCCESS)
|
||||
{
|
||||
DisplayError(error);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
/* If the user wants to abort a shutdown */
|
||||
if (opts.abort)
|
||||
{
|
||||
/* First, the program has to determine if the shutdown/restart is local
|
||||
or remote. This is done since each one requires separate privileges. */
|
||||
if (opts.remote_system == NULL)
|
||||
EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
|
||||
else
|
||||
EnablePrivilege(SE_REMOTE_SHUTDOWN_NAME, TRUE);
|
||||
|
||||
/* Abort the delayed system shutdown specified. */
|
||||
if (!AbortSystemShutdownW(opts.remote_system))
|
||||
{
|
||||
ConResPuts(StdErr, IDS_ERROR_ABORT);
|
||||
DisplayError(GetLastError());
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* If the user wants to hibernate the computer. Assume
|
||||
* that the user wants to wake the computer up from
|
||||
* hibernation and it should not force it on the system.
|
||||
*/
|
||||
if (opts.hibernate)
|
||||
{
|
||||
if (IsPwrHibernateAllowed())
|
||||
{
|
||||
EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
|
||||
|
||||
/* The shutdown utility cannot hibernate remote systems */
|
||||
if (opts.remote_system != NULL)
|
||||
{
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (!SetSuspendState(TRUE, FALSE, FALSE))
|
||||
{
|
||||
ConResPuts(StdErr, IDS_ERROR_HIBERNATE);
|
||||
DisplayError(GetLastError());
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
else
|
||||
{
|
||||
ConResPuts(StdOut, IDS_ERROR_HIBERNATE_ENABLED);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Both shutdown and restart flags cannot both be true */
|
||||
if (opts.shutdown && opts.restart)
|
||||
{
|
||||
ConResPuts(StdErr, IDS_ERROR_SHUTDOWN_REBOOT);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
/* Ensure that the timeout amount is not too high or a negative number */
|
||||
if (opts.shutdown_delay > MAX_SHUTDOWN_TIMEOUT)
|
||||
{
|
||||
ConResPrintf(StdErr, IDS_ERROR_TIMEOUT, opts.shutdown_delay);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
/* If the user wants a GUI environment */
|
||||
if (opts.show_gui)
|
||||
{
|
||||
if (ShutdownGuiMain(opts))
|
||||
return EXIT_SUCCESS;
|
||||
else
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (opts.logoff && (opts.remote_system == NULL))
|
||||
{
|
||||
/*
|
||||
* NOTE: Sometimes, shutdown and logoff are used together. If the logoff
|
||||
* flag is used by itself, then simply logoff. But if used with shutdown,
|
||||
* then skip logging off of the computer and eventually go to the action
|
||||
* for shutdown.
|
||||
*/
|
||||
if (!opts.shutdown && !opts.restart)
|
||||
{
|
||||
EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
|
||||
|
||||
if (ExitWindowsEx(EWX_LOGOFF, opts.reason))
|
||||
{
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
else
|
||||
{
|
||||
ConResPuts(StdErr, IDS_ERROR_LOGOFF);
|
||||
DisplayError(GetLastError());
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Since both shutting down the system and restarting calls the exact same
|
||||
* function, all we need to know is if we wanted to restart or shutdown.
|
||||
*/
|
||||
if (opts.shutdown || opts.restart)
|
||||
{
|
||||
/*
|
||||
* First, the program has to determine if the shutdown/restart is local
|
||||
* or remote. This is done since each one requires separate privileges.
|
||||
*/
|
||||
if (opts.remote_system == NULL)
|
||||
{
|
||||
EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* TODO: Remote shutdown is not supported yet */
|
||||
// EnablePrivilege(SE_REMOTE_SHUTDOWN_NAME, TRUE);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/* Initiate the shutdown */
|
||||
if (!InitiateSystemShutdownExW(opts.remote_system,
|
||||
opts.message,
|
||||
opts.shutdown_delay,
|
||||
opts.force,
|
||||
opts.restart,
|
||||
opts.reason))
|
||||
{
|
||||
/*
|
||||
* If there is an error, give the proper output depending
|
||||
* on whether the user wanted to shutdown or restart.
|
||||
*/
|
||||
if (opts.restart)
|
||||
ConResPuts(StdErr, IDS_ERROR_RESTART);
|
||||
else
|
||||
ConResPuts(StdErr, IDS_ERROR_SHUTDOWN);
|
||||
|
||||
DisplayError(GetLastError());
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/* EOF */
|
93
base/applications/shutdown/shutdown.rc
Normal file
93
base/applications/shutdown/shutdown.rc
Normal file
|
@ -0,0 +1,93 @@
|
|||
#include <windef.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
/* Define language neutral resources */
|
||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Shutdown Utility"
|
||||
#define REACTOS_STR_INTERNAL_NAME "shutdown"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "shutdown.exe"
|
||||
#include <reactos/version.rc>
|
||||
|
||||
#include <reactos/manifest_exe.rc>
|
||||
|
||||
/* UTF-8 */
|
||||
#pragma code_page(65001)
|
||||
|
||||
#ifdef LANGUAGE_BG_BG
|
||||
#include "lang/bg-BG.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_CS_CZ
|
||||
#include "lang/cs-CZ.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_DE_DE
|
||||
#include "lang/de-DE.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_EL_GR
|
||||
#include "lang/el-GR.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_EN_US
|
||||
#include "lang/en-US.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_ES_ES
|
||||
#include "lang/es-ES.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_FR_FR
|
||||
#include "lang/fr-FR.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_HE_IL
|
||||
#include "lang/he-IL.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_IT_IT
|
||||
#include "lang/it-IT.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_JA_JP
|
||||
#include "lang/ja-JP.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_KO_KR
|
||||
#include "lang/ko-KR.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_LT_LT
|
||||
#include "lang/lt-LT.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_NL_NL
|
||||
#include "lang/nl-NL.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_NB_NO
|
||||
#include "lang/no-NO.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_PL_PL
|
||||
#include "lang/pl-PL.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_PT_BR
|
||||
#include "lang/pt-BR.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_RO_RO
|
||||
#include "lang/ro-RO.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_RU_RU
|
||||
#include "lang/ru-RU.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_SQ_AL
|
||||
#include "lang/sq-AL.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_TR_TR
|
||||
#include "lang/tr-TR.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_UK_UA
|
||||
#include "lang/uk-UA.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_SK_SK
|
||||
#include "lang/sk-SK.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_SV_SE
|
||||
#include "lang/sv-SE.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_ZH_CN
|
||||
#include "lang/zh-CN.rc"
|
||||
#endif
|
||||
#ifdef LANGUAGE_ZH_TW
|
||||
#include "lang/zh-TW.rc"
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue