mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 13:23:51 +00:00
![He Yang](/assets/img/avatar_default.png)
Make the argument process of command utility "taskkill" behave same as what Windows does. Now options are no longer detected as parameters when placed after options that accept one. For example, `taskkill /im /f` will no longer regard `/f` as a process name. If `/?` and `/f` options appear more than once, an error will be reported, telling they are not allowed more than once. (e.g. `taskkill /f /pid 1000 /f`) If only one option `/f` is given without `/pid` or `/im`, an eerror will be reported, telling that one must specify `/pid` or `/im`. (e.g. `taskkill /f`) Additional changes: - Combine SendCloseMessages() and TerminateProcesses() functions. - Protect new written code with `#ifdef __REACTOS__`
24 lines
1.4 KiB
Plaintext
24 lines
1.4 KiB
Plaintext
/* Traditional Chinese translation by Henry Tang Ih 2016 (henrytang2@hotmail.com) */
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
|
|
STRINGTABLE
|
|
{
|
|
STRING_USAGE, "用法: taskkill [/?] [/f] [/im 處理序名稱 | /pid 處理序 ID]\n"
|
|
STRING_INVALID_OPTION, "錯誤: 未知或不正確命令列選項指定。\n"
|
|
STRING_INVALID_PARAM, "錯誤: 不正確命令列參數指定。\n"
|
|
STRING_MISSING_OPTION, "錯誤: 選項 /im 或 /pid 之一必須指定。\n"
|
|
STRING_MISSING_PARAM, "錯誤: %1 選項需要命令列參數。\n"
|
|
STRING_MUTUAL_EXCLUSIVE, "錯誤: 選項 /im 和 /pid 是互斥的。\n"
|
|
STRING_CLOSE_PID_SEARCH, "關閉消息發送到頂級視窗過程的 PID %1!u!。\n"
|
|
STRING_CLOSE_PROC_SRCH, "關閉消息發送到頂級視窗的過程 ""%1"" 與 PID %2!u!.\n"
|
|
STRING_TERM_PID_SEARCH, "過程與 PID %1!u! 被強行終止。\n"
|
|
STRING_TERM_PROC_SEARCH, " ""%1"" 過程與 PID %2!u! 被強行終止。\n"
|
|
STRING_SEARCH_FAILED, "錯誤: 找不到處理序 ""%1""。\n"
|
|
STRING_ENUM_FAILED, "錯誤: 無法枚舉處理序清單。\n"
|
|
STRING_TERMINATE_FAILED, "錯誤: 無法終止處理序 ""%1""。\n"
|
|
STRING_SELF_TERMINATION, "錯誤: 不允許自我終止的處理序。\n"
|
|
STRING_PARAM_TOO_MUCH, "Error: Invalid syntax. '%1' option is not allowed more than '%2!d!' time(s).\n"
|
|
STRING_INVALID_SYNTAX, "Error: Invalid syntax.\n"
|
|
}
|