Skip to content

Commit c9b5de3

Browse files
[po] auto sync
1 parent d1a676a commit c9b5de3

19 files changed

Lines changed: 2919 additions & 2763 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "3.18%", "updated_at": "2026-07-07T17:22:34Z"}
1+
{"translation": "3.18%", "updated_at": "2026-07-11T15:00:13Z"}

library/asyncio-queue.mo

0 Bytes
Binary file not shown.

library/asyncio-queue.po

Lines changed: 45 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
13-
"Project-Id-Version: Python 3.14\n"
13+
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-10-09 14:15+0000\n"
15+
"POT-Creation-Date: 2026-07-11 14:46+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Vladimir, 2025\n"
1818
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n"
@@ -112,11 +112,16 @@ msgid ""
112112
":exc:`QueueEmpty`."
113113
msgstr ""
114114

115-
#: ../../library/asyncio-queue.rst:77
116-
msgid "Block until all items in the queue have been received and processed."
115+
#: ../../library/asyncio-queue.rst:74
116+
msgid ""
117+
"Raises :exc:`QueueShutDown` if the queue has been shut down and is empty."
117118
msgstr ""
118119

119120
#: ../../library/asyncio-queue.rst:79
121+
msgid "Block until all items in the queue have been received and processed."
122+
msgstr ""
123+
124+
#: ../../library/asyncio-queue.rst:81
120125
msgid ""
121126
"The count of unfinished tasks goes up whenever an item is added to the "
122127
"queue. The count goes down whenever a consumer coroutine calls "
@@ -125,155 +130,157 @@ msgid ""
125130
":meth:`join` unblocks."
126131
msgstr ""
127132

128-
#: ../../library/asyncio-queue.rst:88
133+
#: ../../library/asyncio-queue.rst:90
129134
msgid ""
130135
"Put an item into the queue. If the queue is full, wait until a free slot is "
131136
"available before adding the item."
132137
msgstr ""
133138

134-
#: ../../library/asyncio-queue.rst:91
139+
#: ../../library/asyncio-queue.rst:93 ../../library/asyncio-queue.rst:101
135140
msgid "Raises :exc:`QueueShutDown` if the queue has been shut down."
136141
msgstr ""
137142

138-
#: ../../library/asyncio-queue.rst:95
143+
#: ../../library/asyncio-queue.rst:97
139144
msgid "Put an item into the queue without blocking."
140145
msgstr ""
141146

142-
#: ../../library/asyncio-queue.rst:97
147+
#: ../../library/asyncio-queue.rst:99
143148
msgid "If no free slot is immediately available, raise :exc:`QueueFull`."
144149
msgstr ""
145150

146-
#: ../../library/asyncio-queue.rst:101
151+
#: ../../library/asyncio-queue.rst:105
147152
msgid "Return the number of items in the queue."
148153
msgstr ""
149154

150-
#: ../../library/asyncio-queue.rst:105
155+
#: ../../library/asyncio-queue.rst:109
151156
msgid "Put a :class:`Queue` instance into a shutdown mode."
152157
msgstr ""
153158

154-
#: ../../library/asyncio-queue.rst:107
159+
#: ../../library/asyncio-queue.rst:111
155160
msgid ""
156161
"The queue can no longer grow. Future calls to :meth:`~Queue.put` raise "
157162
":exc:`QueueShutDown`. Currently blocked callers of :meth:`~Queue.put` will "
158-
"be unblocked and will raise :exc:`QueueShutDown` in the formerly blocked "
159-
"thread."
163+
"be unblocked and will raise :exc:`QueueShutDown` in the formerly awaiting "
164+
"task."
160165
msgstr ""
161166

162-
#: ../../library/asyncio-queue.rst:112
167+
#: ../../library/asyncio-queue.rst:116
163168
msgid ""
164169
"If *immediate* is false (the default), the queue can be wound down normally "
165170
"with :meth:`~Queue.get` calls to extract tasks that have already been "
166171
"loaded."
167172
msgstr ""
168173

169-
#: ../../library/asyncio-queue.rst:116
174+
#: ../../library/asyncio-queue.rst:120
170175
msgid ""
171176
"And if :meth:`~Queue.task_done` is called for each remaining task, a pending"
172177
" :meth:`~Queue.join` will be unblocked normally."
173178
msgstr ""
174179

175-
#: ../../library/asyncio-queue.rst:119
180+
#: ../../library/asyncio-queue.rst:123
176181
msgid ""
177182
"Once the queue is empty, future calls to :meth:`~Queue.get` will raise "
178183
":exc:`QueueShutDown`."
179184
msgstr ""
180185

181-
#: ../../library/asyncio-queue.rst:122
186+
#: ../../library/asyncio-queue.rst:126
182187
msgid ""
183188
"If *immediate* is true, the queue is terminated immediately. The queue is "
184-
"drained to be completely empty. All callers of :meth:`~Queue.join` are "
185-
"unblocked regardless of the number of unfinished tasks. Blocked callers of "
189+
"drained to be completely empty and the count of unfinished tasks is reduced "
190+
"by the number of tasks drained. If unfinished tasks is zero, callers of "
191+
":meth:`~Queue.join` are unblocked. Also, blocked callers of "
186192
":meth:`~Queue.get` are unblocked and will raise :exc:`QueueShutDown` because"
187193
" the queue is empty."
188194
msgstr ""
189195

190-
#: ../../library/asyncio-queue.rst:129
196+
#: ../../library/asyncio-queue.rst:134
191197
msgid ""
192198
"Use caution when using :meth:`~Queue.join` with *immediate* set to true. "
193199
"This unblocks the join even when no work has been done on the tasks, "
194200
"violating the usual invariant for joining a queue."
195201
msgstr ""
196202

197-
#: ../../library/asyncio-queue.rst:137
203+
#: ../../library/asyncio-queue.rst:142
198204
msgid "Indicate that a formerly enqueued work item is complete."
199205
msgstr ""
200206

201-
#: ../../library/asyncio-queue.rst:139
207+
#: ../../library/asyncio-queue.rst:144
202208
msgid ""
203209
"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a work "
204210
"item, a subsequent call to :meth:`task_done` tells the queue that the "
205211
"processing on the work item is complete."
206212
msgstr ""
207213

208-
#: ../../library/asyncio-queue.rst:143
214+
#: ../../library/asyncio-queue.rst:148
209215
msgid ""
210216
"If a :meth:`join` is currently blocking, it will resume when all items have "
211217
"been processed (meaning that a :meth:`task_done` call was received for every"
212218
" item that had been :meth:`~Queue.put` into the queue)."
213219
msgstr ""
214220

215-
#: ../../library/asyncio-queue.rst:148
221+
#: ../../library/asyncio-queue.rst:153
216222
msgid ""
217223
"Raises :exc:`ValueError` if called more times than there were items placed "
218224
"in the queue."
219225
msgstr ""
220226

221-
#: ../../library/asyncio-queue.rst:153
227+
#: ../../library/asyncio-queue.rst:158
222228
msgid "Priority Queue"
223229
msgstr ""
224230

225-
#: ../../library/asyncio-queue.rst:157
231+
#: ../../library/asyncio-queue.rst:162
226232
msgid ""
227233
"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
228234
"first)."
229235
msgstr ""
230236

231-
#: ../../library/asyncio-queue.rst:160
237+
#: ../../library/asyncio-queue.rst:165
232238
msgid "Entries are typically tuples of the form ``(priority_number, data)``."
233239
msgstr ""
234240

235-
#: ../../library/asyncio-queue.rst:165
241+
#: ../../library/asyncio-queue.rst:170
236242
msgid "LIFO Queue"
237243
msgstr ""
238244

239-
#: ../../library/asyncio-queue.rst:169
245+
#: ../../library/asyncio-queue.rst:174
240246
msgid ""
241247
"A variant of :class:`Queue` that retrieves most recently added entries first"
242248
" (last in, first out)."
243249
msgstr ""
244250

245-
#: ../../library/asyncio-queue.rst:174
251+
#: ../../library/asyncio-queue.rst:179
246252
msgid "Exceptions"
247253
msgstr ""
248254

249-
#: ../../library/asyncio-queue.rst:178
255+
#: ../../library/asyncio-queue.rst:183
250256
msgid ""
251257
"This exception is raised when the :meth:`~Queue.get_nowait` method is called"
252258
" on an empty queue."
253259
msgstr ""
254260

255-
#: ../../library/asyncio-queue.rst:184
261+
#: ../../library/asyncio-queue.rst:189
256262
msgid ""
257263
"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
258264
"queue that has reached its *maxsize*."
259265
msgstr ""
260266

261-
#: ../../library/asyncio-queue.rst:190
267+
#: ../../library/asyncio-queue.rst:195
262268
msgid ""
263-
"Exception raised when :meth:`~Queue.put` or :meth:`~Queue.get` is called on "
264-
"a queue which has been shut down."
269+
"Exception raised when :meth:`~Queue.put`, :meth:`~Queue.put_nowait`, "
270+
":meth:`~Queue.get` or :meth:`~Queue.get_nowait` is called on a queue which "
271+
"has been shut down."
265272
msgstr ""
266273

267-
#: ../../library/asyncio-queue.rst:197
274+
#: ../../library/asyncio-queue.rst:203
268275
msgid "Examples"
269276
msgstr ""
270277

271-
#: ../../library/asyncio-queue.rst:201
278+
#: ../../library/asyncio-queue.rst:207
272279
msgid ""
273280
"Queues can be used to distribute workload between several concurrent tasks::"
274281
msgstr ""
275282

276-
#: ../../library/asyncio-queue.rst:204
283+
#: ../../library/asyncio-queue.rst:210
277284
msgid ""
278285
"import asyncio\n"
279286
"import random\n"

library/dialog.mo

0 Bytes
Binary file not shown.

library/dialog.po

Lines changed: 27 additions & 27 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-21 15:47+0000\n"
14+
"POT-Creation-Date: 2026-07-11 14:46+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n"
@@ -183,66 +183,64 @@ msgid ""
183183
"The below functions when called create a modal, native look-and-feel dialog,"
184184
" wait for the user's selection, and return it. The exact return value "
185185
"depends on the function (see below); when the dialog is cancelled it is an "
186-
"empty string, an empty tuple, an empty list or ``None``."
186+
"empty string, an empty tuple or ``None``. The precise type of this empty "
187+
"value may vary between platforms and Tk versions, so test the result for "
188+
"truth rather than comparing it with a specific value."
187189
msgstr ""
188190

189-
#: ../../library/dialog.rst:139
191+
#: ../../library/dialog.rst:142
190192
msgid ""
191193
"Create an :class:`Open` dialog. :func:`askopenfile` returns the opened file "
192194
"object, or ``None`` if the dialog is cancelled. :func:`askopenfiles` returns"
193-
" a list of the opened file objects, or an empty list if cancelled. The files"
194-
" are opened in mode *mode* (read-only ``'r'`` by default)."
195+
" a list of the opened file objects, or an empty tuple if cancelled. The "
196+
"files are opened in mode *mode* (read-only ``'r'`` by default)."
195197
msgstr ""
196198

197-
#: ../../library/dialog.rst:148
199+
#: ../../library/dialog.rst:151
198200
msgid ""
199201
"Create a :class:`SaveAs` dialog and return the opened file object, or "
200202
"``None`` if the dialog is cancelled. The file is opened in mode *mode* "
201203
"(``'w'`` by default)."
202204
msgstr ""
203205

204-
#: ../../library/dialog.rst:155
206+
#: ../../library/dialog.rst:158
205207
msgid ""
206208
"Create an :class:`Open` dialog. :func:`askopenfilename` returns the selected"
207209
" filename as a string, or an empty string if the dialog is cancelled. "
208210
":func:`askopenfilenames` returns a tuple of the selected filenames, or an "
209211
"empty tuple if cancelled."
210212
msgstr ""
211213

212-
#: ../../library/dialog.rst:163
214+
#: ../../library/dialog.rst:166
213215
msgid ""
214216
"Create a :class:`SaveAs` dialog and return the selected filename as a "
215217
"string, or an empty string if the dialog is cancelled."
216218
msgstr ""
217219

218-
#: ../../library/dialog.rst:168
220+
#: ../../library/dialog.rst:171
219221
msgid ""
220222
"Prompt the user to select a directory, and return its path as a string, or "
221223
"an empty string if the dialog is cancelled. Additional keyword option: "
222224
"*mustexist* - if true, the user may only select an existing directory (false"
223225
" by default)."
224226
msgstr ""
225227

226-
#: ../../library/dialog.rst:176
228+
#: ../../library/dialog.rst:180
227229
msgid ""
228-
"The above two classes provide native dialog windows for saving and loading "
229-
"files."
230+
"The above three classes provide native dialog windows for loading and saving"
231+
" files and for selecting a directory."
230232
msgstr ""
231233

232-
#: ../../library/dialog.rst:179
234+
#: ../../library/dialog.rst:183
233235
msgid "**Convenience classes**"
234236
msgstr ""
235237

236-
#: ../../library/dialog.rst:181
238+
#: ../../library/dialog.rst:185
237239
msgid ""
238240
"The below classes are used for creating file/directory windows from scratch."
239241
" These do not emulate the native look-and-feel of the platform."
240242
msgstr ""
241243

242-
#: ../../library/dialog.rst:186
243-
msgid "Create a dialog prompting the user to select a directory."
244-
msgstr ""
245-
246244
#: ../../library/dialog.rst:188
247245
msgid ""
248246
"The *FileDialog* class should be subclassed for custom event handling and "
@@ -370,25 +368,27 @@ msgstr ""
370368

371369
#: ../../library/dialog.rst:311
372370
msgid ""
373-
"The name of the default bitmap (``'questhead'``) displayed by a "
374-
":class:`Dialog`."
371+
"The name of a bitmap (``'questhead'``) suitable for use as the *bitmap* of a"
372+
" :class:`Dialog`."
375373
msgstr ""
376374

377375
#: ../../library/dialog.rst:316
378376
msgid ""
379377
"Display a modal dialog box built from the classic (non-themed) Tk widgets "
380378
"and wait for the user to press one of its buttons. The options, given "
381-
"through *cnf* or as keyword arguments, include *title* (the window title), "
382-
"*text* (the message), *bitmap* (an icon, :data:`DIALOG_ICON` by default), "
383-
"*default* (the index of the default button) and *strings* (the sequence of "
384-
"button labels). After construction, the :attr:`!num` attribute holds the "
385-
"index of the button the user pressed."
379+
"through *cnf* or as keyword arguments, are all required: *title* (the window"
380+
" title), *text* (the message), *bitmap* (the name of a bitmap icon, such as "
381+
":data:`DIALOG_ICON`), *default* (the index of the default button) and "
382+
"*strings* (the sequence of button labels). After construction, the "
383+
":attr:`!num` attribute holds the index of the button the user pressed."
386384
msgstr ""
387385

388386
#: ../../library/dialog.rst:327
389-
msgid "Destroy the dialog window."
387+
msgid ""
388+
"Do nothing. The dialog window is destroyed automatically before the "
389+
"constructor returns, so there is nothing left for this method to do."
390390
msgstr ""
391391

392-
#: ../../library/dialog.rst:332
392+
#: ../../library/dialog.rst:334
393393
msgid "Modules :mod:`tkinter.messagebox`, :ref:`tut-files`"
394394
msgstr ""

library/string.mo

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)