https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3b00f98b94165420198f2…
commit 3b00f98b94165420198f2447b14cc98fa3a5f2c0
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Tue Aug 16 20:27:27 2022 +0200
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Tue Aug 16 20:27:27 2022 +0200
[NTOS:SE] Fix new dynamic length calculation in TokenPrimaryGroup case
Not only primary group assignation was broken but new dynamic length calculation is also broken. The length of the captured SID is not taken into account so the new dynamic length gets only the size of the default ACL present in an access token.
Therefore, the condition is always FALSE and the code never jumps to the STATUS_ALLOTTED_SPACE_EXCEEDED branch because the length will always be small than the charged dynamic length.
Addendum to 86bde3c.
---
ntoskrnl/se/tokencls.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/se/tokencls.c b/ntoskrnl/se/tokencls.c
index 34127c477f2..6c40a72ccd1 100644
--- a/ntoskrnl/se/tokencls.c
+++ b/ntoskrnl/se/tokencls.c
@@ -1259,8 +1259,8 @@ NtSetInformationToken(
* to do so. Exceeding this boundary and we're
* busted out.
*/
- NewDynamicLength = RtlLengthSid(CapturedSid) +
- Token->DefaultDacl ? Token->DefaultDacl->AclSize : 0;
+ AclSize = Token->DefaultDacl ? Token->DefaultDacl->AclSize : 0;
+ NewDynamicLength = RtlLengthSid(CapturedSid) + AclSize;
if (NewDynamicLength > Token->DynamicCharged)
{
SepReleaseTokenLock(Token);
@@ -1317,7 +1317,6 @@ NtSetInformationToken(
* has a default DACL then add up its size with
* the address of the dynamic part.
*/
- AclSize = Token->DefaultDacl ? Token->DefaultDacl->AclSize : 0;
PrimaryGroup = (ULONG_PTR)(Token->DynamicPart) + AclSize;
RtlCopySid(RtlLengthSid(Token->UserAndGroups[PrimaryGroupIndex].Sid),
(PVOID)PrimaryGroup,
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=86bde3c76a1c6695e6396…
commit 86bde3c76a1c6695e63961d16dfff85872a32bfd
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Mon Aug 15 22:03:51 2022 +0200
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Tue Aug 16 13:05:44 2022 +0200
[NTOS:SE] Fix the primary group assignation in TokenPrimaryGroup class case
With current master, what happens is that when someone wants to assign a new primary group SID for an access token, it results in an instant page fault because the primary group variable doesn't get assigned the dynamic part's address.
So the primary group variable gets an address which is basically a representation of the ACL size, hence the said address is bogus and it's where the page fault kicks in.
CORE-18249
---
ntoskrnl/se/tokencls.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/se/tokencls.c b/ntoskrnl/se/tokencls.c
index 4810996114e..34127c477f2 100644
--- a/ntoskrnl/se/tokencls.c
+++ b/ntoskrnl/se/tokencls.c
@@ -1227,6 +1227,7 @@ NtSetInformationToken(
if (TokenInformationLength >= sizeof(TOKEN_PRIMARY_GROUP))
{
PTOKEN_PRIMARY_GROUP tpg = (PTOKEN_PRIMARY_GROUP)TokenInformation;
+ ULONG AclSize;
ULONG_PTR PrimaryGroup;
PSID InputSid = NULL, CapturedSid;
ULONG PrimaryGroupIndex, NewDynamicLength;
@@ -1309,9 +1310,15 @@ NtSetInformationToken(
/* Take away available space from the dynamic area */
Token->DynamicAvailable -= RtlLengthSid(Token->UserAndGroups[PrimaryGroupIndex].Sid);
- /* And assign the primary group */
- PrimaryGroup = (ULONG_PTR)(Token->DynamicPart) + Token->DefaultDacl ?
- Token->DefaultDacl->AclSize : 0;
+ /*
+ * And assign the new primary group. For that
+ * we have to make sure where the primary group
+ * is going to stay in memory, so if this token
+ * has a default DACL then add up its size with
+ * the address of the dynamic part.
+ */
+ AclSize = Token->DefaultDacl ? Token->DefaultDacl->AclSize : 0;
+ PrimaryGroup = (ULONG_PTR)(Token->DynamicPart) + AclSize;
RtlCopySid(RtlLengthSid(Token->UserAndGroups[PrimaryGroupIndex].Sid),
(PVOID)PrimaryGroup,
Token->UserAndGroups[PrimaryGroupIndex].Sid);
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ac87259fa2ba82b313da2…
commit ac87259fa2ba82b313da287457daff632fe6236b
Author: Chan Chilung <eason066(a)gmail.com>
AuthorDate: Tue Aug 16 10:00:11 2022 +0000
Commit: GitHub <noreply(a)github.com>
CommitDate: Tue Aug 16 13:00:11 2022 +0300
[TRANSLATION] Update Traditional Chinese (zh-TW) translation - Jun 2022 (#4570)
- [REG] Update zh-TW translation
- [DISKPART] Update zh-TW translation
- [HHCTRL.OCX] Update zh-TW translation
---
base/applications/cmdutils/reg/lang/zh-TW.rc | 194 ++++----
base/system/diskpart/diskpart_msg.mc | 682 ++++++++++++---------------
base/system/diskpart/lang/zh-TW.rc | 214 +++++----
dll/win32/hhctrl.ocx/lang/Zh.rc | 7 +-
4 files changed, 522 insertions(+), 575 deletions(-)
diff --git a/base/applications/cmdutils/reg/lang/zh-TW.rc b/base/applications/cmdutils/reg/lang/zh-TW.rc
index bf1f3f8d9fa..e87d531b613 100644
--- a/base/applications/cmdutils/reg/lang/zh-TW.rc
+++ b/base/applications/cmdutils/reg/lang/zh-TW.rc
@@ -3,7 +3,7 @@
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: Chinese (Traditional) resource file
* TRANSLATORS: Copyright 2016 Henry Tang Ih <henrytang2(a)hotmail.com>
- * Copyright 2021 Chan Chilung <eason066(a)gmail.com>
+ * Copyright 2021-2022 Chan Chilung <eason066(a)gmail.com>
* REFERENCES: Wine's Chinese (Traditional) resource translation
*/
@@ -11,99 +11,99 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE
{
- STRING_USAGE, "Usage:\n\
- REG [operation] [parameters]\n\n\
-Supported operations:\n\
+ STRING_USAGE, "用法:\n\
+ REG [操作] [參數]\n\n\
+支援的操作:\n\
ADD | COPY | DELETE | EXPORT | IMPORT | QUERY\n\n\
-For help on a specific operation, type:\n\
- REG [operation] /?\n\n"
+要取得指定操作的說明,請輸入:\n\
+ REG [操作] /?\n\n"
- STRING_ADD_USAGE, "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n\n\
- Adds a key to the registry or adds a new value to a given registry key.\n\n\
- <key>\n\
- The registry key to add or, if either [/v] or [/ve] is specified,\n\
- the key in which to add the new registry data.\n\n\
- Format: ROOT\\Subkey\n\n\
- ROOT: A predefined registry key. This must be one of the following:\n\n\
+ STRING_ADD_USAGE, "REG ADD <機碼> [/v 值名稱 | /ve] [/t 類型] [/s 分隔符號] [/d 資料] [/f]\n\n\
+ 新增一個機碼到登錄,或新增值到給定的登錄機碼。\n\n\
+ <機碼>\n\
+ 要新增的機碼,如果指定了 [/v] 或 [/ve],\n\
+ 則會在該機碼新增登錄資料。\n\n\
+ 格式: ROOT\\Subkey\n\n\
+ ROOT: 預先定義的登錄機碼。這必須是下列的其中一個:\n\n\
HKEY_LOCAL_MACHINE | HKLM\n\
HKEY_CURRENT_USER | HKCU\n\
HKEY_CLASSES_ROOT | HKCR\n\
HKEY_USERS | HKU\n\
HKEY_CURRENT_CONFIG | HKCC\n\n\
- Subkey: The full path to a registry key under a given ROOT key.\n\n\
- /v <value_name>\n\
- The name of the registry value to add.\n\n\
+ Subkey: 在所選取 ROOT 機碼下的登錄機碼的完整路徑。\n\n\
+ /v <值名稱>\n\
+ 要新增的登錄值的名稱。\n\n\
/ve\n\
- Add an unnamed registry value. This option modifies the (Default)\n\
- registry value.\n\n\
- /t <type>\n\
- The type of data to add to the registry. If [/t] is specified,\n\
- <type> must be one of the following:\n\n\
+ 新增未命名的登錄值。這個選項會修改 (預設) 的\n\
+ 登錄值。\n\n\
+ /t <類型>\n\
+ 要新增到登錄的資料類型。如果指定了 [/t],\n\
+ <類型> 必須是下列的其中一個:\n\n\
REG_SZ | REG_MULTI_SZ | REG_EXPAND_SZ\n\
REG_DWORD | REG_BINARY | REG_NONE\n\n\
- If [/t] is not specified, the default data type is REG_SZ.\n\n\
- /s <separator>\n\
- The character used to separate strings in REG_MULTI_SZ data.\n\
- If [/s] is not specified, the default separator is \\0.\n\n\
- /d <data>\n\
- The data to add to the new registry value.\n\n\
+ 如果未指定 [/t],資料類型將預設為 REG_SZ。\n\n\
+ /s <分隔符號>\n\
+ 指定一個用於分隔 REG_MULTI_SZ 資料字串的字元。\n\
+ 如果未指定 [/s],分隔符號會預設為 \\0。\n\n\
+ /d <資料>\n\
+ 要新增給新的登錄值的資料。\n\n\
/f\n\
- Modify the registry without prompting for confirmation.\n\n"
+ 修改登錄項目而不需確認提示。\n\n"
- STRING_DELETE_USAGE, "REG DELETE <key> [/v value_name | /ve | /va] [/f]\n\n\
- Deletes a registry key (including all subkeys and values), or deletes\n\
- one or more values from a given registry key.\n\n\
- <key>\n\
- The registry key to delete or, if one of [/v], [/ve] or [/va] is\n\
- specified, the registry key in which to delete one or more values.\n\n\
- Format: ROOT\\Subkey\n\n\
- ROOT: A predefined registry key. This must be one of the following:\n\n\
+ STRING_DELETE_USAGE, "REG DELETE <金> [/v 值名稱 | /ve | /va] [/f]\n\n\
+ 刪除一個登錄機碼 (所有子機碼和值),\n\
+ 或從給定的登錄機碼刪除一個或多個值。\n\n\
+ <機碼>\n\
+ 要刪除的登錄機碼。如果指定了 [/v]、[/ve] 或 [/va],\n\
+ 則可刪除登錄機碼內的一個或多個值。\n\n\
+ 格式: ROOT\\Subkey\n\n\
+ ROOT: 預先定義的登錄機碼。這必須是下列的其中一個:\n\n\
HKEY_LOCAL_MACHINE | HKLM\n\
HKEY_CURRENT_USER | HKCU\n\
HKEY_CLASSES_ROOT | HKCR\n\
HKEY_USERS | HKU\n\
HKEY_CURRENT_CONFIG | HKCC\n\n\
- Subkey: The full path to a registry key under a given ROOT key.\n\n\
- /v <value_name>\n\
- The name of the registry value to delete.\n\n\
+ Subkey: 在所選取 ROOT 機碼下的登錄機碼的完整路徑。\n\n\
+ /v <值名稱>\n\
+ 要刪除的登錄值的名稱。\n\n\
/ve\n\
- Delete an unnamed registry value. This option deletes the (Default)\n\
- registry value.\n\n\
+ 刪除未命名的登錄值。這個選項會刪除 (預設) 的\n\
+ 登錄值。\n\n\
/va\n\
- Delete all values from a registry key.\n\n\
+ 刪除登錄機碼的所有值。\n\n\
/f\n\
- Delete a registry key (including all subkeys and values) without\n\
- prompting for confirmation.\n\n"
+ 刪除一個登錄機碼 (包括所有子機碼和值)\n\
+ 而不需確認提示。\n\n"
- STRING_QUERY_USAGE, "REG QUERY <key> [/v value_name | /ve] [/s]\n\n\
- Queries a specified registry key and lists all immediate subkeys, values\n\
- and data within that key. Use [/s] to recursively query each subkey.\n\n\
- <key>\n\
- The registry key to query.\n\n\
- Format: ROOT\\Subkey\n\n\
- ROOT: A predefined registry key. This must be one of the following:\n\n\
+ STRING_QUERY_USAGE, "REG QUERY <機碼> [/v 值名稱 | /ve] [/s]\n\n\
+ 查詢指定的登錄機碼,並列出該機碼中的所有即時子機碼、值和資料。\n\
+ 使用 [/s] 來遞迴查詢每個子機碼。\n\n\
+ <機碼>\n\
+ 要查詢的登錄機碼。\n\n\
+ 格式: ROOT\\Subkey\n\n\
+ ROOT: 預先定義的登錄機碼。這必須是下列的其中一個:\n\n\
HKEY_LOCAL_MACHINE | HKLM\n\
HKEY_CURRENT_USER | HKCU\n\
HKEY_CLASSES_ROOT | HKCR\n\
HKEY_USERS | HKU\n\
HKEY_CURRENT_CONFIG | HKCC\n\n\
- Subkey: The full path to a registry key under a given ROOT key.\n\n\
- /v <value_name>\n\
- The name of the registry value to query. If neither [/v] nor [/ve] is\n\
- specified, all values under <key> are listed.\n\n\
+ Subkey: 在所選取 ROOT 機碼下的登錄機碼的完整路徑。\n\n\
+ /v <值名稱>\n\
+ 要查詢的登錄值的名稱。如果未指定 [/v] 或 [/ve],\n\
+ 則會列出 <機碼> 下所有的值。\n\n\
/ve\n\
- Query an unnamed registry value. This option queries the (Default)\n\
- registry value.\n\n\
+ 查詢未命名的登錄值。這個選項會查詢 (預設) 的\n\
+ 登錄值。\n\n\
/s\n\
- List all registry entries under <key> and its subkeys.\n\n"
+ 列出 <機碼> 及其子機碼的所有登錄項目。\n\n"
- STRING_SUCCESS, "操作成功完成\n"
+ STRING_SUCCESS, "reg: 操作成功完成\n"
STRING_INVALID_KEY, "reg: 無效的登錄機碼名稱\n"
STRING_INVALID_CMDLINE, "reg: 無效的命令列參數\n"
STRING_NO_REMOTE, "reg: 無法存取遠端機器\n"
STRING_VALUE_NONEXIST, "reg: 系統找不到指定的登錄機碼或登錄值\n"
STRING_UNSUPPORTED_TYPE, "reg: 不支援的類型\n"
- STRING_MISSING_NUMBER, "reg: The option [/d] must be followed by a valid numeric value\n"
+ STRING_MISSING_NUMBER, "reg: 選項 [/d] 後必須接著一個有效的數字值\n"
STRING_MISSING_HEXDATA, "reg: 選項 [/d] 後必須接著一個有效的十六進制值\n"
STRING_UNHANDLED_TYPE, "reg: 未處理的登錄資料類型 [/t 0x%1!x!, /d %2]\n"
STRING_OVERWRITE_VALUE, "登錄值 '%1' 已經存在。您要覆寫它嗎?"
@@ -112,7 +112,7 @@ For help on a specific operation, type:\n\
STRING_ALL, "#msgctxt#All key#A"
STRING_YESNO, " (Yes|No)"
STRING_YESNOALL, " (Yes|No|All)"
- STRING_CANCELLED, "註冊表操作已經取消\n"
+ STRING_CANCELLED, "reg: 登錄操作已經取消\n"
STRING_DEFAULT_VALUE, "(預設)"
STRING_DELETE_VALUE, "您確定要刪除登錄值 '%1' 嗎?"
STRING_DELETE_VALUEALL, "您確定要刪除 '%1' 下的所有登錄值嗎?"
@@ -126,65 +126,65 @@ For help on a specific operation, type:\n\
STRING_FUNC_HELP, "輸入 'REG %1 /?' 以取得說明。\n"
STRING_VALUE_NOT_SET, "(沒有設定值)"
- STRING_IMPORT_USAGE, "REG IMPORT <file>\n\n\
- Imports keys, values and data from a given file into the registry.\n\n\
- <file>\n\
- The name and path of the registry file to import.\n\n"
+ STRING_IMPORT_USAGE, "REG IMPORT <檔案>\n\n\
+ 從給定的檔案匯入機碼、值和資料到登錄。\n\n\
+ <檔案>\n\
+ 要匯入的登錄檔案的名稱和路徑。\n\n"
STRING_FILE_NOT_FOUND, "reg: 無法找到檔案 '%1'。\n"
STRING_ESCAPE_SEQUENCE, "reg: 無法辨識的逸出序列 [\\%1!c!]\n"
- STRING_EXPORT_USAGE, "REG EXPORT <key> <file> [/y]\n\n\
- Exports a specified registry key (including all subkeys and values)\n\
- to a file.\n\n\
- <key>\n\
- The registry key to export.\n\n\
- Format: ROOT\\Subkey\n\n\
- ROOT: A predefined registry key. This must be one of the following:\n\n\
+ STRING_EXPORT_USAGE, "REG EXPORT <機碼> <檔案> [/y]\n\n\
+ 將指定的登錄機碼 (包括所有子機碼和值)\n\
+ 匯出到一個檔案。\n\n\
+ <機碼>\n\
+ 要匯出的登錄機碼。\n\n\
+ 格式: ROOT\\Subkey\n\n\
+ ROOT: 預先定義的登錄機碼。這必須是下列的其中一個:\n\n\
HKEY_LOCAL_MACHINE | HKLM\n\
HKEY_CURRENT_USER | HKCU\n\
HKEY_CLASSES_ROOT | HKCR\n\
HKEY_USERS | HKU\n\
HKEY_CURRENT_CONFIG | HKCC\n\n\
- Subkey: The full path to a registry key under a given ROOT key.\n\n\
- <file>\n\
- The name and path of the registry file that will be created.\n\
- This file must have a .reg extension.\n\n\
+ Subkey: 在所選取 ROOT 機碼下的登錄機碼的完整路徑。\n\n\
+ <檔案>\n\
+ 要建立的登錄檔案的名稱和路徑。\n\
+ 檔案必須是 .reg 的副檔名。\n\n\
/y\n\
- Overwrite <file> without prompting for confirmation.\n\n"
+ 覆寫 <檔案> 而不需確認提示。\n\n"
STRING_INVALID_SYSTEM_KEY, "reg: 無效的系統金鑰 [%1]\n"
STRING_OVERWRITE_FILE, "檔案 '%1' 已經存在。您要覆寫它嗎?"
- STRING_KEY_NONEXIST, "reg: Unable to find the specified registry key\n"
- STRING_KEY_IMPORT_FAILED, "reg: Unable to import the registry key '%1'\n"
+ STRING_KEY_NONEXIST, "reg: 找不到指定的登錄值\n"
+ STRING_KEY_IMPORT_FAILED, "reg: 無法匯入登錄機碼 '%1'\n"
STRING_REG_VIEW_USAGE, " /reg:32\n\
- Access the registry using the 32-bit view.\n\n\
+ 使用 32 位元登錄檢視來存取機碼。\n\n\
/reg:64\n\
- Access the registry using the 64-bit view.\n\n"
- STRING_ACCESS_DENIED, "reg: Unable to access or create the specified registry key\n"
+ 使用 64 位元登錄檢視來存取機碼。\n\n"
+ STRING_ACCESS_DENIED, "reg: 無法存取或建立指定的登錄機碼\n"
- STRING_COPY_USAGE, "REG COPY <key1> <key2> [/s] [/f]\n\n\
- Copies the contents of a specified registry key to another location.\n\
- By default, this operation only copies registry values. Use [/s] to\n\
- recursively copy all subkeys and values.\n\n\
- <key1>, <key2>\n\
- Registry keys specifying the source (<key1>) and destination (<key2>)\n\
- of the data. If <key2> does not exist, it is created.\n\n\
- Format: ROOT\\Subkey\n\n\
- ROOT: A predefined registry key. This must be one of the following:\n\n\
+ STRING_COPY_USAGE, "REG COPY <機碼1> <機碼2> [/s] [/f]\n\n\
+ 複製指定登錄機碼的內容到另一個位置。\n\
+ 預設情況下,這個操作只會複製登錄值。\n\
+ 使用 [/s] 來遞迴複製所有子機碼和值。\n\n\
+ <機碼1>,<機碼2>\n\
+ 指定登錄機碼的來源 (<機碼1>) 和目標 (<機碼2>) 資料。\n\
+ 如果 <機碼2> 不存在,系統將會建立它。\n\n\
+ 格式: ROOT\\Subkey\n\n\
+ ROOT: 預先定義的登錄機碼。這必須是下列的其中一個:\n\n\
HKEY_LOCAL_MACHINE | HKLM\n\
HKEY_CURRENT_USER | HKCU\n\
HKEY_CLASSES_ROOT | HKCR\n\
HKEY_USERS | HKU\n\
HKEY_CURRENT_CONFIG | HKCC\n\n\
- Subkey: The full path to a registry key under a given ROOT key.\n\n\
+ Subkey: 在所選取 ROOT 機碼下的登錄機碼的完整路徑。\n\n\
/s\n\
- Copy all subkeys and values from <key1> to <key2>.\n\n\
+ 從 <機碼1> 複製所有子機碼和值到 <機碼2>。\n\n\
/f\n\
- Overwrite all registry data in <key2> without prompting for confirmation.\n\
- This option does not modify subkeys and values that only exist in <key2>.\n\n"
+ 覆寫 <機碼2> 內所有的登錄資料而不需確認提示。\n\
+ 這個選項不會修改只在 <機碼2> 存在的子機碼和值。\n\n"
- STRING_COPY_SRC_DEST_SAME, "reg: The source and destination keys cannot be the same\n"
- STRING_COPY_CONFIRM, "The value '%1\\%2' already exists in the destination key. Do you want to overwrite it?"
+ STRING_COPY_SRC_DEST_SAME, "reg: 來源和目標機碼不可以相同\n"
+ STRING_COPY_CONFIRM, "目標機碼內的值 '%1\\%2' 已經存在。您要覆寫它嗎?"
}
diff --git a/base/system/diskpart/diskpart_msg.mc b/base/system/diskpart/diskpart_msg.mc
index 45282e2de7d..7c3dabd3761 100644
--- a/base/system/diskpart/diskpart_msg.mc
+++ b/base/system/diskpart/diskpart_msg.mc
@@ -245,26 +245,24 @@ Example:
ACTIVE
.
Language=Taiwanese
- On disks with master boot record (MBR) disk formatting, marks
- the partition with focus as active.
+ 在具有主開機記錄 (MBR) 磁碟格式的磁碟上,
+ 將已選擇的磁碟分割標示為使用中。
-Syntax: ACTIVE
+語法: ACTIVE
- Writes a value to the disk which is read by the basic input/output
- system (BIOS) at boot. This value specifies that the partition is
- a valid system partition.
+ 寫入值到磁碟,而該磁碟會在開機時由基本輸入/輸出系統 (BIOS) 讀取。
+ 這個值會指定磁碟分割為有效的系統磁碟分割。
- A partition must be selected for this operation to succeed.
+ 您必須先選擇磁碟分割,才能完成這個操作。
- Caution:
+ 注意:
- DiskPart verifies only that the partition is capable of containing the
- operating system startup files. DiskPart does not check the contents of
- the partition. If you mistakenly mark a partition as active and it does
- not contain the operating system startup files, your computer might not
- start.
+ DiskPart 只會檢查該磁碟分割是否可以包含作業系統的啟動檔案。
+ DiskPart 不會檢查該磁碟分割的內容。
+ 如果您錯誤地將未包含作業系統的啟動檔案的磁碟分割標示為使用中,
+ 您的電腦可能會無法啟動。
-Example:
+範例:
ACTIVE
.
@@ -683,23 +681,21 @@ Example:
CLEAN
.
Language=Taiwanese
- Removes any and all partition or volume formatting from the disk with
- focus.
+ 從已選擇的磁碟上移除所有磁碟分割或磁碟區格式。
-Syntax: CLEAN [ALL]
+語法: CLEAN [ALL]
- ALL Specifies that each and every byte\sector on the disk is set to
- zero, which completely deletes all data contained on the disk.
+ ALL 指定將磁碟上每個位元組/磁區設定為零,
+ 即完全刪除磁碟上包含的所有資料。
- On master boot record (MBR) disks, only the MBR partitioning information
- and hidden sector information are overwritten. On GUID partition table
- (GPT) disks, the GPT partitioning information, including the Protective
- MBR, is overwritten. If the ALL parameter is not used, the first 1MB
- and the last 1MB of the disk are zeroed. This erases any disk formatting
- that had been previously applied to the disk. The disk's state after
- cleaning the disk is 'UNINITIALIZED'.
+ 在主開機記錄 (MBR) 磁碟上,只會覆寫 MBR 磁碟分割資訊和隱藏的磁區資訊。
+ 在 GUID 磁碟分割表格 (GPT) 磁碟上,會覆寫 GPT 磁碟分割資訊,
+ 包括保護性 MBR。
+ 如果沒有使用 ALL 參數,會將磁碟的最前 1MB 和最後 1MB 設定為零。
+ 這會清除先前套用到該磁碟的任何磁碟格式。
+ 清除磁碟以後,磁碟狀態會變為 '未初始化'。
-Example:
+範例:
CLEAN
.
@@ -1158,39 +1154,34 @@ Example:
CREATE PARTITION EXTENDED SIZE=1000
.
Language=Taiwanese
- Creates an extended partition on the disk with focus.
- Applies to master boot record (MBR) disks only.
+ 在已選擇的磁碟上建立一個延伸磁碟分割。
+ 只適用於主開機記錄 (MBR) 磁碟。
-Syntax: CREATE PARTITION EXTENDED [SIZE=<N>] [OFFSET=<N>] [ALIGN=<N>] [NOERR]
+語法: CREATE PARTITION EXTENDED [SIZE=<N>] [OFFSET=<N>] [ALIGN=<N>] [NOERR]
- SIZE=<N> The size of the partition in megabytes (MB). If no size is
- given, the partition continues until there is no more free
- space in the extended partition.
+ SIZE=<N> 磁碟分割大小 (單位為 MB)。如果沒有提供大小,
+ 磁碟分割會繼續,直至目前區域沒有任何可用空間。
- OFFSET=<N> The offset, in kilobytes (KB), at which the partition is
- created. If no offset is given, the partition will start
- at the beginning of the first free space on the disk that
- is large enough to hold the new partition.
+ OFFSET=<N> 建立磁碟分割所在的位移 (單位為 KB)。如果沒有指定位移,
+ 磁碟分割會從磁碟上可容納新磁碟分割的
+ 第一個可用空間的開頭開始。
- ALIGN=<N> Typically used with hardware RAID Logical Unit Number (LUN)
- arrays to improve performance. The partition offset will be
- a multiple of <N>. If the OFFSET parameter is specified, it
- will be rounded to the closest multiple of <N>.
+ ALIGN=<N> 通常與硬體 RAID 邏輯單元編號 (LUN) 陣列搭配使用以增進效能。
+ 延伸位移將會是 <N> 的倍數。如果指定了 OFFSET 參數,
+ 它會取至最接近的 <N> 的倍數。
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- After the partition has been created, the focus automatically shifts to the
- new partition. Only one extended partition can be created per disk. This
- command fails if you attempt to create an extended partition within another
- extended partition. You must create an extended partition before you can
- create logical partitions.
+ 在磁碟分割建立完成後,焦點將自動給予新磁碟分割。
+ 每個磁碟只能建立一個延伸磁碟分割。如果您嘗試在一個延伸磁碟分割中
+ 建立另一個延伸磁碟分割,命令將會執行失敗。
+ 您必須先建立一個延伸磁碟分割,然後才能建立邏輯磁碟分割。
- A basic MBR disk must be selected for this operation to succeed.
+ 您必須先選擇基本 MBR 磁碟,才能完成這個操作。
-Example:
+範例:
CREATE PARTITION EXTENDED SIZE=1000
.
@@ -1529,38 +1520,33 @@ Example:
CREATE PARTITION LOGICAL SIZE=1000
.
Language=Taiwanese
- Creates a logical partition in an extended partition.
- Applies to master boot record (MBR) disks only.
+ 在延伸磁碟分割內建立一個邏輯磁碟分割。
+ 只適用於主開機記錄 (MBR) 磁碟。
-Syntax: CREATE PARTITION LOGICAL [SIZE=<N>] [OFFSET=<N>] [ALIGN=<N>] [NOERR]
+語法: CREATE PARTITION LOGICAL [SIZE=<N>] [OFFSET=<N>] [ALIGN=<N>] [NOERR]
- SIZE=<N> The size of the partition in megabytes (MB). The partition is
- at least as big in bytes as the number specified by N. If you
- specify a size for the logical partition, it must be smaller
- than the extended partition. If no size is given, the partition
- continues until there is no more free space in the extended
- partition.
+ SIZE=<N> 磁碟分割大小 (單位為 MB)。磁碟分割的大小至少為 N 所指定的
+ 大小 (位元組)。如果您指定邏輯磁碟分割的大小,它必須小於
+ 延伸磁碟分割。如果沒有提供大小,磁碟分割會繼續,
+ 直至延伸磁碟分割沒有任何可用空間。
- OFFSET=<N> The offset, in kilobytes (KB), at which the partition is created.
- If no offset is given, the partition is placed in the first disk
- extent that is large enough to hold it.
+ OFFSET=<N> 建立磁碟分割所在的位移 (單位為 KB)。如果沒有指定位移,
+ 磁碟分割會從磁碟上可容納新磁碟分割的
+ 第一個可用空間的開頭開始。
- ALIGN=<N> Typically used with hardware RAID Logical Unit Number (LUN)
- arrays to improve performance. The partition offset will be
- a multiple of <N>. If the OFFSET parameter is specified, it
- will be rounded to the closest multiple of <N>.
+ ALIGN=<N> 通常與硬體 RAID 邏輯單元編號 (LUN) 陣列搭配使用以增進效能。
+ 延伸位移將會是 <N> 的倍數。如果指定了 OFFSET 參數,
+ 它會取至最接近的 <N> 的倍數。
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- After the partition has been created, the focus automatically shifts to the
- new logical partition.
+ 在磁碟分割建立完成後,焦點將自動給予新的邏輯磁碟分割。
- A basic MBR disk must be selected for this operation to succeed.
+ 您必須先選擇基本 MBR 磁碟,才能完成這個操作。
-Example:
+範例:
CREATE PARTITION LOGICAL SIZE=1000
.
@@ -2570,105 +2556,98 @@ Example:
CREATE PARTITION PRIMARY SIZE=10000 ID=DE
.
Language=Taiwanese
- Creates a primary partition on the basic disk with focus.
+ 在已選擇的基本磁碟上建立主要磁碟分割。
-Syntax: CREATE PARTITION PRIMARY [SIZE=<N>] [OFFSET=<N>] [ID={<BYTE> | <GUID>}]
+語法: CREATE PARTITION PRIMARY [SIZE=<N>] [OFFSET=<N>] [ID={<BYTE> | <GUID>}]
[ALIGN=<N>] [NOERR]
- SIZE=<N> The size of the partition in megabytes (MB). If no size is
- given, the partition continues until there is no more
- unallocated space in the current region.
+ SIZE=<N> 磁碟分割大小 (單位為 MB)。如果沒有提供大小,磁碟分割會繼續,
+ 直至目前區域沒有任何可用空間。
- OFFSET=<N> The offset, in kilobytes (KB), at which the partition is created.
- If no offset is given, the partition is placed in the first disk
- extent that is large enough to hold it.
+ OFFSET=<N> 建立磁碟分割所在的位移 (單位為 KB)。如果沒有指定位移,
+ 磁碟分割會從磁碟上可容納新磁碟分割的
+ 第一個可用空間的開頭開始。
ID={<BYTE> | <GUID>}
- Specifies the partition type.
+ 指定磁碟分割類型。
- Intended for Original Equipment Manufacturer (OEM) use only.
+ 只供原始設備製造商 (OEM) 使用。
- For master boot record (MBR) disks, you can specify a partition
- type byte, in hexadecimal form, for the partition. If this
- parameter is not specified for an MBR disk, the command creates
- a partition of type 0x06 (specifies no file system is installed).
+ 對於主開機記錄 (MBR) 磁碟,您可以使用十六進位格式來指定該
+ 磁碟分割的磁碟分割類型位元組。如果沒有為 MBR 磁碟指定
+ 這個參數,這個命令會建立類型為 06 的磁碟分割。
+ (指定沒有安裝檔案系統)。
- LDM data partition:
+ LDM 資料磁碟分割:
0x42
- Recovery partition:
+ 修復磁碟分割:
0x27
- Recognized OEM Ids:
+ 可識別的 OEM 識別碼:
0x12
0x84
0xDE
0xFE
0xA0
- For GUID partition table (GPT) disks you can specify a
- partition type GUID for the partition you want to create.
- Recognized GUIDs include:
+ 對於 GUID 磁碟分割表格 (GPT) 磁碟,您可以為想要建立的
+ 磁碟分割指定磁碟分割類型 GUID。
+ 可識別的 GUID 包括:
- EFI System partition:
+ EFI 系統磁碟分割:
c12a7328-f81f-11d2-ba4b-00a0c93ec93b
- Microsoft Reserved partition:
+ Microsoft 保留磁碟分割:
e3c9e316-0b5c-4db8-817d-f92df00215ae
- Basic data partition:
+ 基本資料磁碟分割:
ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
- LDM Metadata partition on a dynamic disk:
+ 動態磁碟上的 LDM 中繼資料磁碟分割:
5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
- LDM Data partition on a dynamic disk:
+ 動態磁碟上的 LDM 資料磁碟分割:
af9b60a0-1431-4f62-bc68-3311714a69ad
- Recovery partition:
+ 修復磁碟分割:
de94bba4-06d1-4d40-a16a-bfd50179d6ac
- If this parameter is not specified for a GPT disk, the command
- creates a basic data partition.
+ 如果沒有為 GPT 磁碟指定這個參數,
+ 這個命令會建立基本資料磁碟分割。
- Any partition type byte or GUID can be specified with this
- parameter. DiskPart does not check the partition type for
- validity except to ensure that it is a byte in hexadecimal form
- or a GUID.
+ 您可以使用這個參數指定任何磁碟分割類型位元組或 GUID。
+ DiskPart 不會檢查磁碟分割類型的有效性,但會確保
+ 磁碟分割類型是否為以十六進位格式或 GUID 表示的位元組。
- Caution:
+ 注意:
- Creating partitions with this parameter might cause your
- computer to fail or be unable to start up. Unless you are
- an OEM or an IT professional experienced with GPT disks, do
- not create partitions on GPT disks using this parameter.
- Instead, always use the CREATE PARTITION EFI command to
- create EFI System partitions, the CREATE PARTITION MSR
- command to create Microsoft Reserved partitions, and the
- CREATE PARTITION PRIMARY command without this parameter to
- create primary partitions on GPT disks.
+ 使用這個參數建立磁碟分割,可能會造成您的電腦失敗或
+ 無法啟動。除非您是熟悉 GPT 磁碟的 OEM 或 IT 專業人員,
+ 否則請勿在 GPT 磁碟上建立磁碟分割時使用這個參數。
+ 相反地,您應該使用 CREATE PARTITION EFI 命令來建立
+ EFI 系統磁碟分割、使用 CREATE PARTITION MSR 命令來建立
+ Microsoft 保留磁碟分割,及使用 CREATE PARTITION PRIMARY
+ 命令 (而不使用此參數) 在 GPT 磁碟上建立主要磁碟分割。
- ALIGN=<N> Typically used with hardware RAID Logical Unit Number (LUN)
- arrays to improve performance. The partition offset will be
- a multiple of <N>. If the OFFSET parameter is specified, it
- will be rounded to the closest multiple of <N>.
+ ALIGN=<N> 通常與硬體 RAID 邏輯單元編號 (LUN) 陣列搭配使用以增進效能。
+ 延伸位移將會是 <N> 的倍數。如果指定了 OFFSET 參數,
+ 它會取至最接近的 <N> 的倍數。
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- After you create the partition, the focus automatically shifts to the new
- partition. The partition does not receive a drive letter. You must use the
- assign command to assign a drive letter to the partition.
+ 在磁碟分割建立完成後,焦點將自動給予新的磁碟分割。該磁碟分割尚未指定
+ 磁碟機代號。您必須使用 ASSIGN 命令來分配磁碟機代號到該磁碟分割。
- A basic disk must be selected for this operation to succeed.
+ 您必須先選擇基本磁碟,才能完成這個操作。
- If a partition type is not specified, the disk is uninitialized and disk
- size is greater than 2TB, it will be initialized to GPT.
+ 如果未有指定磁碟分割類型,而磁碟尚未初始化且磁碟大小大於 2TB,
+ 磁碟將會初始化為 GPT 磁碟。
-Example:
+範例:
CREATE PARTITION PRIMARY SIZE=1000
CREATE PARTITION PRIMARY SIZE=128 ID=c12a7328-f81f-11d2-ba4b-00a0c93ec93b
@@ -2954,28 +2933,25 @@ Example:
DELETE PARTITION
.
Language=Taiwanese
-Deletes the partition with focus.
+刪除已選擇的磁碟分割。
-Syntax: DELETE PARTITION [NOERR] [OVERRIDE]
+語法: DELETE PARTITION [NOERR] [OVERRIDE]
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- OVERRIDE Enables DiskPart to delete any partition regardless of type.
- Typically, DiskPart only permits you to delete known data
- partitions.
+ OVERRIDE 讓 DiskPart 刪除所有類型的磁碟分割。
+ 一般來說,DiskPart 只允許您刪除已知的資料磁碟分割。
- You cannot delete the system partition, boot partition, or any partition
- that contains the active paging file or crash dump (memory dump) filed.
+ 您不能刪除系統磁碟分割、開機磁碟分割,或任何包含使用中的
+ 分頁檔或損毀傾印 (記憶體傾印) 檔案的磁碟分割。
- A partition must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟分割,才能完成這個操作。
- Partitions cannot be deleted from dynamic disks or created on dynamic
- disks.
+ 您無法從動態磁碟刪除磁碟分割,也無法在動態磁碟上建立磁碟分割。
-Example:
+範例:
DELETE PARTITION
.
@@ -3131,14 +3107,13 @@ Example:
DETAIL DISK
.
Language=Taiwanese
- Displays the properties of the selected disk and the list of volumes on
- the disk.
+ 顯示在該磁碟上已選擇之磁碟的內容及列出磁碟區。
-Syntax: DETAIL DISK
+語法: DETAIL DISK
- A disk must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟,才能完成這個操作。
-Example:
+範例:
DETAIL DISK
.
@@ -3248,13 +3223,13 @@ Example:
DETAIL PARTITION
.
Language=Taiwanese
- Displays the properties for the selected partition.
+ 顯示已選擇之磁碟分割的內容。
-Syntax: DETAIL PARTITION
+語法: DETAIL PARTITION
- A partition must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟分割,才能完成這個操作。
-Example:
+範例:
DETAIL PARTITION
.
@@ -3373,14 +3348,13 @@ Example:
DETAIL VOLUME
.
Language=Taiwanese
- Displays the properties for the selected volume and the list of disks on
- which the volume resides.
+ 顯示已選擇之磁碟區的內容,及磁碟區所在的磁碟清單。
-Syntax: DETAIL VOLUME
+語法: DETAIL VOLUME
- A volume must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟區,才能完成這個操作。
-Example:
+範例:
DETAIL VOLUME
.
@@ -3508,11 +3482,11 @@ Example:
EXIT
.
Language=Taiwanese
- Exits the DiskPart command interpreter.
+ 結束 DiskPart 命令直譯器。
-Syntax: EXIT
+語法: EXIT
-Example:
+範例:
EXIT
.
@@ -3705,14 +3679,14 @@ Example:
FILESYSTEMS
.
Language=Taiwanese
- Displays information about the current file system for the selected
- volume, and the supported file systems for formatting the volume.
+ 顯示所選取磁碟區之目前檔案系統的相關資訊,
+ 及可支援的檔案系統,以格式化該磁碟區。
-Syntax: FILESYSTEMS
+語法: FILESYSTEMS
- A volume must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟區,才能完成這個操作。
-Example:
+範例:
FILESYSTEMS
.
@@ -4317,66 +4291,56 @@ Examples:
FORMAT RECOMMENDED OVERRIDE
.
Language=Taiwanese
- Formats the specified volume for use with ReactOS.
+ 格式化指定的磁碟區以供 ReactOS 使用。
-Syntax: FORMAT [[FS=<FS>] [REVISION=<X.XX>] | RECOMMENDED] [LABEL=<"label">]
+語法: FORMAT [[FS=<FS>] [REVISION=<X.XX>] | RECOMMENDED] [LABEL=<"label">]
[UNIT=<N>] [QUICK] [COMPRESS] [OVERRIDE] [DUPLICATE] [NOWAIT]
[NOERR]
- FS=<FS> Specifies the type of file system. If no file system is given,
- the default file system displayed by the FILESYSTEMS command is
- used.
+ FS=<FS> 指定檔案系統的類型。如果沒有提供檔案系統,則會使用
+ FILESYSTEMS 命令顯示的預設檔案系統。
REVISION=<X.XX>
- Specifies the file system revision (if applicable).
+ 指定檔案系統修訂編號 (如適用)。
- RECOMMENDED If specified, use the recommended file system and revision
- instead of the default if a recommendation exists. The
- recommended file system (if one exists) is displayed by the
- FILESYSTEMS command.
+ RECOMMENDED 如果指定這個參數,請使用建議的檔案系統及修訂編號以取代
+ 預設的修訂編號 (如果有建議的話)。
+ FILESYSTEMS 命令可顯示建議的檔案系統 (如果有建議設定)。
LABEL=<"label">
- Specifies the volume label.
+ 指定磁碟區標籤。
- UNIT=<N> Overrides the default allocation unit size. Default settings
- are strongly recommended for general use. The default
- allocation unit size for a particular file system is displayed
- by the FILESYSTEMS command.
+ UNIT=<N> 覆寫預設的配置單位大小。在一般使用情況下,強烈建議使用預設
+ 設定。您可以使用 FILESYSTEMS 命令來顯示特定檔案系統的
+ 預設配置單位大小。
- NTFS compression is not supported for allocation unit sizes
- above 4096.
+ NTFS 壓縮不支援超過 4096 的配置單位大小。
- QUICK Performs a quick format.
+ QUICK 進行快速格式化。
- COMPRESS NTFS only: Files created on the new volume will be compressed
- by default.
+ COMPRESS 只限 NTFS: 預設情況下,在新磁碟區上建立的檔案將會被壓縮。
- OVERRIDE Forces the file system to dismount first if necessary. All
- opened handles to the volume would no longer be valid.
+ OVERRIDE 如果有必要,會強制先解下磁碟區。所有已開啟的磁碟區
+ 控制代碼將會失效。
- DUPLICATE UDF Only: This flag applies to UDF format, version 2.5 or
- higher.
- This flag instructs the format operation to duplicate the file
- system meta-data to a second set of sectors on the disk. The
- duplicate meta-data is used by applications, for example repair
- or recovery applications. If the primary meta-data sectors are
- found to be corrupted, the file system meta-data will be read
- from the duplicate sectors.
+ DUPLICATE 只限 UDF: 這個旗標適用於 UDF 格式 2.5 或更高版本。
+ 這個旗標會指示格式化操作將檔案系統的中繼資料複製到磁碟上的
+ 第二組扇區。複製的中繼資料可被應用程式使用,例如修復或恢復
+ 應用程式。如果系統發現主要中繼資料扇區損壞,則會從複製扇區
+ 中讀取檔案系統中繼資料。
- NOWAIT Forces the command to return immediately while the format
- process is still in progress. If NOWAIT is not specified,
- DiskPart will display format progress in percentage.
+ NOWAIT 當格式化程序仍在進行中的時候,強制該命令立刻返回。
+ 如果沒有指定 NOWAIT,DiskPart 將會以百分比顯示格式化進度。
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- A volume must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟區,才能完成這個操作。
-Examples:
+範例:
FORMAT FS=NTFS LABEL="New Volume" QUICK COMPRESS
FORMAT RECOMMENDED OVERRIDE
@@ -4561,16 +4525,15 @@ Example:
HELP CREATE PARTITION PRIMARY
.
Language=Taiwanese
- Displays a list of the available commands or detailed help information for a
- specified command.
+ 顯示可用的命令清單,或指定之命令的詳細說明。
-Syntax: HELP [<COMMAND>]
+語法: HELP [<COMMAND>]
- <COMMAND> The command for which to display detail help.
+ <COMMAND> 要顯示其詳細說明的命令。
- If no command is specified, HELP will display all possible commands.
+ 如果沒有指定命令,HELP 將會顯示所有可能的命令。
-Example:
+範例:
HELP
HELP CREATE PARTITION PRIMARY
@@ -4828,25 +4791,24 @@ Example:
INACTIVE
.
Language=Taiwanese
- On disks with master boot record (MBR) disk formatting, marks
- the partition with focus as inactive.
+ 在具有主開機記錄 (MBR) 磁碟格式的磁碟上,
+ 將已選擇的磁碟分割標示為非使用中。
-Syntax: INACTIVE
+語法: INACTIVE
- The computer may start from the next option specified in the BIOS such as a
- CD-ROM drive or a Pre-Boot eXecution Environment (PXE)-based boot
- environment (such as Remote Installation Services (RIS)) when you restart
- the computer.
+ 當您重新啟動電腦時,電腦可以從您在 BIOS 中指定的下一個選項啟動,
+ 例如 CD-ROM 光碟機或開機前執行環境 (PXE) 的開機環境
+ (例如,遠端安裝服務\r\n (RIS))。
- A partition must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟分割,才能完成這個操作。
- Caution:
+ 注意:
- Your computer might not start without an active partition. Do not mark
- a system or boot partition as inactive unless you are an experienced
- user with a thorough understanding of ReactOS storage management.
+ 如果沒有使用中的磁碟分割,您的電腦將無法啟動。
+ 除非您是非常熟悉 ReactOS 存放管理的進階使用者,
+ 否則請勿將系統或開機磁碟分割標示為非使用中。
-Example:
+範例:
INACTIVE
.
@@ -5085,27 +5047,24 @@ Example:
LIST DISK
.
Language=Taiwanese
- Displays a list of disks.
+ 顯示磁碟清單。
-Syntax: LIST DISK
+語法: LIST DISK
- Displays a list of disks and information about them, such as their
- size, amount of available free space, whether the disk is a basic
- or dynamic disk, and whether the disk uses the master boot record
- (MBR) or GUID partition table (GPT) partition style. The disk marked
- with an asterisk (*) has focus.
+ 顯示磁碟清單,以及它們的相關資訊,例如大小資訊、可用磁碟空間大小
+ (無論該磁碟是基本磁碟或動態磁碟),及該磁碟是使用主開機記錄 (MBR) 或
+ GUID 磁碟分割表格 (GPT) 磁碟分割樣式。有標示星號 (*) 的磁碟是已選擇
+ 的磁碟。
- Note that the FREE column does not display the total amount of free
- space on the disk, but rather the amount of usable free space left
- on the disk. For example, if you have a 10GB disk with 4 primary
- partitions covering 5GB, there is no usable free space left (no
- more partitions may be created). Another example would be you have
- a 10GB disk with 3 primary partitions and an extended partition
- covering 8GB. The exended partition is of size 3GB with one logical
- drive of size 2GB. The disk will show only 1GB as free - the
- 1GB of free space in the extended partition.
+ 請注意,可用 行所標示的不是磁碟上的空間總大小,而是磁碟上剩餘的可用
+ 空間大小。例如,您有一個 10GB 的磁碟,而磁碟包含了 4 個主要磁碟分割
+ (共使用了 5GB),磁碟將沒有任何可用空間 (不能建立更多磁碟分割)。
+ 再例如,您有一個 10GB 的磁碟,而磁碟包含了 3 個主要磁碟分割
+ 和 1 個延伸磁碟分割 (共使用了 8GB)。如該延伸磁碟分割的大小是 3GB,
+ 而且有 1 個 2GB 的邏輯磁碟分割。這時會顯示磁碟只有 1GB 的可用空間
+ (即延伸磁碟分割內的 1GB 可用空間)。
-Example:
+範例:
LIST DISK
.
@@ -5252,17 +5211,16 @@ Example:
LIST PARTITION
.
Language=Taiwanese
- Displays a list of partitions in the partition table for the selected disk.
+ 顯示已選擇的磁碟之磁碟分割表格中的磁碟分割清單。
-Syntax: LIST PARTITION
+語法: LIST PARTITION
- On dynamic disks, the partitions do not neccessarily correspond to the
- dynamic volumes on the disk. Partitions may not be created or deleted
- on dynamic disks.
+ 在動態磁碟上,磁碟分割不一定會對應到磁碟上的動態磁碟區。
+ 您無法在動態磁碟上建立或刪除磁碟分割。
- A disk must be selected for this operation to succeed.
+ 您必須先選擇一個磁碟,才能完成這個操作。
-Example:
+範例:
LIST PARTITION
.
@@ -5363,12 +5321,11 @@ Example:
LIST VOLUME
.
Language=Taiwanese
- Displays a list of basic and dynamic volumes which are installed on the local
- machine.
+ 顯示已安裝在本機上的基本磁碟區與動態磁碟區清單。
-Syntax: LIST VOLUME
+語法: LIST VOLUME
-Example:
+範例:
LIST VOLUME
.
@@ -5730,16 +5687,15 @@ Example:
ASSIGN f:
.
Language=Taiwanese
- Provides a way to add comments to a script.
+ 提供將命令加入指令碼的方法。
-Syntax: REM
+語法: REM
-Example:
+範例:
- In this example script, REM is used to provide a comment about what the
- script does.
+ 在這個範例指令碼中,REM 是用來提供關於該指令碼之功能的註解。
- REM These commands set up 3 drives.
+ REM 這些命令可建立 3 部磁碟機。
CREATE PARTITION PRIMARY SIZE=2048
ASSIGN d:
CREATE PARTITION EXTEND
@@ -5909,11 +5865,11 @@ Example:
RESCAN
.
Language=Taiwanese
- Locates new disks that may have been added to the computer.
+ 找出可能已加入電腦的新磁碟。
-Syntax: RESCAN
+語法: RESCAN
-Example:
+範例:
RESCAN
.
@@ -6370,40 +6326,36 @@ Example:
SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Taiwanese
- Selects the specified disk and shifts the focus to it.
+ 選擇指定的磁碟,並將焦點轉移到該磁碟。
-Syntax: SELECT DISK=<N>
- SELECT DISK=SYSTEM
- SELECT DISK=NEXT
- SELECT DISK=<Path>
+語法: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
DISK=<N>
- The DiskPart disk index number of the disk to receive
- focus.
+ 要接收焦點之磁碟的磁碟號碼。
DISK=<Path>
- The location path of the disk to receive focus.
+ 要接收焦點之磁碟的位置的路徑。
DISK=SYSTEM
- On BIOS machines, BIOS disk 0 will receive focus.
- On EFI machines, the disk containing the ESP partition
- used for the current boot will receive focus. On EFI
- machines, if there is no ESP, or there is more than
- one ESP present, or the machine is booted from Windows PE,
- the command will fail.
+ 在使用 BIOS 的電腦中,BIOS 磁碟 0 會接收焦點。
+ 在使用 EFI 的電腦中,包含用於目前啟動程序的 ESP 分區的
+ 磁碟會接收焦點。如果在使用 EFI 的電腦中沒有 ESP 分區、
+ 有多於一個 ESP 分區,或者電腦是從 Windows PE 啟動,
+ 命令將會失敗。
DISK=NEXT
- Once a disk is selected, this command is used to iterate
- over all disks in the disk list. The next disk in the list
- will receive focus. If the next disk is the start of the
- enumeration, the command will fail and no disk will have
- focus.
+ 在選擇磁碟後,這個命令是用以逐一查看磁碟清單中的
+ 所有磁碟。清單中的下一個磁碟將會接收焦點。
+ 如果下一個磁碟是列舉的開頭,命令將會失敗,且沒有任何
+ 磁碟會有焦點。
- If no options are specified, the select command lists the disk that
- currently has the focus. You can view the DiskPart index numbers
- for all disks on the computer by using the LIST DISK command.
+ 如果未指定任何選項,Select 命令會列出目前聚焦中的磁碟。
+ 您可以使用 LIST DISK 命令,檢視電腦上所有磁碟的 DiskPart 索引號碼。
-Example:
+範例:
SELECT DISK=1
SELECT DISK=SYSTEM
@@ -6608,23 +6560,22 @@ Example:
SELECT PARTITION=1
.
Language=Taiwanese
- Selects the specified partition and shifts the focus to it.
+ 選取指定的磁碟分割,並將焦點轉移到該磁碟分割。
-Syntax: SELECT PARTITION=<N>
+語法: SELECT PARTITION=<N>
PARTITION=<N>
- The number of the partition to receive the focus.
+ 要接收焦點之磁碟分割的磁碟分割號碼。
- If no partition is specified, the select command lists the current
- partition with focus. You can specify the partition by its number. You can
- view the numbers of all partitions on the current disk by using the list
- partition command.
+ 如果未指定任何選項,Select 命令會列出目前聚焦中的磁碟分割。
+ 您可以使用磁碟分割的號碼來指定它。您可以使用 list partition 命令
+ 來檢視目前磁碟上之所有磁碟分割的號碼。
- You must first select a disk using the DiskPart select disk command before
- you can select a partition.
+ 在選擇磁碟分割之前,您必須先使用 DiskPart 的 select disk 命令
+ 來選擇磁碟。
-Example:
+範例:
SELECT PARTITION=1
.
@@ -6835,22 +6786,20 @@ Example:
SELECT VOLUME=C:\\MountH
.
Language=Taiwanese
- Selects the specified volume and shifts the focus to it.
+ 選取指定的磁碟區,並將焦點移到該磁碟區。
-Syntax: SELECT VOLUME={<N> | <D>}
+語法: SELECT VOLUME={<N> | <D>}
- VOLUME=<N> The number of the volume to receive the focus.
+ VOLUME=<N> 要接收焦點的磁碟區編號。
- VOLUME=<D> The drive letter or mounted folder path of the volume
- to receive the focus.
+ VOLUME=<D> 要接收焦點的磁碟區代號或掛接點路徑。
- If no volume is specified, the select command lists the current volume with
- focus. You can specify the volume by number, drive letter, or mounted folder
- path. On a basic disk, selecting a volume also gives the corresponding
- partition focus. You can view the numbers of all volumes on the computer by
- using the list volume command.
+ 如果沒有指定磁碟區,select 命令將列出目前聚焦中的磁碟區。您可以根據編號、
+ 磁碟機代號或掛接點路徑指定磁碟區。在基本磁碟中,選擇磁碟區同時也會給予
+ 相對的磁碟分割焦點。您可以使用 list volume 命令以檢視所有電腦中磁碟區的
+ 編號。
-Example:
+範例:
SELECT VOLUME=1
SELECT VOLUME=C
@@ -7649,84 +7598,74 @@ Example:
SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Taiwanese
- Changes the partition type field for the partition with focus.
+ 更改已選擇的磁碟分割的磁碟分割類型欄位。
-Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+語法: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
ID={<BYTE> | <GUID>}
- Specifies the new partition type.
- For master boot record (MBR) disks, you can specify a partition
- type byte, in hexadecimal form, for the partition. Any
- partition type byte can be specified with this parameter except
- for type 0x42 (LDM partition). Note that the leading '0x' is
- omitted when specifying the hexadecimal partition type.
+ 指定新磁碟分割類型。
+ 對於主開機記錄 (MBR) 磁碟,您可以使用十六進位格式指定該磁碟分割
+ 的磁碟分割類型位元組。您可以使用此參數指定任何磁碟分割類型位元組,
+ 但類型 42 (LDM 磁碟分割) 除外。
+ 請注意,在指定十六進位格式的磁碟分割類型會略過開頭的 '0x'。
- For GUID partition table (GPT) disks you can specify a
- partition type GUID for the partition. Recognized GUIDs
- include:
+ 對於 GUID 磁碟分割表格 (GPT) 磁碟,您可以為想要建立的磁碟分割
+ 指定磁碟分割類型 GUID。可識別的 GUID 包括:
- EFI System partition:
+ EFI 系統磁碟分割:
c12a7328-f81f-11d2-ba4b-00a0c93ec93b
- Basic data partition:
+ 基本資料磁碟分割:
ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
- Any partition type GUID can be specified with this parameter
- except for the following:
+ 您可以使用這個參數指定任何磁碟分割類型 GUID,
+ 但下列磁碟分割類型除外:
- Microsoft Reserved partition:
+ Microsoft 保留磁碟分割:
e3c9e316-0b5c-4db8-817d-f92df00215a
- LDM Metadata partition on a dynamic disk:
+ 動態磁碟上的 LDM 中繼資料磁碟分割:
5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
- LDM Data partition on a dynamic disk:
+ 動態磁碟上的 LDM 資料磁碟分割:
af9b60a0-1431-4f62-bc68-3311714a69ad
- Cluster Metadata partition:
+ 叢集中繼資料磁碟分割:
db97dba9-0840-4bae-97f0-ffb9a327c7e1
- Other than the limitations mentioned, DiskPart otherwise does
- not check the partition type for validity except to ensure that
- it is a byte in hexadecimal form or a GUID.
+ 除了上述限制之外,DiskPart 不會檢查磁碟分割類型的有效性,
+ 但會確保磁碟分割類型是否為以十六進位格式或 GUID 表示的位元組。
- OVERRIDE Enables DiskPart to force the file system on the volume to
- dismount before changing the partition type. When changing
- the partition type, DiskPart will attempt to lock and dismount
- the file system on the volume. If this parameter is not specified,
- and the call to lock the file system fails, (because some other
- application has an open handle to the volume), the entire
- operation will fail. When this parameter is specified, the
- dismount is forced even if the call to lock the file system
- fails. When a file system is dismounted, all opened handles to
- the volume will become invalid.
+ OVERRIDE 讓 DiskPart 在更改磁碟分割類型之前先強制卸載磁碟區上的檔案系統。
+ 更改磁碟分割類型時,DiskPart 會嘗試鎖定並卸載磁碟區上的檔案系統。
+ 若未指定這個參數,而且鎖定檔案系統的呼叫失敗 (因為某些其他
+ 應用程式擁有磁碟區的已開啟控制代碼),整個操作將會失敗。
+ 指定這個參數時,即使鎖定檔案系統的呼叫失敗,仍會強制執行卸載。
+ 卸載檔案系統之後,磁碟區的所有已開啟控制代碼會變為無效。
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- Intended for Original Equipment Manufacturer (OEM) use only.
+ 預期只供原始設備製造商 (OEM) 使用。
- A partition must be selected for this operation to succeed.
+ 您必須先選擇磁碟分割,才能完成這個操作。
- Caution:
+ 注意:
- Changing partition type fields with this parameter might cause your
- computer to fail or be unable to start up. Unless you are an OEM or an
- IT professional experienced with GPT disks, do not change partition
- type fields on GPT disks using this parameter. Instead, always use the
- CREATE PARTITION EFI command to create EFI System partitions, the
- CREATE PARTITION MSR command to create Microsoft Reserved partitions,
- and the CREATE PARTITION PRIMARY command without the ID parameter to
- create primary partitions on GPT disks.
+ 使用這個參數更改磁碟分割類型欄位,可能會造成您的電腦失敗或無法啟動。
+ 除非您是熟悉 GPT 磁碟的 OEM 或 IT 專業人員,否則請勿在 GPT 磁碟上
+ 更改磁碟分割類型欄位時使用這個參數。相反地,您應該使用
+ CREATE PARTITION EFI 命令來建立 EFI 系統磁碟分割、使用
+ CREATE PARTITION MSR 命令來建立 Microsoft 保留磁碟分割,及使用
+ CREATE PARTITION PRIMARY 命令 (不使用 ID 參數) 在 GPT 磁碟上
+ 建立主要磁碟分割。
- This command does not work on dynamic disks nor on Microsoft Reserved
- partitions.
+ 這個命令不適用於動態磁碟或 Microsoft 保留磁碟分割。
-Example:
+範例:
SET ID=07 OVERRIDE
SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
@@ -8020,27 +7959,26 @@ Example:
UNIQUEID DISK ID=baf784e7-6bbd-4cfb-aaac-e86c96e166ee
.
Language=Taiwanese
- Displays or sets the GUID partition table (GPT) identifier or master boot
- record (MBR) signature for the disk with focus.
+ 顯示或設定焦點所在磁碟的 GUID 磁碟分割表格 (GPT) 識別碼
+ 或主開機記錄 (MBR) 簽章。
-Syntax: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
+語法: UNIQUEID DISK [ID={<DWORD> | <GUID>}] [NOERR]
ID={<DWORD> | <GUID>}
- For MBR disks, you can specify a four-byte (DWORD) value in
- hexadecimal form for the signature.
+ 在主開機記錄 (MBR) 磁碟上,您可以對簽章指定十六進位形式的
+ 四位元組 (DWORD) 值。
- For GPT disks, specify a GUID for the identifier.
+ 在 GUID 磁碟分割表格 (GPT) 磁碟上,指定識別元的 GUID。
- NOERR For scripting only. When an error is encountered, DiskPart
- continues to process commands as if the error did not occur.
- Without the NOERR parameter, an error causes DiskPart to exit
- with an error code.
+ NOERR 只限指令碼。當發生錯誤時,DiskPart 會繼續處理命令,
+ 如同沒有發生任何錯誤一樣。如果沒有使用 NOERR 參數,
+ 錯誤會導致 DiskPart 結束,並傳回錯誤碼。
- A disk must be selected for this operation to succeed. This command works
- on basic and dynamic disks.
+ 您必須先選擇一個磁碟,才能完成這個操作。這個命令適用於基本磁碟及
+ 動態磁碟。
-Example:
+範例:
UNIQUEID DISK
UNIQUEID DISK ID=5f1b2c36
diff --git a/base/system/diskpart/lang/zh-TW.rc b/base/system/diskpart/lang/zh-TW.rc
index f0031305c8a..b0078872817 100644
--- a/base/system/diskpart/lang/zh-TW.rc
+++ b/base/system/diskpart/lang/zh-TW.rc
@@ -1,5 +1,11 @@
-/* Traditional Chinese translation by Henry Tang Ih 2016 (henrytang2(a)hotmail.com) */
-/* Translation improved by Chan Chilung 2020 - 2021 (eason066(a)gmail.com) */
+/*
+ * PROJECT: ReactOS DiskPart
+ * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
+ * PURPOSE: Chinese (Traditional) resource file
+ * TRANSLATORS: Copyright 2016 Henry Tang Ih <henrytang2(a)hotmail.com>
+ * Copyright 2018 Luke Luo <njlyf2011(a)hotmail.com>
+ * Copyright 2020-2022 Chan Chilung <eason066(a)gmail.com>
+ */
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
@@ -10,72 +16,72 @@ BEGIN
IDS_APP_USAGE "\n磁碟分區實用工具\n\n\
Usage: DISKPART [/S 檔名] [/T 逾時] [/?]\n\n\
/S <檔名>\t執行指定的指令碼。\n\
-/T <逾時>\t逾時秒數,防止 DiskPart 使用重疊。\n\
-/?\t\t顯示此說明訊息。\n\n"
+/T <逾時>\t逾時秒數,防止 DiskPart 在使用時發生交疊。\n\
+/?\t\t顯示這個說明訊息。\n\n"
IDS_APP_LICENSE "根據 GNU GPLv2 許可\n"
IDS_APP_CURR_COMPUTER "在電腦: %s\n\n"
- IDS_APP_LEAVING "\n正在退出 DiskPart ...\n"
+ IDS_APP_LEAVING "\n正在退出 DiskPart...\n"
IDS_APP_PROMPT "DISKPART> "
END
STRINGTABLE
BEGIN
- IDS_ACTIVE_FAIL "\nDiskPart was unable to mark the partition active.\nMake sure the partition is valid.\n"
- IDS_ACTIVE_SUCCESS "\nDiskPart marked the current partition as active.\n"
- IDS_ACTIVE_ALREADY "\nThe current partition is already marked as active.\n"
+ IDS_ACTIVE_FAIL "\nDiskPart 無法把標記磁碟分割為使用中。\n請確認磁碟分割是有效的。\n"
+ IDS_ACTIVE_SUCCESS "\nDiskPart 已標記磁碟分割為使用中。\n"
+ IDS_ACTIVE_ALREADY "\n目前的磁碟分割已經標記為使用中。\n"
END
STRINGTABLE
BEGIN
- IDS_CLEAN_FAIL "\nDiskPart was unable to clean the disk.\nThe data on this disk may be unrecoverable.\n"
- IDS_CLEAN_SUCCESS "\nDiskPart succeeded in cleaning the disk.\n"
- IDS_CLEAN_SYSTEM "\nThe selected disk is neccessary to the operation of your computer, and may not be cleaned.\n"
+ IDS_CLEAN_FAIL "\nDiskPart 無法清理磁碟。\n這個磁碟上的資料可能是無法恢復的。\n"
+ IDS_CLEAN_SUCCESS "\nDiskPart 成功清理磁碟。\n"
+ IDS_CLEAN_SYSTEM "\n已選擇的磁碟是您的電腦操作所必要的,所以無法清理。\n"
END
STRINGTABLE
BEGIN
- IDS_CREATE_PARTITION_FAIL "\nDiskPart was unable to create the specified partition.\n"
- IDS_CREATE_PARTITION_SUCCESS "\nDiskPart succeeded in creating the specified partition.\n"
+ IDS_CREATE_PARTITION_FAIL "\nDiskPart 無法建立指定的磁碟分割。\n"
+ IDS_CREATE_PARTITION_SUCCESS "\nDiskPart 成功建立指定的磁碟分割。\n"
END
STRINGTABLE
BEGIN
- IDS_DELETE_PARTITION_FAIL "\nDiskPart failed to delete the selected partition.\nPlease make sure the selected partition is valid to delete.\n"
- IDS_DELETE_PARTITION_SUCCESS "\nDiskPart successfully deleted the selected partition.\n"
+ IDS_DELETE_PARTITION_FAIL "\nDiskPart 無法刪除指定的磁碟分割。\n請確認已選擇的磁碟分割能夠正確地刪除。\n"
+ IDS_DELETE_PARTITION_SUCCESS "\nDiskPart 成功刪除指定的磁碟分割。\n"
END
/* Disk Information Labels */
STRINGTABLE
BEGIN
- IDS_DETAIL_INFO_DISK_ID "Disk ID: %08lx\n"
+ IDS_DETAIL_INFO_DISK_ID "磁碟識別碼: %08lx\n"
IDS_DETAIL_INFO_TYPE "類型"
IDS_DETAIL_INFO_STATUS "狀態"
- IDS_DETAIL_INFO_PATH "Path : %hu\n"
- IDS_DETAIL_INFO_TARGET "Target : %hu\n"
- IDS_DETAIL_INFO_LUN_ID "Lun ID : %hu\n"
+ IDS_DETAIL_INFO_PATH "路徑 : %hu\n"
+ IDS_DETAIL_INFO_TARGET "目標 : %hu\n"
+ IDS_DETAIL_INFO_LUN_ID "Lun 識別碼: %hu\n"
IDS_DETAIL_INFO_LOC_PATH "位置路徑"
- IDS_DETAIL_INFO_CURR_RO_STATE "當前的唯讀狀態"
+ IDS_DETAIL_INFO_CURR_RO_STATE "目前的唯讀狀態"
IDS_DETAIL_INFO_RO "唯讀模式"
IDS_DETAIL_INFO_BOOT_DSK "啟動磁碟"
IDS_DETAIL_INFO_PAGE_FILE_DSK "頁面檔案磁碟"
IDS_DETAIL_INFO_HIBER_FILE_DSK "休眠檔案磁碟"
IDS_DETAIL_INFO_CRASH_DSK "損毀傾印磁碟"
IDS_DETAIL_INFO_CLST_DSK "叢集磁碟"
- IDS_DETAIL_PARTITION_NUMBER "Partition %lu\n"
- IDS_DETAIL_PARTITION_TYPE "Type : %02x\n"
- IDS_DETAIL_PARTITION_HIDDEN "Hidden : %s\n"
- IDS_DETAIL_PARTITION_ACTIVE "Active : %s\n"
- IDS_DETAIL_PARTITION_OFFSET "Offset in Byte: %I64u\n"
- IDS_DETAIL_NO_DISKS "\nThere are no disks attached to this volume.\n"
- IDS_DETAIL_NO_VOLUME "\nThere is no volume associated with this partition.\n"
+ IDS_DETAIL_PARTITION_NUMBER "磁碟分割 %lu\n"
+ IDS_DETAIL_PARTITION_TYPE "類型 : %02x\n"
+ IDS_DETAIL_PARTITION_HIDDEN "已隱藏 : %s\n"
+ IDS_DETAIL_PARTITION_ACTIVE "使用中 : %s\n"
+ IDS_DETAIL_PARTITION_OFFSET "位移 (位元組) : %I64u\n"
+ IDS_DETAIL_NO_DISKS "\n沒有磁碟附加到這個磁碟區。\n"
+ IDS_DETAIL_NO_VOLUME "\n沒有磁碟區與這個磁碟分割有關聯。\n"
END
STRINGTABLE
BEGIN
- IDS_FILESYSTEMS_CURRENT "Current Filesystem\n"
- IDS_FILESYSTEMS_FORMATTING "Filesystems available for formatting\n"
- IDS_FILESYSTEMS_TYPE "Type : %s\n"
- IDS_FILESYSTEMS_CLUSTERSIZE "Cluster size: %lu\n"
+ IDS_FILESYSTEMS_CURRENT "目前的檔案系統\n"
+ IDS_FILESYSTEMS_FORMATTING "可用於格式化的檔案系統\n"
+ IDS_FILESYSTEMS_TYPE "類型 : %s\n"
+ IDS_FILESYSTEMS_CLUSTERSIZE "叢集大小: %lu\n"
END
STRINGTABLE
@@ -85,9 +91,9 @@ END
STRINGTABLE
BEGIN
- IDS_INACTIVE_FAIL "\nDiskPart was unable to mark the partition inactive.\nMake sure the partition is valid.\n"
- IDS_INACTIVE_SUCCESS "\nDiskPart marked the current partition as inactive.\n"
- IDS_INACTIVE_ALREADY "\nThe current partition is already marked as inactive.\n"
+ IDS_INACTIVE_FAIL "\nDiskPart 無法把磁碟分割標記為非使用中。\n請確認磁碟分割是有效的。\n"
+ IDS_INACTIVE_SUCCESS "\nDiskPart 已標記磁碟分割為非使用中。\n"
+ IDS_INACTIVE_ALREADY "\n目前的磁碟分割已經標記為非使用中。\n"
END
/* Detail header titles */
@@ -100,9 +106,9 @@ BEGIN
IDS_LIST_PARTITION_LINE " ------------- ---------------- ------- -------\n"
IDS_LIST_PARTITION_FORMAT "%c 磁碟分割 %2lu %-16s %4I64u %-2s %4I64u %-2s\n"
IDS_LIST_PARTITION_NO_DISK "\n沒有可列出分區的磁碟。\n請選擇一個磁碟,再試一次。\n\n"
- IDS_LIST_VOLUME_HEAD " Volume ### Ltr Label FS Type Size Status Info\n"
+ IDS_LIST_VOLUME_HEAD " 磁碟區 ### Ltr 標籤 FS 類型 大小 狀態 資訊\n"
IDS_LIST_VOLUME_LINE " ---------- --- ----------- ----- ---------- ------- ------- --------\n"
- IDS_LIST_VOLUME_FORMAT "%c Volume %-3lu %c %-11.11s %-5s %-10.10s %4I64u %-2s\n"
+ IDS_LIST_VOLUME_FORMAT "%c 磁碟區 %-3lu %c %-11.11s %-5s %-10.10s %4I64u %-2s\n"
END
/* RESCAN command string */
@@ -116,23 +122,23 @@ END
STRINGTABLE
BEGIN
IDS_SELECT_NO_DISK "\n目前沒有選擇磁碟。\n請選擇一個磁碟,然後再試一次。\n\n"
- IDS_SELECT_DISK "\n磁碟 %lu 現在是所選的磁碟。\n\n"
+ IDS_SELECT_DISK "\n磁碟 %lu 現在是所選擇的磁碟。\n\n"
IDS_SELECT_DISK_INVALID "\n無效的磁碟。\n\n"
IDS_SELECT_NO_PARTITION "\n目前選擇的磁碟沒有磁碟分割。\n請選擇一個磁碟,然後再試一次。\n\n"
- IDS_SELECT_PARTITION "\n磁碟分割 %lu 現在是所選的磁碟分割。\n\n"
+ IDS_SELECT_PARTITION "\n磁碟分割 %lu 現在是所選擇的磁碟分割。\n\n"
IDS_SELECT_PARTITION_NO_DISK "\n沒有選擇要設定磁碟分割的磁碟。\n請選擇一個磁碟,然後再試一次。\n\n"
IDS_SELECT_PARTITION_INVALID "\n無效的磁碟分割。\n\n"
IDS_SELECT_NO_VOLUME "\n目前沒有選擇磁碟區。\n請選擇一個磁碟,然後再試一次。\n\n"
- IDS_SELECT_VOLUME "\n磁碟區 %lu 現在是所選的磁碟區。\n\n"
- IDS_SELECT_VOLUME_INVALID "\nInvalid volume.\n\n"
+ IDS_SELECT_VOLUME "\n磁碟區 %lu 現在是所選擇的磁碟區。\n\n"
+ IDS_SELECT_VOLUME_INVALID "\n無效的磁碟區。\n\n"
END
STRINGTABLE
BEGIN
- IDS_SETID_FAIL "\nDiskPart was unable to change the partition type.\n"
- IDS_SETID_SUCCESS "\nThe partition type was changed successfully.\n"
- IDS_SETID_INVALID_FORMAT "\nThe format of the partition type is invalid.\n"
- IDS_SETID_INVALID_TYPE "\nThe partition type is invalid.\n"
+ IDS_SETID_FAIL "\nDiskPart 無法更改磁碟類型。\n"
+ IDS_SETID_SUCCESS "\n成功更改磁碟類型。\n"
+ IDS_SETID_INVALID_FORMAT "\n磁碟類型的格式是無效的。\n"
+ IDS_SETID_INVALID_TYPE "\n無效的磁碟類型。\n"
END
/* Disk Status */
@@ -151,90 +157,90 @@ END
/* CMD Messages for commands */
STRINGTABLE
BEGIN
- IDS_MSG_ARG_SYNTAX_ERROR "為此命令指定的參數是無效的。\n有關命令類型的詳細資訊:"
+ IDS_MSG_ARG_SYNTAX_ERROR "您為這個命令指定的引數是無效的。\n有關命令類型的詳細資訊:"
END
/* Help Command Descripions */
STRINGTABLE
BEGIN
- IDS_HELP_ACTIVE "所選將磁碟分割標記為活動。\n"
- IDS_HELP_ADD "將映象添加到一個簡單磁碟區。\n"
- IDS_HELP_ASSIGN "為所選的磁碟區分配一個代號或裝入點。\n"
+ IDS_HELP_ACTIVE "將所選的磁碟分割標記為使用中。\n"
+ IDS_HELP_ADD "新增一個鏡像到一個簡單磁碟區。\n"
+ IDS_HELP_ASSIGN "分配一個磁碟機代號或掛接點到所選的磁碟區。\n"
IDS_HELP_ATTACH "附加的虛擬磁碟檔案。\n"
IDS_HELP_ATTRIBUTES "操縱磁碟區或磁碟的屬性。\n"
IDS_HELP_AUTOMOUNT "啟用和停用基本磁碟區的自動裝入。\n"
IDS_HELP_BREAK "中斷一個鏡像組。\n"
- IDS_HELP_CLEAN "清除配置資訊或所有資訊,關閉\n 磁碟。\n"
+ IDS_HELP_CLEAN "清除磁碟上的設定資訊或所有資訊。\n"
IDS_HELP_COMPACT "嘗試減少檔案的物理大小。\n"
- IDS_HELP_CONVERT "不同的磁碟格式之間進行轉換。\n"
-
- IDS_HELP_CREATE "新增磁碟區、 分區或虛擬磁碟。\n"
- IDS_HELP_CREATE_PARTITION "Create a partition.\n"
- IDS_HELP_CREATE_PARTITION_EFI "Create an EFI system partition.\n"
- IDS_HELP_CREATE_PARTITION_EXTENDED "Create an extended partition.\n"
- IDS_HELP_CREATE_PARTITION_LOGICAL "Create a logical drive.\n"
- IDS_HELP_CREATE_PARTITION_MSR "Create an MSR partition.\n"
- IDS_HELP_CREATE_PARTITION_PRIMARY "Create a primary partition.\n"
- IDS_HELP_CREATE_VOLUME "Create a volume.\n"
- IDS_HELP_CREATE_VDISK "Create a virtual disk file.\n"
-
- IDS_HELP_DELETE "刪除物件。\n"
- IDS_HELP_DELETE_DISK "Delete a disk.\n"
- IDS_HELP_DELETE_PARTITION "Delete a partition.\n"
- IDS_HELP_DELETE_VOLUME "Delete a volume.\n"
-
- IDS_HELP_DETACH "分離一個虛擬磁碟檔案。\n"
-
- IDS_HELP_DETAIL "提供物件的詳細資訊。\n"
- IDS_HELP_DETAIL_DISK "Print disk details.\n"
- IDS_HELP_DETAIL_PARTITION "Print partition details.\n"
- IDS_HELP_DETAIL_VOLUME "Print volume details.\n"
-
- IDS_HELP_EXIT "退出 DiskPart。\n"
- IDS_HELP_EXPAND "擴充虛擬磁碟上的最大可用空間。\n"
- IDS_HELP_EXTEND "擴展磁碟區。\n"
- IDS_HELP_FILESYSTEMS "顯示磁碟區上目前及受支援的檔案系統。\n"
+ IDS_HELP_CONVERT "轉換不同的磁碟格式。\n"
+
+ IDS_HELP_CREATE "建立一個磁碟區、磁碟分割或虛擬磁碟。\n"
+ IDS_HELP_CREATE_PARTITION "建立一個磁碟分割。\n"
+ IDS_HELP_CREATE_PARTITION_EFI "建立一個 EFI 系統磁碟分割。\n"
+ IDS_HELP_CREATE_PARTITION_EXTENDED "建立一個延伸磁碟分割。\n"
+ IDS_HELP_CREATE_PARTITION_LOGICAL "建立一個邏輯磁碟分割。\n"
+ IDS_HELP_CREATE_PARTITION_MSR "建立一個 MSR 磁碟分割。\n"
+ IDS_HELP_CREATE_PARTITION_PRIMARY "建立一個主要磁碟分割。\n"
+ IDS_HELP_CREATE_VOLUME "建立一個磁碟區。\n"
+ IDS_HELP_CREATE_VDISK "建立一個虛擬磁碟檔案。\n"
+
+ IDS_HELP_DELETE "刪除一個物件。\n"
+ IDS_HELP_DELETE_DISK "刪除一個磁碟。\n"
+ IDS_HELP_DELETE_PARTITION "刪除一個磁碟分割。\n"
+ IDS_HELP_DELETE_VOLUME "刪除一個磁碟區。\n"
+
+ IDS_HELP_DETACH "中斷連結虛擬磁碟檔案。\n"
+
+ IDS_HELP_DETAIL "提供一個物件的詳細資訊。\n"
+ IDS_HELP_DETAIL_DISK "列印磁碟的詳細資訊。\n"
+ IDS_HELP_DETAIL_PARTITION "列印磁碟分割的詳細資訊。\n"
+ IDS_HELP_DETAIL_VOLUME "列印出磁碟區的詳細資訊。\n"
+
+ IDS_HELP_EXIT "結束 DiskPart。\n"
+ IDS_HELP_EXPAND "延伸虛擬磁碟上的最大可用空間。\n"
+ IDS_HELP_EXTEND "延伸一個磁碟區。\n"
+ IDS_HELP_FILESYSTEMS "顯示磁碟區上目前及支援的檔案系統。\n"
IDS_HELP_FORMAT "格式化所選的磁碟區或磁碟分割。\n"
- IDS_HELP_GPT "將屬性分配給所選的 GPT 分區。\n"
- IDS_HELP_HELP "顯示命令的列表。\n"
- IDS_HELP_IMPORT "匯入磁碟組。\n"
- IDS_HELP_INACTIVE "將所選磁碟分割標記為非活動狀態。\n"
+ IDS_HELP_GPT "分配屬性給所選的 GPT 磁碟分割。\n"
+ IDS_HELP_HELP "顯示命令列表。\n"
+ IDS_HELP_IMPORT "匯入磁碟群組。\n"
+ IDS_HELP_INACTIVE "將所選的磁碟分割標記為非使用中。\n"
IDS_HELP_LIST "顯示物件的列表。\n"
- IDS_HELP_LIST_DISK "List disks.\n"
- IDS_HELP_LIST_PARTITION "List partitions.\n"
- IDS_HELP_LIST_VOLUME "List volumes.\n"
- IDS_HELP_LIST_VDISK "List virtual disk files.\n"
+ IDS_HELP_LIST_DISK "列出磁碟。\n"
+ IDS_HELP_LIST_PARTITION "列出磁碟分割。\n"
+ IDS_HELP_LIST_VOLUME "列出磁碟區。\n"
+ IDS_HELP_LIST_VDISK "列出虛擬磁碟檔案。\n"
IDS_HELP_MERGE "合併子磁碟與其父系。\n"
- IDS_HELP_OFFLINE "把目前標記為連線的物件設成離線。\n"
- IDS_HELP_ONLINE "把目前標記為離線的物件設成連線。\n"
- IDS_HELP_RECOVER "重新整理選取封裝中所有磁碟的狀態,\n 嘗試在無效封裝中的磁碟復原,並重新同步具有過時網狀\n 磁碟區或同位檢查資料的鏡像磁碟區與 RAID5 磁碟區。\n"
- IDS_HELP_REM "無反應。這用來註解指令碼。\n"
- IDS_HELP_REMOVE "刪除磁碟區代號或裝載點指派。\n"
- IDS_HELP_REPAIR "修復失敗的成員與 RAID 5 磁碟區。\n"
+ IDS_HELP_OFFLINE "把目前標記為連線的物件設為離線。\n"
+ IDS_HELP_ONLINE "把目前標記為離線的物件設為連線。\n"
+ IDS_HELP_RECOVER "重新整理所選封裝中所有磁碟的狀態,\n 嘗試復原在無效封裝中的磁碟,並重新同步具有過時網狀\n 磁碟區或同位檢查資料的鏡像磁碟區和 RAID5 磁碟區。\n"
+ IDS_HELP_REM "不做任何事。這是用來註解指令碼。\n"
+ IDS_HELP_REMOVE "移除磁碟區代號或掛接點的分配。\n"
+ IDS_HELP_REPAIR "以失敗的成員修復 RAID 5 磁碟區。\n"
IDS_HELP_RESCAN "重新掃描電腦,查找磁碟和磁碟區。\n"
IDS_HELP_RETAIN "在簡單磁碟區下放置一個保存磁碟分割。\n"
- IDS_HELP_SAN "顯示或設定當前引導 OS 的 SAN 策略。\n"
+ IDS_HELP_SAN "顯示或設定目前開機 OS 的 SAN 原則。\n"
- IDS_HELP_SELECT "轉移重點到另一個物件。\n"
- IDS_HELP_SELECT_DISK "Moves the focus to the disk.\n"
- IDS_HELP_SELECT_PARTITION "Moves the focus to the partition.\n"
- IDS_HELP_SELECT_VOLUME "Moves the focus to the volume.\n"
- IDS_HELP_SELECT_VDISK "Moves the focus to the virtual disk.\n"
+ IDS_HELP_SELECT "轉移焦點到另一個物件。\n"
+ IDS_HELP_SELECT_DISK "轉移焦點到磁碟。\n"
+ IDS_HELP_SELECT_PARTITION "轉移焦點到磁碟分割。\n"
+ IDS_HELP_SELECT_VOLUME "轉移焦點到磁碟區。\n"
+ IDS_HELP_SELECT_VDISK "轉移焦點到虛擬磁碟。\n"
- IDS_HELP_SETID "更改分區類型。\n"
- IDS_HELP_SHRINK "減小所選磁碟區的大小。\n"
+ IDS_HELP_SETID "更改磁碟分割類型。\n"
+ IDS_HELP_SHRINK "縮小所選磁碟區的大小。\n"
- IDS_HELP_UNIQUEID "顯示或設定 GUID 分區表 (GPT) 的標識符\n 或主開機記錄 (MBR) 磁碟的簽名。\n"
- IDS_HELP_UNIQUEID_DISK "顯示或設定 GUID 分區表 (GPT) 的標識符\n 或主開機記錄 (MBR) 磁碟的簽名。\n"
+ IDS_HELP_UNIQUEID "顯示或設定 GUID 分割表格 (GPT) 的識別碼\n 或磁碟的主開機記錄 (MBR) 簽章。\n"
+ IDS_HELP_UNIQUEID_DISK "顯示或設定 GUID 分割表格 (GPT) 的識別碼\n 或磁碟的主開機記錄 (MBR) 簽章。\n"
END
/* Common Error Messages */
STRINGTABLE
BEGIN
- IDS_ERROR_MSG_NO_SCRIPT "錯誤開始的指令碼: %s\n"
- IDS_ERROR_MSG_BAD_ARG "錯誤處理參數: %s\n"
+ IDS_ERROR_MSG_NO_SCRIPT "開啟指令碼時發生錯誤: %s\n"
+ IDS_ERROR_MSG_BAD_ARG "處理引數時發生錯誤: %s\n"
IDS_ERROR_INVALID_ARGS "無效的參數\n"
- IDS_ERROR_NO_MEDIUM "No medium in device.\n"
+ IDS_ERROR_NO_MEDIUM "沒有媒體在裝置中。\n"
END
diff --git a/dll/win32/hhctrl.ocx/lang/Zh.rc b/dll/win32/hhctrl.ocx/lang/Zh.rc
index d45021a8c94..cedf748a896 100644
--- a/dll/win32/hhctrl.ocx/lang/Zh.rc
+++ b/dll/win32/hhctrl.ocx/lang/Zh.rc
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
* TRANSLATORS: Copyright 2008 Hongbo Ni <hongbo(a)njstar.com>
- * Copyright 2021 Chan Chilung <eason066(a)gmail.com>
+ * Copyright 2021-2022 Chan Chilung <eason066(a)gmail.com>
*/
/* Chinese text is encoded in UTF-8 */
@@ -27,7 +27,7 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE
BEGIN
#ifdef __REACTOS__
- IDS_DEFTITLE "HTML Help"
+ IDS_DEFTITLE "HTML 帮助"
#endif
IDS_CONTENTS "内容(&C)"
IDS_INDEX "索引(&N)"
@@ -97,6 +97,9 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE
BEGIN
+#ifdef __REACTOS__
+ IDS_DEFTITLE "HTML 說明"
+#endif
IDS_CONTENTS "內容(&C)"
IDS_INDEX "索引(&N)"
IDS_SEARCH "搜尋(&S)"