Skip to content

Commit

Permalink
fix: resolve fuzzy entries
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwang44 committed Nov 30, 2024
1 parent af65fb1 commit e4a2a15
Show file tree
Hide file tree
Showing 55 changed files with 371 additions and 227 deletions.
5 changes: 2 additions & 3 deletions c-api/frame.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2022, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
Expand All @@ -11,7 +9,8 @@ msgstr ""
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
10 changes: 6 additions & 4 deletions c-api/init.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2022, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
Expand Down Expand Up @@ -1652,7 +1651,7 @@ msgstr ""

#: ../../c-api/init.rst:1335
msgid "The :c:member:`PyThreadState.on_delete` callback was removed."
msgstr ""
msgstr ":c:member:`PyThreadState.on_delete` 回呼已被移除。"

#: ../../c-api/init.rst:1341
msgid ""
Expand Down Expand Up @@ -2023,7 +2022,6 @@ msgid ""
msgstr ""

#: ../../c-api/init.rst:1682
#, fuzzy
msgid ""
"PyInterpreterConfig config = {\n"
" .use_main_obmalloc = 0,\n"
Expand All @@ -2049,7 +2047,11 @@ msgstr ""
" .check_multi_interp_extensions = 1,\n"
" .gil = PyInterpreterConfig_OWN_GIL,\n"
"};\n"
"PyThreadState *tstate = Py_NewInterpreterFromConfig(&config);"
"PyThreadState *tstate = NULL;\n"
"PyStatus status = Py_NewInterpreterFromConfig(&tstate, &config);\n"
"if (PyStatus_Exception(status)) {\n"
" Py_ExitStatusException(status);\n"
"}"

#: ../../c-api/init.rst:1697
msgid ""
Expand Down
33 changes: 16 additions & 17 deletions c-api/monitoring.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
Expand All @@ -11,19 +9,20 @@ msgstr ""
"POT-Creation-Date: 2024-10-22 00:13+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../c-api/monitoring.rst:6
msgid "Monitoring C API"
msgstr ""
msgstr "監控 C API"

#: ../../c-api/monitoring.rst:8
msgid "Added in version 3.13."
msgstr ""
msgstr "於 3.13 版本中新增。"

#: ../../c-api/monitoring.rst:10
msgid ""
Expand Down Expand Up @@ -76,43 +75,43 @@ msgstr ""

#: ../../c-api/monitoring.rst:41
msgid "See :mod:`sys.monitoring` for descriptions of the events."
msgstr ""
msgstr "關於事件的敘述請見 :mod:`sys.monitoring`。"

#: ../../c-api/monitoring.rst:45
msgid "Fire a ``PY_START`` event."
msgstr ""
msgstr "發出一個 ``PY_START`` 事件。"

#: ../../c-api/monitoring.rst:50
msgid "Fire a ``PY_RESUME`` event."
msgstr ""
msgstr "發出一個 ``PY_RESUME`` 事件。"

#: ../../c-api/monitoring.rst:55
msgid "Fire a ``PY_RETURN`` event."
msgstr ""
msgstr "發出一個 ``PY_RETURN`` 事件。"

#: ../../c-api/monitoring.rst:60
msgid "Fire a ``PY_YIELD`` event."
msgstr ""
msgstr "發出一個 ``PY_YIELD`` 事件。"

#: ../../c-api/monitoring.rst:65
msgid "Fire a ``CALL`` event."
msgstr ""
msgstr "發出一個 ``CALL`` 事件。"

#: ../../c-api/monitoring.rst:70
msgid "Fire a ``LINE`` event."
msgstr ""
msgstr "發出一個 ``LINE`` 事件。"

#: ../../c-api/monitoring.rst:75
msgid "Fire a ``JUMP`` event."
msgstr ""
msgstr "發出一個 ``JUMP`` 事件。"

#: ../../c-api/monitoring.rst:80
msgid "Fire a ``BRANCH`` event."
msgstr ""
msgstr "發出一個 ``BRANCH`` 事件。"

#: ../../c-api/monitoring.rst:85
msgid "Fire a ``C_RETURN`` event."
msgstr ""
msgstr "發出一個 ``C_RETURN`` 事件。"

#: ../../c-api/monitoring.rst:90
msgid ""
Expand Down Expand Up @@ -201,15 +200,15 @@ msgstr ""

#: ../../c-api/monitoring.rst:161
msgid "The macros for *event_types* are:"
msgstr ""
msgstr "*event_types* 的巨集有:"

#: ../../c-api/monitoring.rst:169
msgid "Macro"
msgstr "巨集"

#: ../../c-api/monitoring.rst:169
msgid "Event"
msgstr ""
msgstr "事件"

#: ../../c-api/monitoring.rst:171
msgid ":monitoring-event:`BRANCH`"
Expand Down
7 changes: 3 additions & 4 deletions c-api/time.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
Expand All @@ -11,15 +9,16 @@ msgstr ""
"POT-Creation-Date: 2024-09-24 07:20+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../c-api/time.rst:6
msgid "PyTime C API"
msgstr ""
msgstr "PyTime C API"

#: ../../c-api/time.rst:10
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions deprecations/c-api-pending-removal-in-3.14.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -9,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-09-24 07:20+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
5 changes: 2 additions & 3 deletions deprecations/c-api-pending-removal-in-3.15.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -10,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-10-22 00:13+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
5 changes: 2 additions & 3 deletions deprecations/c-api-pending-removal-in-future.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -10,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-09-24 07:20+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
14 changes: 5 additions & 9 deletions deprecations/index.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -9,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-11-10 17:21+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -467,6 +467,9 @@ msgid ""
"Python 3.16, use :func:`inspect.iscoroutinefunction` instead. (Contributed "
"by Jiahao Li and Kumar Aditya in :gh:`122875`.)"
msgstr ""
":func:`!asyncio.iscoroutinefunction` 已被棄用並將在 Python 3.16 中移除,請改"
"用 :func:`inspect.iscoroutinefunction`。(由 Jiahao Li 和 Kumar Aditya 於 :"
"gh:`122875` 貢獻。)"

#: ../../deprecations/pending-removal-in-3.16.rst:26
#: ../../deprecations/pending-removal-in-future.rst:12
Expand Down Expand Up @@ -1351,10 +1354,3 @@ msgstr ""
#: ../../deprecations/c-api-pending-removal-in-future.rst:50
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"

#~ msgid ""
#~ "date and datetime adapter, date and timestamp converter: see the :mod:"
#~ "`sqlite3` documentation for suggested replacement recipes."
#~ msgstr ""
#~ "date 和 datetime 的適配器 (adapter)、date 和 timestamp 轉換器 "
#~ "(converter):請參閱 :mod:`sqlite3` 文件以獲得建議的替代方案。"
4 changes: 2 additions & 2 deletions deprecations/pending-removal-in-3.13.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -9,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions deprecations/pending-removal-in-3.14.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -9,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-11-10 17:21+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions deprecations/pending-removal-in-3.15.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -9,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-11-05 00:13+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
7 changes: 5 additions & 2 deletions deprecations/pending-removal-in-3.16.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
Expand All @@ -9,7 +8,8 @@ msgstr ""
"POT-Creation-Date: 2024-11-10 17:21+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -58,6 +58,9 @@ msgid ""
"Python 3.16, use :func:`inspect.iscoroutinefunction` instead. (Contributed "
"by Jiahao Li and Kumar Aditya in :gh:`122875`.)"
msgstr ""
":func:`!asyncio.iscoroutinefunction` 已被棄用並將在 Python 3.16 中移除,請改"
"用 :func:`inspect.iscoroutinefunction`。(由 Jiahao Li 和 Kumar Aditya 於 :"
"gh:`122875` 貢獻。)"

#: ../../deprecations/pending-removal-in-3.16.rst:26
msgid ":mod:`builtins`:"
Expand Down
5 changes: 3 additions & 2 deletions deprecations/pending-removal-in-future.po
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR
#
msgid ""
msgstr ""
Expand All @@ -9,7 +9,8 @@ msgstr ""
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
7 changes: 3 additions & 4 deletions howto/argparse-optparse.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
Expand All @@ -11,15 +9,16 @@ msgstr ""
"POT-Creation-Date: 2024-10-09 00:13+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../howto/argparse-optparse.rst:7
msgid "Upgrading optparse code"
msgstr ""
msgstr "升級 optparse 程式碼"

#: ../../howto/argparse-optparse.rst:9
msgid ""
Expand Down
Loading

0 comments on commit e4a2a15

Please sign in to comment.