Skip to content

Commit 0e36334

Browse files
[po] auto sync
1 parent 981284e commit 0e36334

17 files changed

Lines changed: 2833 additions & 2681 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "0.00%", "updated_at": "2026-07-09T19:14:29Z"}
1+
{"translation": "0.00%", "updated_at": "2026-07-11T16:38:25Z"}

library/asyncio-queue.mo

0 Bytes
Binary file not shown.

library/asyncio-queue.po

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2025, Python Software Foundation
2+
# Copyright (C) 2001-2026, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-09-25 15:05+0000\n"
15+
"POT-Creation-Date: 2026-07-11 16:22+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:03+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,60 +130,60 @@ 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 "
184189
"drained to be completely empty and the count of unfinished tasks is reduced "
@@ -188,93 +193,94 @@ msgid ""
188193
" the queue is empty."
189194
msgstr ""
190195

191-
#: ../../library/asyncio-queue.rst:130
196+
#: ../../library/asyncio-queue.rst:134
192197
msgid ""
193198
"Use caution when using :meth:`~Queue.join` with *immediate* set to true. "
194199
"This unblocks the join even when no work has been done on the tasks, "
195200
"violating the usual invariant for joining a queue."
196201
msgstr ""
197202

198-
#: ../../library/asyncio-queue.rst:138
203+
#: ../../library/asyncio-queue.rst:142
199204
msgid "Indicate that a formerly enqueued work item is complete."
200205
msgstr ""
201206

202-
#: ../../library/asyncio-queue.rst:140
207+
#: ../../library/asyncio-queue.rst:144
203208
msgid ""
204209
"Used by queue consumers. For each :meth:`~Queue.get` used to fetch a work "
205210
"item, a subsequent call to :meth:`task_done` tells the queue that the "
206211
"processing on the work item is complete."
207212
msgstr ""
208213

209-
#: ../../library/asyncio-queue.rst:144
214+
#: ../../library/asyncio-queue.rst:148
210215
msgid ""
211216
"If a :meth:`join` is currently blocking, it will resume when all items have "
212217
"been processed (meaning that a :meth:`task_done` call was received for every"
213218
" item that had been :meth:`~Queue.put` into the queue)."
214219
msgstr ""
215220

216-
#: ../../library/asyncio-queue.rst:149
221+
#: ../../library/asyncio-queue.rst:153
217222
msgid ""
218223
"Raises :exc:`ValueError` if called more times than there were items placed "
219224
"in the queue."
220225
msgstr ""
221226

222-
#: ../../library/asyncio-queue.rst:154
227+
#: ../../library/asyncio-queue.rst:158
223228
msgid "Priority Queue"
224229
msgstr ""
225230

226-
#: ../../library/asyncio-queue.rst:158
231+
#: ../../library/asyncio-queue.rst:162
227232
msgid ""
228233
"A variant of :class:`Queue`; retrieves entries in priority order (lowest "
229234
"first)."
230235
msgstr ""
231236

232-
#: ../../library/asyncio-queue.rst:161
237+
#: ../../library/asyncio-queue.rst:165
233238
msgid "Entries are typically tuples of the form ``(priority_number, data)``."
234239
msgstr ""
235240

236-
#: ../../library/asyncio-queue.rst:166
241+
#: ../../library/asyncio-queue.rst:170
237242
msgid "LIFO Queue"
238243
msgstr ""
239244

240-
#: ../../library/asyncio-queue.rst:170
245+
#: ../../library/asyncio-queue.rst:174
241246
msgid ""
242247
"A variant of :class:`Queue` that retrieves most recently added entries first"
243248
" (last in, first out)."
244249
msgstr ""
245250

246-
#: ../../library/asyncio-queue.rst:175
251+
#: ../../library/asyncio-queue.rst:179
247252
msgid "Exceptions"
248253
msgstr ""
249254

250-
#: ../../library/asyncio-queue.rst:179
255+
#: ../../library/asyncio-queue.rst:183
251256
msgid ""
252257
"This exception is raised when the :meth:`~Queue.get_nowait` method is called"
253258
" on an empty queue."
254259
msgstr ""
255260

256-
#: ../../library/asyncio-queue.rst:185
261+
#: ../../library/asyncio-queue.rst:189
257262
msgid ""
258263
"Exception raised when the :meth:`~Queue.put_nowait` method is called on a "
259264
"queue that has reached its *maxsize*."
260265
msgstr ""
261266

262-
#: ../../library/asyncio-queue.rst:191
267+
#: ../../library/asyncio-queue.rst:195
263268
msgid ""
264-
"Exception raised when :meth:`~Queue.put` or :meth:`~Queue.get` is called on "
265-
"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."
266272
msgstr ""
267273

268-
#: ../../library/asyncio-queue.rst:198
274+
#: ../../library/asyncio-queue.rst:203
269275
msgid "Examples"
270276
msgstr ""
271277

272-
#: ../../library/asyncio-queue.rst:202
278+
#: ../../library/asyncio-queue.rst:207
273279
msgid ""
274280
"Queues can be used to distribute workload between several concurrent tasks::"
275281
msgstr ""
276282

277-
#: ../../library/asyncio-queue.rst:205
283+
#: ../../library/asyncio-queue.rst:210
278284
msgid ""
279285
"import asyncio\n"
280286
"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.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-06-21 17:26+0000\n"
14+
"POT-Creation-Date: 2026-07-11 16:22+0000\n"
1515
"PO-Revision-Date: 2025-09-15 01:04+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)