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

Skip to content

Commit ab035e2

Browse files
[po] auto sync
1 parent 1a9fd77 commit ab035e2

2 files changed

Lines changed: 26 additions & 8 deletions

File tree

extending/windows.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ msgid ""
9090
"code. Before you try to build a module that can be dynamically loaded, be "
9191
"aware of how your system works."
9292
msgstr ""
93+
"Unix 和 Windows 对于代码的运行时加载使用了完全不同的范式。 在你尝试构建可动态加载的模块之前,要先了解你所用系统是如何工作的。"
9394

9495
#: ../../extending/windows.rst:57
9596
msgid ""
@@ -100,6 +101,8 @@ msgid ""
100101
"actual locations in the program where the functions and data are placed in "
101102
"memory. This is basically a link operation."
102103
msgstr ""
104+
"在 Unix 中,一个共享对象 (:file:`.so`) 文件中包含将由程序来使用的代码,也包含在程序中可被找到的函数名称和数据。 "
105+
"当文件被合并到程序中时,对在文件代码中这些函数和数据的全部引用都会被改为指向程序中函数和数据在内存中所放置的实际位置。 这基本上是一个链接操作。"
103106

104107
#: ../../extending/windows.rst:64
105108
msgid ""
@@ -110,6 +113,8 @@ msgid ""
110113
" and the lookup table is modified at runtime to point to the functions and "
111114
"data."
112115
msgstr ""
116+
"在 Windows 中,一个动态链接库 (:file:`.dll`) 文件中没有悬挂的引用。 而是通过一个查找表执行对函数或数据的访问。 因此在运行时 "
117+
"DLL 代码不必在运行时进行修改;相反地,代码已经使用了 DLL 的查找表,并且在运行时查找表会被修改以指向特定的函数和数据。"
113118

114119
#: ../../extending/windows.rst:70
115120
msgid ""
@@ -157,7 +162,7 @@ msgstr ""
157162

158163
#: ../../extending/windows.rst:103
159164
msgid "Using DLLs in Practice"
160-
msgstr ""
165+
msgstr "DLL 的实际使用"
161166

162167
#: ../../extending/windows.rst:108
163168
msgid ""

library/zoneinfo.po

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Meng Du <[email protected]>, 2020
8+
# Freesand Leo <[email protected]>, 2020
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
1516
"PO-Revision-Date: 2020-05-31 09:32+0000\n"
16-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2020\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
1718
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -23,7 +24,7 @@ msgstr ""
2324

2425
#: ../../library/zoneinfo.rst:2
2526
msgid ":mod:`zoneinfo` --- IANA time zone support"
26-
msgstr ""
27+
msgstr ":mod:`zoneinfo` --- IANA 时区支持"
2728

2829
#: ../../library/zoneinfo.rst:14
2930
msgid ""
@@ -33,30 +34,35 @@ msgid ""
3334
"if no system time zone data is available, the library will fall back to "
3435
"using the first-party `tzdata`_ package available on PyPI."
3536
msgstr ""
37+
":mod:`zoneinfo` 模块根据 :pep:`615` 的最初说明提供了具体的时区实现来支持 IANA 时区数据库。 "
38+
"按照默认设置,:mod:`zoneinfo` 会在可能的情况下使用系统的时区数据;如果系统时区数据不可用,该库将回退为使用 PyPI 上提供的 "
39+
"`tzdata`_ 第一方包。"
3640

3741
#: ../../library/zoneinfo.rst:24
3842
msgid "Module: :mod:`datetime`"
39-
msgstr ""
43+
msgstr "模块: :mod:`datetime`"
4044

4145
#: ../../library/zoneinfo.rst:23
4246
msgid ""
4347
"Provides the :class:`~datetime.time` and :class:`~datetime.datetime` types "
4448
"with which the :class:`ZoneInfo` class is designed to be used."
4549
msgstr ""
50+
"提供 :class:`~datetime.time` 和 :class:`~datetime.datetime` "
51+
"类型,:class:`ZoneInfo` 类被设计为可配合这两个类型使用。"
4652

4753
#: ../../library/zoneinfo.rst:27
4854
msgid "Package `tzdata`_"
49-
msgstr ""
55+
msgstr "包 `tzdata`_"
5056

5157
#: ../../library/zoneinfo.rst:27
5258
msgid ""
5359
"First-party package maintained by the CPython core developers to supply time"
5460
" zone data via PyPI."
55-
msgstr ""
61+
msgstr "由 CPython 核心开发者维护以通过 PyPI 提供时区数据的第一方包。"
5662

5763
#: ../../library/zoneinfo.rst:32
5864
msgid "Using ``ZoneInfo``"
59-
msgstr ""
65+
msgstr "使用 ``ZoneInfo``"
6066

6167
#: ../../library/zoneinfo.rst:34
6268
msgid ""
@@ -66,12 +72,16 @@ msgid ""
6672
"<datetime.datetime.replace>` method or :meth:`datetime.astimezone "
6773
"<datetime.datetime.astimezone>`::"
6874
msgstr ""
75+
":class:`ZoneInfo` 是 :class:`datetime.tzinfo` 抽象基类的具体实现,其目标是通过构造器、 "
76+
":meth:`datetime.replace <datetime.datetime.replace>` 方法或 "
77+
":meth:`datetime.astimezone <datetime.datetime.astimezone>` 来与 ``tzinfo`` "
78+
"建立关联::"
6979

7080
#: ../../library/zoneinfo.rst:49
7181
msgid ""
7282
"Datetimes constructed in this way are compatible with datetime arithmetic "
7383
"and handle daylight saving time transitions with no further intervention::"
74-
msgstr ""
84+
msgstr "以此方式构造的日期时间对象可兼容日期时间运算并可在无需进一步干预的情况下处理夏令时转换::"
7585

7686
#: ../../library/zoneinfo.rst:60
7787
msgid ""
@@ -81,6 +91,9 @@ msgid ""
8191
"offset from *before* the transition is used when ``fold=0``, and the offset "
8292
"*after* the transition is used when ``fold=1``, for example::"
8393
msgstr ""
94+
"这些时区还支持在 :pep:`495` 中引入的 :attr:`~datetime.datetime.fold`。 "
95+
"在可能导致时间歧义的时差转换中(例如夏令时到标准时的转换),当 ``fold=0`` 时会使用转换 *之前* 的时差,而当 ``fold=1`` "
96+
"时则使用转换 *之后* 的时差,例如::"
8497

8598
#: ../../library/zoneinfo.rst:73
8699
msgid ""

0 commit comments

Comments
 (0)