8000 Update translations from Transifex · python/python-docs-ja@6c2d23c · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c2d23c

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 8b57927 commit 6c2d23c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1958
-4135
lines changed

c-api/structures.po

Lines changed: 103 additions & 98 deletions
Large diffs are not rendered by default.

c-api/type.po

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-09-22 14:13+0000\n"
14+
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1616
"Last-Translator: tomo, 2023\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -558,77 +558,77 @@ msgstr ""
558558

559559
#: ../../c-api/type.rst:464
560560
msgid ""
561-
"The following fields cannot be set at all using :c:type:`PyType_Spec` and :c:"
562-
"type:`PyType_Slot`:"
561+
"The following “offset” fields cannot be set using :c:type:`PyType_Slot`:"
563562
msgstr ""
564563

565-
#: ../../c-api/type.rst:467
566-
msgid ":c:member:`~PyTypeObject.tp_dict`"
567-
msgstr ":c:member:`~PyTypeObject.tp_dict`"
568-
569-
#: ../../c-api/type.rst:468
570-
msgid ":c:member:`~PyTypeObject.tp_mro`"
564+
#: ../../c-api/type.rst:466
565+
msgid ""
566+
":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:"
567+
"`Py_TPFLAGS_MANAGED_WEAKREF` instead if possible)"
571568
msgstr ""
572569

573-
#: ../../c-api/type.rst:469
574-
msgid ":c:member:`~PyTypeObject.tp_cache`"
570+
#: ../../c-api/type.rst:468
571+
msgid ""
572+
":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:"
573+
"`Py_TPFLAGS_MANAGED_DICT` instead if possible)"
575574
msgstr ""
576575

577576
#: ../../c-api/type.rst:470
578-
msgid ":c:member:`~PyTypeObject.tp_subclasses`"
577+
msgid ""
578+
":c:member:`~PyTypeObject.tp_vectorcall_offset` (use "
579+
"``\"__vectorcalloffset__\"`` in :ref:`PyMemberDef <pymemberdef-offsets>`)"
579580
msgstr ""
580581

581-
#: ../../c-api/type.rst:471
582-
msgid ":c:member:`~PyTypeObject.tp_weaklist`"
582+
#: ../../c-api/type.rst:474
583+
msgid ""
584+
"If it is not possible to switch to a ``MANAGED`` flag (for example, for "
585+
"vectorcall or to support Python older than 3.12), specify the offset in :c:"
586+
"member:`Py_tp_members <PyTypeObject.tp_members>`. See :ref:`PyMemberDef "
587+
"documentation <pymemberdef-offsets>` for details."
583588
msgstr ""
584589

585-
#: ../../c-api/type.rst:472
586-
msgid ":c:member:`~PyTypeObject.tp_vectorcall`"
587-
msgstr ":c:member:`~PyTypeObject.tp_vectorcall`"
588-
589-
#: ../../c-api/type.rst:473
590-
msgid ""
591-
":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:"
592-
"`Py_TPFLAGS_MANAGED_WEAKREF` instead)"
590+
#: ../../c-api/type.rst:480
591+
msgid "The following fields cannot be set at all when creating a heap type:"
593592
msgstr ""
594593

595-
#: ../../c-api/type.rst:475
594+
#: ../../c-api/type.rst:482
596595
msgid ""
597-
":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:"
598-
"`Py_TPFLAGS_MANAGED_DICT` instead)"
596+
":c:member:`~PyTypeObject.tp_vectorcall` (use :c:member:`~PyTypeObject."
597+
"tp_new` and/or :c:member:`~PyTypeObject.tp_init`)"
599598
msgstr ""
600599

601-
#: ../../c-api/type.rst:477
600+
#: ../../c-api/type.rst:486
602601
msgid ""
603-
":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef "
604-
"<pymemberdef-offsets>`)"
602+
"Internal fields: :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject."
603+
"tp_mro`, :c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject."
604+
"tp_subclasses`, and :c:member:`~PyTypeObject.tp_weaklist`."
605605
msgstr ""
606606

607-
#: ../../c-api/type.rst:480
607+
#: ../../c-api/type.rst:493
608608
msgid ""
609609
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
610610
"some platforms. To avoid issues, use the *bases* argument of :c:func:"
611611
"`PyType_FromSpecWithBases` instead."
612612
msgstr ""
613613

614-
#: ../../c-api/type.rst:487
614+
#: ../../c-api/type.rst:500
615615
msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
616616
msgstr ""
617617

618-
#: ../../c-api/type.rst:489
618+
#: ../../c-api/type.rst:502
619619
msgid ""
620620
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
621621
"bf_releasebuffer` are now available under the :ref:`limited API <limited-c-"
622622
"api>`."
623623
msgstr ""
624624

625-
#: ../../c-api/type.rst:496
625+
#: ../../c-api/type.rst:509
626626
msgid ""
627627
"The desired value of the slot. In most cases, this is a pointer to a "
628628
"function."
629629
msgstr ""
630630

631-
#: ../../c-api/type.rst:499
631+
#: ../../c-api/type.rst:512
632632
msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``."
633633
msgstr ""
634634

faq/design.po

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@
99
# Mikami Akiko, 2021
1010
# 菊池 健志, 2023
1111
# Arihiro TAKASE, 2023
12+
# TENMYO Masakazu, 2023
1213
#
1314
#, fuzzy
1415
msgid ""
1516
msgstr ""
1617
"Project-Id-Version: Python 3.12\n"
1718
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
19+
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
1920
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
20-
"Last-Translator: Arihiro TAKASE, 2023\n"
21+
"Last-Translator: TENMYO Masakazu, 2023\n"
2122
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2223
"ja/)\n"
2324
"MIME-Version: 1.0\n"
@@ -1046,6 +1047,8 @@ msgid ""
10461047
"For Python, many of the advantages of interface specifications can be "
10471048
"obtained by an appropriate test discipline for components."
10481049
msgstr ""
1050+
"Pythonでは、インターフェース仕様の多くの利点は、コンポーネントへの適切なテス"
1051+
"ト規律により得られます。"
10491052

10501053
#: ../../faq/design.rst:576
10511054
msgid ""
@@ -1275,10 +1278,13 @@ msgid ""
12751278
"such as using a 'leading dot', have been rejected in favour of explicitness "
12761279
"(see https://mail.python.org/pipermail/python-ideas/2016-May/040070.html)."
12771280
msgstr ""
1281+
"似た提案として、「先頭のドット」を使うなどして さらにコード量を減らす構文は、"
F42D 1282+
"明白さを優先をして却下されました (https://mail.python.org/pipermail/python-"
1283+
"ideas/2016-May/040070.html 参照)。"
12781284

12791285
#: ../../faq/design.rst:715
12801286
msgid "Why don't generators support the with statement?"
1281-
msgstr ""
1287+
msgstr "なぜジェネレータは with 文をサポートしないのですか?"
12821288

12831289
#: ../../faq/design.rst:717
12841290
msgid ""
@@ -1288,6 +1294,11 @@ msgid ""
12881294
"func:`contextlib.closing(generator) <contextlib.closing>` in the :keyword:"
12891295
"`with` statement."
12901296
msgstr ""
1297+
"技術的な理由で、ジェネレータは直接コンテキストマネージャとして使ってもうまく"
1298+
"動きません。最も一般的なように、ジェネレータが最後まで回りきるイテレータとし"
1299+
"て使われる場合、クローズ処理は不要です。必要な場合は、 :keyword:`with` 文で :"
1300+
"func:`contextlib.closing(generator) <contextlib.closing>` のようにラップしま"
1301+
"す。"
12911302

12921303
#: ../../faq/design.rst:725
12931304
msgid "Why are colons required for the if/while/def/class statements?"

faq/library.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@
99
# tomo, 2021
1010
# 菊池 健志, 2023
1111
# Arihiro TAKASE, 2023
12+
# TENMYO Masakazu, 2023
1213
#
1314
#, fuzzy
1415
msgid ""
1516
msgstr ""
1617
"Project-Id-Version: Python 3.12\n"
1718
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
19+
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
1920
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
20-
"Last-Translator: Arihiro TAKASE, 2023\n"
21+
"Last-Translator: TENMYO Masakazu, 2023\n"
2122
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2223
"ja/)\n"
2324
"MIME-Version: 1.0\n"
@@ -708,6 +709,13 @@ msgid ""
708709
"permissions and metadata, though using :func:`shutil.copy2` instead will "
709710
"preserve most (though not all) of it."
710711
msgstr ""
712+
":mod:`shutil` モジュールに :func:`~shutil.copyfile` 関数があります。注意点と"
713+
"して、これは Windows NTFS ボリューム上の `alternate data streams <https://en."
714+
"wikipedia.org/wiki/NTFS#Alternate_data_stream_(ADS)>`_ も macOS HFS+ 上の "
715+
"`resource forks <https://en.wikipedia.org/wiki/Resource_fork>`__ もコピーしま"
716+
"せん。ただし現在ではどちらも使われることは ほとんどありません。またファイルの"
717+
"パーミッションやメタデータもコピーされませんが、この代わりに :func:`shutil."
718+
"copy2` を使うとそのほとんど (すべてではありませんが) が保持されます。"
711719

712720
#: ../../faq/library.rst:497
713721
msgid "How do I read (or write) binary data?"

0 commit comments

Comments
 (0)
0