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

Skip to content

Commit 989a810

Browse files
[po] auto sync
1 parent 6b0eb4f commit 989a810

4 files changed

Lines changed: 27 additions & 13 deletions

File tree

library/json.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ msgstr "JSON 字符串的内容和最大长度"
882882
msgid ""
883883
"This module does not impose any such limits beyond those of the relevant "
884884
"Python datatypes themselves or the Python interpreter itself."
885-
msgstr ""
885+
msgstr "此模块不强制执行任何上述限制,除了相关的 Python 数据类型本身或者 Python 解释器本身的限制以外。"
886886

887887
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:658
888888
msgid ""
@@ -894,20 +894,23 @@ msgid ""
894894
"magnitude, or when serializing instances of \"exotic\" numerical types such "
895895
"as :class:`decimal.Decimal`."
896896
msgstr ""
897+
"当序列化为 JSON ,在应用中当心此类限制这可能破坏你的 JSON 。特别是,通常将 JSON 数字反序列化为 IEEE 754 "
898+
"双精度数字,从而受到该表示方式的范围和精度限制。这是特别相关的,当序列化非常大的 Python :class:`int` 值时,或者当序列化 "
899+
"\"exotic\" 数值类型的实例时比如 :class:`decimal.Decimal` 。"
897900

898901
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:671
899902
msgid "Command Line Interface"
900903
msgstr "命令行界面"
901904

902905
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:676
903906
msgid "**Source code:** :source:`Lib/json/tool.py`"
904-
msgstr ""
907+
msgstr "**源代码:** :source:`Lib/json/tool.py`"
905908

906909
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:680
907910
msgid ""
908911
"The :mod:`json.tool` module provides a simple command line interface to "
909912
"validate and pretty-print JSON objects."
910-
msgstr ""
913+
msgstr " :mod:`json.tool` 模块提供了一个简单的命令行接口验证并打印漂亮的 JSON 对象。"
911914

912915
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:683
913916
msgid ""

library/lzma.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -577,39 +577,39 @@ msgstr ""
577577

578578
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:339
579579
msgid "Delta filter:"
580-
msgstr ""
580+
msgstr "Delta 过滤器:"
581581

582582
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:339
583583
msgid ":const:`FILTER_DELTA`"
584-
msgstr ""
584+
msgstr ":const:`FILTER_DELTA`"
585585

586586
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:347
587587
msgid "Branch-Call-Jump (BCJ) filters:"
588-
msgstr ""
588+
msgstr "Branch-Call-Jump (BCJ) 过滤器:"
589589

590590
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:342
591591
msgid ":const:`FILTER_X86`"
592-
msgstr ""
592+
msgstr ":const:`FILTER_X86`"
593593

594594
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:343
595595
msgid ":const:`FILTER_IA64`"
596-
msgstr ""
596+
msgstr ":const:`FILTER_IA64`"
597597

598598
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:344
599599
msgid ":const:`FILTER_ARM`"
600-
msgstr ""
600+
msgstr ":const:`FILTER_ARM`"
601601

602602
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:345
603603
msgid ":const:`FILTER_ARMTHUMB`"
604-
msgstr ""
604+
msgstr ":const:`FILTER_ARMTHUMB`"
605605

606606
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:346
607607
msgid ":const:`FILTER_POWERPC`"
608-
msgstr ""
608+
msgstr ":const:`FILTER_POWERPC`"
609609

610610
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:347
611611
msgid ":const:`FILTER_SPARC`"
612-
msgstr ""
612+
msgstr ":const:`FILTER_SPARC`"
613613

614614
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/lzma.rst:349
615615
msgid ""

tutorial/classes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ msgstr "多重继承"
821821
msgid ""
822822
"Python supports a form of multiple inheritance as well. A class definition "
823823
"with multiple base classes looks like this::"
824-
msgstr " Python也支持多重继承的形式。具有多个基类的类定义如下所示::"
824+
msgstr "Python也支持一种多重继承。 带有多个基类的类定义语句如下所示::"
825825

826826
#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/classes.rst:644
827827
msgid ""

tutorial/errors.po

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ msgid ""
346346
"statement produces an exception. The following points discuss more complex "
347347
"cases when an exception occurs:"
348348
msgstr ""
349+
"如果存在 :keyword:`finally` 子句,则 :keyword:`!finally` 子句将作为 :keyword:`try` "
350+
"语句结束前的最后一项任务被执行。 :keyword:`!finally` 子句不论 :keyword:`!try` 语句是否产生了异常都会被执行。 "
351+
"以下几点讨论了当异常发生时一些更复杂的情况:"
349352

350353
#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/errors.rst:350
351354
msgid ""
@@ -354,6 +357,8 @@ msgid ""
354357
" not handled by an :keyword:`!except` clause, the exception is re-raised "
355358
"after the :keyword:`!finally` clause has been executed."
356359
msgstr ""
360+
"如果在执行 :keyword:`!try` 子句期间发生了异常,该异常可由一个 :keyword:`except` 子句进行处理。 如果异常没有被某个 "
361+
":keyword:`!except` 子句所处理,则该异常会在 :keyword:`!finally` 子句执行之后被重新引发。"
357362

358363
#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/errors.rst:356
359364
msgid ""
@@ -371,6 +376,9 @@ msgid ""
371376
"clause will execute just prior to the :keyword:`!break`, "
372377
":keyword:`!continue` or :keyword:`!return` statement's execution."
373378
msgstr ""
379+
"如果在执行 :keyword:`!try` 语句时遇到一个 :keyword:`break`, :keyword:`continue` 或 "
380+
":keyword:`return` 语句,则 :keyword:`!finally` 子句将在执行 :keyword:`!break`, "
381+
":keyword:`!continue` 或 :keyword:`!return` 语句之前被执行。"
374382

375383
#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/errors.rst:366
376384
msgid ""
@@ -379,6 +387,9 @@ msgid ""
379387
":keyword:`!return` statement, not the value from the :keyword:`!try` "
380388
"clause's :keyword:`!return` statement."
381389
msgstr ""
390+
"如果 :keyword:`!finally` 子句中包含一个 :keyword:`!return` 语句,则返回值将来自 "
391+
":keyword:`!finally` 子句的某个 :keyword:`!return` 语句的返回值,而非来自 :keyword:`!try` 子句的"
392+
" :keyword:`!return` 语句的返回值。"
382393

383394
#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/errors.rst:372
384395
msgid "For example::"

0 commit comments

Comments
 (0)