Skip to content

Commit 3734420

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent bb4521b commit 3734420

24 files changed

+14449
-14287
lines changed

c-api/lifecycle.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-02-09 14:46+0000\n"
14+
"POT-Creation-Date: 2026-03-03 14:40+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"

faq/design.po

Lines changed: 116 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-02-25 14:44+0000\n"
15+
"POT-Creation-Date: 2026-03-03 14:40+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: TENMYO Masakazu, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -420,15 +420,15 @@ msgstr ""
420420

421421
#: ../../faq/design.rst:201
422422
msgid "\", \".join(['1', '2', '4', '8', '16'])"
423-
msgstr ""
423+
msgstr "\", \".join(['1', '2', '4', '8', '16'])"
424424

425425
#: ../../faq/design.rst:203
426426
msgid "which gives the result::"
427427
msgstr "結果はこうなります::"
428428

429429
#: ../../faq/design.rst:205
430430
msgid "\"1, 2, 4, 8, 16\""
431-
msgstr ""
431+
msgstr "\"1, 2, 4, 8, 16\""
432432

433433
#: ../../faq/design.rst:207
434434
msgid "There are two common arguments against this usage."
@@ -461,7 +461,7 @@ msgstr ""
461461

462462
#: ../../faq/design.rst:220
463463
msgid "\"1, 2, 4, 8, 16\".split(\", \")"
464-
msgstr ""
464+
msgstr "\"1, 2, 4, 8, 16\".split(\", \")"
465465

466466
#: ../../faq/design.rst:222
467467
msgid ""
@@ -507,6 +507,11 @@ msgid ""
507507
" mydict[key] = getvalue(key)\n"
508508
" value = mydict[key]"
509509
msgstr ""
510+
"try:\n"
511+
" value = mydict[key]\n"
512+
"except KeyError:\n"
513+
" mydict[key] = getvalue(key)\n"
514+
" value = mydict[key]"
510515

511516
#: ../../faq/design.rst:246
512517
msgid ""
@@ -523,6 +528,10 @@ msgid ""
523528
"else:\n"
524529
" value = mydict[key] = getvalue(key)"
525530
msgstr ""
531+
"if key in mydict:\n"
532+
" value = mydict[key]\n"
533+
"else:\n"
534+
" value = mydict[key] = getvalue(key)"
526535

527536
#: ../../faq/design.rst:254
528537
msgid ""
@@ -569,6 +578,12 @@ msgid ""
569578
"func = functions[value]\n"
570579
"func()"
571580
msgstr ""
581+
"functions = {'a': function_1,\n"
582+
" 'b': function_2,\n"
583+
" 'c': self.method_1}\n"
584+
"\n"
585+
"func = functions[value]\n"
586+
"func()"
572587

573588
#: ../../faq/design.rst:279
574589
msgid ""
@@ -589,6 +604,14 @@ msgid ""
589604
" method = getattr(self, method_name)\n"
590605
" method()"
591606
msgstr ""
607+
"class MyVisitor:\n"
608+
" def visit_a(self):\n"
609+
" ...\n"
610+
"\n"
611+
" def dispatch(self, value):\n"
612+
" method_name = 'visit_' + str(value)\n"
613+
" method = getattr(self, method_name)\n"
614+
" method()"
592615

593616
#: ../../faq/design.rst:291
594617
msgid ""
@@ -682,6 +705,10 @@ msgid ""
682705
"an up-and-coming compiler of Python into C++ code, aiming to support the "
683706
"full Python language."
684707
msgstr ""
708+
"`Cython <https://cython.org/>`_ は、 オプションアノテーションを付けた 修正"
709+
"バージョンの Python から C 拡張 にコンパイルします。 `Nuitka <https://"
710+
"nuitka.net/>`_ は Python から C++ コードへの有望なコンパイラで、 フルセット"
711+
"の Python 言語サポートを目指しています。"
685712

686713
#: ../../faq/design.rst:337
687714
msgid "How does Python manage memory?"
@@ -697,12 +724,12 @@ msgid ""
697724
"provides functions to perform a garbage collection, obtain debugging "
698725
"statistics, and tune the collector's parameters."
699726
msgstr ""
700-
"Python のメモリ管理の詳細は実装に依ります。Python の標準の C 実装 :term:"
701-
"`CPython` は参照カウントを使って、アクセスできないオブジェクトを探します。ま"
702-
"た別のメカニズムを使って参照サイクルを集めます。これはサイクル検出アルゴリズ"
703-
"ムを定期的に実行し、アクセスできないサイクルを探し、巻き込まれたオブジェクト"
704-
"を削除します。 :mod:`gc` モジュールの関数で、ガベージコレクションを実行し、デ"
705-
"バッグ統計を取得し、コレクタのパラメタを変更できます。"
727+
"Python のメモリ管理の詳細は実装に依ります。 Python の標準実装である :term:"
728+
"`CPython` は、参照カウントを使ってアクセスできない(訳注:参照されえない)オ"
729+
"ブジェクトを検出し、そして別の仕組みで参照サイクル(循環参照)を集めます。サ"
730+
"イクル検出アルゴリズムを定期的に実行し、アクセスできないサイクルを見つけて一"
731+
"連のオブジェクトを削除します。 :mod:`gc` モジュールは、ガベージコレクションの"
732+
"実行、デバッグ統計の取得、コレクタのパラメータ調整を行う関数を提供します。"
706733

707734
#: ../../faq/design.rst:347
708735
msgid ""
@@ -712,6 +739,10 @@ msgid ""
712739
"problems if your Python code depends on the behavior of the reference "
713740
"counting implementation."
714741
msgstr ""
742+
"ただし、他の実装( `Jython <https://www.jython.org>`_ や `PyPy <https://pypy."
743+
"org>`_ など)では、本格的なガベージコレクタのような別の仕組みを用いているかも"
744+
"しれません。 この違いは微妙な移植の問題を起こす可能性があります。もし あなた"
745+
"の Python コードが参照カウント実装の振る舞いに依存している場合には。"
715746

716747
#: ../../faq/design.rst:353
717748
msgid ""
@@ -727,6 +758,9 @@ msgid ""
727758
" f = open(file)\n"
728759
" c = f.read(1)"
729760
msgstr ""
761+
"for file in very_long_list_of_files:\n"
762+
" f = open(file)\n"
763+
" c = f.read(1)"
730764

731765
#: ../../faq/design.rst:360
732766
msgid ""
@@ -756,6 +790,9 @@ msgid ""
756790
" with open(file) as f:\n"
757791
" c = f.read(1)"
758792
msgstr ""
793+
"for file in very_long_list_of_files:\n"
794+
" with open(file) as f:\n"
795+
" c = f.read(1)"
759796

760797
#: ../../faq/design.rst:375
761798
msgid "Why doesn't CPython use a more traditional garbage collection scheme?"
@@ -992,6 +1029,8 @@ msgid ""
9921029
"mydict = {[1, 2]: '12'}\n"
9931030
"print(mydict[[1, 2]])"
9941031
msgstr ""
1032+
"mydict = {[1, 2]: '12'}\n"
1033+
"print(mydict[[1, 2]])"
9951034

9961035
#: ../../faq/design.rst:486
9971036
msgid ""
@@ -1076,6 +1115,22 @@ msgid ""
10761115
" result = (result % 7777777) + i * 333\n"
10771116
" return result"
10781117
msgstr ""
1118+
"class ListWrapper:\n"
1119+
" def __init__(self, the_list):\n"
1120+
" self.the_list = the_list\n"
1121+
"\n"
1122+
" def __eq__(self, other):\n"
1123+
" return self.the_list == other.the_list\n"
1124+
"\n"
1125+
" def __hash__(self):\n"
1126+
" l = self.the_list\n"
1127+
" result = 98767 - len(l)*555\n"
1128+
" for i, el in enumerate(l):\n"
1129+
" try:\n"
1130+
" result = result + (hash(el) % 9999999) * 1001 + i\n"
1131+
" except Exception:\n"
1132+
" result = (result % 7777777) + i * 333\n"
1133+
" return result"
10791134

10801135
#: ../../faq/design.rst:530
10811136
msgid ""
@@ -1147,6 +1202,8 @@ msgid ""
11471202
"for key in sorted(mydict):\n"
11481203
" ... # do whatever with mydict[key]..."
11491204
msgstr ""
1205+
"for key in sorted(mydict):\n"
1206+
" ... # mydict[key] を使って何でもできる ..."
11501207

11511208
#: ../../faq/design.rst:564
11521209
msgid "How do you specify and enforce an interface spec in Python?"
@@ -1218,6 +1275,12 @@ msgid ""
12181275
"actually do this correctly, but it's trivial to check this property in a "
12191276
"test suite."
12201277
msgstr ""
1278+
"Python で大きくて複雑なアプリケーションを構築するとき、インターフェース仕様と"
1279+
"同様に、適切なテスト規律も役立ちます。 実際には、インターフェース仕様ではテ"
1280+
"ストできないプログラムの属性もあるので、それ以上にもなりえます。 例えば、 :"
1281+
"meth:`list.append` メソッドは新しい要素をある内部リストの終わりに加えます。イ"
1282+
"ンターフェース仕様ではこの :meth:`list.append` の実装が実際にこれを行うかをテ"
1283+
"ストできませんが、テストスイートならこの機能を簡単に確かめられます。"
12211284

12221285
#: ../../faq/design.rst:597
12231286
msgid ""
@@ -1279,6 +1342,15 @@ msgid ""
12791342
" pass\n"
12801343
"..."
12811344
msgstr ""
1345+
"class label(Exception): pass # declare a label\n"
1346+
"\n"
1347+
"try:\n"
1348+
" ...\n"
1349+
" if condition: raise label() # goto label\n"
1350+
" ...\n"
1351+
"except label: # goto 移動先\n"
1352+
" pass\n"
1353+
"..."
12821354

12831355
#: ../../faq/design.rst:630
12841356
msgid ""
@@ -1329,7 +1401,7 @@ msgstr ""
13291401

13301402
#: ../../faq/design.rst:651
13311403
msgid "f = open(\"/mydir/file.txt\") # works fine!"
1332-
msgstr ""
1404+
msgstr "f = open(\"/mydir/file.txt\") # 正常に動く!"
13331405

13341406
#: ../../faq/design.rst:653
13351407
msgid ""
@@ -1344,6 +1416,9 @@ msgid ""
13441416
"dir = r\"\\this\\is\\my\\dos\\dir\\ \"[:-1]\n"
13451417
"dir = \"\\\\this\\\\is\\\\my\\\\dos\\\\dir\\\\\""
13461418
msgstr ""
1419+
"dir = r\"\\this\\is\\my\\dos\\dir\" \"\\\\\"\n"
1420+
"dir = r\"\\this\\is\\my\\dos\\dir\\ \"[:-1]\n"
1421+
"dir = \"\\\\this\\\\is\\\\my\\\\dos\\\\dir\\\\\""
13471422

13481423
#: ../../faq/design.rst:661
13491424
msgid "Why doesn't Python have a \"with\" statement for attribute assignments?"
@@ -1365,6 +1440,9 @@ msgid ""
13651440
" a = 1 # equivalent to obj.a = 1\n"
13661441
" total = total + 1 # obj.total = obj.total + 1"
13671442
msgstr ""
1443+
"with obj:\n"
1444+
" a = 1 # これに相当: obj.a = 1\n"
1445+
" total = total + 1 # obj.total = obj.total + 1"
13681446

13691447
#: ../../faq/design.rst:671
13701448
msgid "In Python, such a construct would be ambiguous."
@@ -1404,6 +1482,9 @@ msgid ""
14041482
" with a:\n"
14051483
" print(x)"
14061484
msgstr ""
1485+
"def foo(a):\n"
1486+
" with a:\n"
1487+
" print(x)"
14071488

14081489
#: ../../faq/design.rst:690
14091490
msgid ""
@@ -1435,6 +1516,9 @@ msgid ""
14351516
"function(args).mydict[index][index].b = 42\n"
14361517
"function(args).mydict[index][index].c = 63"
14371518
msgstr ""
1519+
"function(args).mydict[index][index].a = 21\n"
1520+
"function(args).mydict[index][index].b = 42\n"
1521+
"function(args).mydict[index][index].c = 63"
14381522

14391523
#: ../../faq/design.rst:703
14401524
msgid "write this::"
@@ -1447,6 +1531,10 @@ msgid ""
14471531
"ref.b = 42\n"
14481532
"ref.c = 63"
14491533
msgstr ""
1534+
"ref = function(args).mydict[index][index]\n"
1535+
"ref.a = 21\n"
1536+
"ref.b = 42\n"
1537+
"ref.c = 63"
14501538

14511539
#: ../../faq/design.rst:710
14521540
msgid ""
@@ -1464,7 +1552,7 @@ msgid ""
14641552
"(see https://mail.python.org/pipermail/python-ideas/2016-May/040070.html)."
14651553
msgstr ""
14661554
"似た提案として、「先頭のドット」を使うなどして さらにコード量を減らす構文は、"
1467-
"明白さを優先をして却下されました (https://mail.python.org/pipermail/python-"
1555+
"明白さを優先して却下されました (https://mail.python.org/pipermail/python-"
14681556
"ideas/2016-May/040070.html 参照)。"
14691557

14701558
#: ../../faq/design.rst:720
@@ -1501,6 +1589,8 @@ msgid ""
15011589
"if a == b\n"
15021590
" print(a)"
15031591
msgstr ""
1592+
"if a == b\n"
1593+
" print(a)"
15041594

15051595
#: ../../faq/design.rst:738
15061596
msgid "versus ::"
@@ -1511,6 +1601,8 @@ msgid ""
15111601
"if a == b:\n"
15121602
" print(a)"
15131603
msgstr ""
1604+
"if a == b:\n"
1605+
" print(a)"
15141606

15151607
#: ../../faq/design.rst:743
15161608
msgid ""
@@ -1553,6 +1645,12 @@ msgid ""
15531645
" \"B\": [6, 7], # last trailing comma is optional but good style\n"
15541646
"}"
15551647
msgstr ""
1648+
"[1, 2, 3,]\n"
1649+
"('a', 'b', 'c',)\n"
1650+
"d = {\n"
1651+
" \"A\": [1, 5],\n"
1652+
" \"B\": [6, 7], # 最後のカンマはオプションだが良いスタイル\n"
1653+
"}"
15561654

15571655
#: ../../faq/design.rst:765
15581656
msgid "There are several reasons to allow this."
@@ -1585,6 +1683,12 @@ msgid ""
15851683
" \"fum\"\n"
15861684
"]"
15871685
msgstr ""
1686+
"x = [\n"
1687+
" \"fee\",\n"
1688+
" \"fie\"\n"
1689+
" \"foo\",\n"
1690+
" \"fum\"\n"
1691+
"]"
15881692

15891693
#: ../../faq/design.rst:782
15901694
msgid ""

library/asyncio-eventloop.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-02-11 14:49+0000\n"
15+
"POT-Creation-Date: 2026-03-03 14:40+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2026\n"
1818
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"

library/codecs.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-02-11 14:49+0000\n"
14+
"POT-Creation-Date: 2026-03-03 14:40+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"

0 commit comments

Comments
 (0)