Skip to content

Commit 3937f93

Browse files
sync with cpython 9d996b52
1 parent d8a6b06 commit 3937f93

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

library/datetime.po

+33-29
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
9+
"POT-Creation-Date: 2024-07-17 00:03+0000\n"
1010
"PO-Revision-Date: 2023-08-07 10:20+0800\n"
1111
"Last-Translator: Griiid <gridwing@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -92,7 +92,7 @@ msgstr ""
9292
#: ../../library/datetime.rst:50
9393
msgid ""
9494
"Date and time objects may be categorized as \"aware\" or \"naive\" depending "
95-
"on whether or not they include timezone information."
95+
"on whether or not they include time zone information."
9696
msgstr ""
9797

9898
#: ../../library/datetime.rst:53
@@ -109,7 +109,7 @@ msgid ""
109109
"A **naive** object does not contain enough information to unambiguously "
110110
"locate itself relative to other date/time objects. Whether a naive object "
111111
"represents Coordinated Universal Time (UTC), local time, or time in some "
112-
"other timezone is purely up to the program, just like it is up to the "
112+
"other time zone is purely up to the program, just like it is up to the "
113113
"program whether a particular number represents metres, miles, or mass. Naive "
114114
"objects are easy to understand and to work with, at the cost of ignoring "
115115
"some aspects of reality."
@@ -128,9 +128,9 @@ msgstr ""
128128
#: ../../library/datetime.rst:72
129129
msgid ""
130130
"Only one concrete :class:`tzinfo` class, the :class:`timezone` class, is "
131-
"supplied by the :mod:`!datetime` module. The :class:`timezone` class can "
132-
"represent simple timezones with fixed offsets from UTC, such as UTC itself "
133-
"or North American EST and EDT timezones. Supporting timezones at deeper "
131+
"supplied by the :mod:`!datetime` module. The :class:`!timezone` class can "
132+
"represent simple time zones with fixed offsets from UTC, such as UTC itself "
133+
"or North American EST and EDT time zones. Supporting time zones at deeper "
134134
"levels of detail is up to the application. The rules for time adjustment "
135135
"across the world are more political than rational, change frequently, and "
136136
"there is no standard suitable for every application aside from UTC."
@@ -157,7 +157,7 @@ msgid ""
157157
msgstr ""
158158

159159
#: ../../library/datetime.rst:98
160-
msgid "Alias for the UTC timezone singleton :attr:`datetime.timezone.utc`."
160+
msgid "Alias for the UTC time zone singleton :attr:`datetime.timezone.utc`."
161161
msgstr ""
162162

163163
#: ../../library/datetime.rst:103
@@ -1131,8 +1131,9 @@ msgid "Added the *fold* parameter."
11311131
msgstr "新增 *fold* 參數。"
11321132

11331133
#: ../../library/datetime.rst:853
1134-
msgid "Return the current local datetime, with :attr:`.tzinfo` ``None``."
1135-
msgstr ""
1134+
#, fuzzy
1135+
msgid "Return the current local date and time, with :attr:`.tzinfo` ``None``."
1136+
msgstr "回傳目前的本地日期。"
11361137

11371138
#: ../../library/datetime.rst:855
11381139
msgid "Equivalent to::"
@@ -1356,7 +1357,7 @@ msgstr ""
13561357

13571358
#: ../../library/datetime.rst:1054
13581359
msgid ""
1359-
"If *format* does not contain microseconds or timezone information, this is "
1360+
"If *format* does not contain microseconds or time zone information, this is "
13601361
"equivalent to::"
13611362
msgstr ""
13621363

@@ -1597,13 +1598,13 @@ msgstr ""
15971598
msgid ""
15981599
"If provided, *tz* must be an instance of a :class:`tzinfo` subclass, and "
15991600
"its :meth:`utcoffset` and :meth:`dst` methods must not return ``None``. If "
1600-
"*self* is naive, it is presumed to represent time in the system timezone."
1601+
"*self* is naive, it is presumed to represent time in the system time zone."
16011602
msgstr ""
16021603

16031604
#: ../../library/datetime.rst:1272
16041605
msgid ""
1605-
"If called without arguments (or with ``tz=None``) the system local timezone "
1606-
"is assumed for the target timezone. The ``.tzinfo`` attribute of the "
1606+
"If called without arguments (or with ``tz=None``) the system local time zone "
1607+
"is assumed for the target time zone. The ``.tzinfo`` attribute of the "
16071608
"converted datetime instance will be set to an instance of :class:`timezone` "
16081609
"with the zone name and offset obtained from the OS."
16091610
msgstr ""
@@ -1612,17 +1613,18 @@ msgstr ""
16121613
msgid ""
16131614
"If ``self.tzinfo`` is *tz*, ``self.astimezone(tz)`` is equal to *self*: no "
16141615
"adjustment of date or time data is performed. Else the result is local time "
1615-
"in the timezone *tz*, representing the same UTC time as *self*: after "
1616+
"in the time zone *tz*, representing the same UTC time as *self*: after "
16161617
"``astz = dt.astimezone(tz)``, ``astz - astz.utcoffset()`` will have the same "
16171618
"date and time data as ``dt - dt.utcoffset()``."
16181619
msgstr ""
16191620

16201621
#: ../../library/datetime.rst:1283
16211622
msgid ""
1622-
"If you merely want to attach a time zone object *tz* to a datetime *dt* "
1623-
"without adjustment of date and time data, use ``dt.replace(tzinfo=tz)``. If "
1624-
"you merely want to remove the time zone object from an aware datetime *dt* "
1625-
"without conversion of date and time data, use ``dt.replace(tzinfo=None)``."
1623+
"If you merely want to attach a :class:`timezone` object *tz* to a datetime "
1624+
"*dt* without adjustment of date and time data, use ``dt."
1625+
"replace(tzinfo=tz)``. If you merely want to remove the :class:`!timezone` "
1626+
"object from an aware datetime *dt* without conversion of date and time data, "
1627+
"use ``dt.replace(tzinfo=None)``."
16261628
msgstr ""
16271629

16281630
#: ../../library/datetime.rst:1288
@@ -1750,7 +1752,7 @@ msgstr ""
17501752
msgid ""
17511753
"There is no method to obtain the POSIX timestamp directly from a naive :"
17521754
"class:`.datetime` instance representing UTC time. If your application uses "
1753-
"this convention and your system timezone is not set to UTC, you can obtain "
1755+
"this convention and your system time zone is not set to UTC, you can obtain "
17541756
"the POSIX timestamp by supplying ``tzinfo=timezone.utc``::"
17551757
msgstr ""
17561758

@@ -2150,7 +2152,7 @@ msgid ""
21502152
"implementations of the standard :class:`tzinfo` methods needed by the :class:"
21512153
"`.datetime` methods you use. The :mod:`!datetime` module provides :class:"
21522154
"`timezone`, a simple concrete subclass of :class:`tzinfo` which can "
2153-
"represent timezones with fixed offset from UTC such as UTC itself or North "
2155+
"represent time zones with fixed offset from UTC such as UTC itself or North "
21542156
"American EST and EDT."
21552157
msgstr ""
21562158

@@ -2300,8 +2302,8 @@ msgid ""
23002302
"datetime` method, ``dt.tzinfo`` is the same object as *self*. :class:"
23012303
"`tzinfo` methods can rely on this, unless user code calls :class:`tzinfo` "
23022304
"methods directly. The intent is that the :class:`tzinfo` methods interpret "
2303-
"*dt* as being in local time, and not need worry about objects in other "
2304-
"timezones."
2305+
"*dt* as being in local time, and not need worry about objects in other time "
2306+
"zones."
23052307
msgstr ""
23062308

23072309
#: ../../library/datetime.rst:2104
@@ -2403,17 +2405,18 @@ msgstr ":mod:`zoneinfo`"
24032405
msgid ""
24042406
"The :mod:`!datetime` module has a basic :class:`timezone` class (for "
24052407
"handling arbitrary fixed offsets from UTC) and its :attr:`timezone.utc` "
2406-
"attribute (a UTC timezone instance)."
2408+
"attribute (a UTC :class:`!timezone` instance)."
24072409
msgstr ""
24082410

24092411
#: ../../library/datetime.rst:2221
24102412
msgid ""
2411-
"``zoneinfo`` brings the *IANA timezone database* (also known as the Olson "
2413+
"``zoneinfo`` brings the *IANA time zone database* (also known as the Olson "
24122414
"database) to Python, and its usage is recommended."
24132415
msgstr ""
24142416

24152417
#: ../../library/datetime.rst:2224
2416-
msgid "`IANA timezone database <https://www.iana.org/time-zones>`_"
2418+
#, fuzzy
2419+
msgid "`IANA time zone database <https://www.iana.org/time-zones>`_"
24172420
msgstr "`IANA 時區資料庫 <https://www.iana.org/time-zones>`_"
24182421

24192422
#: ../../library/datetime.rst:2225
@@ -2432,12 +2435,12 @@ msgstr ":class:`timezone` 物件"
24322435
#: ../../library/datetime.rst:2237
24332436
msgid ""
24342437
"The :class:`timezone` class is a subclass of :class:`tzinfo`, each instance "
2435-
"of which represents a timezone defined by a fixed offset from UTC."
2438+
"of which represents a time zone defined by a fixed offset from UTC."
24362439
msgstr ""
24372440

24382441
#: ../../library/datetime.rst:2241
24392442
msgid ""
2440-
"Objects of this class cannot be used to represent timezone information in "
2443+
"Objects of this class cannot be used to represent time zone information in "
24412444
"the locations where different offsets are used in different days of the year "
24422445
"or where historical changes have been made to civil time."
24432446
msgstr ""
@@ -2494,7 +2497,8 @@ msgid ""
24942497
msgstr ""
24952498

24962499
#: ../../library/datetime.rst:2302
2497-
msgid "The UTC timezone, ``timezone(timedelta(0))``."
2500+
#, fuzzy
2501+
msgid "The UTC time zone, ``timezone(timedelta(0))``."
24982502
msgstr "UTC 時區,``timezone(timedelta(0))``。"
24992503

25002504
#: ../../library/datetime.rst:2311
@@ -3074,7 +3078,7 @@ msgstr ""
30743078

30753079
#: ../../library/datetime.rst:2511
30763080
msgid ""
3077-
"except when the format includes sub-second components or timezone offset "
3081+
"except when the format includes sub-second components or time zone offset "
30783082
"information, which are supported in ``datetime.strptime`` but are discarded "
30793083
"by ``time.strptime``."
30803084
msgstr ""

0 commit comments

Comments
 (0)