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

Skip to content

Commit b8eda1d

Browse files
sync with cpython 624a8e4f
1 parent 3bb61f1 commit b8eda1d

File tree

7 files changed

+395
-400
lines changed

7 files changed

+395
-400
lines changed

deprecations/pending-removal-in-3.14.po

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-10-10 00:13+0000\n"
9+
"POT-Creation-Date: 2024-10-15 00:14+0000\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1212
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -16,12 +16,10 @@ msgstr ""
1616
"Content-Transfer-Encoding: 8bit\n"
1717

1818
#: ../../deprecations/pending-removal-in-3.14.rst:2
19-
#: ../../deprecations/c-api-pending-removal-in-3.14.rst:2
2019
msgid "Pending Removal in Python 3.14"
2120
msgstr "Python 3.14 中待移除的項目"
2221

2322
#: ../../deprecations/pending-removal-in-3.14.rst:4
24-
#: ../../deprecations/pending-removal-in-3.15.rst:4
2523
msgid "The import system:"
2624
msgstr "引入系統 (import system):"
2725

deprecations/pending-removal-in-3.15.po

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-10-14 00:14+0000\n"
9+
"POT-Creation-Date: 2024-10-15 00:14+0000\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1212
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -16,12 +16,10 @@ msgstr ""
1616
"Content-Transfer-Encoding: 8bit\n"
1717

1818
#: ../../deprecations/pending-removal-in-3.15.rst:2
19-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:2
2019
msgid "Pending Removal in Python 3.15"
2120
msgstr "Python 3.15 中待移除的項目"
2221

2322
#: ../../deprecations/pending-removal-in-3.15.rst:4
24-
#: ../../deprecations/pending-removal-in-3.14.rst:4
2523
msgid "The import system:"
2624
msgstr "引入系統 (import system):"
2725

library/datetime.po

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-10-09 00:13+0000\n"
9+
"POT-Creation-Date: 2024-10-15 00:14+0000\n"
1010
"PO-Revision-Date: 2023-08-07 10:20+0800\n"
1111
"Last-Translator: Griiid <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -270,7 +270,8 @@ msgid ""
270270
msgstr ""
271271

272272
#: ../../library/datetime.rst:183
273-
msgid "A :class:`.datetime` object *d* is aware if both of the following hold:"
273+
msgid ""
274+
"A :class:`.datetime` object ``d`` is aware if both of the following hold:"
274275
msgstr ""
275276

276277
#: ../../library/datetime.rst:185
@@ -282,11 +283,12 @@ msgid "``d.tzinfo.utcoffset(d)`` does not return ``None``"
282283
msgstr "``d.tzinfo.utcoffset(d)`` 不會回傳 ``None``"
283284

284285
#: ../../library/datetime.rst:188
285-
msgid "Otherwise, *d* is naive."
286+
#, fuzzy
287+
msgid "Otherwise, ``d`` is naive."
286288
msgstr "否則 *d* 會是 naive 的。"
287289

288290
#: ../../library/datetime.rst:190
289-
msgid "A :class:`.time` object *t* is aware if both of the following hold:"
291+
msgid "A :class:`.time` object ``t`` is aware if both of the following hold:"
290292
msgstr ""
291293

292294
#: ../../library/datetime.rst:192
@@ -298,8 +300,9 @@ msgid "``t.tzinfo.utcoffset(None)`` does not return ``None``."
298300
msgstr "``t.tzinfo.utcoffset(None)`` 沒有回傳 ``None``。"
299301

300302
#: ../../library/datetime.rst:195
301-
msgid "Otherwise, *t* is naive."
302-
msgstr ""
303+
#, fuzzy
304+
msgid "Otherwise, ``t`` is naive."
305+
msgstr "否則 *d* 會是 naive 的。"
303306

304307
#: ../../library/datetime.rst:197
305308
msgid ""
@@ -595,7 +598,7 @@ msgstr "``q, r = divmod(t1, t2)``"
595598
#: ../../library/datetime.rst:359
596599
msgid ""
597600
"Computes the quotient and the remainder: ``q = t1 // t2`` (3) and ``r = t1 % "
598-
"t2``. q is an integer and r is a :class:`timedelta` object."
601+
"t2``. ``q`` is an integer and ``r`` is a :class:`timedelta` object."
599602
msgstr ""
600603

601604
#: ../../library/datetime.rst:364
@@ -876,7 +879,7 @@ msgstr ""
876879
#: ../../library/datetime.rst:528
877880
msgid ""
878881
":exc:`ValueError` is raised unless ``1 <= ordinal <= date.max.toordinal()``. "
879-
"For any date *d*, ``date.fromordinal(d.toordinal()) == d``."
882+
"For any date ``d``, ``date.fromordinal(d.toordinal()) == d``."
880883
msgstr ""
881884

882885
#: ../../library/datetime.rst:535
@@ -1131,7 +1134,7 @@ msgstr ""
11311134
#: ../../library/datetime.rst:699
11321135
msgid ""
11331136
"Return the proleptic Gregorian ordinal of the date, where January 1 of year "
1134-
"1 has ordinal 1. For any :class:`date` object *d*, ``date.fromordinal(d."
1137+
"1 has ordinal 1. For any :class:`date` object ``d``, ``date.fromordinal(d."
11351138
"toordinal()) == d``."
11361139
msgstr ""
11371140

@@ -1211,7 +1214,7 @@ msgstr ""
12111214
"'2002-12-04'"
12121215

12131216
#: ../../library/datetime.rst:752
1214-
msgid "For a date *d*, ``str(d)`` is equivalent to ``d.isoformat()``."
1217+
msgid "For a date ``d``, ``str(d)`` is equivalent to ``d.isoformat()``."
12151218
msgstr ""
12161219

12171220
#: ../../library/datetime.rst:757
@@ -1615,7 +1618,7 @@ msgstr ""
16151618

16161619
#: ../../library/datetime.rst:1033
16171620
msgid ""
1618-
"For any :class:`.datetime` object *d*, ``d == datetime.combine(d.date(), d."
1621+
"For any :class:`.datetime` object ``d``, ``d == datetime.combine(d.date(), d."
16191622
"time(), d.tzinfo)``."
16201623
msgstr ""
16211624

@@ -1870,15 +1873,15 @@ msgstr ""
18701873
msgid ""
18711874
"If both are naive, or both are aware and have the same :attr:`~.datetime."
18721875
"tzinfo` attribute, the :attr:`~.datetime.tzinfo` attributes are ignored, and "
1873-
"the result is a :class:`timedelta` object *t* such that ``datetime2 + t == "
1876+
"the result is a :class:`timedelta` object ``t`` such that ``datetime2 + t == "
18741877
"datetime1``. No time zone adjustments are done in this case."
18751878
msgstr ""
18761879

18771880
#: ../../library/datetime.rst:1243
18781881
msgid ""
18791882
"If both are aware and have different :attr:`~.datetime.tzinfo` attributes, "
1880-
"``a-b`` acts as if *a* and *b* were first converted to naive UTC datetimes. "
1881-
"The result is ``(a.replace(tzinfo=None) - a.utcoffset()) - (b."
1883+
"``a-b`` acts as if ``a`` and ``b`` were first converted to naive UTC "
1884+
"datetimes. The result is ``(a.replace(tzinfo=None) - a.utcoffset()) - (b."
18821885
"replace(tzinfo=None) - b.utcoffset())`` except that the implementation never "
18831886
"overflows."
18841887
msgstr ""
@@ -2089,15 +2092,15 @@ msgstr ""
20892092

20902093
#: ../../library/datetime.rst:1424
20912094
msgid ""
2092-
"If :class:`.datetime` instance *d* is naive, this is the same as ``d."
2095+
"If :class:`.datetime` instance ``d`` is naive, this is the same as ``d."
20932096
"timetuple()`` except that :attr:`~.time.struct_time.tm_isdst` is forced to 0 "
20942097
"regardless of what ``d.dst()`` returns. DST is never in effect for a UTC "
20952098
"time."
20962099
msgstr ""
20972100

20982101
#: ../../library/datetime.rst:1428
20992102
msgid ""
2100-
"If *d* is aware, *d* is normalized to UTC time, by subtracting ``d."
2103+
"If ``d`` is aware, ``d`` is normalized to UTC time, by subtracting ``d."
21012104
"utcoffset()``, and a :class:`time.struct_time` for the normalized time is "
21022105
"returned. :attr:`!tm_isdst` is forced to 0. Note that an :exc:"
21032106
"`OverflowError` may be raised if ``d.year`` was ``MINYEAR`` or ``MAXYEAR`` "
@@ -2326,7 +2329,7 @@ msgstr "新增 *timespec* 參數。"
23262329

23272330
#: ../../library/datetime.rst:1576
23282331
msgid ""
2329-
"For a :class:`.datetime` instance *d*, ``str(d)`` is equivalent to ``d."
2332+
"For a :class:`.datetime` instance ``d``, ``str(d)`` is equivalent to ``d."
23302333
"isoformat(' ')``."
23312334
msgstr ""
23322335

@@ -2562,8 +2565,8 @@ msgstr ""
25622565

25632566
#: ../../library/datetime.rst:1822
25642567
msgid ""
2565-
":class:`.time` objects support equality and order comparisons, where *a* is "
2566-
"considered less than *b* when *a* precedes *b* in time."
2568+
":class:`.time` objects support equality and order comparisons, where ``a`` "
2569+
"is considered less than ``b`` when ``a`` precedes ``b`` in time."
25672570
msgstr ""
25682571

25692572
#: ../../library/datetime.rst:1825
@@ -2737,7 +2740,7 @@ msgstr ""
27372740
"'12:34:56'"
27382741

27392742
#: ../../library/datetime.rst:1954
2740-
msgid "For a time *t*, ``str(t)`` is equivalent to ``t.isoformat()``."
2743+
msgid "For a time ``t``, ``str(t)`` is equivalent to ``t.isoformat()``."
27412744
msgstr ""
27422745

27432746
#: ../../library/datetime.rst:1959

0 commit comments

Comments
 (0)