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

Skip to content

Commit 17b3e50

Browse files
[po] auto sync
1 parent fd1104b commit 17b3e50

2 files changed

Lines changed: 19 additions & 10 deletions

File tree

library/nis.po

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ msgstr ":mod:`nis` --- Sun 的 NIS (黄页) 接口"
2929
msgid ""
3030
"The :mod:`nis` module gives a thin wrapper around the NIS library, useful "
3131
"for central administration of several hosts."
32-
msgstr ""
32+
msgstr ":mod:`nis` 模块提供了对 NIS 库的轻量级包装,适用于多个主机的集中管理。"
3333

3434
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:17
3535
msgid ""
3636
"Because NIS exists only on Unix systems, this module is only available for "
3737
"Unix."
38-
msgstr ""
38+
msgstr "因为 NIS 仅存在于 Unix 系统,此模块仅在 Unix 上可用。"
3939

4040
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:19
4141
msgid "The :mod:`nis` module defines the following functions:"
42-
msgstr ""
42+
msgstr ":mod:`nis` 模块定义了以下函数:"
4343

4444
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:24
4545
msgid ""
@@ -48,40 +48,44 @@ msgid ""
4848
"clean. Return value is an arbitrary array of bytes (may contain ``NULL`` and"
4949
" other joys)."
5050
msgstr ""
51+
"返回 *key* 在映射 *mapname* 中的匹配结果,如无结果则会引发错误 (:exc:`nis.error`)。 "
52+
"两个参数都应为字符串,*key* 定长 8 个比特。 返回值为任意字节数组(可包含 ``NULL`` 和其他特殊值)。"
5153

5254
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:29
5355
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:41
5456
msgid ""
5557
"Note that *mapname* is first checked if it is an alias to another name."
56-
msgstr ""
58+
msgstr "请注意如果 *mapname* 是另一名称的别名则会先检查别名。"
5759

5860
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:31
5961
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:43
6062
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:51
6163
msgid ""
6264
"The *domain* argument allows overriding the NIS domain used for the lookup. "
6365
"If unspecified, lookup is in the default NIS domain."
64-
msgstr ""
66+
msgstr "*domain* 参数可允许重载用于查找的 NIS 域。 如果未指定,则会在默认 NIS 域中查找。"
6567

6668
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:37
6769
msgid ""
6870
"Return a dictionary mapping *key* to *value* such that ``match(key, "
6971
"mapname)==value``. Note that both keys and values of the dictionary are "
7072
"arbitrary arrays of bytes."
7173
msgstr ""
74+
"返回一个字典,其元素为 *key* 到 *value* 的映射使得 ``match(key, mapname)==value``。 "
75+
"请注意字典的键和值均为任意字节数组。"
7276

7377
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:49
7478
msgid "Return a list of all valid maps."
75-
msgstr ""
79+
msgstr "返回全部可用映射的列表。"
7680

7781
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:57
7882
msgid "Return the system default NIS domain."
79-
msgstr ""
83+
msgstr "返回系统默认的 NIS 域。"
8084

8185
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:60
8286
msgid "The :mod:`nis` module defines the following exception:"
83-
msgstr ""
87+
msgstr ":mod:`nis` 模块定义了以下异常:"
8488

8589
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/nis.rst:64
8690
msgid "An error raised when a NIS function returns an error code."
87-
msgstr ""
91+
msgstr "当 NIS 函数返回一个错误码时引发的异常。"

library/sqlite3.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,24 +884,29 @@ msgid ""
884884
"attribute. If the *size* parameter is used, then it is best for it to retain"
885885
" the same value from one :meth:`fetchmany` call to the next."
886886
msgstr ""
887+
"请注意 *size* 形参会涉及到性能方面的考虑。为了获得优化的性能,通常最好是使用 arraysize 属性。 如果使用 *size* "
888+
"形参,则最好在从一个 :meth:`fetchmany` 调用到下一个调用之间保持相同的值。"
887889

888890
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/sqlite3.rst:677
889891
msgid ""
890892
"Fetches all (remaining) rows of a query result, returning a list. Note that"
891893
" the cursor's arraysize attribute can affect the performance of this "
892894
"operation. An empty list is returned when no rows are available."
893895
msgstr ""
896+
"获取一个查询结果的所有(剩余)行,返回一个列表。 请注意 cursor 的 arraysize 属性会影响此操作的执行效率。 "
897+
"当没有可用行时将返回一个空列表。"
894898

895899
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/sqlite3.rst:683
896900
msgid "Close the cursor now (rather than whenever ``__del__`` is called)."
897-
msgstr ""
901+
msgstr "立即关闭 cursor(而不是在当 ``__del__`` 被调用的时候)。"
898902

899903
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/sqlite3.rst:685
900904
msgid ""
901905
"The cursor will be unusable from this point forward; a "
902906
":exc:`ProgrammingError` exception will be raised if any operation is "
903907
"attempted with the cursor."
904908
msgstr ""
909+
"从这一时刻起该 cursor 将不再可用,如果再尝试用该 cursor 执行任何操作将引发 :exc:`ProgrammingError` 异常。"
905910

906911
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/sqlite3.rst:690
907912
msgid ""

0 commit comments

Comments
 (0)