Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteab83c6

Browse files
author
github-actions
committed
Update translations from Transifex
1 parentb3bbb51 commiteab83c6

File tree

4 files changed

+91
-12
lines changed

4 files changed

+91
-12
lines changed

‎library/functions.po

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,11 @@ msgid ""
453453
" return False\n"
454454
" return True"
455455
msgstr""
456+
"def all(iterable):\n"
457+
" for element in iterable:\n"
458+
" if not element:\n"
459+
" return False\n"
460+
" return True"
456461

457462
#:../../library/functions.rst:89
458463
msgid""
@@ -498,6 +503,11 @@ msgid ""
498503
" return True\n"
499504
" return False"
500505
msgstr""
506+
"def any(iterable):\n"
507+
" for element in iterable:\n"
508+
" if element:\n"
509+
" return True\n"
510+
" return False"
501511

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

574593
#:../../library/functions.rst:173
575594
msgid""
@@ -746,6 +765,9 @@ msgid ""
746765
" @classmethod\n"
747766
" def f(cls, arg1, arg2): ..."
748767
msgstr""
768+
"class C:\n"
769+
" @classmethod\n"
770+
" def f(cls, arg1, arg2): ..."
749771

750772
#:../../library/functions.rst:269
751773
msgid""
@@ -998,6 +1020,22 @@ msgid ""
9981020
">>> complex(-1.23, 4.5)\n"
9991021
"(-1.23+4.5j)"
10001022
msgstr""
1023+
">>> complex('+1.23')\n"
1024+
"(1.23+0j)\n"
1025+
">>> complex('-4.5j')\n"
1026+
"-4.5j\n"
1027+
">>> complex('-1.23+4.5j')\n"
1028+
"(-1.23+4.5j)\n"
1029+
">>> complex('\\t( -1.23+4.5J )\\n')\n"
1030+
"(-1.23+4.5j)\n"
1031+
">>> complex('-Infinity+NaNj')\n"
1032+
"(-inf+nanj)\n"
1033+
">>> complex(1.23)\n"
1034+
"(1.23+0j)\n"
1035+
">>> complex(imag=-4.5)\n"
1036+
"-4.5j\n"
1037+
">>> complex(-1.23, 4.5)\n"
1038+
"(-1.23+4.5j)"
10011039

10021040
#:../../library/functions.rst:403
10031041
msgid""
@@ -1241,6 +1279,11 @@ msgid ""
12411279
" yield n, elem\n"
12421280
" n += 1"
12431281
msgstr""
1282+
"def enumerate(iterable, start=0):\n"
1283+
" n = start\n"
1284+
" for elem in iterable:\n"
1285+
" yield n, elem\n"
1286+
" n += 1"
12441287

12451288
#:../../library/functions.rst:0
12461289
msgid"Parameters"
@@ -1524,6 +1567,16 @@ msgid ""
15241567
">>> float('-Infinity')\n"
15251568
"-inf"
15261569
msgstr""
1570+
">>> float('+1.23')\n"
1571+
"1.23\n"
1572+
">>> float(' -12345\\n')\n"
1573+
"-12345.0\n"
1574+
">>> float('1e-003')\n"
1575+
"0.001\n"
1576+
">>> float('+1E6')\n"
1577+
"1000000.0\n"
1578+
">>> float('-Infinity')\n"
1579+
"-inf"
15271580

15281581
#:../../library/functions.rst:754
15291582
msgid""
@@ -1840,6 +1893,10 @@ msgid ""
18401893
">>> s \n"
18411894
"\"Monty Python's Flying Circus\""
18421895
msgstr""
1896+
">>> s = input('--> ') \n"
1897+
"--> Monty Python's Flying Circus\n"
1898+
">>> s \n"
1899+
"\"Monty Python's Flying Circus\""
18431900

18441901
#:../../library/functions.rst:965
18451902
msgid""
@@ -1888,6 +1945,18 @@ msgid ""
18881945
">>> int('01110011', base=2)\n"
18891946
"115"
18901947
msgstr""
1948+
">>> int(123.45)\n"
1949+
"123\n"
1950+
">>> int('123')\n"
1951+
"123\n"
1952+
">>> int(' -12_345\\n')\n"
1953+
"-12345\n"
1954+
">>> int('FACE', 16)\n"
1955+
"64206\n"
1956+
">>> int('0xface', 0)\n"
1957+
"64206\n"
1958+
">>> int('01110011', base=2)\n"
1959+
"115"
18911960

18921961
#:../../library/functions.rst:1002
18931962
msgid""

‎library/warnings.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version:Python 3.13\n"
1818
"Report-Msgid-Bugs-To:\n"
19-
"POT-Creation-Date:2024-08-31 10:59+0000\n"
19+
"POT-Creation-Date:2024-09-06 14:16+0000\n"
2020
"PO-Revision-Date:2021-06-28 01:17+0000\n"
2121
"Last-Translator:石井明久, 2024\n"
2222
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -156,7 +156,7 @@ msgstr "現在以下の警告カテゴリクラスが定義されています:"
156156

157157
#:../../library/warnings.rst:69
158158
msgid"Class"
159-
msgstr"Class"
159+
msgstr"クラス"
160160

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

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

251251
#:../../library/warnings.rst:101

‎tutorial/appendix.po

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#
66
# Translators:
77
# tomo, 2021
8-
# TENMYO Masakazu, 2024
98
# Arihiro TAKASE, 2024
9+
# TENMYO Masakazu, 2024
1010
#
1111
#,fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To:\n"
1616
"POT-Creation-Date:2024-09-06 14:16+0000\n"
1717
"PO-Revision-Date:2021-06-28 01:49+0000\n"
18-
"Last-Translator:Arihiro TAKASE, 2024\n"
18+
"Last-Translator:TENMYO Masakazu, 2024\n"
1919
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
2020
"ja/)\n"
2121
"MIME-Version:1.0\n"
@@ -131,7 +131,7 @@ msgstr ""
131131

132132
#:../../tutorial/appendix.rst:65
133133
msgid"#!/usr/bin/env python3"
134-
msgstr""
134+
msgstr"#!/usr/bin/env python3"
135135

136136
#:../../tutorial/appendix.rst:67
137137
msgid""
@@ -160,7 +160,7 @@ msgstr ""
160160

161161
#:../../tutorial/appendix.rst:77
162162
msgid"$ chmod +x myscript.py"
163-
msgstr""
163+
msgstr"$ chmod +x myscript.py"
164164

165165
#:../../tutorial/appendix.rst:81
166166
msgid""
@@ -236,6 +236,12 @@ msgid ""
236236
" startup_file = fobj.read()\n"
237237
" exec(startup_file)"
238238
msgstr""
239+
"import os\n"
240+
"filename = os.environ.get('PYTHONSTARTUP')\n"
241+
"if filename and os.path.isfile(filename):\n"
242+
" with open(filename) as fobj:\n"
243+
" startup_file = fobj.read()\n"
244+
" exec(startup_file)"
239245

240246
#:../../tutorial/appendix.rst:124
241247
msgid"The Customization Modules"
@@ -259,6 +265,9 @@ msgid ""
259265
">>> site.getusersitepackages()\n"
260266
"'/home/user/.local/lib/python3.x/site-packages'"
261267
msgstr""
268+
">>> import site\n"
269+
">>> site.getusersitepackages()\n"
270+
"'/home/user/.local/lib/python3.x/site-packages'"
262271

263272
#:../../tutorial/appendix.rst:134
264273
msgid""

‎using/unix.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66
# Translators:
77
# tomo, 2021
88
# Arihiro TAKASE, 2023
9+
# TENMYO Masakazu, 2024
910
#
1011
#,fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version:Python 3.13\n"
1415
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2024-08-31 10:59+0000\n"
16+
"POT-Creation-Date:2024-09-06 14:16+0000\n"
1617
"PO-Revision-Date:2021-06-28 01:51+0000\n"
17-
"Last-Translator:Arihiro TAKASE, 2023\n"
18+
"Last-Translator:TENMYO Masakazu, 2024\n"
1819
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
1920
"ja/)\n"
2021
"MIME-Version:1.0\n"
@@ -269,7 +270,7 @@ msgstr ""
269270

270271
#:../../using/unix.rst:123
271272
msgid"#!/usr/bin/env python3"
272-
msgstr""
273+
msgstr"#!/usr/bin/env python3"
273274

274275
#:../../using/unix.rst:125
275276
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp