Skip to content

Commit 6237de2

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent b067700 commit 6237de2

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

library/logging.po

+22-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version: Python 3.13\n"
2222
"Report-Msgid-Bugs-To: \n"
23-
"POT-Creation-Date: 2024-11-08 14:16+0000\n"
23+
"POT-Creation-Date: 2024-11-15 14:18+0000\n"
2424
"PO-Revision-Date: 2021-06-28 01:09+0000\n"
2525
"Last-Translator: Takeshi Nakazato, 2024\n"
2626
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -2238,6 +2238,11 @@ msgid ""
22382238
"is recommended that ``__name__`` be used unless you have a specific reason "
22392239
"for not doing that, as mentioned in :ref:`logger`."
22402240
msgstr ""
2241+
"指定された名前のロガーを返します。名前が ``None`` であれば、ロガーの階層構造"
2242+
"におけるルートロガーを返します。名前を指定する場合は、典型的には *'a'*、 *'a."
2243+
"b'* または *'a.b.c.d'* のようなドット区切りの階層的な名前にします。名前の付け"
2244+
"方は完全にログ機能を使う開発者次第ですが、 :ref:`logger` で言及されている通"
2245+
"り、特に理由がなければ ``__name__`` を使うことが推奨されます。"
22412246

22422247
#: ../../library/logging.rst:1163
22432248
msgid ""
@@ -2268,6 +2273,8 @@ msgid ""
22682273
"class MyLogger(logging.getLoggerClass()):\n"
22692274
" # ... override behaviour here"
22702275
msgstr ""
2276+
"class MyLogger(logging.getLoggerClass()):\n"
2277+
" # ... override behaviour here"
22712278

22722279
#: ../../library/logging.rst:1181
22732280
msgid "Return a callable which is used to create a :class:`LogRecord`."
@@ -2297,12 +2304,16 @@ msgid ""
22972304
"logger. The handling of the arguments is in every way identical to what is "
22982305
"described in that method."
22992306
msgstr ""
2307+
"ルートロガーの :meth:`Logger.debug` メソッドを呼び出す便利関数です。引数の取"
2308+
"り扱いはあらゆる点で当該メソッドと同じです。"
23002309

23012310
#: ../../library/logging.rst:1197
23022311
msgid ""
23032312
"The only difference is that if the root logger has no handlers, then :func:"
23042313
"`basicConfig` is called, prior to calling ``debug`` on the root logger."
23052314
msgstr ""
2315+
"唯一の違いはルートロガーがハンドラを持たない場合で、この場合はルートロガーの "
2316+
"``debug`` メソッドを呼び出す前に :func:`basicConfig` が呼ばれます。"
23062317

23072318
#: ../../library/logging.rst:1200
23082319
msgid ""
@@ -2313,18 +2324,28 @@ msgid ""
23132324
"and calling :meth:`Logger.debug` (or other level-specific methods) on it, as "
23142325
"described at the beginnning of this documentation."
23152326
msgstr ""
2327+
"非常に短いスクリプトや ``logging`` の機能についての簡単なデモに対しては、 "
2328+
"``debug`` やその他のモジュールレベル関数は便利でしょう。しかしながら、ほとん"
2329+
"どのプログラムはロギングの設定を慎重かつ明示的に制御したいはずです。したがっ"
2330+
"て、このドキュメントの最初に書かれているとおり、モジュールレベルのロガーを生"
2331+
"成してそのロガーに対する :meth:`Logger.debug` メソッド (または他のログレベル"
2332+
"固有のメソッド) を呼び出す方を好むでしょう。"
23162333

23172334
#: ../../library/logging.rst:1210
23182335
msgid ""
23192336
"Logs a message with level :const:`INFO` on the root logger. The arguments "
23202337
"and behavior are otherwise the same as for :func:`debug`."
23212338
msgstr ""
2339+
"ルートロガーに対してログレベル :const:`INFO` でメッセージを記録します。引数と"
2340+
"振る舞いは、ログレベルを除けば :func:`debug` と同じです。"
23222341

23232342
#: ../../library/logging.rst:1216
23242343
msgid ""
23252344
"Logs a message with level :const:`WARNING` on the root logger. The arguments "
23262345
"and behavior are otherwise the same as for :func:`debug`."
23272346
msgstr ""
2347+
"ルートロガーに対してログレベル :const:`WARNING` でメッセージを記録します。引"
2348+
"数と振る舞いは、ログレベルを除けば :func:`debug` と同じです。"
23282349

23292350
#: ../../library/logging.rst:1219
23302351
msgid ""

0 commit comments

Comments
 (0)