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

Skip to content

Commit d5bb893

Browse files
[po] auto sync
1 parent b4e3e37 commit d5bb893

2 files changed

Lines changed: 30 additions & 14 deletions

File tree

c-api/buffer.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# helloworldSB <[email protected]>, 2021
2121
# jing li <[email protected]>, 2021
2222
# Freesand Leo <[email protected]>, 2021
23+
# Dai Xu <[email protected]>, 2021
2324
#
2425
#, fuzzy
2526
msgid ""
@@ -28,7 +29,7 @@ msgstr ""
2829
"Report-Msgid-Bugs-To: \n"
2930
"POT-Creation-Date: 2021-06-29 12:56+0000\n"
3031
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
31-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
32+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
3233
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3334
"MIME-Version: 1.0\n"
3435
"Content-Type: text/plain; charset=UTF-8\n"
@@ -360,6 +361,9 @@ msgid ""
360361
"pointer after de-referencing. A suboffset value that is negative indicates "
361362
"that no de-referencing should occur (striding in a contiguous memory block)."
362363
msgstr ""
364+
"一个长度为 :c:member:`~Py_buffer.ndim` 类型为 :c:type:`Py_ssize_t` 的数组 。如果 "
365+
"``suboffsets[n] >= 0``,则第 n 维存储的是指针,suboffset "
366+
"值决定了解除引用时要给指针增加多少字节的偏移。suboffset 为负值,则表示不应解除引用(在连续内存块中移动)。"
363367

364368
#: ../../c-api/buffer.rst:201
365369
msgid ""

using/cmdline.po

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# Arisaka97 <[email protected]>, 2021
99
# ppcfish <[email protected]>, 2021
1010
# jaystone776 <[email protected]>, 2021
11-
# Freesand Leo <[email protected]>, 2021
1211
# Dai Xu <[email protected]>, 2021
12+
# Freesand Leo <[email protected]>, 2021
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2021-08-06 13:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 01:50+0000\n"
21-
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
21+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -615,13 +615,13 @@ msgstr ""
615615
msgid ""
616616
"The *module* field matches the (fully-qualified) module name; this match is "
617617
"case-sensitive."
618-
msgstr ""
618+
msgstr "*module* 字段匹配的是(完全限定)模块名;区分大小写。"
619619

620620
#: ../../using/cmdline.rst:423
621621
msgid ""
622622
"The *lineno* field matches the line number, where zero matches all line "
623623
"numbers and is thus equivalent to an omitted line number."
624-
msgstr ""
624+
msgstr "*lineno* 字段匹配行号,其中 0 匹配所有行号,相当于省略了行号。"
625625

626626
#: ../../using/cmdline.rst:426
627627
msgid ""
@@ -630,6 +630,8 @@ msgid ""
630630
":option:`-W` options are ignored (though, a warning message is printed about"
631631
" invalid options when the first warning is issued)."
632632
msgstr ""
633+
"可以给出多个 :option:`-W` 选项;当某条警告信息匹配上多个选项时,将执行最后一个匹配项的操作。非法 :option:`-W` "
634+
"选项将被忽略(不过,在触发第一条警告时,会打印出一条无效选项的警告信息)。"
633635

634636
#: ../../using/cmdline.rst:431
635637
msgid ""
@@ -638,6 +640,8 @@ msgid ""
638640
":mod:`warnings` module. For example, the :func:`warnings.filterwarnings` "
639641
"function can be used to use a regular expression on the warning message."
640642
msgstr ""
643+
"警告信息还可以用 :envvar:`PYTHONWARNINGS` 环境变量来控制,也可以在 Python 程序中用 :mod:`warnings` "
644+
"模块进行控制。例如, :func:`warnings.filterwarnings` 函数可对警告信息使用正则表达式。"
641645

642646
#: ../../using/cmdline.rst:436 ../../using/cmdline.rst:744
643647
msgid ""
@@ -668,6 +672,8 @@ msgid ""
668672
"interactive interpreter. This only works on :ref:`debug builds <debug-"
669673
"build>`."
670674
msgstr ""
675+
"``-X showrefcount`` 可在程序结束时或在交互式解释器每条语句后,输出总的引用计数和使用的内存块数。这只适用于 :ref:`调试版本 "
676+
"<debug-build>`。"
671677

672678
#: ../../using/cmdline.rst:455
673679
msgid ""
@@ -705,6 +711,8 @@ msgid ""
705711
"explicitly disables :ref:`Python UTF-8 Mode <utf8-mode>` (even when it would"
706712
" otherwise activate automatically)."
707713
msgstr ""
714+
"``-X utf8`` 启用 :ref:`Python UTF-8 模式 <utf8-mode>`。 ``-X utf8=0`` 显式禁用 "
715+
":ref:`Python UTF-8 模式 <utf8-mode>` (即便已自动启用)。"
708716

709717
#: ../../using/cmdline.rst:471
710718
msgid ""
@@ -721,6 +729,8 @@ msgid ""
721729
"locale-specific default encoding is used for opening files. See also "
722730
":envvar:`PYTHONWARNDEFAULTENCODING`."
723731
msgstr ""
732+
" 当采用某地区默认编码打开文件时,``-X warn_default_encoding`` 将引发一条 "
733+
":class:`EncodingWarning`。参见 :envvar:`PYTHONWARNDEFAULTENCODING`。"
724734

725735
#: ../../using/cmdline.rst:478
726736
msgid ""
@@ -768,11 +778,11 @@ msgstr "The ``-X showalloccount`` 选项已被移除。"
768778

769779
#: ../../using/cmdline.rst:506
770780
msgid "The ``-X warn_default_encoding`` option."
771-
msgstr ""
781+
msgstr "``-X warn_default_encoding`` 选项。"
772782

773783
#: ../../using/cmdline.rst:510
774784
msgid "The ``-X oldparser`` option."
775-
msgstr "The ``-X oldparser`` 选项。"
785+
msgstr " ``-X oldparser`` 选项。"
776786

777787
#: ../../using/cmdline.rst:514
778788
msgid "Options you shouldn't use"
@@ -1138,7 +1148,7 @@ msgstr ""
11381148

11391149
#: ../../using/cmdline.rst:802
11401150
msgid "Install :ref:`debug hooks <pymem-debug-hooks>`:"
1141-
msgstr ""
1151+
msgstr "安装 :ref:`调试钩子 <pymem-debug-hooks>` :"
11421152

11431153
#: ../../using/cmdline.rst:804
11441154
msgid ""
@@ -1189,6 +1199,8 @@ msgid ""
11891199
"'replace', respectively. Otherwise, the new defaults 'utf-8' and "
11901200
"'surrogatepass' are used."
11911201
msgstr ""
1202+
"如果设为非空字符串,默认的 :term:`filesystem encoding and error handler` 模式将恢复到 3.6 "
1203+
"版本之前的值 “mbcs”和“replace”。 否则,将采用新的默认值“utf-8”和“surrogatepass”。"
11921204

11931205
#: ../../using/cmdline.rst:837
11941206
msgid ""
@@ -1323,11 +1335,11 @@ msgstr ""
13231335

13241336
#: ../../using/cmdline.rst:921
13251337
msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode <utf8-mode>`."
1326-
msgstr ""
1338+
msgstr "如果设为 ``1`` ,将会启用 :ref:`Python UTF-8 模式 <utf8-mode>`。"
13271339

13281340
#: ../../using/cmdline.rst:923
13291341
msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode <utf8-mode>`."
1330-
msgstr ""
1342+
msgstr "若设为 ``0`` ,则会禁用 :ref:`Python UTF-8 模式 <utf8-mode>` 。"
13311343

13321344
#: ../../using/cmdline.rst:925
13331345
msgid ""
@@ -1339,7 +1351,7 @@ msgstr "设置任何其他非空字符串会在解释器初始化期间导致错
13391351
msgid ""
13401352
"If this environment variable is set to a non-empty string, issue a "
13411353
":class:`EncodingWarning` when the locale-specific default encoding is used."
1342-
msgstr ""
1354+
msgstr "如果该环境变量设为一个非空字符串,则在采用某地区默认编码时,将会引发一条 :class:`EncodingWarning` 。"
13431355

13441356
#: ../../using/cmdline.rst:935
13451357
msgid "See :ref:`io-encoding-warning` for details."
@@ -1351,11 +1363,11 @@ msgstr "调试模式变量"
13511363

13521364
#: ../../using/cmdline.rst:945
13531365
msgid "If set, Python will print threading debug info into stdout."
1354-
msgstr ""
1366+
msgstr "若设置此变量,Python 将会把线程调试信息打印到 stdout。"
13551367

13561368
#: ../../using/cmdline.rst:947
13571369
msgid "Need a :ref:`debug build of Python <debug-build>`."
1358-
msgstr ""
1370+
msgstr "需要 :ref:`Python 的调试版本 <debug-build>`。"
13591371

13601372
#: ../../using/cmdline.rst:954
13611373
msgid ""
@@ -1366,4 +1378,4 @@ msgstr "如果设置,Python在关闭解释器,及转储对象和引用计数
13661378
#: ../../using/cmdline.rst:957
13671379
msgid ""
13681380
"Need Python configured with the :option:`--with-trace-refs` build option."
1369-
msgstr ""
1381+
msgstr "需用 :option:`--with-trace-refs` 编译选项来配置 Python。"

0 commit comments

Comments
 (0)