From 5ffe342ae825d8303ef70502b2dc84b9fa93584d Mon Sep 17 00:00:00 2001 From: lamentxu <1372449351@qq.com> Date: Sat, 28 Jun 2025 17:18:51 +0800 Subject: [PATCH 01/17] Update grp.po --- library/grp.po | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/library/grp.po b/library/grp.po index 77bef2e980..dffd4c006c 100644 --- a/library/grp.po +++ b/library/grp.po @@ -3,13 +3,14 @@ # This file is distributed under the same license as the Python package. # # Translators: +# Weilin Du, 2025 msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-10-11 00:13+0000\n" -"PO-Revision-Date: 2018-05-23 16:02+0000\n" -"Last-Translator: Adrian Liaw \n" +"PO-Revision-Date: 2025-06-28 17:17+0800\n" +"Last-Translator: Weilin Du\n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -26,11 +27,11 @@ msgstr ":mod:`!grp` --- 群組資料庫" msgid "" "This module provides access to the Unix group database. It is available on " "all Unix versions." -msgstr "" +msgstr "該模組提供對 Unix 群組資料庫的存取, 所有 Unix 版本皆可使用。" #: ../../library/grp.rst:13 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/grp.rst:15 msgid "" @@ -38,10 +39,12 @@ msgid "" "correspond to the members of the ``group`` structure (Attribute field below, " "see ````):" msgstr "" +"群組資料庫項目以類似 tuple 物件的方式報传入, 其屬性對應於 ``group`` 結構的成" +"員 (Attribute 欄位如下, 請參閱 ````):" #: ../../library/grp.rst:20 msgid "Index" -msgstr "" +msgstr "索引" #: ../../library/grp.rst:20 msgid "Attribute" @@ -61,7 +64,7 @@ msgstr "gr_name" #: ../../library/grp.rst:22 msgid "the name of the group" -msgstr "" +msgstr "群组名称" #: ../../library/grp.rst:24 msgid "1" @@ -73,7 +76,7 @@ msgstr "gr_passwd" #: ../../library/grp.rst:24 msgid "the (encrypted) group password; often empty" -msgstr "" +msgstr "(被加密后的)群组密码;大部分情况下是空的" #: ../../library/grp.rst:27 msgid "2" @@ -85,7 +88,7 @@ msgstr "gr_gid" #: ../../library/grp.rst:27 msgid "the numerical group ID" -msgstr "" +msgstr "群组的数字ID" #: ../../library/grp.rst:29 msgid "3" @@ -97,7 +100,7 @@ msgstr "gr_mem" #: ../../library/grp.rst:29 msgid "all the group member's user names" -msgstr "" +msgstr "所有群組成員的用户名" #: ../../library/grp.rst:33 msgid "" @@ -109,31 +112,40 @@ msgid "" "reference and may not be accessible via :func:`getgrnam` or :func:" "`getgrgid`.)" msgstr "" +"gid 是整數,name 和 password 是字符串, 而 member list 是字符串清單。 (請注" +"意, 根據密碼資料庫, 大多數使用者並未被明確列為其所在群組的成員。 請檢查這兩" +"個資料庫,以取得完整的成員資訊。 另外請注意,以 ``+`` 或 ``-`` 開頭的 " +"``gr_name`` 很可能是 YP/NIS 參照,可能無法透過 :func:`getgrnam` 或 :func:" +"`getgrgid` 取得)。" #: ../../library/grp.rst:40 msgid "It defines the following items:" -msgstr "" +msgstr "它定義了以下項目:" #: ../../library/grp.rst:45 msgid "" "Return the group database entry for the given numeric group ID. :exc:" "`KeyError` is raised if the entry asked for cannot be found." msgstr "" +"傳回給定群組ID的群組數據庫條目。:exc:`KeyError`會在找不到所要求的條目時被抛" +"出。" #: ../../library/grp.rst:48 msgid "" ":exc:`TypeError` is raised for non-integer arguments like floats or strings." -msgstr "" +msgstr ":exc:`TypeError` 會在非整數的參數如浮點數或字符串被傳入時被抛出。" #: ../../library/grp.rst:53 msgid "" "Return the group database entry for the given group name. :exc:`KeyError` is " "raised if the entry asked for cannot be found." msgstr "" +"返回給定群組名稱的群組資料庫項目。 :exc:`KeyError` 會在找不到所要求的項目時產" +"生。" #: ../../library/grp.rst:59 msgid "Return a list of all available group entries, in arbitrary order." -msgstr "" +msgstr "以任意順序傳回所有可用群組條目的清單。" #: ../../library/grp.rst:64 msgid "Module :mod:`pwd`" @@ -141,4 +153,4 @@ msgstr ":mod:`pwd` 模組" #: ../../library/grp.rst:65 msgid "An interface to the user database, similar to this." -msgstr "" +msgstr "使用者數據庫的介面,與此類似。" From c5be3d8dc389b2d56e458c2a94b41c1d9dfdbf9c Mon Sep 17 00:00:00 2001 From: lamentxu <1372449351@qq.com> Date: Sat, 28 Jun 2025 17:26:18 +0800 Subject: [PATCH 02/17] Update grp.po --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index dffd4c006c..1ec03778a4 100644 --- a/library/grp.po +++ b/library/grp.po @@ -127,7 +127,7 @@ msgid "" "Return the group database entry for the given numeric group ID. :exc:" "`KeyError` is raised if the entry asked for cannot be found." msgstr "" -"傳回給定群組ID的群組數據庫條目。:exc:`KeyError`會在找不到所要求的條目時被抛" +"傳回給定群組ID的群組數據庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被抛" "出。" #: ../../library/grp.rst:48 From 1b5693bcefc1c402c99f7bedea2b58bca7612e06 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:33:12 +0800 Subject: [PATCH 03/17] Update grp.po --- library/grp.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/library/grp.po b/library/grp.po index 1ec03778a4..26ee9c79bb 100644 --- a/library/grp.po +++ b/library/grp.po @@ -39,7 +39,7 @@ msgid "" "correspond to the members of the ``group`` structure (Attribute field below, " "see ````):" msgstr "" -"群組資料庫項目以類似 tuple 物件的方式報传入, 其屬性對應於 ``group`` 結構的成" +"群組資料庫項目以類似 tuple 物件的方式報傳入, 其屬性對應於 ``group`` 結構的成" "員 (Attribute 欄位如下, 請參閱 ````):" #: ../../library/grp.rst:20 @@ -64,7 +64,7 @@ msgstr "gr_name" #: ../../library/grp.rst:22 msgid "the name of the group" -msgstr "群组名称" +msgstr "群組名稱" #: ../../library/grp.rst:24 msgid "1" @@ -76,7 +76,7 @@ msgstr "gr_passwd" #: ../../library/grp.rst:24 msgid "the (encrypted) group password; often empty" -msgstr "(被加密后的)群组密码;大部分情况下是空的" +msgstr "(被加密後的)群組密碼;大部分情況下是空的" #: ../../library/grp.rst:27 msgid "2" @@ -88,7 +88,7 @@ msgstr "gr_gid" #: ../../library/grp.rst:27 msgid "the numerical group ID" -msgstr "群组的数字ID" +msgstr "群組的數字ID" #: ../../library/grp.rst:29 msgid "3" @@ -100,7 +100,7 @@ msgstr "gr_mem" #: ../../library/grp.rst:29 msgid "all the group member's user names" -msgstr "所有群組成員的用户名" +msgstr "所有群組成員的用戶名" #: ../../library/grp.rst:33 msgid "" @@ -127,13 +127,13 @@ msgid "" "Return the group database entry for the given numeric group ID. :exc:" "`KeyError` is raised if the entry asked for cannot be found." msgstr "" -"傳回給定群組ID的群組數據庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被抛" +"傳回給定群組ID的群組數據庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被拋" "出。" #: ../../library/grp.rst:48 msgid "" ":exc:`TypeError` is raised for non-integer arguments like floats or strings." -msgstr ":exc:`TypeError` 會在非整數的參數如浮點數或字符串被傳入時被抛出。" +msgstr ":exc:`TypeError` 會在非整數的參數如浮點數或字符串被傳入時被拋出。" #: ../../library/grp.rst:53 msgid "" From 0c5bb1641628f3130363eca09b7235a2a5e7e18f Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:01 +0800 Subject: [PATCH 04/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 26ee9c79bb..0d197c13d8 100644 --- a/library/grp.po +++ b/library/grp.po @@ -153,4 +153,4 @@ msgstr ":mod:`pwd` 模組" #: ../../library/grp.rst:65 msgid "An interface to the user database, similar to this." -msgstr "使用者數據庫的介面,與此類似。" +msgstr "使用者資料庫的介面,與此類似。" From a28c72ffe8748aaa9092b604a2162077b848446b Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:09 +0800 Subject: [PATCH 05/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 0d197c13d8..0d5554507f 100644 --- a/library/grp.po +++ b/library/grp.po @@ -88,7 +88,7 @@ msgstr "gr_gid" #: ../../library/grp.rst:27 msgid "the numerical group ID" -msgstr "群組的數字ID" +msgstr "群組的數字 ID" #: ../../library/grp.rst:29 msgid "3" From 73e64b7b5241e2fbde7837ef6e15c74cc484284d Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:16 +0800 Subject: [PATCH 06/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/grp.po b/library/grp.po index 0d5554507f..e65353d39f 100644 --- a/library/grp.po +++ b/library/grp.po @@ -140,8 +140,8 @@ msgid "" "Return the group database entry for the given group name. :exc:`KeyError` is " "raised if the entry asked for cannot be found." msgstr "" -"返回給定群組名稱的群組資料庫項目。 :exc:`KeyError` 會在找不到所要求的項目時產" -"生。" +"回傳給定群組名稱的群組資料庫項目。 :exc:`KeyError` 會在找不到所要求的項目時引" +"發。" #: ../../library/grp.rst:59 msgid "Return a list of all available group entries, in arbitrary order." From 0aa365dab07e14af66cf74bd08a77616d26ef833 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:21 +0800 Subject: [PATCH 07/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index e65353d39f..6029882bf3 100644 --- a/library/grp.po +++ b/library/grp.po @@ -133,7 +133,7 @@ msgstr "" #: ../../library/grp.rst:48 msgid "" ":exc:`TypeError` is raised for non-integer arguments like floats or strings." -msgstr ":exc:`TypeError` 會在非整數的參數如浮點數或字符串被傳入時被拋出。" +msgstr ":exc:`TypeError` 會在非整數的引數如浮點數或字串被傳入時被引發。" #: ../../library/grp.rst:53 msgid "" From 4bf8ad34d31d8b44de6c9ba78e136f5eb8450ae0 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:26 +0800 Subject: [PATCH 08/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/grp.po b/library/grp.po index 6029882bf3..00018320b1 100644 --- a/library/grp.po +++ b/library/grp.po @@ -127,8 +127,8 @@ msgid "" "Return the group database entry for the given numeric group ID. :exc:" "`KeyError` is raised if the entry asked for cannot be found." msgstr "" -"傳回給定群組ID的群組數據庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被拋" -"出。" +"傳回給定群組 ID 的群組資料庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被引" +"發。" #: ../../library/grp.rst:48 msgid "" From 8f3e0279af5b3659933a9c63476d31ec66d14cad Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:31 +0800 Subject: [PATCH 09/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 00018320b1..9af7e314a2 100644 --- a/library/grp.po +++ b/library/grp.po @@ -112,7 +112,7 @@ msgid "" "reference and may not be accessible via :func:`getgrnam` or :func:" "`getgrgid`.)" msgstr "" -"gid 是整數,name 和 password 是字符串, 而 member list 是字符串清單。 (請注" +"gid 是整數,name 和 password 是字串, 而 member list 是字串串列。 (請注" "意, 根據密碼資料庫, 大多數使用者並未被明確列為其所在群組的成員。 請檢查這兩" "個資料庫,以取得完整的成員資訊。 另外請注意,以 ``+`` 或 ``-`` 開頭的 " "``gr_name`` 很可能是 YP/NIS 參照,可能無法透過 :func:`getgrnam` 或 :func:" From 6d585e9529ff7774d0d50e31ada51a9602ab8714 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:36 +0800 Subject: [PATCH 10/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 9af7e314a2..febe2634a8 100644 --- a/library/grp.po +++ b/library/grp.po @@ -40,7 +40,7 @@ msgid "" "see ````):" msgstr "" "群組資料庫項目以類似 tuple 物件的方式報傳入, 其屬性對應於 ``group`` 結構的成" -"員 (Attribute 欄位如下, 請參閱 ````):" +"員 (屬性欄位如下, 請參閱 ````):" #: ../../library/grp.rst:20 msgid "Index" From 9ebe414f1f0b63b94a0388805347597094380ba9 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 23:24:42 +0800 Subject: [PATCH 11/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index febe2634a8..b5faa0d5be 100644 --- a/library/grp.po +++ b/library/grp.po @@ -145,7 +145,7 @@ msgstr "" #: ../../library/grp.rst:59 msgid "Return a list of all available group entries, in arbitrary order." -msgstr "以任意順序傳回所有可用群組條目的清單。" +msgstr "以任意順序傳回所有可用群組條目的串列。" #: ../../library/grp.rst:64 msgid "Module :mod:`pwd`" From 8ba5d73ff834d98255c263cbb82bc993765b7953 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 1 Jul 2025 13:38:20 +0800 Subject: [PATCH 12/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index b5faa0d5be..9ee128c770 100644 --- a/library/grp.po +++ b/library/grp.po @@ -100,7 +100,7 @@ msgstr "gr_mem" #: ../../library/grp.rst:29 msgid "all the group member's user names" -msgstr "所有群組成員的用戶名" +msgstr "所有群組成員的使用者名稱" #: ../../library/grp.rst:33 msgid "" From 8cf697a90935e1df893aec682046ab225ea91e7a Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 1 Jul 2025 13:40:10 +0800 Subject: [PATCH 13/17] Update grp.po --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 9ee128c770..370039eb39 100644 --- a/library/grp.po +++ b/library/grp.po @@ -127,7 +127,7 @@ msgid "" "Return the group database entry for the given numeric group ID. :exc:" "`KeyError` is raised if the entry asked for cannot be found." msgstr "" -"傳回給定群組 ID 的群組資料庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被引" +"回傳給定群組 ID 的群組資料庫條目。 :exc:`KeyError` 會在找不到所要求的條目時被引" "發。" #: ../../library/grp.rst:48 From 49f0bddd270e0180697d4d2d4f93dcef821f2622 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 1 Jul 2025 17:35:01 +0800 Subject: [PATCH 14/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/grp.po b/library/grp.po index 370039eb39..2d7ab1f5fa 100644 --- a/library/grp.po +++ b/library/grp.po @@ -39,8 +39,8 @@ msgid "" "correspond to the members of the ``group`` structure (Attribute field below, " "see ````):" msgstr "" -"群組資料庫項目以類似 tuple 物件的方式報傳入, 其屬性對應於 ``group`` 結構的成" -"員 (屬性欄位如下, 請參閱 ````):" +"群組資料庫條目以類似 tuple 物件的方式報傳入, 其屬性對應於 ``group`` 結構的成" +"員(屬性欄位如下, 請參閱 ````):" #: ../../library/grp.rst:20 msgid "Index" From a25baf8c6d634c13853affc63e51a57d192c0789 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 1 Jul 2025 17:36:01 +0800 Subject: [PATCH 15/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 2d7ab1f5fa..a150a0398d 100644 --- a/library/grp.po +++ b/library/grp.po @@ -112,7 +112,7 @@ msgid "" "reference and may not be accessible via :func:`getgrnam` or :func:" "`getgrgid`.)" msgstr "" -"gid 是整數,name 和 password 是字串, 而 member list 是字串串列。 (請注" +"gid 是整數,name 和 password 是字串, 而 member list 是字串串列。(請注" "意, 根據密碼資料庫, 大多數使用者並未被明確列為其所在群組的成員。 請檢查這兩" "個資料庫,以取得完整的成員資訊。 另外請注意,以 ``+`` 或 ``-`` 開頭的 " "``gr_name`` 很可能是 YP/NIS 參照,可能無法透過 :func:`getgrnam` 或 :func:" From bc9b9d66d9dea26d9474acc5f3017291a54847e5 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 1 Jul 2025 17:36:12 +0800 Subject: [PATCH 16/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index a150a0398d..2357b92c2f 100644 --- a/library/grp.po +++ b/library/grp.po @@ -140,7 +140,7 @@ msgid "" "Return the group database entry for the given group name. :exc:`KeyError` is " "raised if the entry asked for cannot be found." msgstr "" -"回傳給定群組名稱的群組資料庫項目。 :exc:`KeyError` 會在找不到所要求的項目時引" +"回傳給定群組名稱的群組資料庫條目。 :exc:`KeyError` 會在找不到所要求的條目時引" "發。" #: ../../library/grp.rst:59 From 68e55d05f5ce7a14eed250693ee11d2579e6bbc5 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Tue, 1 Jul 2025 17:36:19 +0800 Subject: [PATCH 17/17] Update library/grp.po Co-authored-by: Dr.XYZ --- library/grp.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/grp.po b/library/grp.po index 2357b92c2f..cb3b4333c2 100644 --- a/library/grp.po +++ b/library/grp.po @@ -116,7 +116,7 @@ msgstr "" "意, 根據密碼資料庫, 大多數使用者並未被明確列為其所在群組的成員。 請檢查這兩" "個資料庫,以取得完整的成員資訊。 另外請注意,以 ``+`` 或 ``-`` 開頭的 " "``gr_name`` 很可能是 YP/NIS 參照,可能無法透過 :func:`getgrnam` 或 :func:" -"`getgrgid` 取得)。" +"`getgrgid` 取得)。" #: ../../library/grp.rst:40 msgid "It defines the following items:"