Skip to content

Commit 2eaef2c

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 7f5182a commit 2eaef2c

2 files changed

Lines changed: 15371 additions & 15287 deletions

File tree

library/warnings.po

Lines changed: 66 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-02 00:16+0000\n"
14+
"POT-Creation-Date: 2026-06-15 18:22+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -661,7 +661,7 @@ msgid ""
661661
msgstr ""
662662

663663
#: ../../library/warnings.rst:337 ../../library/warnings.rst:379
664-
#: ../../library/warnings.rst:647
664+
#: ../../library/warnings.rst:666
665665
msgid ""
666666
"See :ref:`warning-concurrent-safe` for details on the concurrency-safety of "
667667
"the :class:`catch_warnings` context manager when used in programs using "
@@ -1062,47 +1062,90 @@ msgid ""
10621062
"`False` (the default) the context manager returns :class:`None` on entry. If "
10631063
"*record* is :const:`True`, a list is returned that is progressively "
10641064
"populated with objects as seen by a custom :func:`showwarning` function "
1065-
"(which also suppresses output to ``sys.stdout``). Each object in the list "
1066-
"has attributes with the same names as the arguments to :func:`showwarning`."
1065+
"(which also suppresses output to ``sys.stderr``). Each object in the list is "
1066+
"guaranteed to have the following attributes:"
1067+
msgstr ""
1068+
1069+
#: ../../library/warnings.rst:632
1070+
msgid "``message``: the warning message (an instance of :exc:`Warning`)"
10671071
msgstr ""
1068-
"警告フィルタと :func:`showwarning` 関数をコピーし、終了時に復元するコンテキス"
1069-
"トマネージャーです。 *record* 引数が :const:`False` (デフォルト値)だった場"
1070-
"合、コンテキスト開始時には :const:`None` を返します。もし *record* が :const:"
1071-
"`True` だった場合、リストを返します。このリストにはカスタムの :func:"
1072-
"`showwarning` 関数(この関数は同時に ``sys.stdout`` への出力を抑制します)に"
1073-
"よってオブジェクトが継続的に追加されます。リストの中の各オブジェクトは、 :"
1074-
"func:`showwarning` 関数の引数と同じ名前の属性を持っています。"
10751072

10761073
#: ../../library/warnings.rst:633
1074+
msgid "``category``: the warning category (a subclass of :exc:`Warning`)"
1075+
msgstr ""
1076+
1077+
#: ../../library/warnings.rst:634
1078+
msgid "``filename``: the file name where the warning occurred (:class:`str`)"
1079+
msgstr ""
1080+
1081+
#: ../../library/warnings.rst:635
1082+
msgid "``lineno``: the line number in the file (:class:`int`)"
1083+
msgstr ""
1084+
1085+
#: ../../library/warnings.rst:636
1086+
msgid "``file``: the file object used for output (if any), or ``None``"
1087+
msgstr ""
1088+
1089+
#: ../../library/warnings.rst:637
1090+
msgid "``line``: the line of source code (if available), or ``None``"
1091+
msgstr ""
1092+
1093+
#: ../../library/warnings.rst:638
1094+
msgid ""
1095+
"``source``: the original object that generated the warning (if available), "
1096+
"or ``None``"
1097+
msgstr ""
1098+
1099+
#: ../../library/warnings.rst:640
1100+
msgid ""
1101+
"``module``: the module name where the warning occurred (:class:`str`), or "
1102+
"``None``"
1103+
msgstr ""
1104+
1105+
#: ../../library/warnings.rst:643
1106+
msgid "The ``source`` attribute was added."
1107+
msgstr ""
1108+
1109+
#: ../../library/warnings.rst:646
1110+
msgid "The ``module`` attribute was added."
1111+
msgstr ""
1112+
1113+
#: ../../library/warnings.rst:649
1114+
msgid ""
1115+
"The type of these objects is not specified and may change; only the presence "
1116+
"of these attributes is guaranteed."
1117+
msgstr ""
1118+
1119+
#: ../../library/warnings.rst:652
10771120
msgid ""
10781121
"The *module* argument takes a module that will be used instead of the module "
10791122
"returned when you import :mod:`!warnings` whose filter will be protected. "
10801123
"This argument exists primarily for testing the :mod:`!warnings` module "
10811124
"itself."
10821125
msgstr ""
10831126

1084-
#: ../../library/warnings.rst:638
1127+
#: ../../library/warnings.rst:657
10851128
msgid ""
10861129
"If the *action* argument is not ``None``, the remaining arguments are passed "
10871130
"to :func:`simplefilter` as if it were called immediately on entering the "
10881131
"context."
10891132
msgstr ""
10901133

1091-
#: ../../library/warnings.rst:642
1134+
#: ../../library/warnings.rst:661
10921135
msgid ""
10931136
"See :ref:`warning-filter` for the meaning of the *category* and *lineno* "
10941137
"parameters."
10951138
msgstr ""
10961139

1097-
#: ../../library/warnings.rst:654
1140+
#: ../../library/warnings.rst:673
10981141
msgid "Added the *action*, *category*, *lineno*, and *append* parameters."
10991142
msgstr ""
11001143

1101-
#: ../../library/warnings.rst:660
1144+
#: ../../library/warnings.rst:679
11021145
msgid "Concurrent safety of Context Managers"
11031146
msgstr ""
11041147

1105-
#: ../../library/warnings.rst:662
1148+
#: ../../library/warnings.rst:681
11061149
msgid ""
11071150
"The behavior of :class:`catch_warnings` context manager depends on the :data:"
11081151
"`sys.flags.context_aware_warnings` flag. If the flag is true, the context "
@@ -1113,7 +1156,7 @@ msgid ""
11131156
"threaded builds and false otherwise."
11141157
msgstr ""
11151158

1116-
#: ../../library/warnings.rst:670
1159+
#: ../../library/warnings.rst:689
11171160
msgid ""
11181161
"If the :data:`~sys.flags.context_aware_warnings` flag is false, then :class:"
11191162
"`catch_warnings` will modify the global attributes of the :mod:`!warnings` "
@@ -1123,7 +1166,7 @@ msgid ""
11231166
"is undefined."
11241167
msgstr ""
11251168

1126-
#: ../../library/warnings.rst:677
1169+
#: ../../library/warnings.rst:696
11271170
msgid ""
11281171
"If the flag is true, :class:`catch_warnings` will not modify global "
11291172
"attributes and will instead use a :class:`~contextvars.ContextVar` to store "
@@ -1132,30 +1175,30 @@ msgid ""
11321175
"safe."
11331176
msgstr ""
11341177

1135-
#: ../../library/warnings.rst:683
1178+
#: ../../library/warnings.rst:702
11361179
msgid ""
11371180
"The *record* parameter of the context handler also behaves differently "
11381181
"depending on the value of the flag. When *record* is true and the flag is "
11391182
"false, the context manager works by replacing and then later restoring the "
11401183
"module's :func:`showwarning` function. That is not concurrent-safe."
11411184
msgstr ""
11421185

1143-
#: ../../library/warnings.rst:688
1186+
#: ../../library/warnings.rst:707
11441187
msgid ""
11451188
"When *record* is true and the flag is true, the :func:`showwarning` function "
11461189
"is not replaced. Instead, the recording status is indicated by an internal "
11471190
"property in the context variable. In this case, the :func:`showwarning` "
11481191
"function will not be restored when exiting the context handler."
11491192
msgstr ""
11501193

1151-
#: ../../library/warnings.rst:693
1194+
#: ../../library/warnings.rst:712
11521195
msgid ""
11531196
"The :data:`~sys.flags.context_aware_warnings` flag can be set the :option:`-"
11541197
"X context_aware_warnings<-X>` command-line option or by the :envvar:"
11551198
"`PYTHON_CONTEXT_AWARE_WARNINGS` environment variable."
11561199
msgstr ""
11571200

1158-
#: ../../library/warnings.rst:699
1201+
#: ../../library/warnings.rst:718
11591202
msgid ""
11601203
"It is likely that most programs that desire thread-safe behaviour of the "
11611204
"warnings module will also want to set the :data:`~sys.flags."
@@ -1168,7 +1211,7 @@ msgid ""
11681211
"`catch_warnings` context manager will no longer be active."
11691212
msgstr ""
11701213

1171-
#: ../../library/warnings.rst:712
1214+
#: ../../library/warnings.rst:731
11721215
msgid ""
11731216
"Added the :data:`sys.flags.context_aware_warnings` flag and the use of a "
11741217
"context variable for :class:`catch_warnings` if the flag is true. Previous "

0 commit comments

Comments
 (0)