Skip to content

Commit

Permalink
Update translations from Transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 8, 2024
1 parent b3bbb51 commit eab83c6
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 12 deletions.
69 changes: 69 additions & 0 deletions library/functions.po
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,11 @@ msgid ""
" return False\n"
" return True"
msgstr ""
"def all(iterable):\n"
" for element in iterable:\n"
" if not element:\n"
" return False\n"
" return True"

#: ../../library/functions.rst:89
msgid ""
Expand Down Expand Up @@ -498,6 +503,11 @@ msgid ""
" return True\n"
" return False"
msgstr ""
"def any(iterable):\n"
" for element in iterable:\n"
" if element:\n"
" return True\n"
" return False"

#: ../../library/functions.rst:116
msgid ""
Expand Down Expand Up @@ -570,6 +580,15 @@ msgid ""
"you to drop into the debugger of choice. If :func:`sys.breakpointhook` is "
"not accessible, this function will raise :exc:`RuntimeError`."
msgstr ""
"この関数は、呼び出された箇所にて処理をデバッガに移行します。具体的には、 :"
"func:`sys.breakpointhook` を呼び出し、 ``args`` と ``kws`` をそのまま渡しま"
"す。デフォルトでは、 ``sys.breakpointhook()`` は引数なしで :func:`pdb."
"set_trace` を呼び出すだけです。その場合、これは単なる便利関数でデバッガに入る"
"ために :mod:`pdb` を明示的にインポートしたり多くのコードを書いたりせずに済む"
"だけです。ですが、 :func:`sys.breakpointhook` は別の関数に設定でき、 :func:"
"`breakpoint` はそれを自動で呼び出すため、自分好みのデバッガに処理を移行させる"
"ことができます。 :func:`sys.breakpointhook` にアクセスできない場合、この関数"
"は :exc:`RuntimeError` を送出します。"

#: ../../library/functions.rst:173
msgid ""
Expand Down Expand Up @@ -746,6 +765,9 @@ msgid ""
" @classmethod\n"
" def f(cls, arg1, arg2): ..."
msgstr ""
"class C:\n"
" @classmethod\n"
" def f(cls, arg1, arg2): ..."

#: ../../library/functions.rst:269
msgid ""
Expand Down Expand Up @@ -998,6 +1020,22 @@ msgid ""
">>> complex(-1.23, 4.5)\n"
"(-1.23+4.5j)"
msgstr ""
">>> complex('+1.23')\n"
"(1.23+0j)\n"
">>> complex('-4.5j')\n"
"-4.5j\n"
">>> complex('-1.23+4.5j')\n"
"(-1.23+4.5j)\n"
">>> complex('\\t( -1.23+4.5J )\\n')\n"
"(-1.23+4.5j)\n"
">>> complex('-Infinity+NaNj')\n"
"(-inf+nanj)\n"
">>> complex(1.23)\n"
"(1.23+0j)\n"
">>> complex(imag=-4.5)\n"
"-4.5j\n"
">>> complex(-1.23, 4.5)\n"
"(-1.23+4.5j)"

#: ../../library/functions.rst:403
msgid ""
Expand Down Expand Up @@ -1241,6 +1279,11 @@ msgid ""
" yield n, elem\n"
" n += 1"
msgstr ""
"def enumerate(iterable, start=0):\n"
" n = start\n"
" for elem in iterable:\n"
" yield n, elem\n"
" n += 1"

#: ../../library/functions.rst:0
msgid "Parameters"
Expand Down Expand Up @@ -1524,6 +1567,16 @@ msgid ""
">>> float('-Infinity')\n"
"-inf"
msgstr ""
">>> float('+1.23')\n"
"1.23\n"
">>> float(' -12345\\n')\n"
"-12345.0\n"
">>> float('1e-003')\n"
"0.001\n"
">>> float('+1E6')\n"
"1000000.0\n"
">>> float('-Infinity')\n"
"-inf"

#: ../../library/functions.rst:754
msgid ""
Expand Down Expand Up @@ -1840,6 +1893,10 @@ msgid ""
">>> s \n"
"\"Monty Python's Flying Circus\""
msgstr ""
">>> s = input('--> ') \n"
"--> Monty Python's Flying Circus\n"
">>> s \n"
"\"Monty Python's Flying Circus\""

#: ../../library/functions.rst:965
msgid ""
Expand Down Expand Up @@ -1888,6 +1945,18 @@ msgid ""
">>> int('01110011', base=2)\n"
"115"
msgstr ""
">>> int(123.45)\n"
"123\n"
">>> int('123')\n"
"123\n"
">>> int(' -12_345\\n')\n"
"-12345\n"
">>> int('FACE', 16)\n"
"64206\n"
">>> int('0xface', 0)\n"
"64206\n"
">>> int('01110011', base=2)\n"
"115"

#: ../../library/functions.rst:1002
msgid ""
Expand Down
10 changes: 5 additions & 5 deletions library/warnings.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
"POT-Creation-Date: 2024-09-06 14:16+0000\n"
"PO-Revision-Date: 2021-06-28 01:17+0000\n"
"Last-Translator: 石井明久, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
Expand Down Expand Up @@ -156,7 +156,7 @@ msgstr "現在以下の警告カテゴリクラスが定義されています:"

#: ../../library/warnings.rst:69
msgid "Class"
msgstr "Class"
msgstr "クラス"

#: ../../library/warnings.rst:69
msgid "Description"
Expand Down Expand Up @@ -233,8 +233,8 @@ msgid ""
"Base category for warnings about features that will be deprecated in the "
"future (ignored by default)."
msgstr ""
"将来その機能が廃止されることを示す警告カテゴリの基底クラスです(デフォルトでは"
"無視されます)。"
"将来その機能が非推奨になることを示す警告カテゴリの基底クラスです(デフォルトで"
"は無視されます)。"

#: ../../library/warnings.rst:97
msgid ":exc:`ImportWarning`"
Expand All @@ -245,7 +245,7 @@ msgid ""
"Base category for warnings triggered during the process of importing a "
"module (ignored by default)."
msgstr ""
"モジュールのインポート処理中に引き起こされる警告カテゴリの基底クラスです(デ"
"モジュールのインポート処理中に引き起こされる警告カテゴリの基底クラスです (デ"
"フォルトでは無視されます)。"

#: ../../library/warnings.rst:101
Expand Down
17 changes: 13 additions & 4 deletions tutorial/appendix.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#
# Translators:
# tomo, 2021
# TENMYO Masakazu, 2024
# Arihiro TAKASE, 2024
# TENMYO Masakazu, 2024
#
#, fuzzy
msgid ""
Expand All @@ -15,7 +15,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-06 14:16+0000\n"
"PO-Revision-Date: 2021-06-28 01:49+0000\n"
"Last-Translator: Arihiro TAKASE, 2024\n"
"Last-Translator: TENMYO Masakazu, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -131,7 +131,7 @@ msgstr ""

#: ../../tutorial/appendix.rst:65
msgid "#!/usr/bin/env python3"
msgstr ""
msgstr "#!/usr/bin/env python3"

#: ../../tutorial/appendix.rst:67
msgid ""
Expand Down Expand Up @@ -160,7 +160,7 @@ msgstr ""

#: ../../tutorial/appendix.rst:77
msgid "$ chmod +x myscript.py"
msgstr ""
msgstr "$ chmod +x myscript.py"

#: ../../tutorial/appendix.rst:81
msgid ""
Expand Down Expand Up @@ -236,6 +236,12 @@ msgid ""
" startup_file = fobj.read()\n"
" exec(startup_file)"
msgstr ""
"import os\n"
"filename = os.environ.get('PYTHONSTARTUP')\n"
"if filename and os.path.isfile(filename):\n"
" with open(filename) as fobj:\n"
" startup_file = fobj.read()\n"
" exec(startup_file)"

#: ../../tutorial/appendix.rst:124
msgid "The Customization Modules"
Expand All @@ -259,6 +265,9 @@ msgid ""
">>> site.getusersitepackages()\n"
"'/home/user/.local/lib/python3.x/site-packages'"
msgstr ""
">>> import site\n"
">>> site.getusersitepackages()\n"
"'/home/user/.local/lib/python3.x/site-packages'"

#: ../../tutorial/appendix.rst:134
msgid ""
Expand Down
7 changes: 4 additions & 3 deletions using/unix.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@
# Translators:
# tomo, 2021
# Arihiro TAKASE, 2023
# TENMYO Masakazu, 2024
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
"POT-Creation-Date: 2024-09-06 14:16+0000\n"
"PO-Revision-Date: 2021-06-28 01:51+0000\n"
"Last-Translator: Arihiro TAKASE, 2023\n"
"Last-Translator: TENMYO Masakazu, 2024\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -269,7 +270,7 @@ msgstr ""

#: ../../using/unix.rst:123
msgid "#!/usr/bin/env python3"
msgstr ""
msgstr "#!/usr/bin/env python3"

#: ../../using/unix.rst:125
msgid ""
Expand Down

0 comments on commit eab83c6

Please sign in to comment.