8000 [skip ci] Update .po files · python/python-docs-ja@47320aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 47320aa

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent d893087 commit 47320aa

File tree

3 files changed

+4111
-4091
lines changed

3 files changed

+4111
-4091
lines changed

c-api/exceptions.po

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
# E. Kawashima, 2017
1111
# Arihiro TAKASE, 2017
1212
# Osamu NAKAMURA, 2018
13-
# tomo, 2018
13+
# tomo, 2019
1414
#
1515
#, fuzzy
1616
msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.7\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2019-05-23 11:29+0900\n"
20+
"POT-Creation-Date: 2019-05-25 11:30+0900\n"
2121
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
22-
"Last-Translator: tomo, 2018\n"
22+
"Last-Translator: tomo, 2019\n"
2323
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -110,12 +110,17 @@ msgid ""
110110
"printed and Python process will exit with the error code specified by the "
111111
"``SystemExit`` instance."
112112
msgstr ""
113+
"標準のトレースバックを ``sys.stderr`` に出力し、エラーインジケータをクリアします。\n"
114+
"ただし、エラーが ``SystemExit`` **である場合を除いて** です。\n"
115+
"その場合、トレースバックは出力されず、 Python プロセスは ``SystemExit`` インスタンスで指定されたエラーコードで終了します。"
113116

114117
#: ../../c-api/exceptions.rst:60
115118
msgid ""
116119
"Call this function **only** when the error indicator is set. Otherwise it "
117120
"will cause a fatal error!"
118121
msgstr ""
122+
"エラーインジケータが設定されているときに **だけ**、この関数を呼び出してください。\n"
123+
"それ以外の場合、致命的なエラーを引き起こすでしょう!"
119124

120125
#: ../../c-api/exceptions.rst:63
121126
msgid ""
@@ -151,7 +156,7 @@ msgstr ""
151156

152157
#: ../../c-api/exceptions.rst:84
153158
msgid "An exception must be set when calling this function."
154-
msgstr ""
159+
msgstr "この関数を呼び出すときには、例外がセットされていなければなりません。"
155160

156161
#: ../../c-api/exceptions.rst:88
157162
msgid "Raising exceptions"
@@ -660,14 +665,17 @@ msgstr ""
660665

661666
#: ../../c-api/exceptions.rst:519
662667
msgid ""
663-
"This function simulates the effect of a :const:`SIGINT` signal arriving --- "
664-
"the next time :c:func:`PyErr_CheckSignals` is called, "
665-
":exc:`KeyboardInterrupt` will be raised. It may be called without holding "
666-
"the interpreter lock."
668+
"Simulate the effect of a :const:`SIGINT` signal arriving. The next time "
669+
":c:func:`PyErr_CheckSignals` is called, the Python signal handler for "
670+
":const:`SIGINT` will be called."
671+
msgstr ""
672+
673+
#: ../../c-api/exceptions.rst:523
674+
msgid ""
675+
"If :const:`SIGINT` isn't handled by Python (it was set to "
676+
":data:`signal.SIG_DFL` or :data:`signal.SIG_IGN`), this function does "
677+
"nothing."
667678
msgstr ""
668-
"この関数は廃止されています。 :const:`SIGINT` シグナルが到達した影響をシミュレートします --- 次に "
669-
":c:func:`PyErr_CheckSignals` が呼ばれるとき、 :exc:`KeyboardInterrupt` "
670-
"は送出されるでしょう。インタプリタロックを保持することなく呼び出すことができます。"
671679

672680
#: ../../c-api/exceptions.rst:529
673681
msgid ""

library/_thread.po

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.7\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
18+
"POT-Creation-Date: 2019-05-25 11:30+0900\n"
1919
"PO-Revision-Date: 2017-02-16 17:47+0000\n"
2020
"Last-Translator: 秘湯 <xwhhsprings@gmail.com>, 2017\n"
2121
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -80,25 +80,30 @@ msgstr ""
8080

8181
#: ../../library/_thread.rst:56
8282
msgid ""
83-
"Raise a :exc:`KeyboardInterrupt` exception in the main thread. A subthread "
84-
"can use this function to interrupt the main thread."
83+
"Simulate the effect of a :data:`signal.SIGINT` signal arriving in the main "
84+
"thread. A thread can use this function to interrupt the main thread."
8585
msgstr ""
86-
"メインスレッドで :exc:`KeyboardInterrupt` "
87-
"を送出します。サブスレッドはこの関数を使ってメインスレッドに割り込みをかけることができます。"
8886

89-
#: ../../library/_thread.rst:62
87+
#: ../../library/_thread.rst:59
88+
msgid ""
89+
"If :data:`signal.SIGINT` isn't handled by Python (it was set to "
90+
":data:`signal.SIG_DFL` or :data:`signal.SIG_IGN`), this function does "
91+
"nothing."
92+
msgstr ""
93+
94+
#: ../../library/_thread.rst:66
9095
msgid ""
9196
"Raise the :exc:`SystemExit` exception. When not caught, this will cause the"
9297
" thread to exit silently."
9398
msgstr ":exc:`SystemExit` を送出します。それが捕えられないときは、静かにスレッドを終了させます。"
9499

95-
#: ../../library/_thread.rst:76
100+
#: ../../library/_thread.rst:80
96101
msgid ""
97102
"Return a new lock object. Methods of locks are described below. The lock "
98103
"is initially unlocked."
99104
msgstr "新しいロックオブジェクトを返します。ロックのメソッドはこの後に記述されます。ロックは初期状態としてアンロック状態です。"
100105

101-
#: ../../library/_thread.rst:82
106+
#: ../../library/_thread.rst:86
102107
msgid ""
103108
"Return the 'thread identifier' of the current thread. This is a nonzero "
104109
"integer. Its value has no direct meaning; it is intended as a magic cookie "
@@ -110,7 +115,7 @@ msgstr ""
110115
"例えばスレッド特有のデータの辞書に索引をつけるためのような、マジッククッキーとして意図されています。スレッドが終了し、他のスレッドが作られたとき、スレッド"
111116
" ID は再利用されるかもしれません。"
112117

113-
#: ../../library/_thread.rst:90
118+
#: ../../library/_thread.rst:94
114119
msgid ""
115120
"Return the thread stack size used when creating new threads. The optional "
116121
"*size* argument specifies the stack size to be used for subsequently created"
@@ -129,12 +134,12 @@ msgid ""
129134
"information)."
130135
msgstr ""
131136

132-
#: ../../library/_thread.rst:105
137+
#: ../../library/_thread.rst:109
133138
msgid ""
134139
":ref:`Availability <availability>`: Windows, systems with POSIX threads."
135140
msgstr ""
136141

137-
#: ../../library/_thread.rst:110
142+
#: ../../library/_thread.rst:114
138143
msgid ""
139144
"The maximum value allowed for the *timeout* parameter of "
140145
":meth:`Lock.acquire`. Specifying a timeout greater than this value will "
@@ -143,11 +148,11 @@ msgstr ""
143148
":meth:`Lock.acquire` の *timeout* 引数に許される最大値です。これ以上の値を timeout に指定すると "
144149
":exc:`OverflowError` を発生させます。"
145150

146-
#: ../../library/_thread.rst:117
151+
#: ../../library/_thread.rst:121
147152
msgid "Lock objects have the following methods:"
148153
msgstr "ロックオブジェクトは次のようなメソッドを持っています:"
149154

150-
#: ../../library/_thread.rst:122
155+
#: ../../library/_thread.rst:126
151156
msgid ""
152157
"Without any optional argument, this method acquires the lock "
153158
"unconditionally, if necessary waiting until it is released by another thread"
@@ -157,7 +162,7 @@ msgstr ""
157162
"オプションの引数なしで使用すると、このメソッドは他のスレッドがロックしているかどうかにかかわらずロックを獲得します。ただし、他のスレッドがすでにロックしている場合には解除されるまで待ってからロックを獲得します"
158163
" (同時にロックを獲得できるスレッドはひとつだけであり、これこそがロックの存在理由です)。"
159164

160-
#: ../../library/_thread.rst:126
165+
#: ../../library/_thread.rst:130
161166
msgid ""
162167
"If the integer *waitflag* argument is present, the action depends on its "
163168
"value: if it is zero, the lock is only acquired if it can be acquired "
@@ -167,7 +172,7 @@ msgstr ""
167172
"整数の引数 *waitflag* を指定すると、その値によって動作が変わります。引数が ``0`` "
168173
"のときは、待たずにすぐ獲得できる場合にだけロックを獲得します。``0`` 以外の値を与えると、先の例と同様、ロックの状態にかかわらず獲得をおこないます。"
169174

170-
#: ../../library/_thread.rst:131
175+
#: ../../library/_thread.rst:135
171176
msgid ""
172177
"If the floating-point *timeout* argument is present and positive, it "
173178
"specifies the maximum wait time in seconds before returning. A negative "
@@ -177,43 +182,43 @@ msgstr ""
177182
"*timeout* 引数に正の float 値が指定された場合、返る前に待つ最大の時間を秒数で指定します。負の *timeout* "
178183
"引数は無制限に待つことを指定します。*waitflag* が 0 の時は *timeout* を指定することはできません。"
179184

180-
#: ../../library/_thread.rst:136
185+
#: ../../library/_thread.rst:140
181186
msgid ""
182187
"The return value is ``True`` if the lock is acquired successfully, ``False``"
183188
" if not."
184189
msgstr "なお、ロックを獲得できた場合は ``True``、できなかった場合は ``False`` を返します。"
185190

186-
#: ../../library/_thread.rst:139
191+
#: ../../library/_thread.rst:143
187192
msgid "The *timeout* parameter is new."
188193
msgstr "新しい *timeout* 引数。"
189194

190-
#: ../../library/_thread.rst:142
195+
#: ../../library/_thread.rst:146
191196
msgid "Lock acquires can now be interrupted by signals on POSIX."
192197
msgstr "POSIX ではロックの取得がシグナルに割り込まれるようになりました。"
193198

194-
#: ../../library/_thread.rst:148
199+
#: ../../library/_thread.rst:152
195200
msgid ""
196201
"Releases the lock. The lock must have been acquired earlier, but not "
197202
"necessarily by the same thread."
198203
msgstr "ロックを解放します。そのロックは既に獲得されたものでなければなりませんが、しかし同じスレッドによって獲得されたものである必要はありません。"
199204

200-
#: ../../library/_thread.rst:154
205+
#: ../../library/_thread.rst:158
201206
msgid ""
202207
"Return the status of the lock: ``True`` if it has been acquired by some "
203208
"thread, ``False`` if not."
204209
msgstr "ロックの状態を返します: 同じスレッドによって獲得されたものなら ``True`` 、違うのなら ``False`` を返します。"
205210

206-
#: ../../library/_thread.rst:157
211+
#: ../../library/_thread.rst:161
207212
msgid ""
208213
"In addition to these methods, lock objects can also be used via the "
209214
":keyword:`with` statement, e.g.::"
210215
msgstr "これらのメソッドに加えて、ロックオブジェクトは :keyword:`with` 文を通じて以下の例のように使うこともできます。 ::"
211216

212-
#: ../../library/_thread.rst:167
217+
#: ../../library/_thread.rst:171
213218
msgid "**Caveats:**"
214219
msgstr "**警告:**"
215220

216-
#: ../../library/_thread.rst:171
221+
#: ../../library/_thread.rst:175
217222
msgid ""
218223
"Threads interact strangely with interrupts: the :exc:`KeyboardInterrupt` "
219224
"exception will be received by an arbitrary thread. (When the :mod:`signal` "
@@ -222,15 +227,15 @@ msgstr ""
222227
"スレッドは割り込みと奇妙な相互作用をします: :exc:`KeyboardInterrupt` 例外は任意のスレッドによって受け取られます。 "
223228
"(:mod:`signal` モジュールが利用可能なとき、割り込みは常にメインスレッドへ行きます。)"
224229

225-
#: ../../library/_thread.rst:175
230+
#: ../../library/_thread.rst:179
226231
msgid ""
227232
"Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is "
228233
"equivalent to calling :func:`_thread.exit`."
229234
msgstr ""
230235
":func:`sys.exit` を呼び出す、あるいは :exc:`SystemExit` 例外を送出することは、 "
231236
":func:`_thread.exit` を呼び出すことと同じです。"
232237

233-
#: ../../library/_thread.rst:178
238+
#: ../../library/_thread.rst:182
234239
msgid ""
235240
"It is not possible to interrupt the :meth:`acquire` method on a lock --- the"
236241
" :exc:`KeyboardInterrupt` exception will happen after the lock has been "
@@ -239,7 +244,7 @@ msgstr ""
239244
"ロックの :meth:`acquire` メソッドに割り込むことはできません --- :exc:`KeyboardInterrupt` "
240245
"例外は、ロックが獲得された後に発生します。"
241246

242-
#: ../../library/_thread.rst:181
247+
#: ../../library/_thread.rst:185
243248
msgid ""
244249
"When the main thread exits, it is system defined whether the other threads "
245250
"survive. On most systems, they are killed without executing :keyword:`try` "
@@ -248,7 +253,7 @@ msgstr ""
248253
"メインスレッドが終了したとき、他のスレッドが生き残るかどうかは、システムに依存します。多くのシステムでは、 :keyword:`try` ... "
249254
":keyword:`finally` 節や、オブジェクトデストラクタを実行せずに終了されます。"
250255

251-
#: ../../library/_thread.rst:186
256+
#: ../../library/_thread.rst:190
252257
msgid ""
253258
"When the main thread exits, it does not do any of its usual cleanup (except "
254259
"that :keyword:`try` ... :keyword:`finally` clauses are honored), and the "

0 commit comments

Comments
 (0)
0