From 64ad149b827d072c90e2cd38459050d138be3b8e Mon Sep 17 00:00:00 2001 From: cschan <45995789+cschan1828@users.noreply.github.com> Date: Sat, 23 Mar 2024 00:55:01 +0800 Subject: [PATCH] Fix powrap issues. --- faq/extending.po | 8 ++++---- howto/regex.po | 14 +++++++------- library/cmath.po | 4 ++-- library/exceptions.po | 4 ++-- library/re.po | 8 ++++---- whatsnew/2.3.po | 6 +++--- whatsnew/2.7.po | 16 ++++++++-------- 7 files changed, 30 insertions(+), 30 deletions(-) diff --git a/faq/extending.po b/faq/extending.po index 7cc1529f18..35c8560543 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -51,10 +51,10 @@ msgstr "我可以在 C++ 中建立自己的函式嗎?" #: ../../faq/extending.rst:28 #, fuzzy msgid "" -"Yes, using the C compatibility features found in C++. Place ``extern " -"\"C\" { ... }`` around the Python include files and put ``extern \"C\"`` " -"before each function that is going to be called by the Python interpreter. " -"Global or static C++ objects with constructors are probably not a good idea." +"Yes, using the C compatibility features found in C++. Place ``extern \"C\" " +"{ ... }`` around the Python include files and put ``extern \"C\"`` before " +"each function that is going to be called by the Python interpreter. Global " +"or static C++ objects with constructors are probably not a good idea." msgstr "" "是的,使用 C++ 中的 C 相容性功能。將 ``extern \"C\" { ... }`` 放在 Python 包" "含檔案周圍,並將 ``extern \"C\"`` 放在每個將由 Python 直譯器呼叫的函式之前。" diff --git a/howto/regex.po b/howto/regex.po index 79836d436a..ed4026b7e0 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -922,13 +922,13 @@ msgid "" "letters, too. Full Unicode matching also works unless the :const:`ASCII` " "flag is used to disable non-ASCII matches. When the Unicode patterns ``[a-" "z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, " -"they will match the 52 ASCII letters and 4 additional non-ASCII letters: " -"'İ' (U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin " -"small letter dotless i), 'ſ' (U+017F, Latin small letter long s) and " -"'K' (U+212A, Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, " -"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This " -"lowercasing doesn't take the current locale into account; it will if you " -"also set the :const:`LOCALE` flag." +"they will match the 52 ASCII letters and 4 additional non-ASCII letters: 'İ' " +"(U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin small " +"letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, " +"Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, ``'spAM'``, or " +"``'ſpam'`` (the latter is matched only in Unicode mode). This lowercasing " +"doesn't take the current locale into account; it will if you also set the :" +"const:`LOCALE` flag." msgstr "" #: ../../howto/regex.rst:581 diff --git a/library/cmath.po b/library/cmath.po index 1d0989d677..db039a66cc 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -158,8 +158,8 @@ msgid "" "specified, returns the natural logarithm of *x*. There is one branch cut, " "from 0 along the negative real axis to -∞." msgstr "" -"回傳 *x* 給定 *base* 的對數。如果未指定 *base*,則傳回 *x* 的自然對數。存在" -"一條分枝切割,從 0 沿負實數軸到 -∞。" +"回傳 *x* 給定 *base* 的對數。如果未指定 *base*,則傳回 *x* 的自然對數。存在一" +"條分枝切割,從 0 沿負實數軸到 -∞。" #: ../../library/cmath.rst:114 msgid "" diff --git a/library/exceptions.po b/library/exceptions.po index dabf3ed246..7dbfbbdd40 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -487,8 +487,8 @@ msgstr "" #: ../../library/exceptions.rst:347 msgid "" "This exception is raised when a system function returns a system-related " -"error, including I/O failures such as \"file not found\" or \"disk " -"full\" (not for illegal argument types or other incidental errors)." +"error, including I/O failures such as \"file not found\" or \"disk full\" " +"(not for illegal argument types or other incidental errors)." msgstr "" #: ../../library/exceptions.rst:351 diff --git a/library/re.po b/library/re.po index c7ab596f76..c6ad200022 100644 --- a/library/re.po +++ b/library/re.po @@ -1080,10 +1080,10 @@ msgid "" "Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in " "combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII " "letters and 4 additional non-ASCII letters: 'İ' (U+0130, Latin capital " -"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), " -"'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If " -"the :py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to " -"'Z' are matched." +"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), 'ſ' " +"(U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If the :" +"py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to 'Z' " +"are matched." msgstr "" #: ../../library/re.rst:778 diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 9aa7bdcab9..40a781feb1 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -654,9 +654,9 @@ msgstr "" msgid "" "When encoding a Unicode string into a byte string, unencodable characters " "may be encountered. So far, Python has allowed specifying the error " -"processing as either \"strict\" (raising :exc:`UnicodeError`), " -"\"ignore\" (skipping the character), or \"replace\" (using a question mark " -"in the output string), with \"strict\" being the default behavior. It may be " +"processing as either \"strict\" (raising :exc:`UnicodeError`), \"ignore\" " +"(skipping the character), or \"replace\" (using a question mark in the " +"output string), with \"strict\" being the default behavior. It may be " "desirable to specify alternative processing of such errors, such as " "inserting an XML character reference or HTML entity reference into the " "converted string." diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 4616147969..dd220c5043 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -2385,14 +2385,14 @@ msgid "" "ElementTree's code for converting trees to a string has been significantly " "reworked, making it roughly twice as fast in many cases. The :meth:" "`ElementTree.write() ` and :meth:" -"`Element.write` methods now have a *method* parameter that can be " -"\"xml\" (the default), \"html\", or \"text\". HTML mode will output empty " -"elements as ```` instead of ````, and text mode will " -"skip over elements and only output the text chunks. If you set the :attr:" -"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but " -"leave its children in place, the element will be omitted when the tree is " -"written out, so you don't need to do more extensive rearrangement to remove " -"a single element." +"`Element.write` methods now have a *method* parameter that can be \"xml\" " +"(the default), \"html\", or \"text\". HTML mode will output empty elements " +"as ```` instead of ````, and text mode will skip over " +"elements and only output the text chunks. If you set the :attr:`~xml.etree." +"ElementTree.Element.tag` attribute of an element to ``None`` but leave its " +"children in place, the element will be omitted when the tree is written out, " +"so you don't need to do more extensive rearrangement to remove a single " +"element." msgstr "" #: ../../whatsnew/2.7.rst:2045 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy