From 745a55089f5c46cd0f5d2c4cb7e11ec2ec5b14b7 Mon Sep 17 00:00:00 2001 From: winniepopu Date: Mon, 23 Sep 2024 12:18:19 +0800 Subject: [PATCH 1/3] interpret one of the purpose part in importLib --- library/importlib.po | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/importlib.po b/library/importlib.po index 093b6063c0..1d8108df60 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -32,7 +32,7 @@ msgstr "簡介" #: ../../library/importlib.rst:20 msgid "The purpose of the :mod:`importlib` package is three-fold." -msgstr "" +msgstr "`importlib` 的目的可分為三個部分。" #: ../../library/importlib.rst:22 msgid "" @@ -43,6 +43,9 @@ msgid "" "to comprehend than one implemented in a programming language other than " "Python." msgstr "" +"第一是是提供 Python 原始碼中 :keyword:import 陳述句的實作(因此,也延伸到 :" +"func:__import__ 函數)。這讓 :keyword:!import 實作可以移植到任何 Python 直譯" +"器。同時,這也提供了一個比用其他程式語言實作更容易理解的版本。 " #: ../../library/importlib.rst:29 msgid "" From adf747af8df8e317a8db57d3711c3f105b00b5aa Mon Sep 17 00:00:00 2001 From: winniepopu Date: Mon, 23 Sep 2024 14:13:28 +0800 Subject: [PATCH 2/3] fix the name format of "import" --- library/importlib.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/importlib.po b/library/importlib.po index 1d8108df60..1d705e8b34 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -43,9 +43,9 @@ msgid "" "to comprehend than one implemented in a programming language other than " "Python." msgstr "" -"第一是是提供 Python 原始碼中 :keyword:import 陳述句的實作(因此,也延伸到 :" -"func:__import__ 函數)。這讓 :keyword:!import 實作可以移植到任何 Python 直譯" -"器。同時,這也提供了一個比用其他程式語言實作更容易理解的版本。 " +"第一是是提供 Python 原始碼中 :keyword:`import` 陳述句的實作(因此,也延伸到 :" +"func:`__import__` 函數)。這讓 :keyword:`!import` 實作可以移植到任何 Python " +"直譯器。同時,這也提供了一個比用其他程式語言實作更容易理解的版本。 " #: ../../library/importlib.rst:29 msgid "" From 0f3085dc6286771f036d749f2b0c5b5b60418ae5 Mon Sep 17 00:00:00 2001 From: Winnie Date: Mon, 23 Sep 2024 14:44:27 +0800 Subject: [PATCH 3/3] Apply suggestions from code review Fix the statements of translation Co-authored-by: Wei-Hsiang (Matt) Wang --- library/importlib.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/importlib.po b/library/importlib.po index 1d705e8b34..4ce7485363 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -32,7 +32,7 @@ msgstr "簡介" #: ../../library/importlib.rst:20 msgid "The purpose of the :mod:`importlib` package is three-fold." -msgstr "`importlib` 的目的可分為三個部分。" +msgstr ":mod:`importlib` 的目的可分為三個部分。" #: ../../library/importlib.rst:22 msgid "" @@ -43,8 +43,8 @@ msgid "" "to comprehend than one implemented in a programming language other than " "Python." msgstr "" -"第一是是提供 Python 原始碼中 :keyword:`import` 陳述句的實作(因此,也延伸到 :" -"func:`__import__` 函數)。這讓 :keyword:`!import` 實作可以移植到任何 Python " +"第一是提供 Python 原始碼中 :keyword:`import` 陳述式的實作(因此,也延伸到 :" +"func:`__import__` 函式)。這讓 :keyword:`!import` 實作可以移植到任何 Python " "直譯器。同時,這也提供了一個比用其他程式語言實作更容易理解的版本。 " #: ../../library/importlib.rst:29