@@ -18,7 +18,7 @@ msgid ""
18
18
msgstr ""
19
19
"Project-Id-Version : Python 3.7\n "
20
20
"Report-Msgid-Bugs-To : \n "
21
- "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
21
+ "POT-Creation-Date : 2019-01-24 10:27 +0900\n "
22
22
"PO-Revision-Date : 2017-02-16 17:45+0000\n "
23
23
"Last-Translator : tomo, 2018\n "
24
24
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -999,30 +999,20 @@ msgid ""
999
999
"The :func:`fileConfig` function takes a default parameter, "
1000
1000
"``disable_existing_loggers``, which defaults to ``True`` for reasons of "
1001
1001
"backward compatibility. This may or may not be what you want, since it will "
1002
- "cause any loggers existing before the :func:`fileConfig` call to be disabled"
1003
- " unless they (or an ancestor) are explicitly named in the configuration. "
1004
- "Please refer to the reference documentation for more information, and "
1005
- "specify ``False`` for this parameter if you wish."
1006
- msgstr ""
1007
- ":func:`fileConfig` 関数はデフォルト引数 ``disable_existing_loggers`` "
1008
- "を取り、後方互換性のためにデフォルト値は ``True`` "
1009
- "になっています。これはあなたの望むものかもしれませんし、そうでないかもしれません。というのは、設定で明示的に指定したクラス (もしくはその親クラス) "
1010
- "を除いて、 :func:`fileConfig` "
1011
- "が呼び出される前に存在したロガーを無効化してしまうからです。より詳細なことはリファレンスを参照し、望むならこの引数に ``False`` "
1012
- "を指定してください。"
1002
+ "cause any non-root loggers existing before the :func:`fileConfig` call to be"
1003
+ " disabled unless they (or an ancestor) are explicitly named in the "
1004
+ "configuration. Please refer to the reference documentation for more "
1005
+ "information, and specify ``False`` for this parameter if you wish."
1006
+ msgstr ""
1013
1007
1014
1008
#: ../../howto/logging.rst:703
1015
1009
msgid ""
1016
1010
"The dictionary passed to :func:`dictConfig` can also specify a Boolean value"
1017
1011
" with key ``disable_existing_loggers``, which if not specified explicitly in"
1018
- " the dictionary also defaults to being interpreted as ``True``. This leads "
1012
+ " the dictionary also defaults to being interpreted as ``True``. This leads "
1019
1013
"to the logger-disabling behaviour described above, which may not be what you"
1020
1014
" want - in which case, provide the key explicitly with a value of ``False``."
1021
1015
msgstr ""
1022
- ":func:`dictConfig` に渡した辞書で、キー ``disable_existing_loggers`` "
1023
- "にブール値を指定することができ、辞書で指定しなかった場合はデフォルトで ``True`` "
1024
- "と解釈されます。こうすると上で説明したロガー無効化が動作しますが、これはあなたが望んだものでないかもしれません - その場合は、明示的にキーに "
1025
- "``False`` を指定してください。"
1026
1016
1027
1017
#: ../../howto/logging.rst:713
1028
1018
msgid ""
@@ -1154,14 +1144,12 @@ msgid ""
1154
1144
"If for some reason you *don't* want these messages printed in the absence of"
1155
1145
" any logging configuration, you can attach a do-nothing handler to the top-"
1156
1146
"level logger for your library. This avoids the message being printed, since "
1157
- "a handler will be always be found for the library's events: it just doesn't "
1147
+ "a handler will always be found for the library's events: it just doesn't "
1158
1148
"produce any output. If the library user configures logging for application "
1159
1149
"use, presumably that configuration will add some handlers, and if levels are"
1160
1150
" suitably configured then logging calls made in library code will send "
1161
1151
"output to those handlers, as normal."
1162
1152
msgstr ""
1163
- "何らかの理由で、ロギング設定がなされていないときにメッセージを表示 *させたくない* "
1164
- "なら、あなたのライブラリのトップレベルロガーに何もしないハンドラを取り付けられます。このハンドラは何も処理しないというだけで、全てのライブラリイベントに対してハンドラが見つかるので、メッセージが表示されることを防げます。ライブラリのユーザがアプリケーションでの使用のためにロギングを設定したら、それはおそらくハンドラを追加する設定でしょうが、そしてレベルが適切に設定されたら、ライブラリコード内でなされたロギングの呼び出しは、通常通りそのハンドラに出力を送るようになります。"
1165
1153
1166
1154
#: ../../howto/logging.rst:811
1167
1155
msgid ""
0 commit comments