Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbdf89b3

Browse files
authored
Fix powrap issues. (#858)
1 parent5e7fc28 commitbdf89b3

File tree

7 files changed

+30
-30
lines changed

7 files changed

+30
-30
lines changed

‎faq/extending.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ msgstr "我可以在 C++ 中建立自己的函式嗎?"
5151
#:../../faq/extending.rst:28
5252
#,fuzzy
5353
msgid""
54-
"Yes, using the C compatibility features found in C++. Place ``extern "
55-
"\"C\"{ ... }`` around the Python include files and put ``extern\"C\"`` "
56-
"beforeeach function that is going to be called by the Python interpreter. "
57-
"Globalor static C++ objects with constructors are probably not a good idea."
54+
"Yes, using the C compatibility features found in C++. Place ``extern\"C\""
55+
"{ ... }`` around the Python include files and put ``extern\"C\"`` before "
56+
"each function that is going to be called by the Python interpreter. Global "
57+
"or static C++ objects with constructors are probably not a good idea."
5858
msgstr""
5959
"是的,使用 C++ 中的 C 相容性功能。將 ``extern\"C\" { ... }`` 放在 Python 包"
6060
"含檔案周圍,並將 ``extern\"C\"`` 放在每個將由 Python 直譯器呼叫的函式之前。"

‎howto/regex.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -922,13 +922,13 @@ msgid ""
922922
"letters, too. Full Unicode matching also works unless the :const:`ASCII` "
923923
"flag is used to disable non-ASCII matches. When the Unicode patterns ``[a-"
924924
"z]`` or ``[A-Z]`` are used in combination with the :const:`IGNORECASE` flag, "
925-
"they will match the 52 ASCII letters and 4 additional non-ASCII letters: "
926-
"'İ'(U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin "
927-
"smallletter dotless i), 'ſ' (U+017F, Latin small letter long s) and "
928-
"'K' (U+212A,Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, "
929-
"``'spAM'``, or ``'ſpam'`` (the latter is matched only in Unicode mode). This "
930-
"lowercasingdoesn't take the current locale into account; it will if you "
931-
"also set the :const:`LOCALE` flag."
925+
"they will match the 52 ASCII letters and 4 additional non-ASCII letters:'İ'"
926+
"(U+0130, Latin capital letter I with dot above), 'ı' (U+0131, Latin small "
927+
"letter dotless i), 'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, "
928+
"Kelvin sign). ``Spam`` will match ``'Spam'``, ``'spam'``, ``'spAM'``, or "
929+
"``'ſpam'`` (the latter is matched only in Unicode mode). This lowercasing "
930+
"doesn't take the current locale into account; it will if youalso set the :"
931+
"const:`LOCALE` flag."
932932
msgstr""
933933

934934
#:../../howto/regex.rst:581

‎library/cmath.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ msgid ""
158158
"specified, returns the natural logarithm of *x*. There is one branch cut, "
159159
"from 0 along the negative real axis to -∞."
160160
msgstr""
161-
"回傳 *x* 給定 *base* 的對數。如果未指定 *base*,則傳回 *x* 的自然對數。存在"
162-
"一條分枝切割,從 0 沿負實數軸到 -∞。"
161+
"回傳 *x* 給定 *base* 的對數。如果未指定 *base*,則傳回 *x* 的自然對數。存在一"
162+
"條分枝切割,從 0 沿負實數軸到 -∞。"
163163

164164
#:../../library/cmath.rst:114
165165
msgid""

‎library/exceptions.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ msgstr ""
487487
#:../../library/exceptions.rst:347
488488
msgid""
489489
"This exception is raised when a system function returns a system-related "
490-
"error, including I/O failures such as\"file not found\" or\"disk "
491-
"full\"(not for illegal argument types or other incidental errors)."
490+
"error, including I/O failures such as\"file not found\" or\"diskfull\""
491+
"(not for illegal argument types or other incidental errors)."
492492
msgstr""
493493

494494
#:../../library/exceptions.rst:351

‎library/re.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,10 +1080,10 @@ msgid ""
10801080
"Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in "
10811081
"combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII "
10821082
"letters and 4 additional non-ASCII letters: 'İ' (U+0130, Latin capital "
1083-
"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i), "
1084-
"'ſ'(U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). If "
1085-
"the :py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to "
1086-
"'Z'are matched."
1083+
"letter I with dot above), 'ı' (U+0131, Latin small letter dotless i),'ſ'"
1084+
"(U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign). Ifthe :"
1085+
"py:const:`~re.ASCII` flag is used, only letters 'a' to 'z' and 'A' to 'Z' "
1086+
"are matched."
10871087
msgstr""
10881088

10891089
#:../../library/re.rst:778

‎whatsnew/2.3.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -654,9 +654,9 @@ msgstr ""
654654
msgid""
655655
"When encoding a Unicode string into a byte string, unencodable characters "
656656
"may be encountered. So far, Python has allowed specifying the error "
657-
"processing as either\"strict\" (raising :exc:`UnicodeError`), "
658-
"\"ignore\"(skipping the character), or\"replace\" (using a question mark "
659-
"in theoutput string), with\"strict\" being the default behavior. It may be "
657+
"processing as either\"strict\" (raising :exc:`UnicodeError`),\"ignore\""
658+
"(skipping the character), or\"replace\" (using a question mark in the "
659+
"output string), with\"strict\" being the default behavior. It may be "
660660
"desirable to specify alternative processing of such errors, such as "
661661
"inserting an XML character reference or HTML entity reference into the "
662662
"converted string."

‎whatsnew/2.7.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,14 +2385,14 @@ msgid ""
23852385
"ElementTree's code for converting trees to a string has been significantly "
23862386
"reworked, making it roughly twice as fast in many cases. The :meth:"
23872387
"`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>` and :meth:"
2388-
"`Element.write` methods now have a *method* parameter that can be "
2389-
"\"xml\"(the default),\"html\", or\"text\". HTML mode will output empty "
2390-
"elementsas ``<empty></empty>`` instead of ``<empty/>``, and text mode will "
2391-
"skip overelements and only output the text chunks. If you set the :attr:"
2392-
"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but "
2393-
"leave itschildren in place, the element will be omitted when the tree is "
2394-
"written out,so you don't need to do more extensive rearrangement to remove "
2395-
"a singleelement."
2388+
"`Element.write` methods now have a *method* parameter that can be\"xml\""
2389+
"(the default),\"html\", or\"text\". HTML mode will output empty elements "
2390+
"as ``<empty></empty>`` instead of ``<empty/>``, and text mode will skip over "
2391+
"elements and only output the text chunks. If you set the :attr:`~xml.etree."
2392+
"ElementTree.Element.tag` attribute of an element to ``None`` but leave its "
2393+
"children in place, the element will be omitted when the tree is written out, "
2394+
"so you don't need to do more extensive rearrangement to remove a single "
2395+
"element."
23962396
msgstr""
23972397

23982398
#:../../whatsnew/2.7.rst:2045

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp