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 Sep 24, 2024
1 parent 83cbec1 commit aeb8128
Show file tree
Hide file tree
Showing 76 changed files with 593 additions and 1,034 deletions.
9 changes: 3 additions & 6 deletions c-api/exceptions.po
Original file line number Diff line number Diff line change
Expand Up @@ -1339,14 +1339,12 @@ msgid ":exc:`ProcessLookupError`"
msgstr ":exc:`ProcessLookupError`"

#: ../../c-api/exceptions.rst:1100
#, fuzzy
msgid ":c:data:`PyExc_PythonFinalizationError`"
msgstr ":c:data:`PyExc_ConnectionError`"
msgstr ":c:data:`PyExc_PythonFinalizationError`"

#: ../../c-api/exceptions.rst:1100
#, fuzzy
msgid ":exc:`PythonFinalizationError`"
msgstr ":exc:`ConnectionError`"
msgstr ":exc:`PythonFinalizationError`"

#: ../../c-api/exceptions.rst:1102
msgid ":c:data:`PyExc_RecursionError`"
Expand Down Expand Up @@ -1834,9 +1832,8 @@ msgid "PyExc_ProcessLookupError (C var)"
msgstr "PyExc_ProcessLookupError(C 變數)"

#: ../../c-api/exceptions.rst:971
#, fuzzy
msgid "PyExc_PythonFinalizationError (C var)"
msgstr "PyExc_ConnectionError(C 變數)"
msgstr "PyExc_PythonFinalizationError(C 變數)"

#: ../../c-api/exceptions.rst:971
msgid "PyExc_RecursionError (C var)"
Expand Down
36 changes: 18 additions & 18 deletions c-api/object.po
Original file line number Diff line number Diff line change
Expand Up @@ -48,75 +48,75 @@ msgstr ""

#: ../../c-api/object.rst:22 ../../c-api/object.rst:27
msgid "``0``"
msgstr ""
msgstr "``0``"

#: ../../c-api/object.rst:22
msgid ":py:data:`None`"
msgstr ""
msgstr ":py:data:`None`"

#: ../../c-api/object.rst:23 ../../c-api/object.rst:28
msgid "``1``"
msgstr ""
msgstr "``1``"

#: ../../c-api/object.rst:23
msgid ":py:data:`False`"
msgstr ""
msgstr ":py:data:`False`"

#: ../../c-api/object.rst:24
msgid "``2``"
msgstr ""
msgstr "``2``"

#: ../../c-api/object.rst:24
msgid ":py:data:`True`"
msgstr ""
msgstr ":py:data:`True`"

#: ../../c-api/object.rst:25
msgid "``3``"
msgstr ""
msgstr "``3``"

#: ../../c-api/object.rst:25
msgid ":py:data:`Ellipsis`"
msgstr ""
msgstr ":py:data:`Ellipsis`"

#: ../../c-api/object.rst:26
msgid "``4``"
msgstr ""
msgstr "``4``"

#: ../../c-api/object.rst:26
msgid ":py:data:`NotImplemented`"
msgstr ""
msgstr ":py:data:`NotImplemented`"

#: ../../c-api/object.rst:27
msgid "``5``"
msgstr ""
msgstr "``5``"

#: ../../c-api/object.rst:28
msgid "``6``"
msgstr ""
msgstr "``6``"

#: ../../c-api/object.rst:29
msgid "``7``"
msgstr ""
msgstr "``7``"

#: ../../c-api/object.rst:29
msgid "``''``"
msgstr ""
msgstr "``''``"

#: ../../c-api/object.rst:30
msgid "``8``"
msgstr ""
msgstr "``8``"

#: ../../c-api/object.rst:30
msgid "``b''``"
msgstr ""
msgstr "``b''``"

#: ../../c-api/object.rst:31
msgid "``9``"
msgstr ""
msgstr "``9``"

#: ../../c-api/object.rst:31
msgid "``()``"
msgstr ""
msgstr "``()``"

#: ../../c-api/object.rst:34
msgid ""
Expand Down
11 changes: 5 additions & 6 deletions c-api/unicode.po
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ msgstr ""

#: ../../c-api/unicode.rst:521
msgid "``T``"
msgstr ""
msgstr "``T``"

#: ../../c-api/unicode.rst:523
msgid ""
Expand All @@ -710,7 +710,7 @@ msgstr ""

#: ../../c-api/unicode.rst:526
msgid "``#T``"
msgstr ""
msgstr "``#T``"

#: ../../c-api/unicode.rst:528
msgid ""
Expand All @@ -720,12 +720,11 @@ msgstr ""

#: ../../c-api/unicode.rst:531
msgid "``N``"
msgstr ""
msgstr "``N``"

#: ../../c-api/unicode.rst:532 ../../c-api/unicode.rst:537
#, fuzzy
msgid ":c:expr:`PyTypeObject*`"
msgstr ":c:expr:`PyObject*`"
msgstr ":c:expr:`PyTypeObject*`"

#: ../../c-api/unicode.rst:533
msgid ""
Expand All @@ -735,7 +734,7 @@ msgstr ""

#: ../../c-api/unicode.rst:536
msgid "``#N``"
msgstr ""
msgstr "``#N``"

#: ../../c-api/unicode.rst:538
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion deprecations/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ msgid ""
"now an alias of :exc:`RuntimeError`."
msgstr ""
"自 Python 3.14 起,:class:`!ExecError` 例外已被棄用。自 Python 3.4 以來,它尚"
"未被 :mod:`!shutil` 中的任何函式使用,現在是:exc:`RuntimeError` 的別名。"
"未被 :mod:`!shutil` 中的任何函式使用,現在是 :exc:`RuntimeError` 的別名。"

#: ../../deprecations/pending-removal-in-3.16.rst:28
msgid ":mod:`symtable`:"
Expand Down
2 changes: 1 addition & 1 deletion deprecations/pending-removal-in-3.16.po
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ msgid ""
"now an alias of :exc:`RuntimeError`."
msgstr ""
"自 Python 3.14 起,:class:`!ExecError` 例外已被棄用。自 Python 3.4 以來,它尚"
"未被 :mod:`!shutil` 中的任何函式使用,現在是:exc:`RuntimeError` 的別名。"
"未被 :mod:`!shutil` 中的任何函式使用,現在是 :exc:`RuntimeError` 的別名。"

#: ../../deprecations/pending-removal-in-3.16.rst:28
msgid ":mod:`symtable`:"
Expand Down
2 changes: 0 additions & 2 deletions faq/design.po
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@ msgid "Can Python be compiled to machine code, C or some other language?"
msgstr "Python 可以被編譯成機器語言、C 語言或其他種語言嗎?"

#: ../../faq/design.rst:330
#, fuzzy
msgid ""
"`Cython <https://cython.org/>`_ compiles a modified version of Python with "
"optional annotations into C extensions. `Nuitka <https://nuitka.net/>`_ is "
Expand Down Expand Up @@ -679,7 +678,6 @@ msgstr ""
"函式。"

#: ../../faq/design.rst:347
#, fuzzy
msgid ""
"Other implementations (such as `Jython <https://www.jython.org>`_ or `PyPy "
"<https://pypy.org>`_), however, can rely on a different mechanism such as a "
Expand Down
14 changes: 6 additions & 8 deletions faq/extending.po
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ msgstr "我可以在 C++ 中建立自己的函式嗎?"
#: ../../faq/extending.rst:28
#, fuzzy
msgid ""
"Yes, using the C compatibility features found in C++. Place ``extern "
"\"C\" { ... }`` around the Python include files and put ``extern \"C\"`` "
"before each function that is going to be called by the Python interpreter. "
"Global or static C++ objects with constructors are probably not a good idea."
"Yes, using the C compatibility features found in C++. Place ``extern \"C\" "
"{ ... }`` around the Python include files and put ``extern \"C\"`` before "
"each function that is going to be called by the Python interpreter. Global "
"or static C++ objects with constructors are probably not a good idea."
msgstr ""
"是的,使用 C++ 中的 C 相容性功能。將 ``extern \"C\" { ... }`` 放在 Python 包"
"含檔案周圍,並將 ``extern \"C\"`` 放在每個將由 Python 直譯器呼叫的函式之前。"
Expand Down Expand Up @@ -474,14 +474,12 @@ msgstr ""
"目錄包含編譯 Python 擴充所需的各種檔案。"

#: ../../faq/extending.rst:252
#, fuzzy
msgid "For Red Hat, install the python3-devel RPM to get the necessary files."
msgstr "在 Red Hat 上,請安裝 python-devel RPM 來取得必要的檔案。"
msgstr "在 Red Hat 上,請安裝 python3-devel RPM 來取得必要的檔案。"

#: ../../faq/extending.rst:254
#, fuzzy
msgid "For Debian, run ``apt-get install python3-dev``."
msgstr "對於 Debian,運行 ``apt-get install python-dev``。"
msgstr "對於 Debian,運行 ``apt-get install python3-dev``。"

#: ../../faq/extending.rst:257
msgid "How do I tell \"incomplete input\" from \"invalid input\"?"
Expand Down
20 changes: 0 additions & 20 deletions faq/gui.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 @@ -139,22 +138,3 @@ msgstr ""
"最常見的原因是,繫結到的小工具並沒有「鍵盤焦點 (keyboard focus)」。請查看 Tk "
"說明文件中關於焦點命令的敘述。通常,點擊一個小工具,會讓它得到鍵盤焦點(但不"
"適用於標籤;請參閱 takefocus 選項)。"

#~ msgid ""
#~ "To get truly stand-alone applications, the Tcl scripts that form the "
#~ "library have to be integrated into the application as well. One tool "
#~ "supporting that is SAM (stand-alone modules), which is part of the Tix "
#~ "distribution (https://tix.sourceforge.net/)."
#~ msgstr ""
#~ "要得到真正獨立的應用程式,必須將構成函式庫的 Tcl 腳本也整合到應用程式中。"
#~ "一個可支援該方法的工具是 SAM(stand-alone modules,獨立模組),它是 Tix 發"
#~ "行版的一部分 (https://tix.sourceforge.net/)。"

#~ msgid ""
#~ "Build Tix with SAM enabled, perform the appropriate call to :c:func:`!"
#~ "Tclsam_init`, etc. inside Python's :file:`Modules/tkappinit.c`, and link "
#~ "with libtclsam and libtksam (you might include the Tix libraries as well)."
#~ msgstr ""
#~ "請在 SAM 被啟用的情況下建置 Tix,對 Python 的 :file:`Modules/tkappinit.c` "
#~ "中的 :c:func:`!Tclsam_init` 等函式執行適當的呼叫,並與 libtclsam 和 "
#~ "libtksam 連結(你可能也會 include Tix 函式庫)。"
5 changes: 2 additions & 3 deletions glossary.po
Original file line number Diff line number Diff line change
Expand Up @@ -2533,7 +2533,6 @@ msgid "sequence"
msgstr "sequence(序列)"

#: ../../glossary.rst:1117
#, fuzzy
msgid ""
"An :term:`iterable` which supports efficient element access using integer "
"indices via the :meth:`~object.__getitem__` special method and defines a :"
Expand All @@ -2549,8 +2548,8 @@ msgstr ""
"個 :meth:`~object.__len__` method 來回傳該序列的長度。一些內建序列型別包括 :"
"class:`list`、:class:`str`、:class:`tuple` 和 :class:`bytes`。請注意,雖然 :"
"class:`dict` 也支援 :meth:`~object.__getitem__` 和 :meth:`!__len__`,但它被視"
"為對映 (mapping) 而不是序列,因為其查找方式是使用任意的 :term:`immutable` "
"鍵,而不是整數。"
"為對映 (mapping) 而不是序列,因為其查找方式是使用任意的 :term:`hashable` 鍵,"
"而不是整數。"

#: ../../glossary.rst:1126
msgid ""
Expand Down
3 changes: 1 addition & 2 deletions howto/argparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,6 @@ msgstr ""
" print(answer)"

#: ../../howto/argparse.rst:434
#, fuzzy
msgid ""
"$ python prog.py 4 -v 3\n"
"usage: prog.py [-h] [-v {0,1,2}] square\n"
Expand Down Expand Up @@ -887,7 +886,7 @@ msgstr ""
"\n"
"options:\n"
" -h, --help show this help message and exit\n"
" -v {0,1,2}, --verbosity {0,1,2}\n"
" -v, --verbosity {0,1,2}\n"
" increase output verbosity"

#: ../../howto/argparse.rst:450
Expand Down
8 changes: 5 additions & 3 deletions howto/descriptor.po
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,6 @@ msgid ""
msgstr ""

#: ../../howto/descriptor.rst:1208
#, fuzzy
msgid ""
"class D:\n"
" def f(self):\n"
Expand All @@ -1375,8 +1374,11 @@ msgid ""
" pass"
msgstr ""
"class D:\n"
" def f(self, x):\n"
" return x"
" def f(self):\n"
" return self\n"
"\n"
"class D2:\n"
" pass"

#: ../../howto/descriptor.rst:1226
msgid ""
Expand Down
Loading

0 comments on commit aeb8128

Please sign in to comment.