8000 [po] auto sync · python/python-docs-zh-cn@431587d · GitHub
[go: up one dir, main page]

Skip to content

Commit 431587d

Browse files
[po] auto sync
1 parent b1c3a9f commit 431587d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.18%", "updated_at": "2024-01-29T07:09:09Z"}
1+
{"translation": "90.19%", "updated_at": "2024-01-29T08:09:27Z"}

whatsnew/3.6.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ msgid ""
599599
"information displayed on a local clock (or stored in a Python datetime "
600600
"instance) is insufficient to identify a particular moment in time."
601601
msgstr ""
602+
"在世界上大多数地方,过去和将来都会存在本地时钟后移的时候。 在这种时候,本地时钟会在同一天内两次显示相同的时间。 "
603+
"对于这些情况,本地时钟所显示的(或存储在 Python datetime 实例中的)信息将不足以标识某个特定的时间点。"
602604

603605
#: ../../whatsnew/3.6.rst:476
604606
msgid ""
@@ -607,13 +609,17 @@ msgid ""
607609
"differentiate between two moments in time for which local times are the "
608610
"same::"
609611
msgstr ""
612+
":pep:`495` 为 :class:`datetime.datetime` 和 :class:`datetime.time` 类的实例添加了新的 "
613+
"*fold* 属性以在本地时间相同的两个时间点之间进行区分::"
610614

611615
#: ../../whatsnew/3.6.rst:491
612616
msgid ""
613617
"The values of the :attr:`fold <datetime.datetime.fold>` attribute have the "
614618
"value ``0`` for all instances except those that represent the second "
615619
"(chronologically) moment in time in an ambiguous case."
616620
msgstr ""
621+
":attr:`fold <datetime.datetime.fold>` 属性的值在大多数实例上均为 "
622+
"``0``,只有在代表存在歧义的时间的第二个(按发生顺序)实例上例外。"
617623

618624
#: ../../whatsnew/3.6.rst:498
619625
msgid ":pep:`495` -- Local Time Disambiguation"
@@ -634,7 +640,7 @@ msgid ""
634640
"Representing filesystem paths is best performed with str (Unicode) rather "
635641
"than bytes. However, there are some situations where using bytes is "
636642
"sufficient and correct."
637-
msgstr ""
643+
msgstr "在表示文件系统路径时最好是使用 str (Unicode) 而不是 bytes。 不过,在某些情况下使用 bytes 就是足够而且正确的。"
638644

639645
#: ../../whatsnew/3.6.rs 73E3 t:511
640646
msgid ""
@@ -643,6 +649,9 @@ msgid ""
643649
"on Windows, provided those bytes are encoded with the encoding returned by "
644650
":func:`sys.getfilesystemencoding()`, which now defaults to ``'utf-8'``."
645651
msgstr ""
652+
"在 Python 3.6 之前,在 Windows 上使用 bytes 路径值可能会导致数据丢失。 有了这一更改,现在 Windows 上将支持使用 "
653+
"bytes 来表示路径,前提是这些 bytes 值是用 :func:`sys.getfilesystemencoding()` "
654+
"所返回的编码格式来编码的,现在此编码格式默认为 ``'utf-8'``。"
646655

647656
#: ../../whatsnew/3.6.rst:516
648657
msgid ""

0 commit comments

Comments
 (0)
0