Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cfdb67

Browse files
[po] auto sync
1 parent 5bd9a99 commit 3cfdb67

2 files changed

Lines changed: 19 additions & 15 deletions

File tree

howto/regex.po

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# dannyvi <[email protected]>, 2018
1111
# Meng Du <[email protected]>, 2019
1212
# Freesand Leo <[email protected]>, 2019
13+
# zkonge, 2019
1314
#
1415
#, fuzzy
1516
msgid ""
@@ -18,7 +19,7 @@ msgstr ""
1819
"Report-Msgid-Bugs-To: \n"
1920
"POT-Creation-Date: 2019-09-01 14:24+0000\n"
2021
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
21-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
22+
"Last-Translator: zkonge, 2019\n"
2223
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2324
"MIME-Version: 1.0\n"
2425
"Content-Type: text/plain; charset=UTF-8\n"
@@ -158,9 +159,9 @@ msgid ""
158159
" set of characters. If you wanted to match only lowercase letters, your RE "
159160
"would be ``[a-z]``."
160161
msgstr ""
161-
"我们将看到的第一个元字符是 ``[````]``。 它们用于指定字符类,它是你希望匹配的一组字符。 可以单独列出字符,也可以通过给出两个字符并用 "
162-
"``'-'`` 标记将它们分开来表示一系列字符。 例如,``[abc]`` 将匹配任何字符 ``a``、``b`` 或 ``c``; 这与 "
163-
"``[a-c]`` 相同,它使用一个范围来表示同一组字符。 如果你只想匹配小写字母,你的正则是 ``[a-z]``。"
162+
"我们将看到的第一个元字符是 ``[````]`` 。 它们用于指定字符类,它是你希望匹配的一组字符。 可以单独列出字符,也可以通过给出两个字符并用"
163+
" ``'-'`` 标记将它们分开来表示一系列字符。 例如, ``[abc]`` 将匹配任何字符 ``a``、 ``b`` 或 ``c``这与 "
164+
"``[a-c]`` 相同,它使用一个范围来表示同一组字符。 如果你只想匹配小写字母,你的正则是 ``[a-z]`` 。"
164165

165166
#: ../../howto/regex.rst:92
166167
msgid ""
@@ -169,8 +170,8 @@ msgid ""
169170
"is usually a metacharacter, but inside a character class it's stripped of "
170171
"its special nature."
171172
msgstr ""
172-
"字符类中的元字符不生效。 例如,``[akm$]`` 将匹配``'a'````'k'````'m'````'$'`` 中的任意字符;``'$'``"
173-
" 通常是一个元字符,但在一个字符类中它被剥夺了特殊性。"
173+
"字符类中的元字符不生效。 例如,``[akm$]`` 将匹配 ``'a'````'k'````'m'````'$'`` 中的任意字符;"
174+
" ``'$'`` 通常是一个元字符,但在一个字符类中它被剥夺了特殊性。"
174175

175176
#: ../../howto/regex.rst:97
176177
msgid ""
@@ -335,8 +336,8 @@ msgid ""
335336
"For example, ``ca*t`` will match ``'ct'`` (0 ``'a'`` characters), ``'cat'`` "
336337
"(1 ``'a'``), ``'caaat'`` (3 ``'a'`` characters), and so forth."
337338
msgstr ""
338-
"例如,``ca*t`` 将匹配 ``'ct'`` (0个 ``'a'`` 字符),``'cat'`` (1个``'a'``),` `'caaat'`` "
339-
"(3个 ``'a'`` 字符),等等。"
339+
"例如,``ca*t`` 将匹配 ``'ct'`` (0个 ``'a'`` 字符),``'cat'`` (1个 ``'a'`` ), "
340+
"``'caaat'`` (3个 ``'a'`` 字符),等等。"
340341

341342
#: ../../howto/regex.rst:178
342343
msgid ""
@@ -513,9 +514,8 @@ msgid ""
513514
"better to use ``*``, ``+``, or ``?`` when you can, simply because they're "
514515
"shorter and easier to read."
515516
msgstr ""
516-
"还原论者的读者可能会注意到其他三个限定符都可以用这种表示法表达。 "
517-
"``{0,}``与``*``相同,``{1,}``相当于``+``,``{0,1}``和``?``相同。 "
518-
"最好使用``*``,``+``或``?``,只要因为它们更短更容易阅读。"
517+
"还原论者的读者可能会注意到其他三个限定符都可以用这种表示法表达。 ``{0,}`` 与 ``*`` 相同, ``{1,}`` 相当于 ``+`` , "
518+
"``{0,1}`` 和 ``?`` 相同。 最好使用 ``*`` , ``+`` 或 ``?`` ,只要因为它们更短更容易阅读。"
519519

520520
#: ../../howto/regex.rst:256
521521
msgid "Using Regular Expressions"
@@ -1352,7 +1352,7 @@ msgid ""
13521352
"``+``, ``?``, or ``{m,n}``. For example, ``(ab)*`` will match zero or more "
13531353
"repetitions of ``ab``. ::"
13541354
msgstr ""
1355-
"组由 ``'('``,``')'``` 元字符标记。 ``'('`` 和 ``')'`` "
1355+
"组由 ``'('``,``')'`` 元字符标记。 ``'('`` 和 ``')'`` "
13561356
"与数学表达式的含义大致相同;它们将包含在其中的表达式组合在一起,你可以使用重复限定符重复组的内容,例如 ``*``,``+``,``?`` 或 "
13571357
"``{m,n}``。 例如,``(ab)*`` 将匹配 ``ab`` 的零次或多次重复。::"
13581358

@@ -1999,8 +1999,8 @@ msgid ""
19991999
"report it. ::"
20002000
msgstr ""
20012001
" :func:`~re.match` 函数只检查正则是否在字符串的开头匹配,而 :func:`~re.search` 将向前扫描字符串以进行匹配。 "
2002-
"记住这一区别非常重要。 记住, :func:`!match` 只报告一个从位置 0 开始的成功匹配;如果匹配不会从头开始,则 "
2003-
":func:`!match` 将 ** 报告它。::"
2002+
"记住这一区别非常重要。 记住, :func:`!match` 只报告一个从位置 0 开始的成功匹配;如果匹配未从头开始,则 :func:`!match`"
2003+
" 将 *不会* 报告它。::"
20042004

20052005
#: ../../howto/regex.rst:1283
20062006
msgid ""

library/stdtypes.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# ww song <[email protected]>, 2019
1919
# Arisaka97 <[email protected]>, 2019
2020
# Freesand Leo <[email protected]>, 2019
21+
# zkonge, 2019
2122
#
2223
#, fuzzy
2324
msgid ""
@@ -26,7 +27,7 @@ msgstr ""
2627
"Report-Msgid-Bugs-To: \n"
2728
"POT-Creation-Date: 2019-11-21 11:59+0000\n"
2829
"PO-Revision-Date: 2017-02-16 23:27+0000\n"
29-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
30+
"Last-Translator: zkonge, 2019\n"
3031
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3132
"MIME-Version: 1.0\n"
3233
"Content-Type: text/plain; charset=UTF-8\n"
@@ -4525,6 +4526,9 @@ msgid ""
45254526
"Fortran order is preserved. For non-contiguous views, the data is converted "
45264527
"to C first. *order=None* is the same as *order='C'*."
45274528
msgstr ""
4529+
"*order* 可以为 {'C', 'F', 'A'}。 当 *order* 为 'C' 或 'F' 时,原始数组的数据会被转换至 C 或 "
4530+
"Fortran 顺序。 对于连续视图,'A' 会返回物理内存的精确副本。 特别地,内存中的 Fortran "
4531+
"顺序会被保留。对于非连续视图,数据会先被转换为 C 形式。 *order=None* 与 *order='C'* 是相同的。"
45284532

45294533
#: ../../library/stdtypes.rst:3654
45304534
msgid ""

0 commit comments

Comments
 (0)