6
6
msgstr ""
7
7
"Project-Id-Version : Python 3.12\n "
8
8
"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 "
10
10
"PO-Revision-Date : 2023-08-07 10:20+0800\n "
11
11
"Last-Translator : Griiid <gridwing@gmail.com>\n "
12
12
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -92,7 +92,7 @@ msgstr ""
92
92
#: ../../library/datetime.rst:50
93
93
msgid ""
94
94
"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."
96
96
msgstr ""
97
97
98
98
#: ../../library/datetime.rst:53
@@ -109,7 +109,7 @@ msgid ""
109
109
"A **naive** object does not contain enough information to unambiguously "
110
110
"locate itself relative to other date/time objects. Whether a naive object "
111
111
"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 "
113
113
"program whether a particular number represents metres, miles, or mass. Naive "
114
114
"objects are easy to understand and to work with, at the cost of ignoring "
115
115
"some aspects of reality."
@@ -128,9 +128,9 @@ msgstr ""
128
128
#: ../../library/datetime.rst:72
129
129
msgid ""
130
130
"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 "
134
134
"levels of detail is up to the application. The rules for time adjustment "
135
135
"across the world are more political than rational, change frequently, and "
136
136
"there is no standard suitable for every application aside from UTC."
@@ -157,7 +157,7 @@ msgid ""
157
157
msgstr ""
158
158
159
159
#: ../../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`."
161
161
msgstr ""
162
162
163
163
#: ../../library/datetime.rst:103
@@ -1131,8 +1131,9 @@ msgid "Added the *fold* parameter."
1131
1131
msgstr "新增 *fold* 參數。"
1132
1132
1133
1133
#: ../../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 "回傳目前的本地日期。"
1136
1137
1137
1138
#: ../../library/datetime.rst:855
1138
1139
msgid "Equivalent to::"
@@ -1356,7 +1357,7 @@ msgstr ""
1356
1357
1357
1358
#: ../../library/datetime.rst:1054
1358
1359
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 "
1360
1361
"equivalent to::"
1361
1362
msgstr ""
1362
1363
@@ -1597,13 +1598,13 @@ msgstr ""
1597
1598
msgid ""
1598
1599
"If provided, *tz* must be an instance of a :class:`tzinfo` subclass, and "
1599
1600
"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 ."
1601
1602
msgstr ""
1602
1603
1603
1604
#: ../../library/datetime.rst:1272
1604
1605
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 "
1607
1608
"converted datetime instance will be set to an instance of :class:`timezone` "
1608
1609
"with the zone name and offset obtained from the OS."
1609
1610
msgstr ""
@@ -1612,17 +1613,18 @@ msgstr ""
1612
1613
msgid ""
1613
1614
"If ``self.tzinfo`` is *tz*, ``self.astimezone(tz)`` is equal to *self*: no "
1614
1615
"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 "
1616
1617
"``astz = dt.astimezone(tz)``, ``astz - astz.utcoffset()`` will have the same "
1617
1618
"date and time data as ``dt - dt.utcoffset()``."
1618
1619
msgstr ""
1619
1620
1620
1621
#: ../../library/datetime.rst:1283
1621
1622
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)``."
1626
1628
msgstr ""
1627
1629
1628
1630
#: ../../library/datetime.rst:1288
@@ -1750,7 +1752,7 @@ msgstr ""
1750
1752
msgid ""
1751
1753
"There is no method to obtain the POSIX timestamp directly from a naive :"
1752
1754
"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 "
1754
1756
"the POSIX timestamp by supplying ``tzinfo=timezone.utc``::"
1755
1757
msgstr ""
1756
1758
@@ -2150,7 +2152,7 @@ msgid ""
2150
2152
"implementations of the standard :class:`tzinfo` methods needed by the :class:"
2151
2153
"`.datetime` methods you use. The :mod:`!datetime` module provides :class:"
2152
2154
"`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 "
2154
2156
"American EST and EDT."
2155
2157
msgstr ""
2156
2158
@@ -2300,8 +2302,8 @@ msgid ""
2300
2302
"datetime` method, ``dt.tzinfo`` is the same object as *self*. :class:"
2301
2303
"`tzinfo` methods can rely on this, unless user code calls :class:`tzinfo` "
2302
2304
"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 ."
2305
2307
msgstr ""
2306
2308
2307
2309
#: ../../library/datetime.rst:2104
@@ -2403,17 +2405,18 @@ msgstr ":mod:`zoneinfo`"
2403
2405
msgid ""
2404
2406
"The :mod:`!datetime` module has a basic :class:`timezone` class (for "
2405
2407
"handling arbitrary fixed offsets from UTC) and its :attr:`timezone.utc` "
2406
- "attribute (a UTC timezone instance)."
2408
+ "attribute (a UTC :class:`! timezone` instance)."
2407
2409
msgstr ""
2408
2410
2409
2411
#: ../../library/datetime.rst:2221
2410
2412
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 "
2412
2414
"database) to Python, and its usage is recommended."
2413
2415
msgstr ""
2414
2416
2415
2417
#: ../../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>`_"
2417
2420
msgstr "`IANA 時區資料庫 <https://www.iana.org/time-zones>`_"
2418
2421
2419
2422
#: ../../library/datetime.rst:2225
@@ -2432,12 +2435,12 @@ msgstr ":class:`timezone` 物件"
2432
2435
#: ../../library/datetime.rst:2237
2433
2436
msgid ""
2434
2437
"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."
2436
2439
msgstr ""
2437
2440
2438
2441
#: ../../library/datetime.rst:2241
2439
2442
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 "
2441
2444
"the locations where different offsets are used in different days of the year "
2442
2445
"or where historical changes have been made to civil time."
2443
2446
msgstr ""
@@ -2494,7 +2497,8 @@ msgid ""
2494
2497
msgstr ""
2495
2498
2496
2499
#: ../../library/datetime.rst:2302
2497
- msgid "The UTC timezone, ``timezone(timedelta(0))``."
2500
+ #, fuzzy
2501
+ msgid "The UTC time zone, ``timezone(timedelta(0))``."
2498
2502
msgstr "UTC 時區,``timezone(timedelta(0))``。"
2499
2503
2500
2504
#: ../../library/datetime.rst:2311
@@ -3074,7 +3078,7 @@ msgstr ""
3074
3078
3075
3079
#: ../../library/datetime.rst:2511
3076
3080
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 "
3078
3082
"information, which are supported in ``datetime.strptime`` but are discarded "
3079
3083
"by ``time.strptime``."
3080
3084
msgstr ""
0 commit comments