Debian Codegraph @

friendly_traceback/locales/ru/LC_MESSAGES/friendly_tb_ru.po

raw
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: friendly_traceback\n"
4 "POT-Creation-Date: 2022-10-24 10:58-0300\n"
5 "PO-Revision-Date: 2022-10-24 11:01-0300\n"
6 "Last-Translator: \n"
7 "Language-Team: \n"
8 "Language: ru\n"
9 "MIME-Version: 1.0\n"
10 "Content-Type: text/plain; charset=UTF-8\n"
11 "Content-Transfer-Encoding: 8bit\n"
12 "X-Generator: Poedit 3.1.1\n"
13
14 #: __init__.py:284 __main__.py:171
15 msgid "The file {filename} does not exist."
16 msgstr "Файл {filename} не найден."
17
18 #: __init__.py:367
19 msgid "The available languages are:"
20 msgstr "Доступными вариантами являются:"
21
22 #: __init__.py:395
23 msgid "{include}: Unrecognized value."
24 msgstr ""
25
26 #: __init__.py:396
27 msgid "The allowed values are:"
28 msgstr ""
29
30 #: about_warnings.py:88
31 msgid "Warning issued on line `{line}` of code block {filename}."
32 msgstr "Исключение возникло в строке `{line}` блока кода {filename}."
33
34 #: about_warnings.py:92
35 msgid "Warning issued on line `{line}` of file '{filename}'."
36 msgstr "Исключение возникло в строке `{line}` файла '{filename}'."
37
38 #: about_warnings.py:137
39 msgid ""
40 "The source is unavailable.\n"
41 "If you used `exec`, consider using `friendly_exec` instead."
42 msgstr ""
43
44 #: base_formatters.py:192 base_formatters.py:198
45 msgid "I have no suggestion to offer."
46 msgstr "Не могу ничего предложить."
47
48 #: base_formatters.py:196
49 msgid "I have no suggestion to offer; try `why()`."
50 msgstr "У меня нет предложений, попробуйте `why()`."
51
52 #: config.py:42
53 msgid ""
54 "Are you using a regular Python console instead of a Friendly console?\n"
55 "If so, to continue, try: `start_console(local_vars=locals())`.\n"
56 "You will need to import `start_console` if you have not already done so.\n"
57 msgstr ""
58 "Вы используете консоль интерпретатора Python вместо консоли Friendly?\n"
59 "Если да, то для продолжения попробуйте: "
60 "start_console(local_vars=locals())`.\n"
61 "Вам нужно будет импортировать `start_console`, если вы еще этого не "
62 "сделали.\n"
63
64 #: config.py:76 config.py:194 console_helpers.py:43
65 msgid "Nothing to show: no exception recorded."
66 msgstr "Показать нечего: исключений не зарегистрировано."
67
68 #: config.py:81 console_helpers.py:306
69 msgid "Invalid index value."
70 msgstr ""
71
72 #: config.py:320
73 msgid ""
74 "An exception occurred before friendly-traceback was imported.\n"
75 "Some information is available."
76 msgstr ""
77 "Исключение произошло до того, как friendly-traceback был импортирован.\n"
78 "Некоторая информация всё же имеется."
79
80 #: console_helpers.py:49
81 msgid "Friendly-traceback is already disabled."
82 msgstr ""
83
84 #: console_helpers.py:59
85 msgid "Friendly-traceback is already enabled."
86 msgstr ""
87
88 #: console_helpers.py:109 functions_help.py:15
89 msgid "Shows a list of recorded traceback messages."
90 msgstr "Показывает список записанных сообщений трассировки."
91
92 #: console_helpers.py:111 functions_help.py:17
93 msgid "You can also use `history.clear()` and `history.pop()`."
94 msgstr ""
95
96 #: console_helpers.py:121
97 #, fuzzy
98 #| msgid "Nothing to show: no exception recorded."
99 msgid "Nothing to delete: no exception recorded."
100 msgstr "Показать нечего: исключений не зарегистрировано."
101
102 #: console_helpers.py:128
103 msgid "There is no such history item."
104 msgstr ""
105
106 #: console_helpers.py:172 console_helpers.py:176
107 msgid "{exception} is not an exception."
108 msgstr "{exception} не является исключением."
109
110 #: console_helpers.py:270
111 msgid "The default web browser cannot be used for searching."
112 msgstr "Веб-браузер по умолчанию не может быть использован для поиска."
113
114 #: console_helpers.py:280
115 #, fuzzy
116 #| msgid ""
117 #| "Invalid argument for `www()`.\n"
118 #| "Valid arguments include `None` or one of `{sites}`.\n"
119 msgid ""
120 "Invalid argument for `www()`.\n"
121 "Valid arguments are integer values or one of `{sites}`.\n"
122 msgstr ""
123 "Недопустимый аргумент для `www()`.\n"
124 "Допустимые аргументы включают `None` или один из `{sites}`.\n"
125
126 #: console_helpers.py:478
127 msgid ""
128 "The following methods of the Friendly object should also be available as "
129 "functions."
130 msgstr ""
131 "Следующие методы объекта Friendly также должны быть доступны как функции."
132
133 #: core.py:125
134 msgid "More lines not shown."
135 msgstr "Другие строки не показаны."
136
137 #: core.py:127 core.py:166
138 msgid "Python exception:"
139 msgstr "Исключение Python:"
140
141 #: core.py:180
142 msgid "The exception includes the following note:\n"
143 msgstr ""
144
145 #: core.py:184
146 msgid "The exception includes the following notes:\n"
147 msgstr ""
148
149 #: core.py:204
150 msgid ""
151 "Warning: improperly formed exception.\n"
152 "I suspect that a custom exception has been raised\n"
153 "with a non-string value used as a message.\n"
154 "This can occur if a `__repr__` or a `__str__` method\n"
155 "raises an exception or does not return a string.\n"
156 msgstr ""
157 "Warning: некорректно сформированное исключение.\n"
158 "Полагаю, что было вызвано пользовательское исключение\n"
159 "в котором в качестве сообщения используется нестроковое значение.\n"
160 "Это может произойти, если метод `__repr__` или `__str__`\n"
161 "вызывает исключение или не возвращает строку.\n"
162
163 #: core.py:255
164 msgid "The encoding of the file was not valid.\n"
165 msgstr "Кодировка файла некорректна.\n"
166
167 #: core.py:335 core.py:356
168 msgid ""
169 "{filename} is not a regular Python file whose contents can be analyzed.\n"
170 msgstr ""
171 "{filename} не является стандартным файлом Python, содержимое которого можно "
172 "проанализировать.\n"
173
174 #: core.py:339
175 msgid "If you used `exec`, consider using `friendly_exec` instead.\n"
176 msgstr ""
177
178 #: core.py:344
179 msgid "Exception raised on line `{linenumber}` of code block {filename}.\n"
180 msgstr "Исключение возникло в строке `{linenumber}` блока кода {filename}.\n"
181
182 #: core.py:348
183 msgid "Exception raised on line `{linenumber}` of file '{filename}'.\n"
184 msgstr "Исключение возникло в строке `{linenumber}` файла '{filename}'.\n"
185
186 #: core.py:384
187 msgid "Execution stopped on line `{linenumber}` of code block {filename}.\n"
188 msgstr ""
189 "Выполнение остановлено на строке `{linenumber}` блока кода '{filename}'.\n"
190
191 #: core.py:388
192 msgid "Execution stopped on line `{linenumber}` of file '{filename}'.\n"
193 msgstr "Выполнение остановлено на строке `{linenumber}` файла '{filename}'.\n"
194
195 #: core.py:412
196 msgid "Code block {filename}, line `{line}`"
197 msgstr "Блок кода {filename}, строка `{line}`"
198
199 #: core.py:416
200 msgid "File '{filename}', line `{line}`"
201 msgstr "Файл '{filename}', строка `{line}`"
202
203 #: core.py:430
204 msgid "The entire content of `{filename}` is not available.\n"
205 msgstr "Содержимое файла `{filename}` недоступно.\n"
206
207 #: core.py:444
208 msgid "Python could not understand the code in the code block {filename}\n"
209 msgstr "Python не смог понять блок кода {filename}\n"
210
211 #: core.py:448
212 msgid ""
213 "Python could not understand the code in the file\n"
214 "'{filename}'\n"
215 msgstr "Python не смог понять код в файле '{filename}'\n"
216
217 #: core.py:453
218 msgid "at the location indicated.\n"
219 msgstr ""
220 "в указанном ^ месте.\n"
221 "\n"
222
223 #: core.py:689
224 msgid ""
225 "Unfortunately, no additional information is available:\n"
226 "the content of file '<stdin>' is not accessible.\n"
227 msgstr ""
228 "К сожалению, никакой дополнительной информации нет:\n"
229 "содержимое файла '<stdin>' недоступно.\n"
230
231 #: debug_helper.py:41
232 msgid "Fatal error - aborting"
233 msgstr "Фатальная ошибка - завершение работы"
234
235 #: debug_helper.py:42
236 msgid "Please report this issue."
237 msgstr "Пожалуйста, сообщите об этой проблеме."
238
239 #: frame_info.py:85
240 msgid "Problem: source of `{filename}` is not available\n"
241 msgstr "Проблема: источник `{filename}` недоступен\n"
242
243 #: ft_console.py:30
244 msgid "Use exit() or Ctrl-Z plus Return to exit."
245 msgstr ""
246
247 #: ft_console.py:32
248 msgid "Use exit() or Ctrl-D to exit."
249 msgstr ""
250
251 #: ft_console.py:33
252 msgid "Type 'Friendly' for help on special functions/methods."
253 msgstr ""
254 "Напечатайте 'Friendly' для получения помощи по специальным функциям/методам."
255
256 #: ft_gettext.py:82
257 msgid ""
258 "Please report this example to\n"
259 "https://github.com/friendly-traceback/friendly-traceback/issues/new\n"
260 "If you are using a REPL, use `www('bug')` to do so.\n"
261 "\n"
262 msgstr ""
263 "Пожалуйста, сообщите об этом примере по адресу\n"
264 "https://github.com/friendly-traceback/friendly-traceback/issues/new\n"
265 "Если вы используете REPL, используйте для этого `www('bug')`.\n"
266 "\n"
267
268 #: ft_gettext.py:90
269 msgid "Friendly-traceback does not know the cause of this error.\n"
270 msgstr ""
271 "Friendly-traceback не определил причину возникновения этой ошибки.\n"
272 "\n"
273
274 #: ft_gettext.py:96
275 msgid "No information is known about this exception.\n"
276 msgstr "По этому исключению информации нет.\n"
277
278 #: ft_gettext.py:98
279 msgid ""
280 "If you are using the Friendly console, use `www()` to\n"
281 "do an Internet search for this particular case.\n"
282 msgstr ""
283 "Если вы используете консоль Friendly, используйте `www()`, чтобы\n"
284 "выполнить поиск в Интернете для этого конкретного случая.\n"
285
286 #: ft_gettext.py:107
287 msgid "Internal error for Friendly.\n"
288 msgstr "Внутренняя ошибка Friendly.\n"
289
290 #: functions_help.py:10
291 msgid "Disable friendly-traceback and restore previous exception hook."
292 msgstr ""
293
294 #: functions_help.py:13
295 msgid "Enable friendly-traceback as an exception hook"
296 msgstr ""
297
298 #: functions_help.py:14
299 msgid "Shows all the information about the last traceback."
300 msgstr "Показывает всю информацию по последней трассировке."
301
302 #: functions_help.py:18
303 msgid "Sets the language to be used."
304 msgstr "Устанавливает используемую локализацию."
305
306 #: functions_help.py:19
307 msgid "Shows the paths corresponding to synonyms used."
308 msgstr "Показывает пути, соответствующие используемым синонимам."
309
310 #: functions_help.py:20
311 msgid "Shows the generic meaning of a given exception."
312 msgstr "Показывает общий смысл данного исключения."
313
314 #: functions_help.py:21
315 msgid "Shows where an exception was raised."
316 msgstr "Показывает где возникло исключение."
317
318 #: functions_help.py:22
319 msgid "Shows the likely cause of the exception."
320 msgstr "Показывает вероятную причину возникновения исключения."
321
322 #: functions_help.py:23
323 msgid "Opens a web browser at a useful location."
324 msgstr "Открывает веб-браузер на полезной странице."
325
326 #: functions_help.py:24
327 msgid "Suggestion sometimes added to a friendly traceback."
328 msgstr "Предложение иногда добавляется в трассировку Friendly."
329
330 #: functions_help.py:25
331 msgid "Shows a normal Python traceback."
332 msgstr "Показывает обычную трассировку Python."
333
334 #: functions_help.py:26
335 msgid "Shows a simplified Python traceback."
336 msgstr "Показывает упрощенную трассировку Python."
337
338 #: functions_help.py:27
339 msgid "Returns the current value used for items to include by default."
340 msgstr ""
341 "Возвращает текущее значение, используемое для элементов, включаемых по "
342 "умолчанию."
343
344 #: functions_help.py:30
345 msgid "Sets the items to show by default when an exception is raised."
346 msgstr ""
347 "Устанавливает элементы, которые будут отображаться по умолчанию\n"
348 "при возникновении исключения."
349
350 #: functions_help.py:33
351 msgid "Returns the language currently used."
352 msgstr "Возвращает используемую в данный момент локализацию."
353
354 #: functions_help.py:34
355 msgid "Sets the formatter to use for display."
356 msgstr "Устанавливает форматтер, который будет использоваться для отображения."
357
358 #: functions_help.py:35
359 msgid "Use True (default) or False to enable debugging methods."
360 msgstr ""
361 "Используйте True (по умолчанию) или False для включения методов отладки."
362
363 #: info_generic.py:43
364 #, fuzzy
365 #| msgid "An exception of type `{name}` is a subclass of `{parent}`.\n"
366 msgid "A warning of type `{name}` is a subclass of `{parent}`.\n"
367 msgstr ""
368 "Исключение типа `{name}` является наследником `{parent}`.\n"
369 "\n"
370
371 #: info_generic.py:47
372 msgid "An exception of type `{name}` is a subclass of `{parent}`.\n"
373 msgstr ""
374 "Исключение типа `{name}` является наследником `{parent}`.\n"
375 "\n"
376
377 #: info_generic.py:50
378 #, fuzzy
379 #| msgid ""
380 #| "The following are some of its known attributes:\n"
381 #| "`{names}`."
382 msgid "Nothing more specific is known about `{name}`."
383 msgstr ""
384 "Ниже перечислены некоторые из его известных атрибутов:\n"
385 "`{names}`."
386
387 #: info_generic.py:54
388 msgid ""
389 "The inheritance is as follows:\n"
390 "\n"
391 " {tree}\n"
392 msgstr ""
393
394 #: info_generic.py:97
395 msgid ""
396 "All built-in exceptions defined by Python are derived from `Exception`.\n"
397 "All user-defined exceptions should also be derived from this class.\n"
398 msgstr ""
399
400 #: info_generic.py:105
401 msgid ""
402 "`BaseException` is the base class for all built-in exceptions.\n"
403 "It is not meant to be directly inherited by user-defined classes.\n"
404 msgstr ""
405
406 #: info_generic.py:113
407 #, fuzzy
408 #| msgid ""
409 #| "`ArithmeticError` is the base class for those built-in exceptions\n"
410 #| "that are raised for various arithmetic errors.\n"
411 #| "It is unusual that you are seeing this exception;\n"
412 #| "normally, a more specific exception should have been raised.\n"
413 msgid ""
414 "`ArithmeticError` is the base class for those built-in exceptions\n"
415 "that are raised for various arithmetic errors.\n"
416 msgstr ""
417 "`ArithmeticError` является базовым классом для встроенных исключений,\n"
418 "которые возникают при различных арифметических ошибках.\n"
419 "Странно, что вы видите это исключение, обычно должно вызываться\n"
420 "более конкретное исключение.\n"
421
422 #: info_generic.py:121
423 msgid ""
424 "In Python, the keyword `assert` is used in statements of the form\n"
425 "`assert condition`, to confirm that `condition` is not `False`,\n"
426 "nor equivalent to `False` such as an empty list, etc.\n"
427 "\n"
428 "If `condition` is `False` or equivalent, an `AssertionError` is raised.\n"
429 msgstr ""
430 "В Python ключевое слово `assert` используется в утверждениях типа\n"
431 "`assert condition`, чтобы подтвердить, что `condition` не является `False`,\n"
432 "или эквивалентно `False`, например, пустой список и т.д.\n"
433 "\n"
434 "Если `condition` равно `False` или эквивалентно ему, возникает "
435 "`AssertionError`.\n"
436
437 #: info_generic.py:131
438 msgid ""
439 "An `AttributeError` occurs when the code contains something like\n"
440 " `object.x`\n"
441 "and `x` is not a method or attribute (variable) belonging to `object`.\n"
442 msgstr ""
443 "`AttributeError` возникает, когда код содержит что-то вроде\n"
444 " `object.x`\n"
445 "где `x` не является методом или атрибутом (переменной), принадлежащим "
446 "`object`.\n"
447
448 #: info_generic.py:140
449 msgid ""
450 "An `EOFError` is raised when the `input()` function hits\n"
451 "an end-of-file condition (EOF) without reading any data.\n"
452 msgstr ""
453 "`EOFError` возникает, когда функция `input()` достигает\n"
454 "условия конца файла (EOF) без чтения каких-либо данных.\n"
455 "\n"
456
457 #: info_generic.py:148
458 msgid ""
459 "A `FileNotFoundError` exception indicates that you\n"
460 "are trying to open a file that cannot be found by Python.\n"
461 "This could be because you misspelled the name of the file.\n"
462 msgstr ""
463 "`FileNotFoundError` указывает на то, что вы пытаетесь открыть файл,\n"
464 "который не может быть найден Python.\n"
465 "Это может быть связано с тем, что вы неправильно написали имя файла.\n"
466
467 #: info_generic.py:157
468 msgid ""
469 "An `ImportError` exception indicates that a certain object could not\n"
470 "be imported from a module or package. Most often, this is\n"
471 "because the name of the object is not spelled correctly.\n"
472 msgstr ""
473 "`ImportError` указывает на то, что определенный объект не может быть\n"
474 "импортирован из модуля или пакета. Чаще всего это происходит\n"
475 "из-за того, что имя объекта написано неправильно.\n"
476
477 #: info_generic.py:166
478 msgid ""
479 "An `IndentationError` occurs when a given line of code is\n"
480 "not indented (aligned vertically with other lines) as expected.\n"
481 msgstr ""
482 "`IndentationError` возникает, когда данная строка кода\n"
483 "не отступает (не выровнена по вертикали относительно других строк), как "
484 "требуется.\n"
485
486 #: info_generic.py:174
487 msgid ""
488 "An `IndexError` occurs when you try to get an item from a list,\n"
489 "a tuple, or a similar object (sequence), and use an index which\n"
490 "does not exist; typically, this happens because the index you give\n"
491 "is greater than the length of the sequence.\n"
492 msgstr ""
493 "`IndexError` возникает, когда вы пытаетесь получить элемент из списка,\n"
494 "кортежа или аналогичного объекта (последовательности) и используете индекс, "
495 "который\n"
496 "не существует. Обычно это происходит потому, что указанный вами индекс\n"
497 "больше, чем длина последовательности.\n"
498
499 #: info_generic.py:184
500 msgid ""
501 "A `KeyError` is raised when a value is not found as a\n"
502 "key in a Python dict or in a similar object.\n"
503 msgstr ""
504 "`KeyError` возникает, когда значение не найдено в качестве\n"
505 "ключа в словаре или аналогичном объекте.\n"
506
507 #: info_generic.py:192
508 msgid ""
509 "`LookupError` is the base class for the exceptions that are raised\n"
510 "when a key or index used on a mapping or sequence is invalid.\n"
511 "It can also be raised directly by codecs.lookup().\n"
512 msgstr ""
513 "`LookupError` является базовым классом для исключений, возникающих\n"
514 "когда ключ или индекс, используемый в связке или последовательности, "
515 "недействителен.\n"
516 "Он также может быть вызван непосредственно функцией codecs.lookup().\n"
517 "\n"
518
519 #: info_generic.py:201
520 msgid ""
521 "Like the name indicates, a `MemoryError` occurs when Python\n"
522 "runs out of memory. This can happen if you create an object\n"
523 "that is too big, like a list with too many items.\n"
524 msgstr ""
525 "`MemoryError` возникает когда Python исчерпывает доступную память.\n"
526 "Это может произойти, если вы создадите объект слишком большого размера, \n"
527 "например, список со слишком большим количеством элементов.\n"
528
529 #: info_generic.py:210
530 msgid ""
531 "A `ModuleNotFoundError` exception indicates that you\n"
532 "are trying to import a module that cannot be found by Python.\n"
533 "This could be because you misspelled the name of the module\n"
534 "or because it is not installed on your computer.\n"
535 msgstr ""
536 "`ModuleNotFoundError` указывает на то, что вы\n"
537 "пытаетесь импортировать модуль, который не может быть найден Python.\n"
538 "Это может быть связано с тем, что вы неправильно написали имя модуля\n"
539 "или потому, что он не установлен на вашем компьютере.\n"
540
541 #: info_generic.py:220
542 msgid ""
543 "A `NameError` exception indicates that a variable or\n"
544 "function name is not known to Python.\n"
545 "Most often, this is because there is a spelling mistake.\n"
546 "However, sometimes it is because the name is used\n"
547 "before being defined or given a value.\n"
548 msgstr ""
549 "`NameError` указывает на то, что переменная или\n"
550 "имя переменной либо функции неизвестно Python.\n"
551 "Чаще всего это происходит из-за орфографической ошибки.\n"
552 "Однако иногда это происходит потому, что имя используется\n"
553 "до того, как оно было обьявлено или инициализировано.\n"
554
555 #: info_generic.py:231
556 msgid ""
557 "An `OSError` exception is usually raised by the Operating System\n"
558 "to indicate that an operation is not allowed or that\n"
559 "a resource is not available.\n"
560 msgstr ""
561 "`OSError` обычно вызывается операционной системой чтобы указать,\n"
562 "что операция не разрешена или что ресурс недоступен.\n"
563
564 #: info_generic.py:240
565 msgid ""
566 "An `OverflowError` is raised when the result of an arithmetic operation\n"
567 "is too large to be handled by the computer's processor.\n"
568 msgstr ""
569 "`OverflowError` возникает, когда результат арифметической операции слишком "
570 "велик\n"
571 "для того, чтобы его мог обработать процессор компьютера.\n"
572
573 #: info_generic.py:248
574 msgid ""
575 "A `RecursionError` is raised when a function calls itself,\n"
576 "directly or indirectly, too many times.\n"
577 "It almost always indicates that you made an error in your code\n"
578 "and that your program would never stop.\n"
579 msgstr ""
580 "`RecursionError` возникает, когда функция вызывает сама себя\n"
581 "прямо или косвенно, слишком много раз.\n"
582 "Это почти всегда указывает на то, что вы допустили ошибку в своем коде\n"
583 "и что ваша программа никогда не завершится.\n"
584
585 #: info_generic.py:258
586 msgid ""
587 "A `RuntimeError` is raised when an error is detected that doesn't fall in "
588 "any\n"
589 "of the more specific exception types defined by Python.\n"
590 msgstr ""
591 "`RuntimeError` возникает при обнаружении ошибки, которая не попадает ни в "
592 "один из\n"
593 "из более специфичных типов исключений, определенных Python.\n"
594
595 #: info_generic.py:266
596 msgid ""
597 "`StopIteration` is raised to indicate that an iterator has no more\n"
598 "item to provide when its `__next__` method is called by\n"
599 "the `next()` builtin function.\n"
600 msgstr ""
601 "Исключение `StopIteration` выбрасывается, чтобы указать,\n"
602 "что у итератора больше нет элемента для предоставления, когда его метод "
603 "`__next__`\n"
604 "вызывается встроенной функцией `next()`.\n"
605
606 #: info_generic.py:275
607 msgid "A `SyntaxError` occurs when Python cannot understand your code.\n"
608 msgstr "`SyntaxError` возникает, когда Python не может понять ваш код.\n"
609
610 #: info_generic.py:280
611 msgid ""
612 "A `TabError` indicates that you have used both spaces\n"
613 "and tab characters to indent your code.\n"
614 "This is not allowed in Python.\n"
615 "Indenting your code means to have block of codes aligned vertically\n"
616 "by inserting either spaces or tab characters at the beginning of lines.\n"
617 "Python's recommendation is to always use spaces to indent your code.\n"
618 msgstr ""
619 "`TabError` указывает на то, что вы использовали как пробелы,\n"
620 "так и символы табуляции для отступов в коде. В Python это недопустимо.\n"
621 "Отступ кода означает, что блок кода выравнивается по вертикали,\n"
622 "вставляйте в начало строк либо пробелы, либо символы табуляции.\n"
623 "Рекомендация Python: всегда используйте пробелы для отступа.\n"
624
625 #: info_generic.py:292
626 msgid ""
627 "A `TypeError` is usually caused by trying\n"
628 "to combine two incompatible types of objects,\n"
629 "by calling a function with the wrong type of object,\n"
630 "or by trying to do an operation not allowed on a given type of object.\n"
631 msgstr ""
632 "`TypeError` обычно возникает при попытке\n"
633 "объединить два несовместимых типа объектов,\n"
634 "вызовом функции с объектом неправильного типа,\n"
635 "или при попытке выполнить операцию, недопустимую для данного типа объекта.\n"
636
637 #: info_generic.py:302
638 msgid ""
639 "A `ValueError` indicates that a function or an operation\n"
640 "received an argument of the right type, but an inappropriate value.\n"
641 msgstr ""
642 "`ValueError` указывает на то, что функция или операция\n"
643 "получила аргумент правильного типа, но несоответствующего значения.\n"
644
645 #: info_generic.py:310
646 msgid ""
647 "In Python, variables that are used inside a function are known as \n"
648 "local variables. Before they are used, they must be assigned a value.\n"
649 "A variable that is used before it is assigned a value is assumed to\n"
650 "be defined outside that function; it is known as a `global`\n"
651 "(or sometimes `nonlocal`) variable. You cannot assign a value to such\n"
652 "a global variable inside a function without first indicating to\n"
653 "Python that this is a global variable, otherwise you will see\n"
654 "an `UnboundLocalError`.\n"
655 msgstr ""
656 "В Python переменные, которые используются внутри функции, называются \n"
657 "локальными переменными. Перед использованием им должно быть присвоено "
658 "значение.\n"
659 "Переменная, которая используется до присвоения ей значения, считается\n"
660 "определена вне этой функции; она известна как `global`\n"
661 "(или иногда `nonlocal`) переменной. Вы не можете присвоить значение такой\n"
662 "глобальной переменной внутри функции, не указав предварительно\n"
663 "Python, что это глобальная переменная, иначе вы словите\n"
664 "`UnboundLocalError`.\n"
665
666 #: info_generic.py:324
667 msgid ""
668 "A `ZeroDivisionError` occurs when you are attempting to divide a value\n"
669 "by zero either directly or by using some other mathematical operation.\n"
670 msgstr ""
671 "`ZeroDivisionError` возникает, когда вы пытаетесь разделить значение\n"
672 "на ноль либо напрямую, либо с помощью другой математической операции.\n"
673
674 #: info_generic.py:332
675 msgid "`UserWarning` is the default class for `warnings.warn()`.\n"
676 msgstr ""
677
678 #: info_generic.py:337
679 msgid ""
680 "`SyntaxWarning` often indicates that your code will likely not give the "
681 "result you expect.\n"
682 msgstr ""
683
684 #: info_generic.py:344
685 msgid ""
686 "`DeprecationWarning` indicates that some feature will not be available in a "
687 "future version.\n"
688 msgstr ""
689
690 #: info_generic.py:351
691 msgid ""
692 "`RuntimeWarning` often indicates some not recommended runtime features.\n"
693 msgstr ""
694
695 #: info_generic.py:358
696 msgid ""
697 "`FutureWarning` is the base category for features that will likely be "
698 "deprecated\n"
699 "in future Python versions.\n"
700 msgstr ""
701
702 #: info_generic.py:366
703 msgid ""
704 "`UnicodeWarning` is the base category for warnings related to unicode.\n"
705 msgstr ""
706
707 #: info_generic.py:371
708 msgid ""
709 "`BytesWarning` is the base category for warnings related to bytes and "
710 "bytearray.\n"
711 msgstr ""
712
713 #: info_generic.py:378
714 msgid "`Warning` is the base class of all warning category classes.\n"
715 msgstr ""
716
717 #: info_variables.py:69
718 msgid "a complex number"
719 msgstr "комплексное число"
720
721 #: info_variables.py:70
722 msgid "a dictionary (`dict`)"
723 msgstr "словарь (`dict`)"
724
725 #: info_variables.py:71
726 msgid "a number (`float`)"
727 msgstr "число с плавающей точкой (`float`)"
728
729 #: info_variables.py:72
730 msgid "a `frozenset`"
731 msgstr "множество `frozenset`"
732
733 #: info_variables.py:73
734 msgid "an integer (`int`)"
735 msgstr "целое число (`int`)"
736
737 #: info_variables.py:74
738 msgid "a `list`"
739 msgstr "список `list`"
740
741 #: info_variables.py:75
742 msgid "a variable equal to `None` (`NoneType`)"
743 msgstr "переменная, равная `None` (`NoneType`)"
744
745 #: info_variables.py:76
746 msgid "a `set`"
747 msgstr "множество `set`"
748
749 #: info_variables.py:77 info_variables.py:78
750 msgid "a string (`str`)"
751 msgstr "строка (`str`)"
752
753 #: info_variables.py:79
754 msgid "a `tuple`"
755 msgstr "кортеж `tuple`"
756
757 #: info_variables.py:357
758 msgid "Friendly warning: you have redefined the python builtin `{name}`.\n"
759 msgstr ""
760
761 #: info_variables.py:531
762 msgid "Object too large to be processed by Python."
763 msgstr "Объект слишком велик для обработки Python."
764
765 #: info_variables.py:535
766 msgid "Unable to compute."
767 msgstr "Невозможно вычислить."
768
769 #: info_variables.py:592
770 msgid ""
771 "A type hint found for `{name}` in the {scope} scope.\n"
772 "Perhaps you had used a colon instead of an equal sign and wrote\n"
773 "\n"
774 " {name} : {hint}\n"
775 "\n"
776 "instead of\n"
777 "\n"
778 " {name} = {hint}\n"
779 msgstr ""
780 "Найдена подсказка типа для `{name}` в области видимости {scope}.\n"
781 "Возможно, вы использовали двоеточие вместо знака равенства и написали\n"
782 "\n"
783 " {name} : {hint}\n"
784 "\n"
785 "вместо\n"
786 "\n"
787 " {name} = {hint}\n"
788
789 #: path_info.py:213
790 msgid "The default directory is {dirname}."
791 msgstr "По умолчанию используется каталог {dirname}."
792
793 #: runtime_errors\attribute_error.py:32 runtime_errors\attribute_error.py:79
794 #: runtime_errors\attribute_error.py:117
795 msgid "Did you give your program the same name as a Python module?\n"
796 msgstr "Давали ли вы своей программе то же имя, что и модулю Python?\n"
797
798 #: runtime_errors\attribute_error.py:33 runtime_errors\attribute_error.py:80
799 msgid ""
800 "I suspect that you used the name `{module}.py` for your program\n"
801 "and that you also wanted to import a module with the same name\n"
802 "from Python's standard library.\n"
803 "If so, you should use a different name for your program.\n"
804 msgstr ""
805 "Предположение: вы использовали имя `{module}.py` для своей программы\n"
806 "и что вы также хотели импортировать модуль с тем же именем\n"
807 "из стандартной библиотеки Python.\n"
808 "Если это так, то вы должны использовать другое имя для своей программы.\n"
809
810 #: runtime_errors\attribute_error.py:42 runtime_errors\import_error.py:63
811 msgid "You have a circular import.\n"
812 msgstr "У вас кольцевой импорт.\n"
813
814 #: runtime_errors\attribute_error.py:46 runtime_errors\attribute_error.py:88
815 msgid "You likely have a circular import.\n"
816 msgstr "Скорее всего, у вас кольцевой импорт.\n"
817
818 #: runtime_errors\attribute_error.py:47
819 msgid "Python indicated that the module `{module}` was not fully imported.\n"
820 msgstr "Python указал, что модуль `{module}` был импортирован не полностью.\n"
821
822 #: runtime_errors\attribute_error.py:48 runtime_errors\attribute_error.py:89
823 msgid ""
824 "This can occur if, during the execution of the code in module `{module}`\n"
825 "an attempt is made to import the same module again.\n"
826 msgstr ""
827 "Это может произойти, если во время выполнения кода в модуле `{module}`\n"
828 "будет сделана попытка импортировать тот же модуль еще раз.\n"
829
830 #: runtime_errors\attribute_error.py:72
831 msgid ""
832 "This should not happen:\n"
833 "Python tells us that module `{module}` does not have an attribute named "
834 "`{attribute}`.\n"
835 "However, it does not appear that module `{module}` was imported.\n"
836 msgstr ""
837 "Такого не должно быть.\n"
838 "Python сообщает нам, что модуль `{module}` не имеет атрибута с именем "
839 "`{attribute}`.\n"
840 "Однако не похоже, чтобы модуль `{module}` был импортирован.\n"
841
842 #: runtime_errors\attribute_error.py:98 runtime_errors\attribute_error.py:106
843 #: runtime_errors\attribute_error.py:139 runtime_errors\attribute_error.py:405
844 #: runtime_errors\import_error.py:106 runtime_errors\key_error.py:184
845 #: runtime_errors\key_error.py:191 runtime_errors\module_not_found_error.py:121
846 #: runtime_errors\name_error.py:111 runtime_errors\unbound_local_error.py:54
847 #: syntax_errors\message_analyzer.py:459 syntax_errors\message_analyzer.py:1151
848 #: syntax_errors\statement_analyzer.py:1389
849 msgid "Did you mean `{name}`?\n"
850 msgstr "Вы имели в виду `{name}`?\n"
851
852 #: runtime_errors\attribute_error.py:99
853 msgid ""
854 "Perhaps you meant to write `{module}.{correct}` instead of `{module}.{typo}"
855 "`\n"
856 msgstr ""
857 "Возможно, вы хотели написать `{module}.{correct}` вместо `{module}.{typo}`\n"
858
859 #: runtime_errors\attribute_error.py:107
860 msgid ""
861 "Instead of writing `{module}.{typo}`, perhaps you meant to write one of \n"
862 "the following names which are attributes of module `{module}`:\n"
863 "`{names}`\n"
864 msgstr ""
865 "Вместо того, чтобы написать `{module}.{typo}`, возможно, вы хотели написать\n"
866 " одно из следующих имен, которые являются атрибутами модуля `{module}`:\n"
867 "`{names}`\n"
868
869 #: runtime_errors\attribute_error.py:118
870 msgid ""
871 "You imported a module named `{module}` from `{mod_path}`.\n"
872 "There is also a module named `{module}` in Python's standard library.\n"
873 "Perhaps you need to rename your module.\n"
874 msgstr ""
875 "Вы импортировали модуль с именем `{module}` из `{mod_path}`.\n"
876 "В стандартной библиотеке Python также есть модуль с именем `{module}`.\n"
877 "Возможно, вам нужно переименовать ваш модуль.\n"
878
879 #: runtime_errors\attribute_error.py:140
880 msgid ""
881 "Perhaps you meant to use the attribute `{attribute}` of \n"
882 "module `{mod_name}` instead of module `{module}`.\n"
883 msgstr ""
884 "Возможно, вы хотели использовать атрибут `{attribute}` из \n"
885 "модуля `{mod_name}` вместо модуля `{module}`.\n"
886
887 #: runtime_errors\attribute_error.py:146
888 msgid "Did you mean one of the following modules: `{names}`?"
889 msgstr "Вы имели в виду один из следующих модулей: `{names}`?"
890
891 #: runtime_errors\attribute_error.py:149
892 msgid ""
893 "Instead of the module `{module}`, perhaps you wanted to use\n"
894 "the attribute `{attribute}` of one of the following modules:\n"
895 "`{names}`.\n"
896 msgstr ""
897 "Возможно, вместо модуля `{module}`, следует использовать\n"
898 "атрибут `{attribute}` одного из следующих модулей:\n"
899 "`{names}`.\n"
900
901 #: runtime_errors\attribute_error.py:158
902 msgid ""
903 "Python tells us that no object with name `{attribute}` is\n"
904 "found in module `{module}`.\n"
905 msgstr ""
906 "Python сообщает, что ни один объект с именем `{attribute}`\n"
907 "не найден в модуле `{module}`.\n"
908
909 #: runtime_errors\attribute_error.py:179
910 msgid "`add_note()` is only allowed for Python version 3.11 and newer.\n"
911 msgstr ""
912
913 #: runtime_errors\attribute_error.py:180
914 #, fuzzy
915 #| msgid "You cannot delete a Python expression.\n"
916 msgid "You are using Python version {version}.\n"
917 msgstr "Вы не можете удалить выражение Python.\n"
918
919 #: runtime_errors\attribute_error.py:197
920 msgid ""
921 "You are attempting to access the attribute `{attr}`\n"
922 "for a variable whose value is `None`."
923 msgstr ""
924 "Вы пытаетесь получить доступ к атрибуту `{attr}`\n"
925 "для переменной, значение которой `None`."
926
927 #: runtime_errors\attribute_error.py:222
928 msgid ""
929 "The value of attribute `{attribute}` of objects of type `{obj_type}`\n"
930 "cannot be changed.\n"
931 "I have no further information.\n"
932 msgstr ""
933 "Значение атрибута `{attribute}` объектов типа `{obj_type}`\n"
934 "не может быть изменено.\n"
935 "Дополнительной информации нет.\n"
936
937 #: runtime_errors\attribute_error.py:241
938 msgid ""
939 "Object `{name}` uses an empty `__slots__` to prevent the modification\n"
940 "of any of its attributes.\n"
941 msgstr ""
942 "Объект `{name}` использует пустые `__slots__`,\n"
943 "чтобы предотвратить изменение какого-либо из его атрибутов.\n"
944
945 #: runtime_errors\attribute_error.py:247
946 msgid ""
947 "Object `{name}` uses `__slots__` to specify which attributes can\n"
948 "be changed. The value of attribute `{name}.{attribute}` cannot be changed.\n"
949 msgstr ""
950 "Объект `{name}` использует `__slots__` чтобы указать, какие атрибуты могут\n"
951 "быть изменены. Значение атрибута `{name}.{attribute}`\n"
952 "не может быть изменено.\n"
953
954 #: runtime_errors\attribute_error.py:272
955 msgid ""
956 "`{obj_name}` is a function. Perhaps you meant to write\n"
957 "`{obj_name}({attribute})`\n"
958 msgstr ""
959 "`{obj_name}` является функцией. Возможно, вы хотели написать\n"
960 "`{obj_name}({attribute})`.\n"
961
962 #: runtime_errors\attribute_error.py:276
963 msgid "Did you mean `{obj_name}({attribute})`?\n"
964 msgstr "Вы имели в виду `{obj_name}({attribute})`?\n"
965
966 #: runtime_errors\attribute_error.py:281
967 msgid ""
968 "`{obj_name}` is a Python built-in function or method\n"
969 "which does not have an attribute named `{attribute}.`\n"
970 msgstr ""
971 "`{obj_name}` является встроенной функцией или методом Python,\n"
972 "не имеющего атрибута с именем `{attribute}`.\n"
973
974 #: runtime_errors\attribute_error.py:300
975 msgid ""
976 "An object of type `{obj_type}` has no attribute named `{attr}`.\n"
977 "Unfortunately I cannot find such an object on the line where\n"
978 "the problem occurs.\n"
979 msgstr ""
980 "Объект типа `{obj_type}` не имеет атрибута с именем `{attr}`.\n"
981 "К сожалению, я не могу найти такой объект в строке\n"
982 "где возникает проблема.\n"
983
984 #: runtime_errors\attribute_error.py:328
985 msgid ""
986 "An object of type `{obj_type}` has no attribute named `{attr}`.\n"
987 "\n"
988 "I cannot give additional information:\n"
989 "I found one object of this type in the current scope\n"
990 "but it does not appear to be the object causing the problem.\n"
991 msgstr ""
992 "Объект типа `{obj_type}` не имеет атрибута с именем `{attr}`.\n"
993 "\n"
994 "Я не могу предоставить дополнительную информацию.\n"
995 "Есть один объект этого типа в текущей области видимости\n"
996 "но, похоже, это не тот объект, который вызывает проблему.\n"
997
998 #: runtime_errors\attribute_error.py:337
999 msgid ""
1000 "An object of type `{obj_type}` has no attribute named `{attr}`.\n"
1001 "\n"
1002 "The following objects might be the cause of the problem: \n"
1003 "{names}.\n"
1004 msgstr ""
1005 "Объект типа `{obj_type}` не имеет атрибута с именем `{attr}`.\n"
1006 "\n"
1007 "Причиной проблемы могут быть следующие объекты: \n"
1008 "{names}.\n"
1009
1010 #: runtime_errors\attribute_error.py:377
1011 msgid "The object `{obj}` has no attribute named `{attr}`.\n"
1012 msgstr "У объекта `{obj}` нет атрибута с именем `{attr}`.\n"
1013
1014 #: runtime_errors\attribute_error.py:381
1015 msgid ""
1016 "Note that object `{obj}` uses `__slots__` which prevents\n"
1017 "the creation of new attributes.\n"
1018 msgstr ""
1019 "Обратите внимание, что объект `{obj}` использует `__slots__`,\n"
1020 "что предотвращает создание новых атрибутов.\n"
1021
1022 #: runtime_errors\attribute_error.py:389
1023 msgid ""
1024 "The following are some of its known attributes:\n"
1025 "`{names}`."
1026 msgstr ""
1027 "Ниже перечислены некоторые из его известных атрибутов:\n"
1028 "`{names}`."
1029
1030 #: runtime_errors\attribute_error.py:401
1031 msgid "The object `{obj_name}` has no attribute named `{attribute}`.\n"
1032 msgstr "У объекта `{obj_name}` нет атрибута с именем `{attribute}`.\n"
1033
1034 #: runtime_errors\attribute_error.py:406
1035 msgid ""
1036 "Perhaps you meant to write `{obj}.{correct}` instead of `{obj}.{typo}`\n"
1037 msgstr ""
1038 "Возможно, вы хотели написать `{obj}.{correct}` вместо `{obj}.{typo}`.\n"
1039
1040 #: runtime_errors\attribute_error.py:412 runtime_errors\import_error.py:113
1041 msgid "Did you mean one of the following: `{names}`?\n"
1042 msgstr "Вы имели в виду одно из следующих: `{names}`?\n"
1043
1044 #: runtime_errors\attribute_error.py:413
1045 msgid ""
1046 "Instead of writing `{obj}.{typo}`, perhaps you meant to write one of \n"
1047 "the following names which are attributes of object `{obj}`:\n"
1048 "`{names}`\n"
1049 msgstr ""
1050 "Вместо того чтобы написать `{obj}.{typo}`,возможно вы хотели написать одно "
1051 "из\n"
1052 "следующих имен, которые являются атрибутами объекта `{obj}`:\n"
1053 "`{names}`.\n"
1054
1055 #: runtime_errors\attribute_error.py:438 syntax_errors\message_analyzer.py:1817
1056 #: syntax_errors\message_analyzer.py:1830
1057 msgid "Did you write a comma by mistake?\n"
1058 msgstr "Вы поставили запятую по ошибке?\n"
1059
1060 #: runtime_errors\attribute_error.py:439
1061 msgid ""
1062 "`{obj_name}` is a tuple that contains a single item\n"
1063 "which does have `'{attribute}'` as an attribute.\n"
1064 "Perhaps you added a trailing comma by mistake at the end of the line\n"
1065 "where you defined `{obj_name}`.\n"
1066 msgstr ""
1067 "`{obj_name}` -- это кортеж, который содержит единственный элемент,\n"
1068 "имеющий `'{attribute}` в качестве атрибута.\n"
1069 "Возможно, вы по ошибке добавили запятую в конце строки\n"
1070 "в которой вы определили `{obj_name}`.\n"
1071
1072 #: runtime_errors\attribute_error.py:452
1073 msgid "Did you mean `{str_content}.join({obj_name})`?\n"
1074 msgstr "Вы имели в виду `{str_content}.join({obj_name})`?\n"
1075
1076 #: runtime_errors\attribute_error.py:453
1077 msgid ""
1078 "The object `{obj_name}` has no attribute named `join`.\n"
1079 "Perhaps you wanted something like `{str_content}.join({obj_name})`.\n"
1080 msgstr ""
1081 "У объекта `{obj_name}` нет атрибута с именем `join`.\n"
1082 "Возможно, вы хотели получить что-то вроде `{str_content}.join({obj_name})`.\n"
1083
1084 #: runtime_errors\attribute_error.py:476
1085 msgid "Did you mean `{known_builtin}({obj_name})`?\n"
1086 msgstr "Вы имели в виду `{known_builtin}({obj_name})`?\n"
1087
1088 #: runtime_errors\attribute_error.py:479
1089 msgid ""
1090 "The object `{obj_name}` has no attribute named `{attribute}`.\n"
1091 "Perhaps you can use the Python builtin function `{known_builtin}` instead:\n"
1092 "`{known_builtin}({obj_name})`."
1093 msgstr ""
1094 "У объекта `{obj_name}` нет атрибута с именем `{attribute}`.\n"
1095 "Возможно, вместо этого следует использовать встроенную функцию Python "
1096 "`{known_builtin}`:\n"
1097 "`{known_builtin}({obj_name})`."
1098
1099 #: runtime_errors\attribute_error.py:508
1100 msgid "Did you mean `{attr}`?\n"
1101 msgstr "Вы имели в виду `{attr}`?\n"
1102
1103 #: runtime_errors\attribute_error.py:509
1104 msgid "The object `{name}` has no attribute named `{attribute}`.\n"
1105 msgstr "У объекта `{name}` нет атрибута с именем `{attribute}`.\n"
1106
1107 #: runtime_errors\attribute_error.py:513
1108 msgid "However, `{attr}` is an attribute of `{name}` with a similar meaning.\n"
1109 msgstr ""
1110 "Тем не менее, `{attr}` является атрибутом `{name}` с аналогичным значением.\n"
1111
1112 #: runtime_errors\attribute_error.py:517
1113 msgid ""
1114 "However, `{name}` has the following attributes with similar meanings:\n"
1115 "`{attributes}`.\n"
1116 msgstr ""
1117 "Однако `{name}` имеет следующие атрибуты с аналогичными значениями:\n"
1118 "`{attributes}`.\n"
1119
1120 #: runtime_errors\attribute_error.py:526
1121 msgid "Did you mean to separate object names by a comma?\n"
1122 msgstr "Вы хотели разделить имена объектов запятой?\n"
1123
1124 #: runtime_errors\attribute_error.py:528
1125 msgid ""
1126 "`{second}` is not an attribute of `{first}`.\n"
1127 "However, both `{first}` and `{second}` are known objects.\n"
1128 "Perhaps you wrote a period to separate these two objects, \n"
1129 "instead of using a comma.\n"
1130 msgstr ""
1131 "`{second}` не является атрибутом `{first}`.\n"
1132 "Однако и `{first}`, и `{second}` являются известными объектами.\n"
1133 "Возможно, вы написали точку, чтобы разделить эти два объекта, \n"
1134 "вместо запятой.\n"
1135
1136 #: runtime_errors\file_not_found_error.py:25
1137 #: runtime_errors\file_not_found_error.py:36
1138 msgid ""
1139 "In your program, the name of the\n"
1140 "file that cannot be found is `{filename}`.\n"
1141 msgstr ""
1142 "В вашей программе имя файла,\n"
1143 "который не может быть найден, будет `{filename}`.\n"
1144
1145 #: runtime_errors\file_not_found_error.py:32
1146 msgid ""
1147 "{directory}\n"
1148 "is not a valid directory.\n"
1149 msgstr "{directory} не является допустимой.\n"
1150
1151 #: runtime_errors\file_not_found_error.py:41
1152 msgid ""
1153 "It was expected to be found in the\n"
1154 "`{directory}` directory.\n"
1155 msgstr ""
1156 "Ожидалось, что он будет найден в\n"
1157 "директории `{directory}`.\n"
1158
1159 #: runtime_errors\file_not_found_error.py:45
1160 msgid "Did you mean `{similar}`?\n"
1161 msgstr "Вы имели в виду `{similar}`?\n"
1162
1163 #: runtime_errors\file_not_found_error.py:47
1164 msgid "The file `{similar}` has a similar name.\n"
1165 msgstr "Файл `{similar}` имеет похожее имя.\n"
1166
1167 #: runtime_errors\file_not_found_error.py:52
1168 msgid "Perhaps you meant one of the following files with similar names:\n"
1169 msgstr ""
1170 "Возможно, вы имели в виду один из следующих файлов с похожими именами:\n"
1171
1172 #: runtime_errors\file_not_found_error.py:59 runtime_errors\name_error.py:131
1173 msgid "I have no additional information for you.\n"
1174 msgstr "Дополнительной информации нет.\n"
1175
1176 #: runtime_errors\import_error.py:66
1177 msgid ""
1178 "The object that could not be imported is `{name}`.\n"
1179 "The module or package where it was \n"
1180 "expected to be found is `{module}`.\n"
1181 msgstr ""
1182 "Объект `{name}` не удалось импортировать.\n"
1183 "Модуль или пакет, в котором его предполагалось найти:\n"
1184 "`{module}`\n"
1185
1186 #: runtime_errors\import_error.py:83
1187 msgid ""
1188 "Python indicated that you have a circular import.\n"
1189 "This can occur if executing the code in module 'A'\n"
1190 "results in executing the code in module 'B' where\n"
1191 "an attempt to import a name from module 'A' is made\n"
1192 "before the execution of the code in module 'A' had been completed.\n"
1193 msgstr ""
1194 "Python указал, что у вас имеется кольцевой импорт.\n"
1195 "Это может произойти, если выполнение кода в модуле 'A'\n"
1196 "приводит к выполнению кода в модуле 'B', где\n"
1197 "попытка импортировать имя из модуля 'A' была предпринята\n"
1198 "до того, как было завершено выполнение кода в модуле 'A'.\n"
1199
1200 #: runtime_errors\import_error.py:95
1201 msgid ""
1202 "Inconsistent state: `'{module}'` was apparently not imported.\n"
1203 "As a result, no further analysis can be done.\n"
1204 msgstr ""
1205 "Несоответствующее состояние: `'{module}'`, очевидно, не был импортирован.\n"
1206 "В результате дальнейший анализ не может быть выполнен.\n"
1207
1208 #: runtime_errors\import_error.py:107
1209 msgid ""
1210 "Perhaps you meant to import `{correct}` (from `{module}`) instead of `{typo}"
1211 "`\n"
1212 msgstr ""
1213 "Возможно, вместо `{typo}` вы хотели импортировать `{correct}` из `{module}`\n"
1214
1215 #: runtime_errors\import_error.py:116
1216 msgid ""
1217 "Instead of trying to import `{typo}` from `{module}`, \n"
1218 "perhaps you meant to import one of \n"
1219 "the following names which are found in module `{module}`:\n"
1220 "`{candidates}`\n"
1221 msgstr ""
1222 "Вместо того чтобы пытаться импортировать `{typo}` из `{module}`,\n"
1223 "возможно, стоит импортировать одно из \n"
1224 "следующих имен, которые находятся в модуле `{module}`:\n"
1225 "`{candidates}`\n"
1226
1227 #: runtime_errors\import_error.py:134
1228 msgid "The object that could not be imported is `{name}`.\n"
1229 msgstr "Объект `{name}` не удалось импортировать.\n"
1230
1231 #: runtime_errors\import_error.py:186
1232 msgid ""
1233 "The problem was likely caused by what is known as a 'circular import'.\n"
1234 "First, Python imported and started executing the code in file\n"
1235 " '{file}'.\n"
1236 "which imports module `{last_module}`.\n"
1237 "During this process, the code in another file,\n"
1238 " '{last_file}'\n"
1239 "was executed. However in this last file, an attempt was made\n"
1240 "to import the original module `{last_module}`\n"
1241 "a second time, before Python had completed the first import.\n"
1242 msgstr ""
1243 "Проблема, скорее всего, была вызвана тем, что известно как 'кольцевой "
1244 "импорт'\n"
1245 "Сначала Python импортировал и начал выполнять код в файле\n"
1246 " '{file}',\n"
1247 "который импортирует модуль `{last_module}`.\n"
1248 "Во время этого процесса код в другом файле,\n"
1249 " '{last_file}'\n"
1250 "был выполнен. Однако в этом последнем файле была предпринята попытка\n"
1251 "импортировать исходный модуль `{last_module}`\n"
1252 "во второй раз, прежде чем Python завершил первый импорт.\n"
1253
1254 #: runtime_errors\index_error.py:36
1255 msgid ""
1256 "You have tried to assign a value to an item of an object\n"
1257 "of type `{obj_type}` which I cannot identify.\n"
1258 "The index you gave was not an allowed value.\n"
1259 msgstr ""
1260 "Вы попытались присвоить значение элементу объекта\n"
1261 "типа `{obj_type}`, который я не могу определить.\n"
1262 "Указанный вами индекс не является допустимым значением.\n"
1263
1264 #: runtime_errors\index_error.py:46
1265 msgid ""
1266 "You have tried to assign a value to index `{index}` of `{name}`,\n"
1267 "{obj_type} of length `{length}`.\n"
1268 msgstr ""
1269 "Вы попытались присвоить значение индексу `{index}` из `{name}`,\n"
1270 "{obj_type} длины `{length}`.\n"
1271
1272 #: runtime_errors\index_error.py:57 runtime_errors\index_error.py:145
1273 msgid ""
1274 "The valid index values of `{name}` are integers ranging from\n"
1275 "`{min}` to `{max}`.\n"
1276 msgstr ""
1277 "Допустимыми значениями индекса `{name}` являются целые числа в диапазоне\n"
1278 "от `{min}` до `{max}`.\n"
1279
1280 #: runtime_errors\index_error.py:62 runtime_errors\index_error.py:150
1281 msgid ""
1282 "Remember: the first item of {obj_type} is not at index 1 but at index 0.\n"
1283 msgstr "Помните: первый элемент {obj_type} имеет индекс не 1, а 0.\n"
1284
1285 #: runtime_errors\index_error.py:67 runtime_errors\index_error.py:155
1286 msgid "`{name}` contains no item.\n"
1287 msgstr "`{name}` не содержит ни одного элемента.\n"
1288
1289 #: runtime_errors\index_error.py:68
1290 msgid ""
1291 "You have tried to assign a value to index `{index}` of `{name}`,\n"
1292 "{obj_type} which contains no item.\n"
1293 msgstr ""
1294 "Вы попытались присвоить значение индексу `{index}` из `{name}`,\n"
1295 "{obj_type}, который не содержит ни одного элемента.\n"
1296
1297 #: runtime_errors\index_error.py:80
1298 msgid ""
1299 "You have tried to get an item of an object\n"
1300 "of type `{obj_type}` which I cannot identify.\n"
1301 "The index you gave was not an allowed value.\n"
1302 msgstr ""
1303 "Вы пытались получить элемент объекта\n"
1304 "типа `{obj_type}`, который невозможно определить.\n"
1305 "Указанный вами индекс не является допустимым значением.\n"
1306
1307 #: runtime_errors\index_error.py:125
1308 msgid ""
1309 "You have tried to get an item from `{name}`,\n"
1310 "{obj_type} of length `{length}`, by using a value for the index\n"
1311 "that I cannot determine but which is not allowed.\n"
1312 msgstr ""
1313 "Вы пытались получить элемент из `{name}`,\n"
1314 "{obj_type} длиной `{length}`, используя значение для индекса\n"
1315 "которое я не могу определить, но которое не разрешено.\n"
1316
1317 #: runtime_errors\index_error.py:134
1318 msgid ""
1319 "You have tried to get the item with index `{index}` of `{name}`,\n"
1320 "{obj_type} of length `{length}`.\n"
1321 msgstr ""
1322 "Вы пытались получить элемент с индексом `{index}` из `{name}`,\n"
1323 "{obj_type} длиной `{length}`.\n"
1324
1325 #: runtime_errors\index_error.py:156
1326 msgid ""
1327 "You have tried to get the item with index `{index}` of `{name}`,\n"
1328 "{obj_type} which contains no item.\n"
1329 msgstr ""
1330 "Вы пытались получить элемент с индексом `{index}` из `{name}`,\n"
1331 "{obj_type}, который не содержит ни одного элемента.\n"
1332
1333 #: runtime_errors\key_error.py:23
1334 msgid ""
1335 "You tried to retrieve an item from an empty `dict`\n"
1336 "or a similar object which I cannot identify.\n"
1337 msgstr ""
1338 "Вы пытались получить элемент из пустого словаря `dict`\n"
1339 "или похожего объекта, который я не могу идентифицировать.\n"
1340
1341 #: runtime_errors\key_error.py:29
1342 msgid "`{name}` is an empty `dict`.\n"
1343 msgstr "`{name}` -- пустой словарь `dict`.\n"
1344
1345 #: runtime_errors\key_error.py:30
1346 msgid "You tried to retrieve an item from `{name}` which is an empty `dict`.\n"
1347 msgstr ""
1348 "Вы попытались получить элемент из `{name}`, который является пустым словарём "
1349 "`dict`.\n"
1350
1351 #: runtime_errors\key_error.py:49
1352 msgid ""
1353 "You tried to retrieve an item from an empty ChainMap\n"
1354 "or similar object which I cannot identify.\n"
1355 msgstr ""
1356 "Вы пытались получить элемент из пустого ChainMap\n"
1357 "или подобного объекта, который я не могу идентифицировать.\n"
1358
1359 #: runtime_errors\key_error.py:55
1360 msgid "`{name}` is an empty `ChainMap`.\n"
1361 msgstr "`{name}` -- это пустой `ChainMap`.\n"
1362
1363 #: runtime_errors\key_error.py:56
1364 msgid ""
1365 "You tried to retrieve an item from `{name}` which is an empty `ChainMap`.\n"
1366 msgstr ""
1367 "Вы попытались получить элемент из `{name}`, который является пустым "
1368 "`ChainMap`.\n"
1369
1370 #: runtime_errors\key_error.py:97
1371 msgid "Missing key `{key}` in a `ChainMap` or in a similar object.\n"
1372 msgstr "Отсутствие ключа `{key}` в `ChainMap` или подобном объекте.\n"
1373
1374 #: runtime_errors\key_error.py:137
1375 msgid ""
1376 "A `dict` or a similar object which I cannot identify\n"
1377 "does not have `{key}` as a key.\n"
1378 msgstr ""
1379 "`dict` или подобный объект, который я не могу идентифицировать.\n"
1380 "не содержит `{key}` в качестве ключа.\n"
1381
1382 #: runtime_errors\key_error.py:144
1383 msgid "The key `{key}` cannot be found in the dict `{name}`.\n"
1384 msgstr "В словаре `{name}` не найден ключ `{key}`.\n"
1385
1386 #: runtime_errors\key_error.py:149
1387 msgid ""
1388 "The key `{key}` cannot be found in `{name}`, an object of type `{obj_type}"
1389 "`.\n"
1390 msgstr "Ключ `{key}` не найден в `{name}`, объекте типа `{obj_type}`.\n"
1391
1392 #: runtime_errors\key_error.py:159
1393 msgid ""
1394 "`{name}` contains a string key which is identical to `str({key})`.\n"
1395 "Perhaps you forgot to convert the key into a string.\n"
1396 msgstr ""
1397 "`{name}` содержит строковый ключ, который идентичен `str({key})`.\n"
1398 "Возможно, вы забыли преобразовать ключ в строку.\n"
1399
1400 #: runtime_errors\key_error.py:163
1401 msgid "Did you forget to convert `{key}` into a string?\n"
1402 msgstr "Вы забыли преобразовать `{key}` в строку?\n"
1403
1404 #: runtime_errors\key_error.py:172
1405 msgid ""
1406 "`{key}` is a string.\n"
1407 "There is a key of `{name}` whose string representation\n"
1408 "is identical to `{key}`.\n"
1409 msgstr ""
1410 "`{key}` -- это строка.\n"
1411 "Существует ключ `{name}`, строковое представление которого\n"
1412 "идентично `{key}`.\n"
1413
1414 #: runtime_errors\key_error.py:177
1415 msgid "Did you convert `{key}` into a string by mistake?\n"
1416 msgstr "Вы ошибочно преобразовали `{key}` в строку.\n"
1417
1418 #: runtime_errors\key_error.py:185
1419 msgid "`{name}` is a key of `{dict_}` which is similar to `{key}`.\n"
1420 msgstr "`{name}` является ключом `{dict_}`, который аналогичен `{key}`.\n"
1421
1422 #: runtime_errors\key_error.py:193
1423 msgid ""
1424 "`{name}` has some keys similar to `{key}` including:\n"
1425 "`{names}`.\n"
1426 msgstr ""
1427 "`{name}` имеет несколько ключей, похожих на `{key}`, включая:\n"
1428 "`{names}`.\n"
1429
1430 #: runtime_errors\module_not_found_error.py:35
1431 msgid ""
1432 "No additional information available since `{name}` cannot be imported.\n"
1433 msgstr ""
1434 "Дополнительная информация недоступна, поскольку `{name}` не может быть "
1435 "импортирован.\n"
1436
1437 #: runtime_errors\module_not_found_error.py:46
1438 msgid "Did you mean `from {name} import {rest}`?\n"
1439 msgstr "Вы имели в виду `from {name} import {rest}`?\n"
1440
1441 #: runtime_errors\module_not_found_error.py:49
1442 msgid ""
1443 "`{rest}` is not a separate module but an object that is part of `{name}`.\n"
1444 msgstr ""
1445 "`{rest}` -- это не отдельный модуль, а объект, который является частью "
1446 "`{name}`.\n"
1447 "\n"
1448
1449 #: runtime_errors\module_not_found_error.py:59
1450 msgid "Did you mean `import {name}.{attr}`?\n"
1451 msgstr "Вы имели в виду `import {name}.{attr}`?\n"
1452
1453 #: runtime_errors\module_not_found_error.py:62
1454 msgid ""
1455 "Perhaps you meant `import {name}.{attr}`.\n"
1456 "`{attr}` is a name similar to `{rest}` and is a module that\n"
1457 "can be imported from `{name}`.\n"
1458 msgstr ""
1459 "Возможно, вы имели в виду `import {name}.{attr}`.\n"
1460 "`{attr}` -- это имя, похожее на `{rest}`, и это модуль, который\n"
1461 "может быть импортирован из `{name}`.\n"
1462
1463 #: runtime_errors\module_not_found_error.py:70
1464 msgid "Did you mean `from {name} import {attr}`?\n"
1465 msgstr "Вы имели в виду `from {name} import {attr}`?\n"
1466
1467 #: runtime_errors\module_not_found_error.py:73
1468 msgid ""
1469 "Perhaps you meant `from {name} import {attr}`.\n"
1470 "`{attr}` is a name similar to `{rest}` and is an object that\n"
1471 "can be imported from `{name}`.\n"
1472 msgstr ""
1473 "Возможно, вы имели в виду `from {name} import {attr}`.\n"
1474 "`{attr}` -- это имя, похожее на `{rest}` и являющееся объектом,\n"
1475 "который может быть импортирован из `{name}`.\n"
1476
1477 #: runtime_errors\module_not_found_error.py:80
1478 msgid ""
1479 "Other objects with similar names that are part of\n"
1480 " `{name}` include `{others}`.\n"
1481 msgstr ""
1482 "Другие объекты с похожими именами, которые являются частью\n"
1483 " `{name}`, включают `{others}`.\n"
1484
1485 #: runtime_errors\module_not_found_error.py:86
1486 msgid "`{rest}` cannot be imported from `{name}`.\n"
1487 msgstr "`{rest}` не может быть импортирован из `{name}`.\n"
1488
1489 #: runtime_errors\module_not_found_error.py:95
1490 msgid "The curses module is rarely installed with Python on Windows.\n"
1491 msgstr "Модуль curses редко устанавливается вместе с Python в Windows.\n"
1492
1493 #: runtime_errors\module_not_found_error.py:97
1494 msgid "The curses module is often not installed with Python.\n"
1495 msgstr "Модуль curses часто не поставляется вместе с Python.\n"
1496
1497 #: runtime_errors\module_not_found_error.py:98
1498 msgid "You have tried to import the curses module.\n"
1499 msgstr "Вы попытались импортировать модуль curses.\n"
1500
1501 #: runtime_errors\module_not_found_error.py:114
1502 msgid ""
1503 "No module named `{name}` can be imported.\n"
1504 "Perhaps you need to install it.\n"
1505 msgstr ""
1506 "Модуль с именем `{name}` не может быть импортирован.\n"
1507 "Возможно, вам необходимо установить его.\n"
1508
1509 #: runtime_errors\module_not_found_error.py:123
1510 msgid ""
1511 "The following existing modules have names that are similar \n"
1512 "to the module you tried to import: `{names}`\n"
1513 msgstr ""
1514 "Следующие существующие модули имеют имена, похожие \n"
1515 "на тот модуль, который вы пытались импортировать:\n"
1516 "`{names}`\n"
1517
1518 #: runtime_errors\module_not_found_error.py:128
1519 msgid "`{name}` is an existing module that has a similar name.\n"
1520 msgstr "`{name}` -- существующий модуль с похожим именем.\n"
1521
1522 #: runtime_errors\name_error.py:19
1523 msgid "You are already using Python!"
1524 msgstr "Вы уже используете Python!"
1525
1526 #: runtime_errors\name_error.py:34
1527 msgid ""
1528 "`{name}` is a name found in module `{mod}`.\n"
1529 "Perhaps you forgot to write\n"
1530 "\n"
1531 " from {mod} import {name}\n"
1532 msgstr ""
1533 "`{name}` -- это имя, найденное в модуле `{mod}`.\n"
1534 "Возможно, вы забыли написать\n"
1535 "\n"
1536 " from {mod} import {name}\n"
1537
1538 #: runtime_errors\name_error.py:38
1539 #, fuzzy
1540 #| msgid ""
1541 #| "`{name}` is a name found in the following modules from the standard "
1542 #| "library:\n"
1543 #| "{modules}.\n"
1544 #| "Perhaps you forgot to import `{name}` from one of these modules.\n"
1545 msgid ""
1546 "`{name}` is a name found in the following modules:\n"
1547 "{modules}.\n"
1548 "Perhaps you forgot to import `{name}` from one of these modules.\n"
1549 msgstr ""
1550 "`{name}` - это имя, встречающееся в следующих модулях из стандартной "
1551 "библиотеки:\n"
1552 "{modules}.\n"
1553 "Возможно, вы забыли импортировать `{name}` из одного из этих модулей.\n"
1554
1555 #: runtime_errors\name_error.py:61
1556 msgid ""
1557 "In your program, `{var_name}` is an unknown name\n"
1558 "that exists in an enclosing scope,\n"
1559 "but has not yet been assigned a value.\n"
1560 msgstr ""
1561 "В вашей программе `{var_name}` -- это неизвестное имя,\n"
1562 "которому еще не присвоено значение.\n"
1563
1564 #: runtime_errors\name_error.py:88 runtime_errors\name_error.py:147
1565 msgid "In your program, no object with the name `{var_name}` exists.\n"
1566 msgstr "В вашей программе не существует объекта с именем `{var_name}`.\n"
1567
1568 #: runtime_errors\name_error.py:107
1569 #, fuzzy
1570 #| msgid "Did you mean `{name}`?\n"
1571 msgid " Or did you mean `{name}`?\n"
1572 msgstr "Вы имели в виду `{name}`?\n"
1573
1574 #: runtime_errors\name_error.py:113
1575 msgid "Did you use a colon instead of an equal sign?\n"
1576 msgstr "Вы использовали двоеточие вместо знака равенства?\n"
1577
1578 #: runtime_errors\name_error.py:146
1579 msgid "Did you mean `1j`?\n"
1580 msgstr "Вы имеете в виду `1j`?\n"
1581
1582 #: runtime_errors\name_error.py:150
1583 msgid ""
1584 "However, sometimes `{name}` is intended to represent\n"
1585 "the square root of `-1` which is written as `1j` in Python.\n"
1586 msgstr ""
1587 "Однако иногда `{name}` предназначена для обозначения\n"
1588 "квадратного корня из `-1`, который в Python записывается как `1j`.\n"
1589
1590 #: runtime_errors\name_error.py:180
1591 msgid "Did you mean `{word}`?\n"
1592 msgstr "Вы имели в виду `{word}`?\n"
1593
1594 #: runtime_errors\name_error.py:181
1595 msgid "I suspect you meant to write the keyword `{word}` and made a typo.\n"
1596 msgstr "Подозреваю, что ключевое слово `{word}` вы написали по ошибке.\n"
1597
1598 #: runtime_errors\name_error.py:189
1599 msgid "`__debug__` is a constant.\n"
1600 msgstr "`__debug__` является константой.\n"
1601
1602 #: runtime_errors\name_error.py:190
1603 msgid ""
1604 "`__debug__` is a constant that cannot be deleted.\n"
1605 "In future Python versions, attempting to delete it will be a SyntaxError.\n"
1606 msgstr ""
1607 "`__debug__` является константой, которую нельзя удалить.\n"
1608 "В будущих версиях Python попытка удалить ее вызовет SyntaxError.\n"
1609
1610 #: runtime_errors\name_error.py:198
1611 msgid "You must be a fan of PyConAu!\n"
1612 msgstr "Вы, должно быть, поклонник PyConAu!\n"
1613
1614 #: runtime_errors\name_error.py:199
1615 msgid ""
1616 "I am guessing that you tried to use (one of) the flipfloperators\n"
1617 "shown during the second Lightning Talk session of PyConAu 2018,\n"
1618 "but that you forgot to install the module from PyPI.\n"
1619 "\n"
1620 "#### Note that it is still a bad idea.\n"
1621 msgstr ""
1622 "Предполагаю, что вы пытались использовать (один из) flipfloperators\n"
1623 "показанный во время второй сессии Lightning Talk на PyConAu 2018,\n"
1624 "но забыли установить модуль из PyPI.\n"
1625 "\n"
1626 "#### Обратите внимание, что это по-прежнему плохая идея.\n"
1627
1628 #: runtime_errors\name_error.py:214 runtime_errors\name_error.py:238
1629 msgid "Did you forget to import `{name}`?\n"
1630 msgstr "Вы забыли импортировать `{name}`?\n"
1631
1632 #: runtime_errors\name_error.py:217
1633 msgid ""
1634 "The name `{name}` is not defined in your program.\n"
1635 "Perhaps you forgot to import `{lowercase}` which is found\n"
1636 "in Python's standard library.\n"
1637 msgstr ""
1638 "Имя `{name}` не определено в вашей программе.\n"
1639 "Возможно, вы забыли импортировать `{lowercase}`, которое находится\n"
1640 "в стандартной библиотеке Python.\n"
1641
1642 #: runtime_errors\name_error.py:226
1643 msgid "Note that the name of the module is `{lowercase}` and not `{name}`.\n"
1644 msgstr ""
1645 "Обратите внимание, что именем модуля является `{lowercase}`, а не `{name}`.\n"
1646
1647 #: runtime_errors\name_error.py:241
1648 #, fuzzy
1649 #| msgid ""
1650 #| "The name `{name}` is not defined in your program.\n"
1651 #| "Perhaps you forgot to import `{lowercase}` which is found\n"
1652 #| "in Python's standard library.\n"
1653 msgid ""
1654 "The name `{name}` is not defined in your program.\n"
1655 "Perhaps you forgot to import `{name}` which is a known library.\n"
1656 msgstr ""
1657 "Имя `{name}` не определено в вашей программе.\n"
1658 "Возможно, вы забыли импортировать `{lowercase}`, которое находится\n"
1659 "в стандартной библиотеке Python.\n"
1660
1661 #: runtime_errors\name_error.py:251
1662 #, fuzzy
1663 #| msgid "Did you forget to import `{name}`?\n"
1664 msgid "Did you forget to import `{true_name}`?\n"
1665 msgstr "Вы забыли импортировать `{name}`?\n"
1666
1667 #: runtime_errors\name_error.py:256
1668 #, fuzzy
1669 #| msgid ""
1670 #| "The name `{name}` is not defined in your program.\n"
1671 #| "Perhaps you forgot to import `{lowercase}` which is found\n"
1672 #| "in Python's standard library.\n"
1673 msgid ""
1674 "The name `{name}` is not defined in your program.\n"
1675 "Perhaps you forgot to write\n"
1676 "\n"
1677 " import {true_name} as {name}\n"
1678 msgstr ""
1679 "Имя `{name}` не определено в вашей программе.\n"
1680 "Возможно, вы забыли импортировать `{lowercase}`, которое находится\n"
1681 "в стандартной библиотеке Python.\n"
1682
1683 #: runtime_errors\name_error.py:275
1684 msgid "The similar name `{name}` was found in the local scope.\n"
1685 msgstr "В локальной области видимости найдено похожее имя `{name}`.\n"
1686
1687 #: runtime_errors\name_error.py:276
1688 msgid "The similar name `{name}` was found in the global scope.\n"
1689 msgstr "Похожее имя `{name}` было найдено в глобальной области видимости.\n"
1690
1691 #: runtime_errors\name_error.py:277
1692 msgid "The Python builtin `{name}` has a similar name.\n"
1693 msgstr "Встроенная функция Python `{name}` имеет аналогичное название.\n"
1694
1695 #: runtime_errors\name_error.py:286 runtime_errors\unbound_local_error.py:124
1696 msgid "Instead of writing `{name}`, perhaps you meant one of the following:\n"
1697 msgstr ""
1698 "Вместо того, чтобы написать `{name}`, возможно, вы имели в виду следующее:\n"
1699
1700 #: runtime_errors\name_error.py:291 runtime_errors\unbound_local_error.py:128
1701 msgid "* Local scope: "
1702 msgstr "* Локальная область видимости: "
1703
1704 #: runtime_errors\name_error.py:292
1705 msgid "* Global scope: "
1706 msgstr "* Глобальная область видимости: "
1707
1708 #: runtime_errors\name_error.py:293
1709 msgid "* Python builtins: "
1710 msgstr "* Встроенные модули Python: "
1711
1712 #: runtime_errors\name_error.py:357
1713 msgid "Did you write `self` at the wrong place?\n"
1714 msgstr "Вы написали `self` не в том месте?\n"
1715
1716 #: runtime_errors\name_error.py:358
1717 msgid ""
1718 "The {scope} object `{obj}`\n"
1719 "has an attribute named `{unknown_name}`.\n"
1720 "Perhaps you should have written `self.{unknown_name}(...`\n"
1721 "instead of `{unknown_name}(self, ...`.\n"
1722 msgstr ""
1723 "Объект {scope} `{obj}`\n"
1724 "имеет атрибут с именем `{unknown_name}`.\n"
1725 "Возможно, вам следовало написать `self.{unknown_name}(...`\n"
1726 "вместо `{unknown_name}(self, ...`.\n"
1727
1728 #: runtime_errors\name_error.py:365
1729 msgid "Did you forget to add `self.`?\n"
1730 msgstr "Вы забыли добавить `self.`?\n"
1731
1732 #: runtime_errors\name_error.py:366
1733 msgid ""
1734 "A {scope} object, `{obj}`,\n"
1735 "has an attribute named `{unknown_name}`.\n"
1736 "Perhaps you should have written `self.{unknown_name}`\n"
1737 "instead of `{unknown_name}`.\n"
1738 msgstr ""
1739 "Объект {scope}, `{obj}`,\n"
1740 "имеет атрибут с именем `{unknown_name}`.\n"
1741 "Возможно, вам следовало написать `self.{unknown_name}`\n"
1742 "вместо `{unknown_name}`.\n"
1743
1744 #: runtime_errors\name_error.py:373
1745 msgid "Did you forget to add `{name}.`?\n"
1746 msgstr "Вы забыли добавить `{name}.`?\n"
1747
1748 #: runtime_errors\name_error.py:374
1749 msgid ""
1750 "The {scope} object `{name}`\n"
1751 "has an attribute named `{unknown_name}`.\n"
1752 "Perhaps you should have written `{name}.{unknown_name}`\n"
1753 "instead of `{unknown_name}`.\n"
1754 msgstr ""
1755 "Объект {scope} `{name}`\n"
1756 "имеет атрибут с именем `{unknown_name}`.\n"
1757 "Возможно, вам следовало написать `{name}.{unknown_name}`\n"
1758 "вместо `{unknown_name}`.\n"
1759
1760 #: runtime_errors\os_error.py:19
1761 msgid ""
1762 "I suspect that you are trying to connect to a server and\n"
1763 "that a connection cannot be made.\n"
1764 "\n"
1765 "If that is the case, check for typos in the URL\n"
1766 "and check your internet connectivity.\n"
1767 msgstr ""
1768 "Предполагаю, что вы пытаетесь подключиться к серверу\n"
1769 "и что соединение не может быть установлено.\n"
1770 "Если это так, проверьте, нет ли опечаток в URL-адресе\n"
1771 "и проверьте подключение к Интернету.\n"
1772
1773 #: runtime_errors\os_error.py:37 syntax_errors\message_analyzer.py:1902
1774 msgid "Perhaps you need to double the backslash characters.\n"
1775 msgstr "Возможно, вам нужно удвоить символы обратной косой черты.\n"
1776
1777 #: runtime_errors\os_error.py:38
1778 msgid ""
1779 "I suspect that you wrote a filename or path that contains\n"
1780 "at least one backslash character, `\\`.\n"
1781 "Python likely interpreted this as indicating the beginning of\n"
1782 "what is known as an escape sequence.\n"
1783 "To solve the problem, either write a so-called 'raw string'\n"
1784 "by adding the letter `r` as a prefix in\n"
1785 "front of the filename or path, or replace all single backslash\n"
1786 "characters, `\\`, by double ones: `\\\\`.\n"
1787 msgstr ""
1788 "Предполагаю, что вы написали имя файла или путь, который содержит\n"
1789 "по крайней мере один символ обратной косой черты, `\\`.\n"
1790 "Python, вероятно, интерпретировал это как начало того,\n"
1791 "что известно как последовательность экранирования.\n"
1792 "Чтобы решить эту проблему, либо напишите так называемую 'необработанную "
1793 "строку', добавив букву `r` в качестве префикса перед\n"
1794 "именем файла или путем, либо замените все одинарные символы обратной косой "
1795 "черты `\\` на двойные: `\\\\`.\n"
1796
1797 #: runtime_errors\runtime_error.py:48
1798 msgid ""
1799 "While you were iterating over the items of `{name}` ({container_type})\n"
1800 "in a `{for_while}` loop, you either tried to add or remove items from it.\n"
1801 "Suggestion: start by making a copy of `{name}` and iterate over the items\n"
1802 "of that copy if you want to change `{name}` inside a loop.\n"
1803 "You might want to do this as follows:\n"
1804 "\n"
1805 " my_{name} = {name}.copy()\n"
1806 " for item in my_{name}:\n"
1807 " # Change {name}\n"
1808 msgstr ""
1809 "Пока вы перебирали элементы `{name}` ({container_type})\n"
1810 "в цикле `{for_while}`, вы пытались добавить или удалить элементы из него.\n"
1811 "Предложение: начните с создания копии `{name}` и выполняйте итерации по "
1812 "элементам\n"
1813 "этой копии, если вы хотите изменить `{name}` внутри цикла.\n"
1814 "Возможно, вы захотите сделать это следующим образом:\n"
1815 "\n"
1816 " my_{name} = {name}.copy()\n"
1817 " for item in my_{name}:\n"
1818 " # Изменить {name}\n"
1819
1820 #: runtime_errors\runtime_error.py:59
1821 msgid ""
1822 "While you were iterating over the items of a container ({container_type})\n"
1823 "in a `{for_while}` loop, you either tried to add or remove items from it.\n"
1824 "Suggestion: start by making a copy of the container and iterate over the "
1825 "items\n"
1826 "of that copy if you want to change that container inside a loop.\n"
1827 msgstr ""
1828 "Во время перебора элементов контейнера ({container_type})\n"
1829 "в цикле `{for_while}`, вы пытались либо добавить, либо удалить элементы из "
1830 "него.\n"
1831 "Предложение: начните с создания копии контейнера и выполняйте итерации над "
1832 "элементами\n"
1833 "этой копии, если вы хотите изменить контейнер внутри цикла.\n"
1834
1835 #: runtime_errors\type_error.py:54
1836 msgid "Did you forget to convert the string `{name}` into {number_type}?\n"
1837 msgstr "Вы забыли преобразовать строку `{name}` в {number_type}?\n"
1838
1839 #: runtime_errors\type_error.py:59
1840 msgid "Perhaps you forgot to convert the string `{name}` into {number_type}.\n"
1841 msgstr "Возможно, вы забыли преобразовать строку `{name}` в {number_type}.\n"
1842
1843 #: runtime_errors\type_error.py:71
1844 msgid "You cannot use complex numbers with the modulo operator `%`.\n"
1845 msgstr ""
1846
1847 #: runtime_errors\type_error.py:88 runtime_errors\type_error.py:102
1848 msgid ""
1849 "The arguments of `divmod` must be integers (`int`) or real (`float`) "
1850 "numbers.\n"
1851 msgstr ""
1852 "Аргументы `divmod` должны быть целыми (`int`) или вещественными (`float`) "
1853 "числами.\n"
1854
1855 #: runtime_errors\type_error.py:93 runtime_errors\type_error.py:106
1856 msgid "At least one of the arguments was a complex number.\n"
1857 msgstr "По крайней мере один из аргументов был комплексным числом.\n"
1858
1859 #: runtime_errors\type_error.py:123
1860 msgid "The second argument of the function `getattr()` must be a string.\n"
1861 msgstr "Второй аргумент функции `getattr()` должен быть строкой.\n"
1862
1863 #: runtime_errors\type_error.py:128
1864 msgid "The second argument of the function `hasattr()` must be a string.\n"
1865 msgstr "Второй аргумент функции `hasattr()` должен быть строкой.\n"
1866
1867 #: runtime_errors\type_error.py:131
1868 msgid "Some attribute of a function you called is expected to be a string.\n"
1869 msgstr ""
1870
1871 #: runtime_errors\type_error.py:152 runtime_errors\type_error.py:175
1872 msgid ""
1873 "You tried to concatenate (add) two different types of objects:\n"
1874 "{first} and {second}.\n"
1875 msgstr ""
1876 "Вы попытались обьединить (сложить) два разных типа объектов:\n"
1877 "{first} и {second}.\n"
1878
1879 #: runtime_errors\type_error.py:205
1880 msgid ""
1881 "You tried to add two incompatible types of objects:\n"
1882 "{first} and {second}.\n"
1883 msgstr ""
1884 "Вы попытались сложить два несовместимых типа объектов:\n"
1885 "{first} и {second}.\n"
1886
1887 #: runtime_errors\type_error.py:213
1888 msgid ""
1889 "You tried to subtract two incompatible types of objects:\n"
1890 "{first} and {second}.\n"
1891 msgstr ""
1892 "Вы попытались вычесть два несовместимых типа объектов:\n"
1893 "{first} и {second}.\n"
1894
1895 #: runtime_errors\type_error.py:221
1896 msgid ""
1897 "You tried to multiply two incompatible types of objects:\n"
1898 "{first} and {second}.\n"
1899 msgstr ""
1900 "Вы попытались перемножить два несовместимых типа объектов:\n"
1901 "{first} и {second}.\n"
1902
1903 #: runtime_errors\type_error.py:229
1904 msgid ""
1905 "You tried to divide two incompatible types of objects:\n"
1906 "{first} and {second}.\n"
1907 msgstr ""
1908 "Вы попытались разделить два несовместимых типа объектов:\n"
1909 "{first} и {second}.\n"
1910
1911 #: runtime_errors\type_error.py:237
1912 msgid ""
1913 "You tried to perform the bitwise operation {operator}\n"
1914 "on two incompatible types of objects:\n"
1915 "{first} and {second}.\n"
1916 msgstr ""
1917 "Вы попытались выполнить побитовую операцию {operator}\n"
1918 "над двумя несовместимыми типами объектов:\n"
1919 "{first} и {second}.\n"
1920
1921 #: runtime_errors\type_error.py:252 runtime_errors\type_error.py:854
1922 #: runtime_errors\type_error.py:962 syntax_errors\statement_analyzer.py:1259
1923 #: syntax_errors\statement_analyzer.py:1535
1924 msgid "Did you mean `{line}`?\n"
1925 msgstr "Вы имели в виду `{line}`?\n"
1926
1927 #: runtime_errors\type_error.py:253
1928 msgid "Outside of Python, `^` is often used to indicate exponentiation.\n"
1929 msgstr ""
1930 "Вне Python `^` часто используется для обозначения возведения в степень.\n"
1931
1932 #: runtime_errors\type_error.py:256 runtime_errors\type_error.py:857
1933 msgid "Perhaps you meant `{line}`.\n"
1934 msgstr "Возможно, вы имели в виду `{line}`.\n"
1935
1936 #: runtime_errors\type_error.py:259
1937 msgid ""
1938 "You tried to perform the bit shifting operation {operator}\n"
1939 "on two incompatible types of objects:\n"
1940 "{first} and {second}.\n"
1941 msgstr ""
1942 "Вы попытались выполнить операцию сдвига битов {operator}\n"
1943 "на двух несовместимых типах объектов:\n"
1944 "{first} и {second}.\n"
1945
1946 #: runtime_errors\type_error.py:269
1947 msgid ""
1948 "You tried to exponentiate (raise to a power)\n"
1949 "using two incompatible types of objects:\n"
1950 "{first} and {second}.\n"
1951 msgstr ""
1952 "Вы попытались экспоненцировать (возвести в степень)\n"
1953 "используя два несовместимых типа объектов:\n"
1954 "{first} и {second}.\n"
1955
1956 #: runtime_errors\type_error.py:278
1957 msgid ""
1958 "You tried to use the operator {operator}\n"
1959 "using two incompatible types of objects:\n"
1960 "{first} and {second}.\n"
1961 "This operator is normally used only\n"
1962 "for multiplication of matrices.\n"
1963 msgstr ""
1964 "Вы попытались использовать оператор {operator}\n"
1965 "используя два несовместимых типа объектов:\n"
1966 "{first} и {second}.\n"
1967 "Этот оператор обычно используется только\n"
1968 "для умножения матриц.\n"
1969
1970 #: runtime_errors\type_error.py:313
1971 msgid "Complex numbers cannot be ordered.\n"
1972 msgstr "Комплексные числа не могут быть упорядочены.\n"
1973
1974 #: runtime_errors\type_error.py:314
1975 msgid ""
1976 "You tried to do an order comparison ({operator})\n"
1977 "between two complex numbers.\n"
1978 msgstr ""
1979 "Вы попытались выполнить порядковое сравнение ({operator})\n"
1980 "двух комплексных чисел.\n"
1981
1982 #: runtime_errors\type_error.py:320
1983 msgid ""
1984 "You tried to do an order comparison ({operator})\n"
1985 "between two incompatible types of objects:\n"
1986 "{first} and {second}.\n"
1987 msgstr ""
1988 "Вы попытались выполнить порядковое сравнение ({operator})\n"
1989 "двух несовместимых типов объектов:\n"
1990 "{first} и {second}.\n"
1991
1992 #: runtime_errors\type_error.py:348
1993 msgid ""
1994 "`{iter}` is an iterator. You likely needed to write something like\n"
1995 "\n"
1996 " next({iter}())\n"
1997 "\n"
1998 "or use it in a `for` loop to get a number from it\n"
1999 "before comparing it to {number}.\n"
2000 msgstr ""
2001
2002 #: runtime_errors\type_error.py:380
2003 msgid "Perhaps you meant to write `{operator}=` instead of `={operator}`"
2004 msgstr "Возможно, вы хотели написать `{operator}=` вместо `={operator}`"
2005
2006 #: runtime_errors\type_error.py:384
2007 msgid ""
2008 "You tried to use the unary operator '{operator}'\n"
2009 "with the following type of object: {obj}.\n"
2010 "This operation is not defined for this type of object.\n"
2011 msgstr ""
2012 "Вы попытались использовать унарный оператор '{operator}'\n"
2013 "со следующим типом объекта: {obj}.\n"
2014 "Эта операция не определена для данного типа объекта.\n"
2015
2016 #: runtime_errors\type_error.py:410
2017 msgid ""
2018 "In Python, some objects are known as immutable:\n"
2019 "once defined, their value cannot be changed.\n"
2020 "You tried change part of such an immutable object: {obj},\n"
2021 "most likely by using an indexing operation.\n"
2022 msgstr ""
2023 "В Python некоторые объекты известны как неизменяемые,\n"
2024 "после определения их значение не может быть изменено.\n"
2025 "Вы можете изменить часть такого неизменяемого объекта: {obj},\n"
2026 "скорее всего, с помощью операции индексирования\n"
2027
2028 #: runtime_errors\type_error.py:417
2029 msgid "Did you mean to use a list?\n"
2030 msgstr "Вы хотели использовать список?\n"
2031
2032 #: runtime_errors\type_error.py:418
2033 msgid "Perhaps you meant to use a list instead.\n"
2034 msgstr "Возможно, вы хотели использовать список.\n"
2035
2036 #: runtime_errors\type_error.py:431
2037 msgid ""
2038 "Exceptions must be derived from `BaseException`.\n"
2039 "It is recommended that user-defined exceptions derive from\n"
2040 "`Exception`, a subclass of `BaseException`.\n"
2041 msgstr ""
2042
2043 #: runtime_errors\type_error.py:457
2044 #, fuzzy
2045 #| msgid "In Python 3, exceptions must be derived from BaseException.\n"
2046 msgid ""
2047 "In an `except` statement, you must only have classes that derive from "
2048 "`BaseException`.\n"
2049 msgstr "В Python 3 исключения должны быть производными от BaseException.\n"
2050
2051 #: runtime_errors\type_error.py:461
2052 #, fuzzy
2053 #| msgid "The following characters are not allowed: `{invalid}`.\n"
2054 msgid "The following is not a valid classes: `{not_exception}`.\n"
2055 msgstr "Недопустимы следующие символы: `{invalid}`.\n"
2056
2057 #: runtime_errors\type_error.py:465
2058 #, fuzzy
2059 #| msgid "The following characters are not allowed: `{invalid}`.\n"
2060 msgid "The following are not valid classes: `{not_exception}`.\n"
2061 msgstr "Недопустимы следующие символы: `{invalid}`.\n"
2062
2063 #: runtime_errors\type_error.py:502
2064 msgid ""
2065 "You apparently have called the function `{fn_name}` with\n"
2066 "{nb_given} positional argument(s) while it requires {nb_required}\n"
2067 "such positional argument(s).\n"
2068 msgstr ""
2069 "Вы, очевидно, вызвали функцию `{fn_name}` с\n"
2070 "{nb_given} позиционным аргументом(ами), в то время как она требует\n"
2071 "позиционный(е) аргумент(ы) {nb_required}\n"
2072
2073 #: runtime_errors\type_error.py:508
2074 msgid "Perhaps you forgot `self` when defining `{fn_name}`.\n"
2075 msgstr "Возможно, вы забыли `self` при обьявлении `{fn_name}`.\n"
2076
2077 #: runtime_errors\type_error.py:528
2078 msgid ""
2079 "You apparently have called the function '{fn_name}' with\n"
2080 "fewer positional arguments than it requires ({nb_required} missing).\n"
2081 msgstr ""
2082 "Видимо, вы вызвали функцию '{fn_name}' с\n"
2083 "меньшим количеством позиционных аргументов, чем требуется ({nb_required} "
2084 "missing).\n"
2085
2086 #: runtime_errors\type_error.py:545 runtime_errors\type_error.py:928
2087 #: warning_parsers\syntax_warning.py:21 warning_parsers\syntax_warning.py:69
2088 msgid ""
2089 "\n"
2090 "Note: `NoneType` means that the object has a value of `None`.\n"
2091 msgstr ""
2092 "\n"
2093 "Примечание: `NoneType` означает, что объект имеет значение `None`.\n"
2094
2095 #: runtime_errors\type_error.py:552 warning_parsers\syntax_warning.py:27
2096 msgid ""
2097 "Python indicates that you have an object of type `{obj_type}`,\n"
2098 "followed by something surrounded by parentheses, `(...)`,\n"
2099 "which Python took as an indication of a function call.\n"
2100 "Either the object of type `{obj_type}` was meant to be a function,\n"
2101 "or you forgot a comma before `(...)`.\n"
2102 msgstr ""
2103 "Python указывает, что у вас есть объект типа `{obj_type}`,\n"
2104 "за которым следует нечто, окруженное круглыми скобками, `(...)`,\n"
2105 "что Python воспринял как указание на вызов функции.\n"
2106 "Либо объект типа `{obj_type}` должен был быть функцией,\n"
2107 "либо вы забыли поставить запятую перед `(...)`.\n"
2108
2109 #: runtime_errors\type_error.py:574
2110 msgid ""
2111 "The parenthesis `()` following `{obj_name}` are interpreted\n"
2112 "by Python as a function call for `{obj_name}`.\n"
2113 "However, `{obj_name}` is not a function but an object of type `{obj_type}`.\n"
2114 msgstr ""
2115 "Круглые скобки `()`, следующие за `{obj_name}`, интерпретируются\n"
2116 "Python как вызов функции для `{obj_name}`.\n"
2117 "Однако `{obj_name}` -- это не функция, а объект типа `{obj_type}`.\n"
2118
2119 #: runtime_errors\type_error.py:581
2120 msgid ""
2121 "Because of the surrounding parenthesis, `{fn_call}` \n"
2122 "is interpreted by Python as indicating a function call for \n"
2123 "`{obj_name}`, which is an object of type `{obj_type}`\n"
2124 "which cannot be called.\n"
2125 "\n"
2126 msgstr ""
2127 "Из-за окружающих скобок, `{fn_call}` \n"
2128 "интерпретируется Python как вызов функции для \n"
2129 "`{obj_name}`, которая является объектом типа `{obj_type}`\n"
2130 "который не может быть вызван.\n"
2131 "\n"
2132
2133 #: runtime_errors\type_error.py:594
2134 msgid ""
2135 "However, `{fn_call}` is a `tuple`.\n"
2136 "Either the object `{obj_name}` was meant to be a function\n"
2137 "or you have a missing comma between the object `{obj_name}`\n"
2138 "and the tuple `{fn_call}` and meant to write\n"
2139 "`{obj_name}, {fn_call}`.\n"
2140 msgstr ""
2141 "`{fn_call}` -- это `tuple`.\n"
2142 "Либо объект `{obj_name}` должен был быть функцией\n"
2143 "либо пропущена запятая между объектом `{obj_name}`\n"
2144 "и кортежем `{fn_call}` и вы хотели написать\n"
2145 "`{obj_name}, {fn_call}`.\n"
2146
2147 #: runtime_errors\type_error.py:601
2148 msgid "Did you forget a comma between `{obj_name}` and `{fn_call}`?\n"
2149 msgstr "Вы забыли запятую между `{obj_name}` и `{fn_call}`?\n"
2150
2151 #: runtime_errors\type_error.py:607
2152 msgid ""
2153 "However, `{obj_name}` is a sequence.\n"
2154 "Perhaps you meant to use `[]` instead of `()` and write\n"
2155 "`{obj_name}[{slice}]`\n"
2156 msgstr ""
2157 "`{obj_name}` -- это последовательность.\n"
2158 "Возможно, вы хотели использовать `[]` вместо `()` и написать\n"
2159 "`{obj_name}[{slice}]`\n"
2160
2161 #: runtime_errors\type_error.py:612
2162 msgid "Did you mean `{obj_name}[{slice}]`?\n"
2163 msgstr "Вы имели в виду `{obj_name}[{slice}]`?\n"
2164
2165 #: runtime_errors\type_error.py:623
2166 msgid ""
2167 "However, both `{obj_name}` and `{fn_call}` are numbers.\n"
2168 "Perhaps you forgot a multiplication operator, `*`,\n"
2169 "and meant to write `{obj_name} * {fn_call}`.\n"
2170 msgstr ""
2171 "`{obj_name}`, и `{fn_call}` являются числами.\n"
2172 "Возможно, вы забыли оператор умножения `*`\n"
2173 "и хотели написать `{obj_name} * {fn_call}`.\n"
2174
2175 #: runtime_errors\type_error.py:628
2176 msgid "Did you mean `{obj_name} * {fn_call}`?\n"
2177 msgstr "Вы имели в виду `{obj_name} * {fn_call}`?\n"
2178
2179 #: runtime_errors\type_error.py:640
2180 msgid "Did you forget to convert `{name}` into an integer?\n"
2181 msgstr "Вы забыли преобразовать `{name}` в целое число?\n"
2182
2183 #: runtime_errors\type_error.py:641
2184 msgid "Perhaps you forgot to convert `{name}` into an integer.\n"
2185 msgstr "Возможно, вы забыли преобразовать `{name}` в целое число.\n"
2186
2187 #: runtime_errors\type_error.py:653
2188 msgid ""
2189 "You can only multiply sequences, such as list, tuples,\n"
2190 " strings, etc., by integers.\n"
2191 msgstr ""
2192 "Вы можете умножать только последовательности, такие как список, кортежи,\n"
2193 "строки и т.д., на целые числа.\n"
2194
2195 #: runtime_errors\type_error.py:675
2196 msgid "Did you forget to convert `{name1}` and `{name2}` into integers?\n"
2197 msgstr "Вы забыли преобразовать `{name1}` и `{name2}` в целые числа?\n"
2198
2199 #: runtime_errors\type_error.py:678
2200 msgid "Perhaps you forgot to convert `{name1}` and `{name2}` into integers.\n"
2201 msgstr ""
2202 "Возможно вы забыли преобразовать `{name1}` и `{name2}` в целые числа.\n"
2203 "\n"
2204
2205 #: runtime_errors\type_error.py:714
2206 msgid ""
2207 "You wrote an object whose value is `None` where an integer was expected.\n"
2208 msgstr ""
2209 "Вы записали объект, значение которого `None`, а ожидалось целое число.\n"
2210
2211 #: runtime_errors\type_error.py:724
2212 msgid "You wrote an object of type `{obj}` where an integer was expected.\n"
2213 msgstr ""
2214 "Вы записали объект типа `{obj}`, где ожидалось целочисленное значение.\n"
2215
2216 #: runtime_errors\type_error.py:734
2217 msgid "Did you forget to convert `{names}` into integers?\n"
2218 msgstr "Вы забыли преобразовать `{names}` в целые числа?\n"
2219
2220 #: runtime_errors\type_error.py:737
2221 msgid "Perhaps you forgot to convert `{names}` into integers."
2222 msgstr "Возможно, вы забыли преобразовать `{names}` в целые числа."
2223
2224 #: runtime_errors\type_error.py:760
2225 msgid ""
2226 "In the expression `{line}`\n"
2227 "what is included between the square brackets, `[...]`,\n"
2228 "must be either an integer or a slice\n"
2229 "(`start:stop` or `start:stop:step`) \n"
2230 "and you have used {obj_type} instead.\n"
2231 msgstr ""
2232 "В выражении `{line}`\n"
2233 "то, что включено между квадратными скобками, `[...]`,\n"
2234 "должно быть либо целым числом, либо фрагментом\n"
2235 "(`start:stop` или `start:stop:step`) \n"
2236 "а вы вместо этого использовали {obj_type}.\n"
2237
2238 #: runtime_errors\type_error.py:771
2239 msgid ""
2240 "Note: sometimes this exception is raised because what Python\n"
2241 "interprets as indices was meant to be a separate list, and a comma\n"
2242 "should have been written before the opening `[` of that list.\n"
2243 msgstr ""
2244 "Примечание: иногда это исключение возникает потому, что то, что Python\n"
2245 "интерпретирует как индексы, должно было быть отдельным списком, и запятая\n"
2246 "должна была быть поставлена перед открывающей `[` этого списка.\n"
2247
2248 #: runtime_errors\type_error.py:776 syntax_errors\statement_analyzer.py:1159
2249 #: syntax_errors\statement_analyzer.py:1531
2250 msgid "Did you forget a comma?\n"
2251 msgstr "Вы забыли поставить запятую?\n"
2252
2253 #: runtime_errors\type_error.py:811
2254 msgid ""
2255 "Perhaps you have forgotten a comma between two identical lists\n"
2256 "`{container}`. The second list had been interpreted as\n"
2257 "the indexation of the first one by the index `{new_index}`\n"
2258 msgstr ""
2259 "Возможно, вы забыли поставить запятую между двумя одинаковыми списками\n"
2260 "`{container}`. Второй список был интерпретирован как\n"
2261 "индексация первого по индексу `{new_index}`.\n"
2262
2263 #: runtime_errors\type_error.py:817
2264 msgid ""
2265 "Perhaps you have forgotten a comma between the object `{container}`\n"
2266 "and the list `{index}`. The list `{index}` had been interpreted as\n"
2267 "the indexation of object `{container}` by the index `{new_index}`\n"
2268 msgstr ""
2269 "Возможно, вы забыли разделить запятой обьекты `{container}`\n"
2270 "и список `{index}`.Список `{index}` был интерпретирован как\n"
2271 "индексация объекта `{container}` по индексу `{new_index}`.\n"
2272
2273 #: runtime_errors\type_error.py:822
2274 msgid "Did you forget a comma before `{index}`?\n"
2275 msgstr "Вы забыли поставить запятую перед `{index}`?\n"
2276
2277 #: runtime_errors\type_error.py:881
2278 msgid ""
2279 "When using a slice to extract a range of elements\n"
2280 "from a sequence, that is something like\n"
2281 "`[start:stop]` or `[start:stop:step]`\n"
2282 "each of `start`, `stop`, `step` must be either an integer, `None`,\n"
2283 "or possibly some other object having an `__index__` method.\n"
2284 msgstr ""
2285 "При использовании среза для извлечения диапазона элементов\n"
2286 "из последовательности, то есть что-то вроде\n"
2287 "`[start:stop]` или `[start:stop:step]`.\n"
2288 "каждый из `start`, `stop`, `step` должен быть либо целым числом, либо "
2289 "`None`,\n"
2290 "либо каким-то другим объектом, имеющим метод `__index__`.\n"
2291
2292 #: runtime_errors\type_error.py:898
2293 msgid ""
2294 "Only hashable objects can be used\n"
2295 "as elements of `set` or keys of `dict`.\n"
2296 "Hashable objects are objects that do not change value\n"
2297 "once they have been created."
2298 msgstr ""
2299 "Только хешируемые объекты могут быть использованы\n"
2300 "в качестве элементов `set` или ключей `dict`.\n"
2301 "Хешируемые объекты - это объекты, которые не меняют своего значения после их "
2302 "создания."
2303
2304 #: runtime_errors\type_error.py:908
2305 msgid "Instead of using {original}, consider using {replacement}.\n"
2306 msgstr "Вместо {original} используйте {replacement}.\n"
2307
2308 #: runtime_errors\type_error.py:934 warning_parsers\syntax_warning.py:75
2309 msgid ""
2310 "Subscriptable objects are typically containers from which\n"
2311 "you can retrieve item using the notation `[...]`.\n"
2312 msgstr ""
2313 "Subscriptable objects обычно являются контейнерами, из которых\n"
2314 "вы можете получить элемент, используя нотацию `[...]`.\n"
2315
2316 #: runtime_errors\type_error.py:946 warning_parsers\syntax_warning.py:79
2317 msgid ""
2318 "Using this notation, you attempted to retrieve an item\n"
2319 "from an object of type `{obj_type}` which is not allowed.\n"
2320 msgstr ""
2321 "Используя эту нотацию, вы попытались получить элемент\n"
2322 "из объекта типа `{obj_type}`, что недопустимо.\n"
2323
2324 #: runtime_errors\type_error.py:963
2325 msgid "Perhaps you meant to write `{line}`.\n"
2326 msgstr "Возможно, вы хотели написать `{line}`.\n"
2327
2328 #: runtime_errors\type_error.py:966
2329 msgid ""
2330 "Using this notation, you attempted to retrieve an item\n"
2331 "from `{name}`, an object of type `{obj_type}`. This is not allowed.\n"
2332 msgstr ""
2333 "Используя эту нотацию, вы попытались получить элемент\n"
2334 "из `{name}`, объекта типа `{obj_type}`. Это недопустимо.\n"
2335
2336 #: runtime_errors\type_error.py:1000
2337 msgid ""
2338 "An iterable is an object capable of returning its members one at a time.\n"
2339 "Python containers (`list, tuple, dict`, etc.) are iterables.\n"
2340 "'{obj_name}' is not a container. A container is required here.\n"
2341 msgstr ""
2342 "Итерабельность - это объект, способный возвращать свои члены по одному за "
2343 "раз.\n"
2344 "Контейнеры Python (`list, tuple, dict` и т.д.) являются итерабельными.\n"
2345 "'{obj_name}' не является контейнером. Здесь требуется контейнер.\n"
2346
2347 #: runtime_errors\type_error.py:1015
2348 msgid ""
2349 "An iterable is an object capable of returning its members one at a time.\n"
2350 "Python containers (`list, tuple, dict`, etc.) are iterables.\n"
2351 "An iterable is required here.\n"
2352 msgstr ""
2353 "Итерабельным является обьект, способный возвращать свои элементы по одному "
2354 "за раз.\n"
2355 "Контейнеры Python (`list, tuple, dict` и т.д.) являются итерабельными.\n"
2356
2357 #: runtime_errors\type_error.py:1030 runtime_errors\value_error.py:25
2358 msgid ""
2359 "Unpacking is a convenient way to assign a name,\n"
2360 "to each item of an iterable.\n"
2361 msgstr ""
2362 "Распаковка является удобным способом присвоить имя\n"
2363 "каждому элементу итерирумого обьекта.\n"
2364
2365 #: runtime_errors\type_error.py:1034
2366 msgid ""
2367 "An iterable is an object capable of returning its members one at a time.\n"
2368 "Python containers (`list, tuple, dict`, etc.) are iterables,\n"
2369 "but not objects of type `{obj_type}`.\n"
2370 msgstr ""
2371 "Итерабельным является объект, способный возвращать свои элементы по одному "
2372 "за раз.\n"
2373 "Контейнеры Python (`list, tuple, dict` и т.д.) являются итерабельными,\n"
2374 "но не объекты типа `{obj_type}`.\n"
2375
2376 #: runtime_errors\type_error.py:1049
2377 msgid ""
2378 "{function} does not accept a sequence as an argument.\n"
2379 "Instead of writing `{line}`\n"
2380 "perhaps you should use the `dict.fromkeys()` method: `{new_line}`.\n"
2381 msgstr ""
2382 "{function} не принимает последовательность в качестве аргумента.\n"
2383 "Вместо того, чтобы писать `{line}`\n"
2384 "возможно, следует использовать метод `dict.fromkeys()`: `{new_line}`.\n"
2385
2386 #: runtime_errors\type_error.py:1054
2387 msgid "Perhaps you need to use the `dict.fromkeys()` method.\n"
2388 msgstr "Возможно, вам следует использовать метод `dict.fromkeys()`.\n"
2389
2390 #: runtime_errors\type_error.py:1092 runtime_errors\type_error.py:1116
2391 msgid "Did you forget to call `{name}`?\n"
2392 msgstr "Вы забыли вызвать `{name}`?\n"
2393
2394 #: runtime_errors\type_error.py:1093 runtime_errors\type_error.py:1117
2395 msgid ""
2396 "I suspect that you forgot to add parentheses to call `{name}`.\n"
2397 "You might have meant to write:\n"
2398 "`{line}`\n"
2399 msgstr ""
2400 "Предполагаю, что вы забыли добавить круглые скобки для вызова `{name}`.\n"
2401 "Возможно, вы хотели написать:\n"
2402 "`{line}`.\n"
2403
2404 #: runtime_errors\type_error.py:1131
2405 msgid ""
2406 "The function `vars` is used to list the content of the\n"
2407 "`__dict__` attribute of an object.\n"
2408 msgstr ""
2409 "Функция `vars` используется для перечисления содержимого атрибута\n"
2410 "`__dict__` объекта.\n"
2411
2412 #: runtime_errors\type_error.py:1140
2413 msgid "Object `{name}` uses `__slots__` instead of `__dict__`.\n"
2414 msgstr "Объект `{name}` использует `__slots__` вместо `__dict__`.\n"
2415
2416 #: runtime_errors\type_error.py:1144
2417 msgid ""
2418 "`{name}`, the argument of `vars`, is an object without such an attribute.\n"
2419 msgstr "`{name}`, аргумент `vars`, является объектом без такого атрибута.\n"
2420
2421 #: runtime_errors\type_error.py:1165
2422 msgid ""
2423 "You have specified the value of argument `{argument}` more than once\n"
2424 "when calling the function named `{function}`.\n"
2425 msgstr ""
2426 "Вы указали значение аргумента `{argument}` более одного раза\n"
2427 "при вызове функции с именем `{function}`.\n"
2428
2429 #: runtime_errors\type_error.py:1186
2430 msgid "This function has only one argument: `{arguments}`\n"
2431 msgstr "Эта функция принимает только один аргумент: `{arguments}`.\n"
2432
2433 #: runtime_errors\type_error.py:1190
2434 msgid ""
2435 "This function has the following arguments:\n"
2436 "`{arguments}`\n"
2437 msgstr ""
2438 "Эта функция принимает следующие аргументы:\n"
2439 "`{arguments}`\n"
2440
2441 #: runtime_errors\type_error.py:1200
2442 msgid ""
2443 "I am guessing that you were trying to count the number of elements\n"
2444 "produced by a generator expression. You first need to capture them\n"
2445 "in a list:\n"
2446 "\n"
2447 msgstr ""
2448
2449 #: runtime_errors\type_error.py:1221
2450 msgid " {new_line}\n"
2451 msgstr ""
2452
2453 #: runtime_errors\type_error.py:1222
2454 #, fuzzy
2455 #| msgid "You likely have a circular import.\n"
2456 msgid "You likely need to build a list first.\n"
2457 msgstr "Скорее всего, у вас кольцевой импорт.\n"
2458
2459 #: runtime_errors\unbound_local_error.py:31
2460 msgid ""
2461 "You're trying to use the name `{name}` identified by Python as being\n"
2462 "in the local scope of a function before having assigned it a value.\n"
2463 msgstr ""
2464 "Вы пытаетесь использовать имя `{name}`, идентифицированное Python как "
2465 "находящееся\n"
2466 "в локальной области видимости функции, прежде чем присвоить ему значение.\n"
2467
2468 #: runtime_errors\unbound_local_error.py:62
2469 msgid ""
2470 "The name `{var_name}` exists in both the global and nonlocal scope.\n"
2471 "This can be rather confusing and is not recommended.\n"
2472 "Depending on which variable you wanted to refer to, you needed to add "
2473 "either\n"
2474 "\n"
2475 " global {var_name}\n"
2476 "\n"
2477 "or\n"
2478 "\n"
2479 " nonlocal {var_name}\n"
2480 "\n"
2481 "as the first line inside your function.\n"
2482 msgstr ""
2483 "Имя `{var_name}` существует как в глобальной, так и в нелокальной областях "
2484 "видимости. Это может привести к путанице и не рекомендуется.\n"
2485 "В зависимости от того, на какую переменную вы хотите сослаться, вам нужно "
2486 "добавить либо\n"
2487 " global {var_name}\n"
2488 "либо\n"
2489 " nonlocal {var_name}\n"
2490 "в качестве первой строки внутри вашей функции.\n"
2491
2492 #: runtime_errors\unbound_local_error.py:72
2493 msgid ""
2494 "Did you forget to add either `global {var_name}` or \n"
2495 "`nonlocal {var_name}`?\n"
2496 msgstr ""
2497 "Вы забыли добавить\n"
2498 " `global {var_name}`\n"
2499 "или\n"
2500 " `nonlocal {var_name}`?\n"
2501
2502 #: runtime_errors\unbound_local_error.py:84
2503 msgid ""
2504 "`{name}` is a Python builtin function.\n"
2505 "You have tried to assign a value to `{name}` inside a function\n"
2506 "while also using its original meaning in the function.\n"
2507 "\n"
2508 "Note that it is generally not a good idea to give a local variable\n"
2509 "the same name as a Python builtin function (like `{name}`).\n"
2510 msgstr ""
2511 "`{name}` -- это встроенная функция Python.\n"
2512 "Вы попытались присвоить значение `{name}` внутри функции\n"
2513 "при этом используя ее исходное значение в функции.\n"
2514 "\n"
2515 "Обратите внимание, что обычно не стоит давать локальной переменной\n"
2516 "то же имя, что и встроенной функции Python (например, `{name}`).\n"
2517
2518 #: runtime_errors\unbound_local_error.py:101
2519 msgid ""
2520 "The name `{var_name}` exists in the {scope} scope.\n"
2521 "Perhaps the statement\n"
2522 "\n"
2523 " {scope} {var_name}\n"
2524 "\n"
2525 "should have been included as the first line inside your function.\n"
2526 msgstr ""
2527 "Имя `{var_name}` существует в области видимости {scope}.\n"
2528 "Возможно,обьявление\n"
2529 "\n"
2530 " {scope} {var_name}\n"
2531 "\n"
2532 "должно быть включено в качестве первой строки внутри вашей функции.\n"
2533
2534 #: runtime_errors\unbound_local_error.py:108
2535 msgid "Did you forget to add `{scope} {var_name}`?\n"
2536 msgstr "Вы забыли добавить `{scope} {var_name}`?\n"
2537
2538 #: runtime_errors\unbound_local_error.py:119
2539 msgid "The similar name `{name}` was found in the local scope. "
2540 msgstr "В локальной области видимости найдено похожее имя `{name}`. "
2541
2542 #: runtime_errors\value_error.py:72 runtime_errors\value_error.py:81
2543 msgid ""
2544 "In this instance, there are more names ({nb_names})\n"
2545 "than {length}, the length of the iterable.\n"
2546 msgstr ""
2547 "В данном случае количество имен ({nb_names}) больше,\n"
2548 "чем {length}, итерируемого объекта.\n"
2549
2550 #: runtime_errors\value_error.py:87
2551 msgid ""
2552 "In this instance, there are more names ({nb_names})\n"
2553 "than the length of the iterable, {iter_type} of length {length}.\n"
2554 msgstr ""
2555 "В данном случае количество имен ({nb_names}) больше,\n"
2556 "чем длина итерируемого объекта, {iter_type} длиной {length}.\n"
2557
2558 #: runtime_errors\value_error.py:105 runtime_errors\value_error.py:115
2559 msgid ""
2560 "In this instance, there are fewer names ({nb_names})\n"
2561 "than the length of the iterable.\n"
2562 msgstr ""
2563 "В данном случае имен ({nb_names}) меньше,\n"
2564 "чем длина последовательности.\n"
2565
2566 #: runtime_errors\value_error.py:121
2567 msgid ""
2568 "In this instance, there are fewer names ({nb_names})\n"
2569 "than the length of the iterable, {iter_type} of length {length}.\n"
2570 msgstr ""
2571 "В данном случае имен ({nb_names}) меньше,\n"
2572 "чем длина итерируемого объекта, {iter_type} длиной {length}.\n"
2573
2574 #: runtime_errors\value_error.py:137
2575 msgid ""
2576 "`int()` expects an argument that looks like a number in base `{base}`\n"
2577 "but you gave it an empty string.\n"
2578 msgstr ""
2579 "`int()` ожидает аргумент, который выглядит как число в базе `{base}`,\n"
2580 "но вы передали ему пустую строку.\n"
2581
2582 #: runtime_errors\value_error.py:143
2583 msgid "`{value}` is an invalid argument for `int()` in base `{base}`.\n"
2584 msgstr ""
2585 "`{value}` является недопустимым аргументом для `int()` в базе `{base}`.\n"
2586
2587 #: runtime_errors\value_error.py:159
2588 msgid "The following characters are not allowed: `{invalid}`.\n"
2589 msgstr "Недопустимы следующие символы: `{invalid}`.\n"
2590
2591 #: runtime_errors\value_error.py:171
2592 msgid ""
2593 "When base `0` is specified, `int()` expects the argument\n"
2594 "to be an integer literal, written in\n"
2595 "base 2 (`0b...`), 8 (`0o...`), 10, or 16 (`0x...`).\n"
2596 msgstr ""
2597 "Когда указано основание `0`, `int()` ожидает, что аргумент\n"
2598 "является целочисленным литералом, записанным в формате\n"
2599 "основание 2 (`0b...`), 8 (`0o...`), 10 или 16 (`0x...`).\n"
2600
2601 #: runtime_errors\value_error.py:177
2602 msgid ""
2603 "In base `{base}`, `int()` is most often use to convert a string\n"
2604 "containing the digits `0` to `{max_n}` into an integer.\n"
2605 msgstr ""
2606 "В базе `{base}`, `int()` чаще всего используется для преобразования строки,\n"
2607 "содержащей цифры от `0` до `{max_n}` в целое число.\n"
2608
2609 #: runtime_errors\value_error.py:182
2610 msgid ""
2611 "In base `11`, `int()` is most often use to convert a string\n"
2612 "containing the digits `0` to `9` and the letter `'a'` into an integer.\n"
2613 msgstr ""
2614 "В базе `11`, `int()` чаще всего используется для преобразования строки,\n"
2615 "содержащей цифры от `0` до `9` и букву `'a'`, в целое число.\n"
2616
2617 #: runtime_errors\value_error.py:187
2618 msgid ""
2619 "In base `base`, `int()` is most often use to convert a string\n"
2620 "containing the digits `0` to `9` and the letters\n"
2621 "from `'a'` to `'{max_n}'` into an integer.\n"
2622 msgstr ""
2623 "В базе `base`, `int()` чаще всего используется для преобразования строки\n"
2624 "содержащей цифры от `0` до `9` и буквы\n"
2625 "от `'a'` до `'{max_n}'`, в целое число.\n"
2626 "\n"
2627
2628 #: runtime_errors\value_error.py:203
2629 msgid "You need to convert `'{value}'` to a float first.\n"
2630 msgstr "Сначала нужно преобразовать `'{value}'` во float.\n"
2631
2632 #: runtime_errors\value_error.py:204
2633 msgid ""
2634 "The string `'{value}'` needs to be first converted using `float()`\n"
2635 "before the result can be converted into an integer using `int()`.\n"
2636 msgstr ""
2637 "Строка `'{value}'` должна быть сначала преобразована с помощью `float()`\n"
2638 "прежде чем результат будет преобразован в целое число с помощью `int()`.\n"
2639
2640 #: runtime_errors\value_error.py:216
2641 msgid ""
2642 "The argument `base` of `int()` must be either zero\n"
2643 "or any integer from 2 to 36.\n"
2644 msgstr ""
2645 "Аргумент `base` функции `int()` должен быть либо нулем\n"
2646 "или любым целым числом от 2 до 36.\n"
2647
2648 #: runtime_errors\value_error.py:224
2649 msgid "You wrote {base} which is not allowed.\n"
2650 msgstr "Вы написали {base}, что недопустимо.\n"
2651
2652 #: runtime_errors\value_error.py:235
2653 msgid "Did you specify an invalid month?\n"
2654 msgstr "Вы указали неправильный месяц?\n"
2655
2656 #: runtime_errors\value_error.py:236
2657 msgid ""
2658 "I am guessing that you specify an invalid value for a month\n"
2659 "in a `date` object. Valid values are integers, from 1 to 12.\n"
2660 msgstr ""
2661 "Предполагаю, что вы указали недопустимое значение для месяца\n"
2662 "в объекте `date`. Допустимыми значениями являются целые числа от 1 до 12.\n"
2663
2664 #: runtime_errors\value_error.py:253
2665 #, fuzzy
2666 #| msgid "The string `{string}` cannot be converted to a `float`.\n"
2667 msgid ""
2668 "The string `{string}` cannot be converted to a `float`\n"
2669 "as it does not represent a number.\n"
2670 msgstr "Строка `{string}` не может быть преобразована во `float`.\n"
2671
2672 #: runtime_errors\value_error.py:269
2673 msgid ""
2674 "The name `{var}` is used both as the name of a class variable\n"
2675 "and as a string item in the class `__slots__`;\n"
2676 "this is not allowed.\n"
2677 msgstr ""
2678 "Имя `{var}` используется и как имя переменной класса,\n"
2679 "и как строковый элемент в классе `__slots__`. Это недопустимо.\n"
2680
2681 #: runtime_errors\value_error.py:281
2682 msgid "The third argument of the function `pow()` cannot be zero.\n"
2683 msgstr "Третий аргумент функции `pow()` не может быть нулём.\n"
2684
2685 #: runtime_errors\value_error.py:310
2686 msgid ""
2687 "I do not recognize this error message.\n"
2688 "I am guessing that the problem is with the function `{name}`.\n"
2689 msgstr "Предполагаю, что проблема связана с функцией `{name}`.\n"
2690
2691 #: runtime_errors\value_error.py:316
2692 msgid ""
2693 "Its docstring is:\n"
2694 "\n"
2695 "{docstring}\n"
2696 msgstr ""
2697 "Его docstring выглядит так:\n"
2698 "\n"
2699 "{docstring}\n"
2700
2701 #: runtime_errors\value_error.py:320
2702 msgid "I have no more information.\n"
2703 msgstr "Дополнительной информации нет.\n"
2704
2705 #: runtime_errors\value_error.py:330
2706 msgid ""
2707 "The value you gave for the time is not in the format you specified.\n"
2708 "Make sure to use the same separator between items\n"
2709 "(for example, between day and month) and keep the order the same\n"
2710 "in both the data provided and the format you specified.\n"
2711 "The following table might be useful:\n"
2712 "https://docs.python.org/3/library/time.html#time.strftime\n"
2713 "The following site might also be useful: https://www.strfti.me/\n"
2714 msgstr ""
2715 "Значение, которое вы указали для времени, не соответствует указанному "
2716 "формату.\n"
2717 "Убедитесь, что между элементами используется одинаковый разделитель\n"
2718 "(например, между днем и месяцем) и соблюдайте одинаковый порядок\n"
2719 "как в предоставленных данных, так и в указанном вами формате.\n"
2720 "Следующая таблица может оказаться полезной:\n"
2721 "https://docs.python.org/3/library/time.html#time.strftime\n"
2722 "Следующий сайт также может быть полезен: https://www.strfti.me/\n"
2723
2724 #: runtime_errors\value_error.py:365
2725 msgid ""
2726 "You have attempted to remove `{item}` from the list `{the_list}`.\n"
2727 "However, `{the_list}` does not contain `{item}`.\n"
2728 msgstr ""
2729
2730 #: runtime_errors\value_error.py:370
2731 msgid ""
2732 "You have attempted to remove an item from the list `{the_list}`.\n"
2733 "However, `{the_list}` does not contain that item.\n"
2734 msgstr ""
2735
2736 #: runtime_errors\value_error.py:375
2737 msgid ""
2738 "You have attempted to remove an item a list that does not contain such an "
2739 "item.\n"
2740 msgstr ""
2741
2742 #: runtime_errors\value_error.py:391
2743 msgid ""
2744 "An explanation of `{exception}` already exists.\n"
2745 "If you think that a better explanation can be given, please file an issue.\n"
2746 msgstr ""
2747
2748 #: runtime_errors\zero_division_error.py:20
2749 #, fuzzy
2750 #| msgid "Using the modulo operator, you are dividing by zero.\n"
2751 msgid "Using the modulo operator, `%`, you are dividing by zero.\n"
2752 msgstr "Используя оператор modulo, вы делите на ноль.\n"
2753
2754 #: runtime_errors\zero_division_error.py:21
2755 msgid "You are dividing by zero.\n"
2756 msgstr "Вы делите на ноль.\n"
2757
2758 #: runtime_errors\zero_division_error.py:41
2759 #: runtime_errors\zero_division_error.py:73
2760 msgid ""
2761 "You are dividing by the following term\n"
2762 "\n"
2763 " {expression}\n"
2764 "\n"
2765 "which is equal to zero.\n"
2766 msgstr ""
2767 "Вы делите на следующее выражение\n"
2768 "\n"
2769 " {expression}\n"
2770 "\n"
2771 "которое равно нулю.\n"
2772
2773 #: runtime_errors\zero_division_error.py:53
2774 #: runtime_errors\zero_division_error.py:127
2775 msgid "<'expression not found'>"
2776 msgstr "<'выражение не найдено'>"
2777
2778 #: runtime_errors\zero_division_error.py:54
2779 msgid ""
2780 "The following mathematical expression includes a division by zero:\n"
2781 "\n"
2782 " {expression}\n"
2783 msgstr ""
2784 "Следующее математическое выражение включает в себя деление на ноль:\n"
2785 "\n"
2786 " {expression}\n"
2787
2788 #: runtime_errors\zero_division_error.py:85
2789 #: runtime_errors\zero_division_error.py:120
2790 #, fuzzy
2791 #| msgid ""
2792 #| "Using the modulo operator, you are dividing by the following term\n"
2793 #| "\n"
2794 #| " {expression}\n"
2795 #| "\n"
2796 #| "which is equal to zero.\n"
2797 msgid ""
2798 "Using the modulo operator, `%`, you are dividing by the following term\n"
2799 "\n"
2800 " {expression}\n"
2801 "\n"
2802 "which is equal to zero.\n"
2803 msgstr ""
2804 "Используя оператор modulo, вы делите на следующий член\n"
2805 "\n"
2806 " {expression}\n"
2807 "\n"
2808 "равный нулю.\n"
2809
2810 #: runtime_errors\zero_division_error.py:93
2811 msgid "The second argument of the `divmod()` function is zero.\n"
2812 msgstr "Второй аргумент функции `divmod()` равен нулю.\n"
2813
2814 #: runtime_errors\zero_division_error.py:104
2815 msgid ""
2816 "You are attempting to raise the number 0 to a negative power\n"
2817 "which is equivalent to dividing by zero.\n"
2818 msgstr ""
2819 "Вы пытаетесь возвести число 0 в отрицательную степень.\n"
2820 "что эквивалентно делению на ноль.\n"
2821
2822 #: runtime_errors\zero_division_error.py:128
2823 msgid ""
2824 "The following mathematical expression includes a division by zero\n"
2825 "done using the modulo operator:\n"
2826 "\n"
2827 " {expression}\n"
2828 msgstr ""
2829 "Следующее математическое выражение включает деление на ноль\n"
2830 "выполненное с помощью оператора modulo:\n"
2831 "\n"
2832 " {expression}\n"
2833
2834 #: runtime_errors\zero_division_error.py:143
2835 msgid "The second argument of the `divmod()` function is equal to zero.\n"
2836 msgstr "Второй аргумент функции `divmod()` равен нулю.\n"
2837
2838 #: syntax_errors\analyze_syntax.py:29
2839 msgid ""
2840 "Currently, I cannot guess the likely cause of this error.\n"
2841 "Try to examine closely the line indicated as well as the line\n"
2842 "immediately above to see if you can identify some misspelled\n"
2843 "word, or missing symbols, like (, ), [, ], :, etc.\n"
2844 "\n"
2845 "Unless your code uses type annotations, which are beyond our scope,\n"
2846 "if you think that this is something which should be handled\n"
2847 "by friendly, please report this case to\n"
2848 "https://github.com/friendly-traceback/friendly-traceback/issues\n"
2849 "\n"
2850 msgstr ""
2851 "В настоящее время я не могу предположить вероятную причину этой ошибки.\n"
2852 "Попробуйте внимательно изучить указанную строку, а также строку\n"
2853 "расположенную непосредственно над ней, и попробуйте определить,не написано "
2854 "ли какое-нибудь слово или\n"
2855 "недостающие символы, такие как (, ), [, ], :, и т.д.\n"
2856 "\n"
2857 "Если только в вашем коде не используются аннотации типов, которые выходят за "
2858 "рамки нашей темы.\n"
2859 "Если вы считаете, что это то, что должно быть обработано\n"
2860 "более корректно, пожалуйста, сообщите об этом случае по адресу\n"
2861 "https://github.com/friendly-traceback/friendly-traceback/issues\n"
2862
2863 #: syntax_errors\analyze_syntax.py:72
2864 msgid ""
2865 "Python told us that it expected a colon at the position indicated.\n"
2866 "However, adding a colon or replacing something else by a colon\n"
2867 "would not fix the problem.\n"
2868 msgstr ""
2869 "Python сообщил нам, что ожидает двоеточие в указанном месте.\n"
2870 "Однако добавление двоеточия или замена чего-то другого на двоеточие\n"
2871 "не устранит проблему.\n"
2872
2873 #: syntax_errors\analyze_syntax.py:86
2874 msgid ""
2875 "Python gave us the following informative message\n"
2876 "about the possible cause of the error:\n"
2877 "\n"
2878 " {message}\n"
2879 "\n"
2880 "However, I do not recognize this information and I have\n"
2881 "to guess what caused the problem, but I might be wrong.\n"
2882 "\n"
2883 msgstr ""
2884 "Python выдал нам следующее сообщение\n"
2885 "о возможной причине ошибки:\n"
2886 "\n"
2887 " {message}\n"
2888 "\n"
2889 "Однако я не распознал эту информацию, и мне приходится\n"
2890 "только гадать, что вызвало проблему, и я могу ошибаться.\n"
2891 "\n"
2892
2893 #: syntax_errors\error_in_def.py:19 syntax_errors\statement_analyzer.py:20
2894 msgid ""
2895 "However, making such a change would still not correct\n"
2896 "all the syntax errors in the code you wrote.\n"
2897 msgstr ""
2898 "Однако такое изменение все равно не исправит\n"
2899 "все синтаксические ошибки в вашем коде.\n"
2900
2901 #: syntax_errors\error_in_def.py:28
2902 msgid ""
2903 "The correct syntax is:\n"
2904 "\n"
2905 " {async_}def name ( ... ):"
2906 msgstr ""
2907 "Правильный синтаксис следующий:\n"
2908 "\n"
2909 " {async_}def name ( ... ):"
2910
2911 #: syntax_errors\error_in_def.py:80
2912 msgid "A function needs a name.\n"
2913 msgstr "Функция нуждается в имени.\n"
2914
2915 #: syntax_errors\error_in_def.py:81
2916 msgid "You tried to define a function and did not use the correct syntax.\n"
2917 msgstr ""
2918 "Вы пытались определить функцию и использовали неправильный синтаксис.\n"
2919
2920 #: syntax_errors\error_in_def.py:85
2921 msgid "Functions and methods need a name.\n"
2922 msgstr "Функции и методы нуждаются в именах.\n"
2923
2924 #: syntax_errors\error_in_def.py:86
2925 msgid ""
2926 "You tried to define a function or method and did not use the correct "
2927 "syntax.\n"
2928 msgstr ""
2929 "Вы пытались определить функцию или метод и использовали неправильный "
2930 "синтаксис.\n"
2931
2932 #: syntax_errors\error_in_def.py:116 syntax_errors\error_in_def.py:147
2933 #: syntax_errors\message_analyzer.py:1111
2934 #: syntax_errors\message_analyzer.py:1649
2935 #: syntax_errors\statement_analyzer.py:1312
2936 #: syntax_errors\statement_analyzer.py:1331
2937 msgid "Did you forget parentheses?\n"
2938 msgstr "Вы забыли про скобки?\n"
2939
2940 #: syntax_errors\error_in_def.py:117 syntax_errors\error_in_def.py:148
2941 msgid ""
2942 "Perhaps you forgot to include parentheses.\n"
2943 "You might have meant to write\n"
2944 "\n"
2945 " {line}\n"
2946 msgstr ""
2947 "Возможно, вы забыли поставить круглые скобки.\n"
2948 "Возможно, вы хотели написать\n"
2949 "\n"
2950 " {line}\n"
2951
2952 #: syntax_errors\error_in_def.py:175
2953 msgid "A function definition statement must end with a colon.\n"
2954 msgstr "Оператор определения функции должен заканчиваться двоеточием.\n"
2955
2956 #: syntax_errors\error_in_def.py:181 syntax_errors\error_in_def.py:205
2957 msgid "Did you forget to write a colon?\n"
2958 msgstr "Вы забыли поставить двоеточие?\n"
2959
2960 #: syntax_errors\error_in_def.py:182 syntax_errors\message_analyzer.py:765
2961 msgid "You wrote `{bad}` instead of a colon.\n"
2962 msgstr "Вы поставили `{bad}` вместо двоеточия.\n"
2963
2964 #: syntax_errors\error_in_def.py:191
2965 msgid "Did you write something by mistake after the colon?\n"
2966 msgstr "После двоеточия вы написали что-то по ошибке?\n"
2967
2968 #: syntax_errors\error_in_def.py:192
2969 msgid "A block of code must come after the colon.\n"
2970 msgstr "Блок кода должен идти после двоеточия.\n"
2971
2972 #: syntax_errors\error_in_def.py:193
2973 msgid "Removing `{bad}`, might fix the problem.\n"
2974 msgstr "Удаление `{bad}` может решить проблему.\n"
2975
2976 #: syntax_errors\error_in_def.py:225
2977 msgid "You cannot use a Python keyword as a function name.\n"
2978 msgstr ""
2979 "Вы не можете использовать ключевое слово Python в качестве имени функции.\n"
2980
2981 #: syntax_errors\error_in_def.py:226
2982 msgid "You tried to use the Python keyword `{kwd}` as a function name.\n"
2983 msgstr ""
2984 "Вы попытались использовать ключевое слово Python `{kwd}`\n"
2985 "в качестве имени функции.\n"
2986
2987 #: syntax_errors\error_in_def.py:234
2988 msgid "There are more syntax errors later in your code.\n"
2989 msgstr "В дальнейшем в вашем коде будет больше синтаксических ошибок.\n"
2990
2991 #: syntax_errors\error_in_def.py:257
2992 msgid "You wrote an invalid function name.\n"
2993 msgstr "Это недопустимое имя функции.\n"
2994
2995 #: syntax_errors\error_in_def.py:258
2996 msgid ""
2997 "The name of a function must be a valid Python identifier,\n"
2998 "that is a name that begins with a letter or an underscore character, `_`,\n"
2999 "and which contains only letters, digits or the underscore character.\n"
3000 msgstr ""
3001 "Имя функции должно быть допустимым идентификатором Python,\n"
3002 "то есть именем, которое начинается с буквы или символа подчеркивания, `_`,\n"
3003 "и которое содержит только буквы, цифры или символ подчеркивания.\n"
3004
3005 #: syntax_errors\error_in_def.py:264
3006 msgid "You attempted to use a string as a function name.\n"
3007 msgstr "Вы попытались использовать строку в качестве имени функции.\n"
3008
3009 #: syntax_errors\error_in_def.py:285
3010 msgid "You forgot to name your function.\n"
3011 msgstr "Вы забыли назвать свою функцию.\n"
3012
3013 #: syntax_errors\error_in_def.py:293
3014 msgid "However, there are some other syntax errors in your code.\n"
3015 msgstr "Однако в вашем коде есть и другие синтаксические ошибки.\n"
3016
3017 #: syntax_errors\error_in_def.py:314
3018 msgid ""
3019 "I am guessing that you tried to use the Python keyword\n"
3020 "`{kwd}` as an argument in the definition of a function\n"
3021 "where an identifier (variable name) was expected.\n"
3022 msgstr ""
3023 "Предполагаю, что вы пытались использовать ключевое слово Python\n"
3024 "`{kwd}` в качестве аргумента в определении функции\n"
3025 "где ожидался идентификатор (имя переменной).\n"
3026
3027 #: syntax_errors\error_in_def.py:329
3028 msgid "You cannot use dotted names as function arguments.\n"
3029 msgstr "Нельзя использовать точечные имена в качестве аргументов функций.\n"
3030
3031 #: syntax_errors\error_in_def.py:331
3032 msgid "Perhaps you meant to write a comma.\n"
3033 msgstr "Возможно, вы хотели поставить запятую.\n"
3034
3035 #: syntax_errors\error_in_def.py:332 syntax_errors\error_in_def.py:524
3036 #: syntax_errors\statement_analyzer.py:827 syntax_errors\syntax_utils.py:119
3037 msgid "Did you mean to write a comma?\n"
3038 msgstr "Вы хотели поставить запятую?\n"
3039
3040 #: syntax_errors\error_in_def.py:336
3041 msgid "You cannot use dots in function names.\n"
3042 msgstr "В именах функций нельзя использовать точки.\n"
3043
3044 #: syntax_errors\error_in_def.py:345
3045 msgid ""
3046 "`/` indicates that the previous arguments in a function definition\n"
3047 "are positional arguments.\n"
3048 msgstr ""
3049 "`/` указывает, что предыдущие аргументы в определении функции\n"
3050 "являются позиционными аргументами.\n"
3051
3052 #: syntax_errors\error_in_def.py:351
3053 msgid ""
3054 "Function definitions cannot include the symbol `/` in this Python version.\n"
3055 msgstr ""
3056 "Определения функций не могут включать символ `/` в этой версии Python.\n"
3057
3058 #: syntax_errors\error_in_def.py:354
3059 msgid ""
3060 "This symbol can only be used with Python versions 3.8.0 or newer.\n"
3061 "You are using Python version {version}.\n"
3062 msgstr ""
3063 "Этот символ можно использовать только с Python версии 3.8.0 или новее.\n"
3064 "Вы же используете Python версии {version}.\n"
3065
3066 #: syntax_errors\error_in_def.py:363
3067 msgid ""
3068 "You have unspecified keyword arguments that appear before\n"
3069 "the symbol `/`.\n"
3070 msgstr ""
3071 "У вас есть неопределенные аргументы в виде ключевых слов, которые идут\n"
3072 "перед символом `/`.\n"
3073
3074 #: syntax_errors\error_in_def.py:367
3075 msgid "Keyword arguments must appear after the `/` symbol.\n"
3076 msgstr "Ключевые аргументы должны идти после символа `/`.\n"
3077
3078 #: syntax_errors\error_in_def.py:372
3079 msgid ""
3080 "However, `*` indicates that the arguments\n"
3081 "that follow must be keyword arguments.\n"
3082 "When they are used together, `/` must appear before `*`.\n"
3083 msgstr ""
3084 "`*` указывает, что аргументы,\n"
3085 "которые следуют за ним, должны быть ключевыми.\n"
3086 "Когда они используются вместе, `/` должно идти перед `*`.\n"
3087
3088 #: syntax_errors\error_in_def.py:377
3089 msgid "`*` must appear after `/` in a function definition.\n"
3090 msgstr "`*` должен идти после `/` в определении функции.\n"
3091
3092 #: syntax_errors\error_in_def.py:379
3093 msgid "`*{name}` must appear after `/` in a function definition.\n"
3094 msgstr "`*{name}` должно идти после `/` в определении функции.\n"
3095
3096 #: syntax_errors\error_in_def.py:386
3097 msgid "You can only use `/` once in a function definition.\n"
3098 msgstr "Вы можете использовать `/` только один раз в определении функции.\n"
3099
3100 #: syntax_errors\error_in_def.py:400
3101 msgid "You can only use `*` once in a function definition.\n"
3102 msgstr "Вы можете использовать `*` только один раз в определении функции.\n"
3103
3104 #: syntax_errors\error_in_def.py:406
3105 msgid "You have used it twice, with `*{first}` and `*{second}`.\n"
3106 msgstr "Вы использовали его дважды, с `*{first}` и `*{second}`.\n"
3107
3108 #: syntax_errors\error_in_def.py:414
3109 msgid ""
3110 "It must either be used by itself, `*`,\n"
3111 "or in the form `*{args}`, but not both.\n"
3112 msgstr ""
3113 "Он должен использоваться либо сам по себе, `*`,\n"
3114 "либо в виде `*{args}`, но не в обоих случаях.\n"
3115
3116 #: syntax_errors\error_in_def.py:423
3117 msgid "`*{args}` must appear before `**{kwargs}`.\n"
3118 msgstr "`*{args}` должен идти перед `**{kwargs}`.\n"
3119
3120 #: syntax_errors\error_in_def.py:427
3121 msgid "`**{kwargs}` must appear after the `*` operator.\n"
3122 msgstr "`**{kwargs}` должны идти после оператора `*`.\n"
3123
3124 #: syntax_errors\error_in_def.py:441
3125 msgid "You cannot use numbers as function arguments.\n"
3126 msgstr "Вы не можете использовать числа в качестве аргументов функций.\n"
3127
3128 #: syntax_errors\error_in_def.py:442
3129 msgid ""
3130 "You used a number as an argument when defining a function.\n"
3131 "You can only use identifiers (variable names) as function arguments.\n"
3132 msgstr ""
3133 "Вы использовали число в качестве аргумента при определении функции.\n"
3134 "В качестве аргументов функции можно использовать только идентификаторы "
3135 "(имена переменных).\n"
3136
3137 #: syntax_errors\error_in_def.py:454
3138 msgid "You cannot use strings as function arguments.\n"
3139 msgstr "Вы не можете использовать строки в качестве аргументов функций.\n"
3140
3141 #: syntax_errors\error_in_def.py:455
3142 msgid ""
3143 "You used a string as an argument when defining a function.\n"
3144 "You can only use identifiers (variable names) as function arguments.\n"
3145 msgstr ""
3146 "Вы использовали строку в качестве аргумента при определении функции.\n"
3147 "В качестве аргументов функции можно использовать только идентификаторы "
3148 "(имена переменных).\n"
3149
3150 #: syntax_errors\error_in_def.py:467
3151 msgid "You cannot have explicit tuples as function arguments.\n"
3152 msgstr "Вы не можете иметь явные кортежи в качестве аргументов функции.\n"
3153
3154 #: syntax_errors\error_in_def.py:469
3155 msgid ""
3156 "You can only use identifiers (variable names) as function arguments.\n"
3157 "Assign any tuple to a parameter and unpack it\n"
3158 "within the body of the function.\n"
3159 msgstr ""
3160 "В качестве аргументов функции можно использовать только идентификаторы "
3161 "(имена переменных).\n"
3162 "Присвойте любой кортеж параметру и распакуйте его в теле функции.\n"
3163
3164 #: syntax_errors\error_in_def.py:482
3165 msgid "You cannot have explicit lists as function arguments.\n"
3166 msgstr ""
3167 "Вы не можете иcпользовать явные списки в качестве аргументов функции.\n"
3168
3169 #: syntax_errors\error_in_def.py:483 syntax_errors\error_in_def.py:495
3170 msgid "You can only use identifiers (variable names) as function arguments.\n"
3171 msgstr ""
3172 "В качестве аргументов функций можно использовать только идентификаторы "
3173 "(имена переменных).\n"
3174
3175 #: syntax_errors\error_in_def.py:494
3176 msgid "You cannot have any explicit dict or set as function arguments.\n"
3177 msgstr ""
3178 "В качестве аргументов функции нельзя использовать явные словари или "
3179 "множества.\n"
3180
3181 #: syntax_errors\error_in_def.py:517
3182 msgid "You cannot have operators as function arguments.\n"
3183 msgstr "Вы не можете использовать операторы в качестве аргументов функции.\n"
3184
3185 #: syntax_errors\error_in_def.py:525
3186 msgid ""
3187 "I suspect you made a typo and wrote `{op}` instead of a comma.\n"
3188 "The following statement contains no syntax error:\n"
3189 "\n"
3190 " {new_statement}"
3191 msgstr ""
3192 "Предполагаю, что вы допустили опечатку и написали `{op}` вместо запятой.\n"
3193 "Следующее утверждение не содержит синтаксической ошибки:\n"
3194 "\n"
3195 " {new_statement}"
3196
3197 #: syntax_errors\error_in_def.py:537
3198 msgid "Did you mean to write an equal sign?\n"
3199 msgstr "Вы хотели поставить знак равенства?\n"
3200
3201 #: syntax_errors\error_in_def.py:538
3202 msgid ""
3203 "I suspect you made a typo and wrote `{op}` instead of an equal sign.\n"
3204 "The following statement contains no syntax error:\n"
3205 "\n"
3206 " {new_statement}"
3207 msgstr ""
3208 "Предполагаю, что вы допустили опечатку и написали `{op}`\n"
3209 "вместо знака равенства.\n"
3210 "Следующее утверждение не содержит синтаксической ошибки:\n"
3211 "\n"
3212 " {new_statement}"
3213
3214 #: syntax_errors\error_in_def.py:550
3215 msgid "Did you mean to write `{op}`?\n"
3216 msgstr "Вы хотели написать `{op}`?\n"
3217
3218 #: syntax_errors\error_in_def.py:551
3219 msgid ""
3220 "I suspect you made a typo and added `{op}` by mistake.\n"
3221 "The following statement contains no syntax error:\n"
3222 "\n"
3223 " {new_statement}"
3224 msgstr ""
3225 "Предполагаю, что вы допустили опечатку и добавили `{op}` по ошибке.\n"
3226 "Следующий оператор не содержит синтаксических ошибок:\n"
3227 "\n"
3228 " {new_statement}"
3229
3230 #: syntax_errors\error_in_def.py:567
3231 msgid "You cannot use `{op}` as an argument.\n"
3232 msgstr "Вы не можете использовать `{op}` в качестве аргумента.\n"
3233
3234 #: syntax_errors\error_in_def.py:571
3235 msgid ""
3236 "I suspect you made a typo and wrote `{op}` by mistake.\n"
3237 "If you replace it by a unique variable name, the result\n"
3238 "will contain no syntax error.\n"
3239 msgstr ""
3240 "Предполагаю, что вы допустили опечатку и по ошибке написали `{op}`.\n"
3241 "Если вы замените его на уникальное имя переменной,\n"
3242 "результат не будет содержать синтаксической ошибки.\n"
3243
3244 #: syntax_errors\error_in_def.py:579
3245 msgid ""
3246 "I suspect you made a typo and wrote `{op}` by mistake,\n"
3247 "perhaps instead of writing an identifier (variable name).\n"
3248 msgstr ""
3249 "Предполагаю, что вы допустили опечатку и по ошибке написали `{op}`,\n"
3250 "вместо идентификатора (имени переменной).\n"
3251
3252 #: syntax_errors\error_in_def.py:588
3253 msgid ""
3254 "The `**` operator needs to be followed by an identifier (variable name).\n"
3255 msgstr "За оператором `**` должен следовать идентификатор (имя переменной).\n"
3256
3257 #: syntax_errors\error_in_def.py:611
3258 msgid "Positional arguments must come before keyword arguments.\n"
3259 msgstr "Позиционные аргументы должны идти перед ключевыми аргументами.\n"
3260
3261 #: syntax_errors\error_in_def.py:612
3262 msgid ""
3263 "`{arg}` is a positional argument that appears after one or more\n"
3264 "keyword arguments in your function definition.\n"
3265 msgstr ""
3266 "`{arg}` -- это позиционный аргумент, который находится после одного или\n"
3267 "нескольких ключевых аргументов в определении вашей функции.\n"
3268
3269 #: syntax_errors\indentation_error.py:11
3270 msgid "Line `{number}` identified above is more indented than expected.\n"
3271 msgstr ""
3272 "Строка `{number}`, определенная выше, имеет больший отступ, чем требуется.\n"
3273
3274 #: syntax_errors\indentation_error.py:15
3275 msgid ""
3276 "Line `{number}` identified above was expected to begin a new indented "
3277 "block.\n"
3278 msgstr ""
3279 "Ожидалось, что строка `{number}`, указанная выше, начнет новый блок с "
3280 "отступом.\n"
3281
3282 #: syntax_errors\indentation_error.py:20
3283 msgid "Line `{number}` identified above is less indented than expected.\n"
3284 msgstr ""
3285 "Строка `{number}`, определенная выше, имеет меньший отступ, чем требуется..\n"
3286
3287 #: syntax_errors\indentation_error.py:32
3288 msgid ""
3289 "However, line {number}, which is identified as having a problem,\n"
3290 "consists of a single string which is also the case\n"
3291 "for the preceding line.\n"
3292 "Perhaps you meant to include a continuation character, `\\`,\n"
3293 "at the end of line {preceding}.\n"
3294 msgstr ""
3295 "Строка {number}, которая идентифицируется как имеющая проблему,\n"
3296 "состоит из одной строки, что также характерно и для\n"
3297 "для предыдущей строки.\n"
3298 "Возможно, вы хотели включить символ продолжения `\\`,\n"
3299 "в конце строки {preceding}.\n"
3300
3301 #: syntax_errors\message_analyzer.py:22
3302 msgid "You can only assign objects to identifiers (variable names).\n"
3303 msgstr ""
3304 "Вы можете присваивать объекты только идентификаторам (именам переменных)\n"
3305
3306 #: syntax_errors\message_analyzer.py:26
3307 #: syntax_errors\statement_analyzer.py:1657
3308 msgid ""
3309 "You can only delete names of objects, or items in mutable containers\n"
3310 "such as `list`, `set`, or `dict`.\n"
3311 msgstr ""
3312 "Вы можете удалять только имена объектов или элементы в изменяемых "
3313 "контейнерах, таких как `list`, `set` или `dict`.\n"
3314
3315 #: syntax_errors\message_analyzer.py:54
3316 msgid "of type `int`"
3317 msgstr "типа `int`"
3318
3319 #: syntax_errors\message_analyzer.py:55
3320 msgid "of type `complex`"
3321 msgstr "типа `complex`"
3322
3323 #: syntax_errors\message_analyzer.py:56
3324 msgid "of type `float`"
3325 msgstr "типа `float`"
3326
3327 #: syntax_errors\message_analyzer.py:57
3328 msgid "of type `str`"
3329 msgstr "типа `str`"
3330
3331 #: syntax_errors\message_analyzer.py:58
3332 msgid "of type `dict`"
3333 msgstr "типа `dict`"
3334
3335 #: syntax_errors\message_analyzer.py:59
3336 msgid "of type `list`"
3337 msgstr "типа `list`"
3338
3339 #: syntax_errors\message_analyzer.py:60
3340 msgid "of type `set`"
3341 msgstr "типа `set`"
3342
3343 #: syntax_errors\message_analyzer.py:61
3344 msgid "of type `tuple`"
3345 msgstr "типа `tuple`"
3346
3347 #: syntax_errors\message_analyzer.py:81 syntax_errors\message_analyzer.py:91
3348 msgid "Did you mean `{num}`?\n"
3349 msgstr "Вы имели в виду `{num}`?\n"
3350
3351 #: syntax_errors\message_analyzer.py:82
3352 msgid ""
3353 "Perhaps you meant to write the octal number `{num}`\n"
3354 "and forgot the letter 'o', or perhaps you meant to write\n"
3355 "a decimal integer and did not know that it could not start with zeros.\n"
3356 msgstr ""
3357 "Возможно, вы хотели написать восьмеричное число `{num}`.\n"
3358 "и забыли букву 'о', или, возможно, вы хотели написать\n"
3359 "десятичное целое число и не знали, что оно не может начинаться с нулей.\n"
3360
3361 #: syntax_errors\message_analyzer.py:92
3362 msgid ""
3363 "Perhaps you meant to write the integer `{num}`\n"
3364 "and did not know that it could not start with zeros.\n"
3365 msgstr ""
3366 "Возможно, вы хотели написать целое число `{num}`\n"
3367 "и не знали, что оно не может начинаться с нулей.\n"
3368
3369 #: syntax_errors\message_analyzer.py:131
3370 msgid ""
3371 "On the left-hand side of an equal sign, you have a\n"
3372 "conditional expression instead of the name of a variable.\n"
3373 "A conditional expression has the following form:\n"
3374 "\n"
3375 " variable = object if condition else other_object\n"
3376 msgstr ""
3377 "Вместо имени переменной слева от знака равенства находится\n"
3378 "условное выражение. Оно имеет следующий вид:\n"
3379 "\n"
3380 " variable = object if условие else other_object\n"
3381
3382 #: syntax_errors\message_analyzer.py:149
3383 msgid ""
3384 "On the left-hand side of an equal sign, you have a\n"
3385 "conditional expression instead of the name of a variable.\n"
3386 " {expression} = ...\n"
3387 " {mark}\n"
3388 msgstr ""
3389 "С левой стороны от знака равенства находится\n"
3390 "условное выражение вместо имени переменной.\n"
3391 "{expression} = ...\n"
3392 "{mark}\n"
3393 "\n"
3394
3395 #: syntax_errors\message_analyzer.py:170
3396 msgid ""
3397 "On the left-hand side of an equal sign, you have\n"
3398 "an expression instead of the name of a variable.\n"
3399 msgstr ""
3400 "Слева от знака равенства\n"
3401 "выражение вместо имени переменной.\n"
3402
3403 #: syntax_errors\message_analyzer.py:195
3404 msgid ""
3405 "You wrote the expression\n"
3406 "\n"
3407 " {fn_call} = ...\n"
3408 "where `{fn_call}`, on the left-hand side of the equal sign, either is\n"
3409 "or includes a function call and is not simply the name of a variable.\n"
3410 msgstr ""
3411 "Вы написали выражение\n"
3412 "\n"
3413 " {fn_call} = ...\n"
3414 "где `{fn_call}`, слева от знака равенства, либо является\n"
3415 "либо включает вызов функции и не является просто именем переменной.\n"
3416 "\n"
3417
3418 #: syntax_errors\message_analyzer.py:207
3419 msgid ""
3420 "You wrote the expression\n"
3421 "\n"
3422 " {fn_call} = ...\n"
3423 " {mark}\n"
3424 "where `{fn_call}`, on the left-hand side of the equal sign, either is\n"
3425 "or includes a function call and is not simply the name of a variable.\n"
3426 msgstr ""
3427 "Вы написали выражение\n"
3428 "\n"
3429 " {fn_call} = ...\n"
3430 " {mark}\n"
3431 "где `{fn_call}`, слева от знака равенства, либо является\n"
3432 "либо включает вызов функции и не является просто именем переменной.\n"
3433
3434 #: syntax_errors\message_analyzer.py:228
3435 msgid ""
3436 "On the left-hand side of an equal sign, you have a\n"
3437 "generator expression instead of the name of a variable.\n"
3438 msgstr ""
3439 "Слева от знака равенства генераторное выражение\n"
3440 "вместо имени переменной.\n"
3441
3442 #: syntax_errors\message_analyzer.py:246 syntax_errors\message_analyzer.py:372
3443 msgid ""
3444 "You wrote an expression that has the f-string `{fstring}`\n"
3445 "on the left-hand side of the equal sign.\n"
3446 "An f-string should only appear on the right-hand side of an equal sign.\n"
3447 msgstr ""
3448 "Вы написали выражение, в котором f-строка `{fstring}`\n"
3449 "находится слева от знака равенства.\n"
3450 "f-строка должна находиться только справа от знака равенства.\n"
3451
3452 #: syntax_errors\message_analyzer.py:290 syntax_errors\message_analyzer.py:1018
3453 msgid "You cannot assign a value to `{keyword}`.\n"
3454 msgstr "Вы не можете присвоить значение `{keyword}`.\n"
3455
3456 #: syntax_errors\message_analyzer.py:293
3457 msgid "You cannot assign a value to the ellipsis symbol [`...`].\n"
3458 msgstr "Многоточию (ellipsis) [`...`] нельзя присвоить значение.\n"
3459
3460 #: syntax_errors\message_analyzer.py:294
3461 msgid ""
3462 "The ellipsis symbol `...` is a constant in Python;you cannot assign it a "
3463 "different value.\n"
3464 msgstr ""
3465 "Многоточие (ellipsis) `...` является константой в Python; вы не можете "
3466 "присвоить ему другое значение.\n"
3467
3468 #: syntax_errors\message_analyzer.py:299
3469 msgid ""
3470 "`{keyword}` is a constant in Python; you cannot assign it a different "
3471 "value.\n"
3472 msgstr ""
3473 "`{keyword}` является константой в Python; вы не можете присвоить ему другое "
3474 "значение.\n"
3475 "\n"
3476
3477 #: syntax_errors\message_analyzer.py:304
3478 #: syntax_errors\statement_analyzer.py:1021
3479 msgid ""
3480 "You were trying to assign a value to the Python keyword `{keyword}`.\n"
3481 "This is not allowed.\n"
3482 "\n"
3483 msgstr ""
3484 "Вы пытались присвоить значение `{keyword}`, ключевому слову Python.\n"
3485 "Это недопустимо.\n"
3486 "\n"
3487
3488 #: syntax_errors\message_analyzer.py:324
3489 msgid ""
3490 "A for loop must have the form:\n"
3491 "\n"
3492 " for ... in sequence:\n"
3493 "\n"
3494 "where `...` must contain only identifiers (variable names)\n"
3495 "and not literals like `{bad_token}`.\n"
3496 msgstr ""
3497 "Цикл for должен иметь вид:\n"
3498 "\n"
3499 " for ... in sequence:\n"
3500 "\n"
3501 "где `...` должен содержать только идентификаторы (имена переменных)\n"
3502 "а не литералы типа `{bad_token}`.\n"
3503
3504 #: syntax_errors\message_analyzer.py:381
3505 msgid "variable_name"
3506 msgstr "variable_name"
3507
3508 #: syntax_errors\message_analyzer.py:385
3509 msgid ""
3510 "Perhaps you meant to write:\n"
3511 "\n"
3512 " {name} = {literal}\n"
3513 "\n"
3514 msgstr ""
3515 "Возможно, вы хотели написать:\n"
3516 "\n"
3517 " {name} = {literal}\n"
3518 "\n"
3519
3520 #: syntax_errors\message_analyzer.py:391
3521 msgid "Perhaps you meant to write `{name} = {literal}`"
3522 msgstr "Возможно, вы хотели написать `{name} = {literal}`"
3523
3524 #: syntax_errors\message_analyzer.py:410
3525 msgid ""
3526 "You wrote an expression like\n"
3527 "\n"
3528 " {literal} = {name}\n"
3529 "where `{literal}`, on the left-hand side of the equal sign,\n"
3530 "is or includes an actual object {of_type}\n"
3531 "and is not simply the name of a variable.\n"
3532 msgstr ""
3533 "Вы написали выражение типа\n"
3534 "\n"
3535 " {literal} = {name}\n"
3536 "где `{literal}`, слева от знака равенства,\n"
3537 "является или включает в себя реальный объект {of_type}\n"
3538 "а не просто имя переменной.\n"
3539
3540 #: syntax_errors\message_analyzer.py:420
3541 #, fuzzy
3542 #| msgid ""
3543 #| "It is possible that you used an equal sign `=` instead of a colon `:`\n"
3544 #| "to assign values to keys in a dict\n"
3545 #| "before or at the position indicated by ^.\n"
3546 msgid ""
3547 "It is possible that you used an equal sign `=` instead of a colon `:`\n"
3548 "to assign values to keys in a dict.\n"
3549 msgstr ""
3550 "Возможно, что вы использовали знак равенства `=` вместо двоеточия `:`\n"
3551 "для присвоения значений ключам в словаре,\n"
3552 "до или в позиции, обозначенной ^.\n"
3553
3554 #: syntax_errors\message_analyzer.py:438
3555 msgid ""
3556 "You wrote an expression that includes some mathematical operations\n"
3557 "on the left-hand side of the equal sign which should be\n"
3558 "only used to assign a value to a variable.\n"
3559 msgstr ""
3560 "Вы написали выражение, включающее некоторые математические операции\n"
3561 "слева от знака равенства, который следует\n"
3562 "использовать только для присвоения значения переменной.\n"
3563
3564 #: syntax_errors\message_analyzer.py:460
3565 msgid "Perhaps you meant to write `{name}` instead of `{original}`\n"
3566 msgstr "Возможно вы хотели написать `{name}` вместо `{original}`.\n"
3567
3568 #: syntax_errors\message_analyzer.py:465 syntax_errors\message_analyzer.py:603
3569 #: syntax_errors\statement_analyzer.py:607
3570 msgid "Perhaps you needed `==` instead of `=`.\n"
3571 msgstr "Возможно, вам нужно `==` вместо `=`.\n"
3572
3573 #: syntax_errors\message_analyzer.py:477
3574 msgid ""
3575 "You wrote an expression that includes the `yield` keyword\n"
3576 "on the left-hand side of the equal sign.\n"
3577 "You cannot assign a value to such an expression.\n"
3578 "Note that, like the keyword `return`,\n"
3579 "`yield` can only be used inside a function.\n"
3580 msgstr ""
3581 "Вы написали выражение, которое содержит ключевое слово `yield`\n"
3582 "слева от знака равенства. Такому выражению нельзя присвоить значение.\n"
3583 "Обратите внимание, что, как и ключевое слово `return`,\n"
3584 "`yield` можно использовать только внутри функции.\n"
3585
3586 # All translations of the term "comprehension" into russian are crap
3587 #: syntax_errors\message_analyzer.py:496 syntax_errors\message_analyzer.py:518
3588 msgid ""
3589 "You are using the augmented assignment operator `:=` inside\n"
3590 "a comprehension to assign a value to the iteration variable `{var}`.\n"
3591 "This variable is meant to be used only inside the comprehension.\n"
3592 "The augmented assignment operator is normally used to assign a value\n"
3593 "to a variable so that the variable can be reused later.\n"
3594 "This is not possible for variable `{var}`.\n"
3595 msgstr ""
3596 "Вы используете дополненный (моржовый) оператор присваивания `:=` внутри "
3597 "comprehension\n"
3598 "для присвоения значения итерационной переменной `{var}`.\n"
3599 "Эта переменная предназначена для использования только внутри comprehension.\n"
3600 "Дополненный оператор присваивания обычно используется для присвоения "
3601 "значения переменной, чтобы ее можно было использовать повторно.\n"
3602 "Это невозможно для переменной `{var}`.\n"
3603
3604 #: syntax_errors\message_analyzer.py:535
3605 msgid ""
3606 "The object named `{name}` is defined with type annotation\n"
3607 "as a local variable. It cannot be declared to be a global variable.\n"
3608 msgstr ""
3609 "Объект с именем `{name}` определен с аннотацией типа\n"
3610 "как локальная переменная. Он не может быть объявлен как глобальная "
3611 "переменная.\n"
3612
3613 #: syntax_errors\message_analyzer.py:550
3614 msgid ""
3615 "You cannot use the augmented assignment operator `:=`,\n"
3616 "sometimes called the walrus operator, with literals like `{bad_token}`.\n"
3617 "You can only assign objects to identifiers (variable names).\n"
3618 msgstr ""
3619 "Вы не можете использовать дополненный оператор присваивания `:=`,\n"
3620 "иногда называемый моржовым оператором, с литералами типа `{bad_token}`.\n"
3621 "Вы можете присваивать объекты только идентификаторам (именам переменных).\n"
3622
3623 #: syntax_errors\message_analyzer.py:561
3624 msgid ""
3625 "You declared `{name}` as being both a global and nonlocal variable.\n"
3626 "A variable can be global, or nonlocal, but not both at the same time.\n"
3627 msgstr ""
3628 "Вы объявили `{name}` как global и nonlocal переменную одновременно.\n"
3629 "Переменная может быть global или nonlocal, но не обеими одновременно.\n"
3630
3631 #: syntax_errors\message_analyzer.py:576
3632 msgid "Python tells us that the {bracket} was never closed.\n"
3633 msgstr "Python сообщает нам, что отсутствует закрывающая {bracket}.\n"
3634
3635 #: syntax_errors\message_analyzer.py:579
3636 msgid "The {bracket} was never closed.\n"
3637 msgstr "Отсутствует закрывающая {bracket}.\n"
3638
3639 #: syntax_errors\message_analyzer.py:591
3640 msgid ""
3641 "The Python keyword `break` can only be used inside a `for` loop or inside a "
3642 "`while` loop.\n"
3643 msgstr ""
3644 "Ключевое слово Python `break` можно использовать\n"
3645 "только внутри циклов `for` или `while`.\n"
3646
3647 #: syntax_errors\message_analyzer.py:604
3648 #: syntax_errors\statement_analyzer.py:608
3649 msgid ""
3650 "You likely used an assignment operator `=` instead of an equality operator "
3651 "`==`.\n"
3652 msgstr ""
3653 "Скорее всего, вы использовали оператор присваивания `=`\n"
3654 "вместо оператора равенства `==`.\n"
3655
3656 #: syntax_errors\message_analyzer.py:612
3657 msgid ""
3658 "The following statement would not contain a syntax error:\n"
3659 "\n"
3660 " {new_statement}\n"
3661 msgstr ""
3662 "Следующее утверждение не будет содержать синтаксической ошибки:\n"
3663 "\n"
3664 " {new_statement}\n"
3665
3666 #: syntax_errors\message_analyzer.py:632
3667 msgid "You cannot delete the constant `{constant}`.\n"
3668 msgstr "Вы не можете удалить константу `{constant}`.\n"
3669
3670 #: syntax_errors\message_analyzer.py:652 syntax_errors\message_analyzer.py:706
3671 msgid "You cannot delete a Python expression.\n"
3672 msgstr "Вы не можете удалить выражение Python.\n"
3673
3674 #: syntax_errors\message_analyzer.py:655
3675 msgid "You cannot delete the expression `{expression}`.\n"
3676 msgstr "Вы не можете удалить выражение `{expression}`.\n"
3677
3678 #: syntax_errors\message_analyzer.py:672
3679 msgid ""
3680 "You attempted to delete a function call\n"
3681 "\n"
3682 " {line}\n"
3683 "instead of deleting the function's name\n"
3684 "\n"
3685 " {correct}\n"
3686 msgstr ""
3687 "Вы попытались удалить вызов функции\n"
3688 "\n"
3689 " {line}\n"
3690 "вместо того, чтобы удалить имя функции\n"
3691 "\n"
3692 " {correct}\n"
3693
3694 #: syntax_errors\message_analyzer.py:690
3695 msgid "You cannot delete the literal `{literal}`.\n"
3696 msgstr "Вы не можете удалить литерал `{literal}`.\n"
3697
3698 #: syntax_errors\message_analyzer.py:709
3699 msgid "You cannot delete the named expression `{expression}`.\n"
3700 msgstr "Вы не можете удалить именованное выражение `{expression}`.\n"
3701
3702 #: syntax_errors\message_analyzer.py:725
3703 msgid ""
3704 "The star operator `*` is interpreted to mean that\n"
3705 "iterable unpacking is to be used to assign a name\n"
3706 "to each item of an iterable, which does not make sense here.\n"
3707 msgstr ""
3708 "Оператор 'звезда' `*` интерпретируется как означающий, что\n"
3709 "распаковка последовательности должна использоваться для присвоения имени\n"
3710 "каждому элементу последовательности, что в данном случае не имеет смысла.\n"
3711
3712 #: syntax_errors\message_analyzer.py:739
3713 msgid ""
3714 "It looks like you surrounded a starred name by parentheses.\n"
3715 "This was not considered a SyntaxError before Python version 3.9.\n"
3716 msgstr ""
3717 "Похоже, что вы окружили starred name круглыми скобками.\n"
3718 "До версии Python 3.9 это не считалось синтаксической ошибкой.\n"
3719
3720 #: syntax_errors\message_analyzer.py:758
3721 msgid "Did you forget a colon?\n"
3722 msgstr "Вы забыли про двоеточие?\n"
3723
3724 #: syntax_errors\message_analyzer.py:759
3725 msgid "Python expected a colon at the position indicated.\n"
3726 msgstr "В указанном месте Python ожидал увидеть двоеточие.\n"
3727
3728 #: syntax_errors\message_analyzer.py:787
3729 msgid ""
3730 "It looks like the error occurred as you were writing a Python dict.\n"
3731 "Perhaps you wrote a dict key without writing the corresponding value.\n"
3732 msgstr ""
3733 "Похоже, что ошибка возникла, когда вы добавляли `key` в словарь Python.\n"
3734 "Возможно, вы записали `key` без соответствующего `value`.\n"
3735
3736 #: syntax_errors\message_analyzer.py:791 syntax_errors\message_analyzer.py:1049
3737 #: syntax_errors\statement_analyzer.py:1725
3738 msgid "Did you forget to write a dict value?\n"
3739 msgstr "Вы забыли записать в словарь значение ?\n"
3740
3741 #: syntax_errors\message_analyzer.py:798
3742 msgid ""
3743 "The Python keyword `continue` can only be used inside a `for` loop or inside "
3744 "a `while` loop.\n"
3745 msgstr ""
3746 "Ключевое слово Python `continue` можно использовать только\n"
3747 "внутри циклов `for` или `while`.\n"
3748
3749 #: syntax_errors\message_analyzer.py:810
3750 msgid ""
3751 "You have defined a function repeating the argument\n"
3752 "\n"
3753 " {name}\n"
3754 "Each argument should appear only once in a function definition.\n"
3755 msgstr ""
3756 "Вы определили функцию, в которой дублируется аргумент\n"
3757 "\n"
3758 " `{name}`.\n"
3759 "Каждый аргумент должен появляться только один раз в определении функции.\n"
3760
3761 #: syntax_errors\message_analyzer.py:850
3762 msgid "Did you forget to add `else`?\n"
3763 msgstr "Вы забыли добавить `else`?\n"
3764
3765 #: syntax_errors\message_analyzer.py:851
3766 msgid "An `else some_value` clause was expected after the `if` expression.\n"
3767 msgstr ""
3768 "После выражения `if` ожидалось появление выражения `else some_value`.\n"
3769
3770 #: syntax_errors\message_analyzer.py:863
3771 msgid ""
3772 "You started writing a triple-quoted string but never wrote\n"
3773 "the triple quotes needed to end the string.\n"
3774 msgstr "Вы начали писать строку с тройными кавычками но так и не закрыли их.\n"
3775
3776 #: syntax_errors\message_analyzer.py:880
3777 msgid "Did you forget a closing quote?\n"
3778 msgstr "Вы забыли завершающие кавычки?\n"
3779
3780 #: syntax_errors\message_analyzer.py:881
3781 msgid ""
3782 "You started writing a string with a single or double quote\n"
3783 "but never ended the string with another quote on that line.\n"
3784 msgstr ""
3785 "Вы начали писать строку с одинарной или двойной кавычки,\n"
3786 "но так и не закрыли их.\n"
3787
3788 #: syntax_errors\message_analyzer.py:894
3789 msgid ""
3790 "Perhaps you meant to write the backslash character, `\\`\n"
3791 "as the last character in the string and forgot that you\n"
3792 "needed to escape it by writing two `\\` in a row.\n"
3793 msgstr ""
3794 "Возможно, вы хотели написать символ обратной косой черты `\\`\n"
3795 "как последний символ в строке и забыли, что\n"
3796 "что его нужно экранировать, написав два `\\` подряд.\n"
3797
3798 #: syntax_errors\message_analyzer.py:899
3799 msgid "Did you forget to escape a backslash character?\n"
3800 msgstr "Вы забыли экранировать символ обратной косой черты?\n"
3801
3802 #: syntax_errors\message_analyzer.py:934
3803 #: syntax_errors\statement_analyzer.py:375
3804 msgid "Perhaps you forgot to escape a quote character.\n"
3805 msgstr "Возможно, вы забыли закрыть кавычки.\n"
3806
3807 #: syntax_errors\message_analyzer.py:935
3808 #: syntax_errors\statement_analyzer.py:376
3809 msgid ""
3810 "I suspect that you were trying to use a quote character inside a string\n"
3811 "that was enclosed in quotes of the same kind.\n"
3812 "Perhaps you should have escaped the inner quote character:\n"
3813 "\n"
3814 " {new_line}\n"
3815 " {mark}\n"
3816 msgstr ""
3817 "Предполагаю, что вы пытались использовать символ кавычек внутри строки,\n"
3818 "которая была заключена в кавычки того же типа.\n"
3819 "Возможно, вам следовало экранировать символ внутренней кавычки:\n"
3820 "\n"
3821 " {new_line}\n"
3822 " {mark}\n"
3823
3824 #: syntax_errors\message_analyzer.py:950
3825 msgid ""
3826 "You wrote a `try` block which did not include an `except` nor a `finally` "
3827 "block.\n"
3828 msgstr ""
3829
3830 #: syntax_errors\message_analyzer.py:965 syntax_errors\message_analyzer.py:982
3831 #, fuzzy
3832 #| msgid ""
3833 #| "Perhaps you meant to write\n"
3834 #| "\n"
3835 #| "`{new_statement}`\n"
3836 msgid ""
3837 "Perhaps you meant to write\n"
3838 "\n"
3839 " {new_statement}"
3840 msgstr ""
3841 "Возможно, вы хотели написать\n"
3842 "\n"
3843 "`{new_statement}`\n"
3844
3845 #: syntax_errors\message_analyzer.py:968 syntax_errors\message_analyzer.py:985
3846 #, fuzzy
3847 #| msgid "Did you mean `{name}`?\n"
3848 msgid "Did you mean `{new_statement}`?"
3849 msgstr "Вы имели в виду `{name}`?\n"
3850
3851 #: syntax_errors\message_analyzer.py:975
3852 #, fuzzy
3853 #| msgid ""
3854 #| "Perhaps you meant to write\n"
3855 #| "\n"
3856 #| "`{new_statement}`\n"
3857 msgid ""
3858 "Perhaps you meant to write either\n"
3859 "\n"
3860 " {new_statement}\n"
3861 "\n"
3862 "or\n"
3863 "\n"
3864 " {new_statement2}"
3865 msgstr ""
3866 "Возможно, вы хотели написать\n"
3867 "\n"
3868 "`{new_statement}`\n"
3869
3870 #: syntax_errors\message_analyzer.py:1020
3871 msgid ""
3872 "You likely called a function using the Python keyword `{keyword}` as an "
3873 "argument:\n"
3874 "\n"
3875 " a_function({keyword}=something) \n"
3876 "\n"
3877 "which Python interpreted as trying to assign a value to a Python keyword.\n"
3878 "\n"
3879 msgstr ""
3880 "Скорее всего, вы вызвали функцию, используя ключевое слово Python `{keyword}"
3881 "` в качестве аргумента:\n"
3882 "\n"
3883 " a_function({keyword}=something) \n"
3884 "\n"
3885 "что Python интерпретировал как попытку присвоить значение ключевому слову "
3886 "Python.\n"
3887 "\n"
3888
3889 #: syntax_errors\message_analyzer.py:1031
3890 msgid ""
3891 "You likely called a function with a named argument:\n"
3892 "\n"
3893 " a_function(invalid=something) \n"
3894 "\n"
3895 "where `invalid` is not a valid variable name in Python\n"
3896 "either because it starts with a number, or is a string,\n"
3897 "or contains a period, etc.\n"
3898 msgstr ""
3899 "Скорее всего, вы вызвали функцию с именованным аргументом:\n"
3900 "\n"
3901 " a_function(invalid=something) \n"
3902 "\n"
3903 "где `invalid` не является допустимым именем переменной в Python\n"
3904 "либо потому, что оно начинается с числа, либо является строкой,\n"
3905 "или содержит точку и т.д.\n"
3906
3907 #: syntax_errors\message_analyzer.py:1045
3908 #: syntax_errors\statement_analyzer.py:1716
3909 msgid ""
3910 "It looks like the error occurred as you were writing a Python dict.\n"
3911 "Perhaps you forgot to write a value after a colon.\n"
3912 msgstr ""
3913 "Похоже, что ошибка возникла, когда вы писали в словарь Python.\n"
3914 "Возможно, вы забыли написать значение после двоеточия.\n"
3915
3916 #: syntax_errors\message_analyzer.py:1058
3917 msgid ""
3918 "You have written an f-string whose content `{...}`\n"
3919 "includes a backslash; this is not allowed.\n"
3920 "Perhaps you can replace the part that contains a backslash by\n"
3921 "some variable. For example, suppose that you have an f-string like:\n"
3922 "\n"
3923 " f\"{... 'hello\\n' ...}\"\n"
3924 "\n"
3925 "you could write this as\n"
3926 "\n"
3927 " hello = 'hello\\n'\n"
3928 " f\"{... hello ...}\"\n"
3929 msgstr ""
3930 "Вы написали f-строку, содержимое которой `{...}`\n"
3931 "включает обратную косую черту; это недопустимо.\n"
3932 "Возможно, вы можете заменить часть, содержащую обратную косую черту,\n"
3933 "некоторой переменной. Например, предположим, что у вас есть f-строка вида:\n"
3934 " f\"{... 'hello\\n' ...}\"\n"
3935 "её можно записать как:\n"
3936 " hello = 'hello\\n'\n"
3937 " f\"{...hello ...}\"\n"
3938
3939 #: syntax_errors\message_analyzer.py:1075
3940 msgid ""
3941 "You have written an f-string which has an unmatched `}`.\n"
3942 "If you want to print a single `}`, you need to write `}}` in the f-string;\n"
3943 "otherwise, you need to add an opening `{`.\n"
3944 msgstr ""
3945 "Вы написали f-строку, в которой есть непарная `}`.\n"
3946 "Если вы хотите вывести одну `}`, вам нужно написать `}}` в f-строке;\n"
3947 "в противном случае нужно добавить открывающую `{`.\n"
3948
3949 #: syntax_errors\message_analyzer.py:1087
3950 msgid ""
3951 "You have written an f-string which has an unmatched `{`.\n"
3952 "If you want to print a single `{`, you need to write `{{` in the f-string;\n"
3953 "otherwise, you need to add a closing `}`.\n"
3954 msgstr ""
3955 "Вы написали f-строку, в которой есть непарная `}`.\n"
3956 "Если вы хотите вывести одну `}`, вам нужно написать `}}` в f-строке;\n"
3957 "в противном случае нужно добавить открывающую `{`.\n"
3958
3959 #: syntax_errors\message_analyzer.py:1103
3960 #: syntax_errors\statement_analyzer.py:1284
3961 msgid ""
3962 "I am guessing that you were writing a comprehension or a generator "
3963 "expression\n"
3964 "and forgot to include parentheses around tuples.\n"
3965 "As an example, instead of writing\n"
3966 "\n"
3967 " [i, i**2 for i in range(10)]\n"
3968 "\n"
3969 "you would need to write\n"
3970 "\n"
3971 " [(i, i**2) for i in range(10)]\n"
3972 "\n"
3973 msgstr ""
3974 "Предполагаю, что вы писали comprehension или генераторное выражение,\n"
3975 "но забыли поставить круглые скобки вокруг кортежей.\n"
3976 "В качестве примера, вместо того, чтобы написать\n"
3977 " [i, i**2 for i in range(10)]\n"
3978 "вам нужно написать\n"
3979 " [(i, i**2) for i in range(10)]\n"
3980
3981 #: syntax_errors\message_analyzer.py:1120
3982 msgid ""
3983 "A `from __future__ import` statement changes the way Python\n"
3984 "interprets the code in a file.\n"
3985 "It must appear at the beginning of the file."
3986 msgstr ""
3987 "Оператор `from __future__ import` изменяет способ, которым Python\n"
3988 "интерпретирует код в файле. Он должен находиться в начале файла."
3989
3990 #: syntax_errors\message_analyzer.py:1136
3991 msgid "The available features are `{names}`.\n"
3992 msgstr "Доступными вариантами являются: `{names}`.\n"
3993
3994 #: syntax_errors\message_analyzer.py:1141
3995 msgid ""
3996 "When using a `from __future__ import` statement,\n"
3997 "you must import specific named features.\n"
3998 msgstr ""
3999 "При использовании оператора `from __future__ import`,\n"
4000 "вы должны импортировать элементы с определенными именами.\n"
4001
4002 #: syntax_errors\message_analyzer.py:1152
4003 msgid "Instead of `{feature}`, perhaps you meant to import `{name}`.\n"
4004 msgstr "Возможно, вместо `{feature}` вы хотели импортировать `{name}`.\n"
4005
4006 #: syntax_errors\message_analyzer.py:1157
4007 msgid "`{feature}` is not a valid feature of module `__future__`.\n"
4008 msgstr "`{feature}` не является допустимой функцией модуля `__future__`.\n"
4009
4010 #: syntax_errors\message_analyzer.py:1182
4011 msgid ""
4012 "You are using a generator expression, something of the form\n"
4013 "\n"
4014 " x for x in thing\n"
4015 "\n"
4016 "You must add parentheses enclosing that expression.\n"
4017 msgstr ""
4018 "Вы используете генераторное выражение, что-то типа\n"
4019 "\n"
4020 " x for x in thing\n"
4021 "\n"
4022 "Вы должны окружить его скобками.\n"
4023
4024 #: syntax_errors\message_analyzer.py:1195
4025 msgid ""
4026 "I suspect you wrote `from __future__ import braces` following\n"
4027 "someone else's suggestion. This will never work.\n"
4028 "\n"
4029 "Unlike other programming languages, Python's code block are defined by\n"
4030 "their indentation level, and not by using some curly braces, like `{...}`.\n"
4031 msgstr ""
4032 "Предполагаю, что вы написали `from __future__ import braces`, следуя чьему-"
4033 "то совету.\n"
4034 "Это никогда не сработает.\n"
4035 "\n"
4036 "В отличие от других языков программирования, в Python блок кода выделяется "
4037 "уровнем отступа,\n"
4038 "а не использованием фигурных скобок, например, `{...}`.\n"
4039
4040 #: syntax_errors\message_analyzer.py:1210
4041 #: syntax_errors\statement_analyzer.py:190
4042 msgid "Did you use copy-paste?\n"
4043 msgstr "Вы использовали copy-paste?\n"
4044
4045 #: syntax_errors\message_analyzer.py:1211
4046 msgid ""
4047 "Python indicates that you used the unicode character `{bad_character}`\n"
4048 "which is not allowed.\n"
4049 msgstr ""
4050 "Python указывает, что вы использовали недопустимый символ юникода "
4051 "`{bad_character}`.\n"
4052
4053 #: syntax_errors\message_analyzer.py:1237
4054 msgid "Python tells us that you have written an invalid number."
4055 msgstr "Python сообщает, что вы записали недопустимое число."
4056
4057 #: syntax_errors\message_analyzer.py:1238
4058 msgid "However, I think that the problem might be the following."
4059 msgstr "Однако я думаю, что проблема может заключаться в следующем."
4060
4061 #: syntax_errors\message_analyzer.py:1272
4062 msgid "I have no suggestion to offer to fix this problem.\n"
4063 msgstr "У меня нет предложений по устранению этой проблемы.\n"
4064
4065 #: syntax_errors\message_analyzer.py:1281
4066 #: syntax_errors\statement_analyzer.py:740
4067 msgid ""
4068 "The double star operator `**` is likely interpreted to mean that\n"
4069 "dict unpacking is to be used which is not allowed or does not make sense "
4070 "here.\n"
4071 msgstr ""
4072 "Double star оператор `**`, вероятно, будет интерпретирован как означающий, "
4073 "что используется dict-распаковка,\n"
4074 "что в данном случае недопустимо или не имеет смысла.\n"
4075
4076 #: syntax_errors\message_analyzer.py:1339
4077 msgid ""
4078 "You cannot use the `*` operator to unpack the iteration variable\n"
4079 "in a comprehension.\n"
4080 msgstr ""
4081 "Вы не можете использовать оператор `*` для распаковки итерационной "
4082 "переменной\n"
4083 "в comprehension.\n"
4084
4085 #: syntax_errors\message_analyzer.py:1351
4086 #: syntax_errors\message_analyzer.py:1741
4087 #: syntax_errors\statement_analyzer.py:524
4088 msgid ""
4089 "The following statement has no syntax error:\n"
4090 "\n"
4091 " {statement}\n"
4092 msgstr ""
4093 "Следующее утверждение не будет содержать синтаксической ошибки:\n"
4094 "\n"
4095 " {new_statement}\n"
4096
4097 #: syntax_errors\message_analyzer.py:1372
4098 msgid ""
4099 "You have called a function repeating the same keyword argument (`{arg}`).\n"
4100 "Each keyword argument should appear only once in a function call.\n"
4101 msgstr ""
4102 "Вы вызвали функцию, повторяя одно и то же ключевое слово-аргумент (`{arg}"
4103 "`).\n"
4104 "Каждое ключевое слово-аргумент должно встречаться только один раз в вызове "
4105 "функции.\n"
4106
4107 #: syntax_errors\message_analyzer.py:1435
4108 msgid ""
4109 "Python tells us that the closing `{closing}` on the last line shown\n"
4110 "does not match the opening `{opening}` on line {lineno}.\n"
4111 "\n"
4112 msgstr ""
4113 "Python сообщает нам, что закрывающая `{closing}` в последней показанной "
4114 "строке\n"
4115 "не совпадает с открывающей `{opening}` в строке {lineno}.\n"
4116 "\n"
4117
4118 #: syntax_errors\message_analyzer.py:1440
4119 msgid ""
4120 "Python tells us that the closing `{closing}` on the last line shown\n"
4121 "does not match the opening `{opening}`.\n"
4122 "\n"
4123 msgstr ""
4124 "Python сообщает нам, что закрывающая `{closing}` в последней показанной "
4125 "строке\n"
4126 "не совпадает с открывающей `{opening}`.\n"
4127 "\n"
4128
4129 #: syntax_errors\message_analyzer.py:1454
4130 msgid "Did you forget something after `*`?\n"
4131 msgstr "Вы забыли что-то после `*`?\n"
4132
4133 #: syntax_errors\message_analyzer.py:1455
4134 msgid ""
4135 "Assuming you were defining a function, you need\n"
4136 "to replace `*` by either `*arguments` or\n"
4137 "by `*, named_argument=value`.\n"
4138 msgstr ""
4139 "Если предположить, что вы определяете функцию, вам нужно\n"
4140 "заменить `*` на `*arguments` или на\n"
4141 "`*, named_argument=value`.\n"
4142
4143 #: syntax_errors\message_analyzer.py:1470
4144 msgid ""
4145 "You assigned a value to the variable `{name}`\n"
4146 "before declaring it as a global variable.\n"
4147 msgstr ""
4148 "Вы присвоили значение переменной `{name}`,\n"
4149 "прежде чем объявить ее как глобальную.\n"
4150
4151 #: syntax_errors\message_analyzer.py:1494
4152 msgid "Did you forget to add `nonlocal`?\n"
4153 msgstr "Вы забыли добавить `nonlocal`?\n"
4154
4155 #: syntax_errors\message_analyzer.py:1495
4156 msgid ""
4157 "You assigned a value to the variable `{name}`\n"
4158 "before declaring it as a nonlocal variable.\n"
4159 msgstr ""
4160 "Вы присвоили значение переменной `{name}`\n"
4161 "прежде чем объявить ее как нелокальную.\n"
4162
4163 #: syntax_errors\message_analyzer.py:1526
4164 msgid ""
4165 "You are including the statement\n"
4166 "\n"
4167 " {newline}\n"
4168 "\n"
4169 "indicating that `{name}` is a variable defined outside a function.\n"
4170 "You are also using the same `{name}` as an argument for that\n"
4171 "function, thus indicating that it should be variable known only\n"
4172 "inside that function, which is the contrary of what `global` implied.\n"
4173 msgstr ""
4174 "Вы включаете утверждение\n"
4175 "\n"
4176 " {newline}\n"
4177 "\n"
4178 "указывая, что `{name}` является переменной, определенной вне функции.\n"
4179 "Вы также используете то же самое `{name}`\n"
4180 "в качестве аргумента для этой функции.\n"
4181 "тем самым указывая, что это должна быть переменная, которая видна только\n"
4182 "внутри этой функции, что противоположно тому, что подразумевает `global`.\n"
4183
4184 #: syntax_errors\message_analyzer.py:1543
4185 msgid ""
4186 "You used `{name}` as a parameter for a function\n"
4187 "before declaring it also as a nonlocal variable:\n"
4188 "`{name}` cannot be both at the same time.\n"
4189 msgstr ""
4190 "Вы использовали `{name}` в качестве параметра функции\n"
4191 "прежде чем объявить его также как нелокальную переменную:\n"
4192 "`{name}` не может быть одновременно и тем, и другим.\n"
4193
4194 #: syntax_errors\message_analyzer.py:1558
4195 msgid ""
4196 "You used the variable `{name}`\n"
4197 "before declaring it as a global variable.\n"
4198 msgstr ""
4199 "Вы использовали переменную `{name}`\n"
4200 "прежде чем объявить ее глобальной переменной.\n"
4201
4202 #: syntax_errors\message_analyzer.py:1581
4203 msgid "Did you forget to write `nonlocal` first?\n"
4204 msgstr "Вы забыли сначала написать `nonlocal`?\n"
4205
4206 #: syntax_errors\message_analyzer.py:1583
4207 msgid ""
4208 "You used the variable `{name}`\n"
4209 "before declaring it as a nonlocal variable.\n"
4210 msgstr ""
4211 "Вы использовали переменную `{name}`\n"
4212 "прежде чем объявить ее как нелокальную переменную.\n"
4213
4214 #: syntax_errors\message_analyzer.py:1607
4215 msgid ""
4216 "You declared the variable `{name}` as being a\n"
4217 "nonlocal variable but it cannot be found.\n"
4218 msgstr ""
4219 "Вы объявили переменную `{name}` как\n"
4220 "нелокальную, но она не может быть найдена.\n"
4221
4222 #: syntax_errors\message_analyzer.py:1618
4223 msgid ""
4224 "You used the nonlocal keyword at a module level.\n"
4225 "The nonlocal keyword refers to a variable inside a function\n"
4226 "given a value outside that function."
4227 msgstr ""
4228 "Вы использовали ключевое слово nonlocal на уровне модуля.\n"
4229 "Ключевое слово nonlocal относится к переменной внутри функции,\n"
4230 "которой присвоено значение вне этой функции."
4231
4232 #: syntax_errors\message_analyzer.py:1630
4233 msgid ""
4234 "In Python, you can define functions with only positional arguments\n"
4235 "\n"
4236 " def test(a, b, c): ...\n"
4237 "\n"
4238 "or only keyword arguments\n"
4239 "\n"
4240 " def test(a=1, b=2, c=3): ...\n"
4241 "\n"
4242 "or a combination of the two\n"
4243 "\n"
4244 " def test(a, b, c=3): ...\n"
4245 "\n"
4246 "but with the keyword arguments appearing after all the positional ones.\n"
4247 "According to Python, you used positional arguments after keyword ones.\n"
4248 msgstr ""
4249 "В Python вы можете определять функции только с позиционными аргументами\n"
4250 "\n"
4251 " def test(a, b, c): ...\n"
4252 "\n"
4253 "или только ключевыми аргументами\n"
4254 "\n"
4255 " def test(a=1, b=2, c=3): ...\n"
4256 "\n"
4257 "или их комбинацией\n"
4258 "\n"
4259 " def test(a, b, c=3): ...\n"
4260 "\n"
4261 "но при этом аргументы с ключевыми словами передаются после всех позиционных "
4262 "аргументов.\n"
4263 "Python говорит, что вы передали позиционные аргументы после ключевых.\n"
4264
4265 #: syntax_errors\message_analyzer.py:1650
4266 #: syntax_errors\statement_analyzer.py:1332
4267 msgid ""
4268 "I am guessing that you wanted to use an `except` statement\n"
4269 "with multiple exception types. If that is the case, you must\n"
4270 "surround them with parentheses.\n"
4271 msgstr ""
4272 "Предполагаю, что вы хотели использовать оператор `except`\n"
4273 "с несколькими типами исключений. Если это так, то вы должны\n"
4274 "окружить их круглыми скобками.\n"
4275
4276 #: syntax_errors\message_analyzer.py:1662
4277 msgid ""
4278 "In Python, you can call functions with only positional arguments\n"
4279 "\n"
4280 " test(1, 2, 3)\n"
4281 "\n"
4282 "or only keyword arguments\n"
4283 "\n"
4284 " test(a=1, b=2, c=3)\n"
4285 "\n"
4286 "or a combination of the two\n"
4287 "\n"
4288 " test(1, 2, c=3)\n"
4289 "\n"
4290 "but with the keyword arguments appearing after all the positional ones.\n"
4291 "According to Python, you used positional arguments after keyword ones.\n"
4292 msgstr ""
4293 "В Python вы можете вызывать функции только с позиционными аргументами\n"
4294 "\n"
4295 " test(1, 2, 3)\n"
4296 "\n"
4297 "или только ключевыми аргументами\n"
4298 "\n"
4299 " test(a=1, b=2, c=3)\n"
4300 "\n"
4301 "или их комбинацией\n"
4302 "\n"
4303 " test(1, 2, c=3)\n"
4304 "\n"
4305 "но при этом ключевые аргументы идут после всех позиционных аргументов.\n"
4306 "Согласно Python, вы передали позиционные аргументы после ключевых.\n"
4307
4308 #: syntax_errors\message_analyzer.py:1689
4309 #: syntax_errors\statement_analyzer.py:658
4310 msgid ""
4311 "Perhaps you need to type\n"
4312 "\n"
4313 " print({message})\n"
4314 "\n"
4315 "In older version of Python, `print` was a keyword.\n"
4316 "Now, `print` is a function; you need to use parentheses to call it.\n"
4317 msgstr ""
4318 "Возможно, вам нужно напечатать\n"
4319 "\n"
4320 " print({message})\n"
4321 "\n"
4322 "В старой версии Python `print` был ключевым словом.\n"
4323 "Теперь `print` -- это функция и для ее вызова нужно использовать круглые "
4324 "скобки.\n"
4325
4326 #: syntax_errors\message_analyzer.py:1696
4327 #: syntax_errors\statement_analyzer.py:665
4328 msgid "Note that arguments of `print` must be separated by commas.\n"
4329 msgstr ""
4330 "Обратите внимание, что аргументы функции `print` должны быть разделены "
4331 "запятыми.\n"
4332
4333 #: syntax_errors\message_analyzer.py:1697
4334 #: syntax_errors\statement_analyzer.py:666
4335 msgid "Did you mean `print({message})`?\n"
4336 msgstr "Вы имели в виду `print({message})`?\n"
4337
4338 #: syntax_errors\message_analyzer.py:1706
4339 msgid "You can only use a `return` statement inside a function or method.\n"
4340 msgstr ""
4341 "Вы можете использовать оператор `return` только внутри функции или метода.\n"
4342
4343 #: syntax_errors\message_analyzer.py:1715
4344 msgid ""
4345 "A star assignment must be of the form:\n"
4346 "\n"
4347 " ... *name = list_or_tuple\n"
4348 "\n"
4349 msgstr ""
4350 "'Звёздное' присваивание должно быть типа:\n"
4351 "\n"
4352 " ... *name = list_or_tuple\n"
4353
4354 #: syntax_errors\message_analyzer.py:1725
4355 msgid ""
4356 "It looks like you tried to use a starred expression as a dict value;\n"
4357 "this is not allowed.\n"
4358 msgstr ""
4359 "Два оператора, `{first}` и `{second}`,\n"
4360 "следуют друг за другом. Так нельзя.\n"
4361 "Похоже, что вы пытались использовать выражение со звездочкой\n"
4362 "в качестве значения словаря, это недопустимо.\n"
4363
4364 #: syntax_errors\message_analyzer.py:1752
4365 msgid ""
4366 "Your code is too complex for Python:\n"
4367 "you need to reduce the number of indented code blocks\n"
4368 "contained inside other code blocks.\n"
4369 msgstr ""
4370 "Ваш код слишком сложен для Python:\n"
4371 "вам нужно уменьшить количество блоков кода с отступами,\n"
4372 "содержащихся внутри других блоков кода.\n"
4373
4374 #: syntax_errors\message_analyzer.py:1765
4375 msgid ""
4376 "Your code is too complex for Python:\n"
4377 "you need to reduce the number of parentheses\n"
4378 "contained inside other parentheses.\n"
4379 msgstr ""
4380 "Ваш код слишком сложен для Python:\n"
4381 "вам нужно уменьшить количество круглых скобок\n"
4382 "содержащихся внутри других круглых скобок.\n"
4383
4384 #: syntax_errors\message_analyzer.py:1780
4385 msgid ""
4386 "Python indicates that you need to surround an expression\n"
4387 "ending with a comma by parentheses.\n"
4388 msgstr ""
4389 "Python указывает, что вам нужно окружить выражение\n"
4390 "заканчивающееся запятой, круглыми скобками.\n"
4391
4392 #: syntax_errors\message_analyzer.py:1784
4393 msgid ""
4394 "I have no additional suggestion to offer.\n"
4395 "Please feel free to report this case.\n"
4396 msgstr ""
4397 "У меня нет никаких дополнительных предложений.\n"
4398 "Пожалуйста, не стесняйтесь сообщить об этом случае.\n"
4399
4400 #: syntax_errors\message_analyzer.py:1794
4401 msgid ""
4402 "Perhaps you meant to write\n"
4403 "\n"
4404 "`{new_statement}`\n"
4405 msgstr ""
4406 "Возможно, вы хотели написать\n"
4407 "\n"
4408 "`{new_statement}`\n"
4409
4410 #: syntax_errors\message_analyzer.py:1802
4411 msgid "However, I suspect that you wrote the keyword `{boolean}` by mistake.\n"
4412 msgstr "Подозреваю, что ключевое слово `{boolean}` вы написали по ошибке.\n"
4413
4414 #: syntax_errors\message_analyzer.py:1806
4415 msgid ""
4416 "The Python keyword `{boolean}` can only be used for boolean expressions.\n"
4417 msgstr ""
4418 "Ключевое слово Python `{boolean}` можно использовать только для булевых "
4419 "выражений.\n"
4420
4421 #: syntax_errors\message_analyzer.py:1818
4422 #: syntax_errors\message_analyzer.py:1831
4423 msgid "However, if you remove the last comma, there will be no syntax error.\n"
4424 msgstr "Если убрать последнюю запятую, синтаксической ошибки не будет.\n"
4425
4426 #: syntax_errors\message_analyzer.py:1846
4427 msgid ""
4428 "You are using the continuation character `\\` outside of a string,\n"
4429 "and it is followed by some other character(s).\n"
4430 msgstr ""
4431 "Вы используете символ продолжения `\\` вне строки\n"
4432 "и за ним следует какой-то другой символ (символы).\n"
4433
4434 #: syntax_errors\message_analyzer.py:1869
4435 msgid ""
4436 "I am guessing that you wanted to divide by the number {number} \n"
4437 "and wrote \\ instead of /."
4438 msgstr ""
4439 "Предполагаю, что вы хотели разделить на число {number} \n"
4440 "и написали \\ вместо /."
4441
4442 #: syntax_errors\message_analyzer.py:1873
4443 msgid "Did you mean to divide by {number}?\n"
4444 msgstr "Вы хотели разделить на {number}?\n"
4445
4446 #: syntax_errors\message_analyzer.py:1876
4447 msgid "I am guessing that you forgot to enclose some content in a string.\n"
4448 msgstr "Полагаю, вы забыли закавычить строку.\n"
4449
4450 #: syntax_errors\message_analyzer.py:1885
4451 msgid ""
4452 "Python tells us that it reached the end of the file\n"
4453 "and expected more content.\n"
4454 "\n"
4455 msgstr ""
4456 "Python сообщает нам, что он достиг конца файла\n"
4457 "и ожидает дальнейшего контента.\n"
4458 "\n"
4459
4460 #: syntax_errors\message_analyzer.py:1892
4461 msgid ""
4462 "I will attempt to be give a bit more information.\n"
4463 "\n"
4464 msgstr ""
4465 "Постараюсь дать более информативное пояснение.\n"
4466 "\n"
4467
4468 #: syntax_errors\message_analyzer.py:1903
4469 msgid ""
4470 "I suspect that you wrote a string that contains\n"
4471 "one backslash character, `\\` followed by an uppercase `U`\n"
4472 "and some more characters.\n"
4473 "Python likely interpreted this as indicating the beginning of\n"
4474 "what is known as an escape sequence for special unicode characters.\n"
4475 "To solve the problem, either write a so-called 'raw string'\n"
4476 "by adding the letter `r` as a prefix in\n"
4477 "front of the string, or replace `\\U`, by `\\\\U`.\n"
4478 msgstr ""
4479 "Предполагаю, что вы написали строку, которая содержит\n"
4480 "один символ обратной косой черты, `\\`, за которым следует заглавная буква "
4481 "`U` и еще несколько символов.\n"
4482 "Python, скорее всего, интерпретировал это как начало\n"
4483 "того, что известно как управляющая последовательность для специальных "
4484 "символов Юникода.\n"
4485 "Чтобы решить эту проблему, напишите так называемую 'необработанную строку',\n"
4486 "добавив букву `r` в качестве префикса перед строкой,\n"
4487 "либо замените `\\U` на `\\\\\\U`.\n"
4488
4489 #: syntax_errors\message_analyzer.py:1927
4490 #: syntax_errors\statement_analyzer.py:127
4491 msgid "The closing {bracket} on line {linenumber} does not match anything.\n"
4492 msgstr "Закрывающая {bracket} в строке {linenumber} ничему не соответствует.\n"
4493
4494 #: syntax_errors\message_analyzer.py:1938
4495 msgid "Perhaps you forgot a closing quote.\n"
4496 msgstr "Возможно, вы забыли закрыть кавычки.\n"
4497
4498 #: syntax_errors\message_analyzer.py:1955
4499 msgid ""
4500 "Inside the f-string `{fstring}`, \n"
4501 "you have another string, which starts with either a\n"
4502 "single quote (') or double quote (\"), without a matching closing one.\n"
4503 msgstr ""
4504 "Внутри f-строки `{fstring}`\n"
4505 "у вас есть другая строка, которая начинается либо с\n"
4506 "одинарной кавычки (') или двойной кавычки (\"), без совпадающей закрывающей "
4507 "кавычки.\n"
4508
4509 #: syntax_errors\message_analyzer.py:1968
4510 msgid "You can only use a `yield` statement inside a function.\n"
4511 msgstr "Вы можете использовать оператор `yield` только внутри функции.\n"
4512
4513 #: syntax_errors\message_analyzer.py:1977
4514 msgid ""
4515 "This is a message that was added in Python 3.9\n"
4516 "to prevent redefining `__peg_parser__`.\n"
4517 "It should not be present in other versions.\n"
4518 msgstr ""
4519 "Это сообщение было добавлено в Python 3.9\n"
4520 "чтобы предотвратить переопределение `__peg_parser__`.\n"
4521 "Оно не должно присутствовать в других версиях.\n"
4522
4523 #: syntax_errors\message_analyzer.py:2039
4524 msgid ""
4525 "Friendly-traceback cannot identify the non-printable character.\n"
4526 "This should not happen. Please report this case"
4527 msgstr ""
4528
4529 #: syntax_errors\message_analyzer.py:2053
4530 #: syntax_errors\statement_analyzer.py:107
4531 msgid "Your code contains the invalid non-printable character {char}.\n"
4532 msgstr ""
4533
4534 #: syntax_errors\statement_analyzer.py:162
4535 msgid ""
4536 "The closing {bracket} on line {close_lineno} does not match the opening "
4537 "{open_bracket} on line {open_lineno}.\n"
4538 msgstr ""
4539 "Закрывающая {bracket} в строке {close_lineno} не совпадает с открывающей "
4540 "{open_bracket} в строке {open_lineno}.\n"
4541
4542 #: syntax_errors\statement_analyzer.py:184
4543 msgid "Did you mean to write `...`?\n"
4544 msgstr "Вы хотели написать `...`?\n"
4545
4546 #: syntax_errors\statement_analyzer.py:185
4547 msgid ""
4548 "It looks like you meant to write `...` but added an extra `.` by mistake.\n"
4549 msgstr ""
4550
4551 #: syntax_errors\statement_analyzer.py:199
4552 msgid ""
4553 "It looks like you copy-pasted code from an interactive interpreter.\n"
4554 "The Python prompt, `>>>`, should not be included in your code.\n"
4555 msgstr ""
4556 "Похоже, что вы скопипастили вывод интерпретатора.\n"
4557 "Приглашение интерпретатора '>>>', не должно быть включено в ваш код.\n"
4558
4559 #: syntax_errors\statement_analyzer.py:209
4560 msgid ""
4561 "It looks like you copy-pasted code from an interactive interpreter.\n"
4562 "The Python prompt, `...`, should not be included in your code.\n"
4563 msgstr ""
4564 "Похоже, что вы скопипастили вывод интерпретатора.\n"
4565 "Вывод интерпретатора '...' не должен быть включен в ваш код.\n"
4566
4567 #: syntax_errors\statement_analyzer.py:223
4568 msgid "You should not use the backquote character.\n"
4569 msgstr "Не следует использовать символ обратной кавычки.\n"
4570
4571 #: syntax_errors\statement_analyzer.py:224
4572 msgid ""
4573 "You are using the backquote character.\n"
4574 "Either you meant to write a single quote, ', or copied Python 2 code;\n"
4575 "in this latter case, use the function `repr(x)`."
4576 msgstr ""
4577 "Вы используете символ обратной кавычки.\n"
4578 "Либо вы хотели написать одинарную кавычку, либо скопировали код Python 2.\n"
4579 "В последнем случае используйте функцию `repr(x)`."
4580
4581 #: syntax_errors\statement_analyzer.py:245
4582 msgid "You forgot to add a condition.\n"
4583 msgstr "Вы забыли добавить условие.\n"
4584
4585 #: syntax_errors\statement_analyzer.py:247
4586 msgid ""
4587 "An `if` statement requires a condition:\n"
4588 "\n"
4589 " if condition:\n"
4590 " ...\n"
4591 "\n"
4592 msgstr ""
4593 "Оператор `if` требует условия:\n"
4594 "\n"
4595 " if condition:\n"
4596 " ...\n"
4597 "\n"
4598
4599 #: syntax_errors\statement_analyzer.py:253
4600 msgid ""
4601 "A `while` loop requires a condition:\n"
4602 "\n"
4603 " while condition:\n"
4604 " ...\n"
4605 "\n"
4606 msgstr ""
4607 "Для цикла `while` требуется условие:\n"
4608 "\n"
4609 " while condition:\n"
4610 " ...\n"
4611 "\n"
4612
4613 #: syntax_errors\statement_analyzer.py:259
4614 msgid "A `for` loop requires at least 3 more terms.\n"
4615 msgstr "Для цикла `for` требуются как минимум 3 элемента.\n"
4616
4617 #: syntax_errors\statement_analyzer.py:260
4618 msgid ""
4619 "A `for` loop is an iteration over a sequence:\n"
4620 "\n"
4621 " for element in sequence:\n"
4622 " ...\n"
4623 "\n"
4624 msgstr ""
4625 "Цикл `for` -- это итерация по последовательности:\n"
4626 "\n"
4627 " for element in sequence:\n"
4628 " ...\n"
4629 "\n"
4630
4631 #: syntax_errors\statement_analyzer.py:266
4632 msgid "A class needs a name.\n"
4633 msgstr "Классу необходимо задать имя.\n"
4634
4635 #: syntax_errors\statement_analyzer.py:267
4636 msgid ""
4637 "A `class` statement requires a name:\n"
4638 "\n"
4639 " class SomeName:\n"
4640 " ...\n"
4641 "\n"
4642 msgstr ""
4643 "Утверждение `class` требует указания имени:\n"
4644 "\n"
4645 " class SomeName:\n"
4646 " ...\n"
4647 "\n"
4648
4649 #: syntax_errors\statement_analyzer.py:284
4650 msgid ""
4651 "You cannot use the Python keyword `{word}` as an attribute.\n"
4652 "\n"
4653 msgstr ""
4654 "Нельзя использовать ключевое слово Python `{word}` в качестве атрибута.\n"
4655 "\n"
4656
4657 #: syntax_errors\statement_analyzer.py:290
4658 msgid "`{word}` cannot be used as an attribute.\n"
4659 msgstr "`{word}` нельзя использовать в качестве атрибута.\n"
4660
4661 #: syntax_errors\statement_analyzer.py:312
4662 msgid "Perhaps you meant to write `elif`.\n"
4663 msgstr "Возможно, вы хотели написать `elif`.\n"
4664
4665 #: syntax_errors\statement_analyzer.py:313
4666 msgid ""
4667 "You likely meant to use Python's `elif` keyword\n"
4668 "but wrote `{name}` instead.\n"
4669 "\n"
4670 msgstr ""
4671 "Скорее всего, вы хотели использовать ключевое слово Python `elif`,\n"
4672 "но вместо него написали `{name}`.\n"
4673 "\n"
4674
4675 #: syntax_errors\statement_analyzer.py:332
4676 msgid "Did you mean `from {module} import {function}`?\n"
4677 msgstr "Вы имели в виду `from {module} import {function}`?\n"
4678
4679 #: syntax_errors\statement_analyzer.py:335
4680 msgid ""
4681 "You wrote something like\n"
4682 "\n"
4683 " import {function} from {module}\n"
4684 "\n"
4685 "instead of\n"
4686 "\n"
4687 " from {module} import {function}\n"
4688 "\n"
4689 msgstr ""
4690 "Вы написали\n"
4691 "\n"
4692 " import {function} from {module}\n"
4693 "вместо\n"
4694 "\n"
4695 " from {module} import {function}\n"
4696 "\n"
4697
4698 #: syntax_errors\statement_analyzer.py:406
4699 msgid ""
4700 "The augmented assignment operator is not allowed in Python version "
4701 "{version}.\n"
4702 msgstr ""
4703 "Дополненный оператор присваивания не разрешен в Python версии {version}.\n"
4704
4705 #: syntax_errors\statement_analyzer.py:409
4706 msgid ""
4707 "You appear to be using the operator `:=`, sometimes called\n"
4708 "the walrus operator. This operator requires the use of\n"
4709 "Python 3.8 or newer. You are using version {version}.\n"
4710 msgstr ""
4711 "Похоже, что вы используете оператор `:=`, иногда называемый\n"
4712 "моржовым оператором. Этот оператор требует использования\n"
4713 "Python 3.8 или более новой версии. Вы же используете версию {version}.\n"
4714
4715 #: syntax_errors\statement_analyzer.py:453
4716 msgid "Did you write operators in an incorrect order?\n"
4717 msgstr "Операторы расположены в правильном порядке?\n"
4718
4719 #: syntax_errors\statement_analyzer.py:454
4720 msgid ""
4721 "It looks like you wrote two operators (`{first}` and `{second}`)\n"
4722 "in the wrong order: `{wrong}` instead of `{correct}`.\n"
4723 msgstr ""
4724 "Похоже, что вы написали два оператора (`{first}` и `{second}`).\n"
4725 "в неправильном порядке: `{wrong}` вместо `{correct}`.\n"
4726
4727 #: syntax_errors\statement_analyzer.py:490
4728 msgid ""
4729 "You wrote three equal signs in a row which is allowed in some\n"
4730 "programming languages, but not in Python. To check if two objects\n"
4731 "are equal, use two equal signs, `==`; to see if two names represent\n"
4732 "the exact same object, use the operator `is`.\n"
4733 msgstr ""
4734 "Вы написали три знака равенства подряд, что допускается в некоторых\n"
4735 "языках программирования, но не в Python.\n"
4736 "Чтобы проверить, равны ли два объекта, используйте два знака равенства, "
4737 "`==`,\n"
4738 "а чтобы проверить, представляют ли два имени один и тот же объект,\n"
4739 "используйте оператор `is`.\n"
4740
4741 #: syntax_errors\statement_analyzer.py:496
4742 msgid "Did you mean to use `is` instead of `===`?\n"
4743 msgstr "Вы хотели использовать `is` вместо `===`?\n"
4744
4745 #: syntax_errors\statement_analyzer.py:500
4746 msgid ""
4747 "You cannot have write the same operator, `{op}`, twice in a row.\n"
4748 "Perhaps you wrote one of them by mistake\n"
4749 "or forgot to write something between them.\n"
4750 msgstr ""
4751 "Вы не должны использовать один и тот же оператор `{op}` два раза подряд.\n"
4752 "Возможно, вы написали один из них по ошибке или забыли поместить что-то "
4753 "между ними.\n"
4754
4755 #: syntax_errors\statement_analyzer.py:511
4756 msgid ""
4757 "You cannot have these two operators, `{first}` and `{second}`,\n"
4758 "following each other.\n"
4759 "It looks like you tried to use a starred expression as a dict value;\n"
4760 "this is not allowed.\n"
4761 msgstr ""
4762 "Два оператора, `{first}` и `{second}`,\n"
4763 "следуют друг за другом. Так нельзя.\n"
4764 "Похоже, что вы пытались использовать выражение со звездочкой\n"
4765 "в качестве значения словаря, это недопустимо.\n"
4766
4767 #: syntax_errors\statement_analyzer.py:528
4768 msgid ""
4769 "You cannot have these two operators, `{first}` and `{second}`,\n"
4770 "following each other. Perhaps you wrote one of them by mistake\n"
4771 "or forgot to write something between them.\n"
4772 msgstr ""
4773 "Так нельзя: два оператора, `{first}` и `{second}` следуют друг за другом.\n"
4774 "Возможно, вы написали один из них по ошибке\n"
4775 "или забыли поместить что-то между ними.\n"
4776
4777 #: syntax_errors\statement_analyzer.py:535
4778 msgid ""
4779 "Or perhaps you included a space by mistake between the two operators\n"
4780 "and meant to write `{oper}` as a single operator.\n"
4781 msgstr ""
4782 "Или, возможно, вы по ошибке поставили пробел между двумя операторами\n"
4783 "и хотели написать `{oper}` как один оператор.\n"
4784
4785 #: syntax_errors\statement_analyzer.py:570
4786 msgid "Did you mean to use `=`?\n"
4787 msgstr "Вы хотели использовать `=`?\n"
4788
4789 #: syntax_errors\statement_analyzer.py:571
4790 msgid ""
4791 "You use the augmented assignment operator `:=` where\n"
4792 "the normal assignment operator `=` was required.\n"
4793 msgstr ""
4794 "Вы используете дополненный оператор присваивания `:=` там,\n"
4795 "где требуется обычный оператор присваивания `=`.\n"
4796
4797 #: syntax_errors\statement_analyzer.py:617
4798 msgid ""
4799 "The following statement would not contain a syntax error:\n"
4800 "\n"
4801 " {new_statement}"
4802 msgstr ""
4803 "Следующее утверждение не содержит синтаксической ошибки:\n"
4804 "\n"
4805 " {new_statement}"
4806
4807 #: syntax_errors\statement_analyzer.py:623
4808 msgid "Perhaps you needed `==` or `:=` instead of `=`.\n"
4809 msgstr "Возможно, правильнее использовать `==` или `:=` вместо `=`.\n"
4810
4811 #: syntax_errors\statement_analyzer.py:624
4812 msgid ""
4813 "You used an assignment operator `=`; perhaps you meant to use \n"
4814 "an equality operator, `==`, or the walrus operator `:=`.\n"
4815 msgstr ""
4816 "Вы использовали оператор присваивания `=`; но, возможно,\n"
4817 "хотели использовать оператор равенства `==`\n"
4818 "или моржовый оператор `:=`.\n"
4819
4820 #: syntax_errors\statement_analyzer.py:682
4821 msgid ""
4822 "It looks as if you are attempting to use pip to install a module.\n"
4823 "`pip` is a command that needs to run in a terminal,\n"
4824 "not from a Python interpreter.\n"
4825 msgstr ""
4826 "Похоже, что вы пытаетесь использовать pip для установки модуля.\n"
4827 "`pip` - это команда, которую нужно запускать в терминале,\n"
4828 "а не из консоли интерпретатора Python.\n"
4829
4830 #: syntax_errors\statement_analyzer.py:690
4831 msgid "Pip cannot be used in a Python interpreter.\n"
4832 msgstr "Pip нельзя использовать в консоли интерпретатора Python.\n"
4833
4834 #: syntax_errors\statement_analyzer.py:693
4835 msgid ""
4836 "I am guessing that you are attempting to use Python to run a program.\n"
4837 "You must do so from a terminal and not from a Python interpreter.\n"
4838 msgstr ""
4839 "Предполагаю, что вы пытаетесь использовать Python для запуска программы.\n"
4840 "Вы должны делать это из терминала, а не из интерпретатора Python.\n"
4841
4842 #: syntax_errors\statement_analyzer.py:703
4843 msgid "You cannot have a dot `.` followed by `{bracket}`.\n"
4844 msgstr "За точкой `.` не может следовать `{bracket}`.\n"
4845
4846 #: syntax_errors\statement_analyzer.py:719
4847 msgid "Perhaps you need to replace the dot by a comma.\n"
4848 msgstr "Возможно, вам следует заменить точку запятой.\n"
4849
4850 #: syntax_errors\statement_analyzer.py:730
4851 msgid ""
4852 "It looks like you are trying to raise an exception using Python 2 syntax.\n"
4853 msgstr ""
4854 "Похоже, что вы пытаетесь вызвать исключение, используя синтаксис Python 2.\n"
4855
4856 #: syntax_errors\statement_analyzer.py:791
4857 msgid "Did you forget a colon `:`?\n"
4858 msgstr "Вы забыли двоеточие `:`?\n"
4859
4860 #: syntax_errors\statement_analyzer.py:795
4861 msgid ""
4862 "You wrote a `{for_while}` loop but\n"
4863 "forgot to add a colon `:` at the end\n"
4864 "\n"
4865 msgstr ""
4866 "Вы написали цикл `{for_while}`, но забыли добавить двоеточие `:` в конце\n"
4867
4868 #: syntax_errors\statement_analyzer.py:802
4869 msgid ""
4870 "You wrote a statement beginning with\n"
4871 "`{name}` but forgot to add a colon `:` at the end.\n"
4872 "\n"
4873 msgstr ""
4874 "Вы написали утверждение, начинающееся с\n"
4875 "`{name}`, но забыли добавить двоеточие `:` в конце.\n"
4876
4877 #: syntax_errors\statement_analyzer.py:826
4878 msgid "You wrote a semicolon, `;`, where a comma was expected.\n"
4879 msgstr ""
4880 "Вы поставили точку с запятой `;` там, где должна быть только запятая.\n"
4881
4882 #: syntax_errors\statement_analyzer.py:846
4883 msgid "You wrote semicolons, `;`, where commas were expected.\n"
4884 msgstr "Вы написали точки с запятой `;` там, где должны быть только запятые.\n"
4885
4886 #: syntax_errors\statement_analyzer.py:847
4887 msgid "Did you mean to write commas?\n"
4888 msgstr "Вы хотели поставить запятые?\n"
4889
4890 #: syntax_errors\statement_analyzer.py:867
4891 msgid "You wrote a semicolon, `;`, where a colon was expected.\n"
4892 msgstr ""
4893 "Вы поставили точку с запятой `;` там, где должна быть только запятая.\n"
4894
4895 #: syntax_errors\statement_analyzer.py:868
4896 msgid "Did you mean to write a colon?\n"
4897 msgstr "Вы забыли поставить двоеточие?\n"
4898
4899 #: syntax_errors\statement_analyzer.py:886
4900 msgid "Did you made a mistake in writing an hexadecimal integer?\n"
4901 msgstr "Допустили ошибку при записи шестнадцатеричного числа?\n"
4902
4903 #: syntax_errors\statement_analyzer.py:887
4904 msgid ""
4905 "It looks like you used an invalid character (`{character}`) in an "
4906 "hexadecimal number.\n"
4907 "\n"
4908 "Hexadecimal numbers are base 16 integers that use the symbols `0` to `9`\n"
4909 "to represent values 0 to 9, and the letters `a` to `f` (or `A` to `F`)\n"
4910 "to represent values 10 to 15.\n"
4911 "In Python, hexadecimal numbers start with either `0x` or `0X`,\n"
4912 "followed by the characters used to represent the value of that integer.\n"
4913 msgstr ""
4914 "Похоже, что вы использовали недопустимый символ (`{character}`) в "
4915 "шестнадцатеричном числе.\n"
4916 "\n"
4917 "Шестнадцатеричные числа - это целые числа с основанием 16, в которых\n"
4918 "используются символы от `0` до `9`\n"
4919 "для обозначения значений от 0 до 9, и буквы от `a` до `f`\n"
4920 "(или от `A` до `F`) для представления значений от 10 до 15.\n"
4921 "В Python шестнадцатеричные числа начинаются с `0x` или `0X`,\n"
4922 "за которым следуют символы, используемые для представления значения этого "
4923 "целого числа.\n"
4924
4925 #: syntax_errors\statement_analyzer.py:906
4926 msgid "Did you made a mistake in writing an octal integer?\n"
4927 msgstr "Не допустили ли вы ошибки при записи восьмеричного числа?\n"
4928
4929 #: syntax_errors\statement_analyzer.py:907
4930 #, fuzzy
4931 #| msgid ""
4932 #| "It looks like you used an invalid character (`{character}`) in an octal "
4933 #| "number.\n"
4934 #| "\n"
4935 #| "Octal numbers are base 8 integers that only use the symbols `0` to `7`\n"
4936 #| "to represent values.\n"
4937 #| "In Python, hexadecimal numbers start with either `0o` or `0O`,\n"
4938 #| "(the digit zero followed by the letter `o`)\n"
4939 #| "followed by the characters used to represent the value of that integer.\n"
4940 msgid ""
4941 "It looks like you used an invalid character (`{character}`) in an octal "
4942 "number.\n"
4943 "\n"
4944 "Octal numbers are base 8 integers that only use the symbols `0` to `7`\n"
4945 "to represent values.\n"
4946 "In Python, octal numbers start with either `0o` or `0O`,\n"
4947 "(the digit zero followed by the letter `o`)\n"
4948 "followed by the characters used to represent the value of that integer.\n"
4949 msgstr ""
4950 "Похоже, что вы использовали недопустимый символ (`{character}`) в\n"
4951 "восьмеричном числе.\n"
4952 "\n"
4953 "Восьмеричные числа -- это целые числа с основанием 8, которые используют "
4954 "только символы от `0` до `7` для представления значений.\n"
4955 "В Python шестнадцатеричные числа начинаются с `0o` или `0O`,\n"
4956 "цифра ноль, за которой следует буква `o`,\n"
4957 "затем следуют символы, используемые для представления значения этого целого "
4958 "числа.\n"
4959
4960 #: syntax_errors\statement_analyzer.py:934
4961 msgid "Valid names cannot begin with a number.\n"
4962 msgstr "Корректные имена не могут начинаться с цифры.\n"
4963
4964 #: syntax_errors\statement_analyzer.py:941
4965 msgid "Did you mean `{number}j`?\n"
4966 msgstr "Вы имели в виду `{number}j`?\n"
4967
4968 #: syntax_errors\statement_analyzer.py:942
4969 msgid ""
4970 "Perhaps you thought that `i` could be used to represent\n"
4971 "the square root of `-1`. In Python, the symbol used for this is `j`\n"
4972 "and the complex part is written as `some_number` immediately\n"
4973 "followed by `j`, with no spaces in between.\n"
4974 "Perhaps you meant to write `{number}j`.\n"
4975 msgstr ""
4976 "Возможно, вы подумали, что `i` можно использовать для представления\n"
4977 "квадратного корня из `-1`. В Python для этого используется символ `j`,\n"
4978 "а комплексная часть записывается как `some_number`, сразу же\n"
4979 "за которым следует `j`, без пробелов между ними.\n"
4980 "Возможно, вы хотели написать `{number}j`.\n"
4981
4982 #: syntax_errors\statement_analyzer.py:952
4983 #, fuzzy
4984 #| msgid "Did you mean `{number}j`?\n"
4985 msgid "Did you mean `{number}{second}0`?\n"
4986 msgstr "Вы имели в виду `{number}j`?\n"
4987
4988 #: syntax_errors\statement_analyzer.py:955
4989 msgid ""
4990 "Perhaps you meant to write `{number}{second}0` in scientific notation\n"
4991 "and forgot the numerical value for the exponent.\n"
4992 msgstr ""
4993
4994 #: syntax_errors\statement_analyzer.py:962
4995 msgid ""
4996 "[Note: `{first} * {second}` would also be valid\n"
4997 "since `{first}` is a complex number.]\n"
4998 msgstr ""
4999 "[Примечание: выражение`{first} * {second}` также будет\n"
5000 "верным, поскольку `{first}` - комплексное число].\n"
5001
5002 #: syntax_errors\statement_analyzer.py:973
5003 msgid "Perhaps you forgot a multiplication operator, `{first} * {second}`.\n"
5004 msgstr "Возможно, вы пропустили оператор умножения, `{first} * {second}`.\n"
5005
5006 #: syntax_errors\statement_analyzer.py:988
5007 msgid "Your Python version does not support this f-string feature.\n"
5008 msgstr "Ваша версия Python не поддерживает f-строки.\n"
5009
5010 #: syntax_errors\statement_analyzer.py:989
5011 msgid ""
5012 "You are likely using a 'debug' syntax of f-strings introduced\n"
5013 "in Python version 3.8. You are using version {version}.\n"
5014 msgstr ""
5015 "Скорее всего, вы используете 'отладочный' синтаксис f-строк, введенный\n"
5016 "в Python версии 3.8. Вы же используете версию {version}.\n"
5017
5018 #: syntax_errors\statement_analyzer.py:995
5019 msgid ""
5020 "You are likely trying to assign a value within an f-string.\n"
5021 "This is not allowed.\n"
5022 msgstr ""
5023 "Скорее всего, вы пытаетесь присвоить значение внутри f-строки.\n"
5024 "Это недопустимо.\n"
5025
5026 #: syntax_errors\statement_analyzer.py:1010
5027 msgid ""
5028 "The content of your f-string is invalid. Please consult the documentation:\n"
5029 "https://docs.python.org/3/reference/lexical_analysis.html#f-strings\n"
5030 msgstr ""
5031 "Содержимое вашей f-строки недопустимо. Пожалуйста, обратитесь к "
5032 "документации:\n"
5033 "https://docs.python.org/3/reference/lexical_analysis.html#f-strings\n"
5034
5035 #: syntax_errors\statement_analyzer.py:1020
5036 msgid "Python keywords cannot be used as identifiers (variable names).\n"
5037 msgstr ""
5038 "Ключевые слова Python нельзя использовать в качестве идентификаторов\n"
5039 "(имен переменных).\n"
5040
5041 #: syntax_errors\statement_analyzer.py:1044
5042 msgid ""
5043 "`lambda` does not allow parentheses around its arguments.\n"
5044 "This was allowed in Python 2 but it not allowed in Python 3.\n"
5045 msgstr ""
5046 "`lambda` не позволяет использовать круглые скобки вокруг своих аргументов.\n"
5047 "Это было разрешено в Python 2, но не в Python 3.\n"
5048
5049 #: syntax_errors\statement_analyzer.py:1061
5050 msgid ""
5051 "You cannot have explicit tuples as arguments.\n"
5052 "Assign any tuple to a parameter and unpack it\n"
5053 "within the body of the function.\n"
5054 msgstr ""
5055 "Вы не можете передавать явные кортежи в качестве аргументов.\n"
5056 "Присвойте любой кортеж параметру и распакуйте его в теле функции.\n"
5057
5058 #: syntax_errors\statement_analyzer.py:1099
5059 msgid "If you remove `{type_decl}`, you will have a valid Python statement.\n"
5060 msgstr "Если вы удалите `{type_decl}`, то оператор станет корректен.\n"
5061
5062 #: syntax_errors\statement_analyzer.py:1103
5063 msgid ""
5064 "However, even if you remove `{type_decl}`, there would still be some\n"
5065 "some syntax errors.\n"
5066 msgstr ""
5067 "Даже если вы удалите `{type_decl}`, все равно будут возникать\n"
5068 "синтаксические ошибки.\n"
5069
5070 #: syntax_errors\statement_analyzer.py:1108
5071 msgid "You do not need to declare variables in Python.\n"
5072 msgstr "В Python не нужно объявлять переменные.\n"
5073
5074 #: syntax_errors\statement_analyzer.py:1109
5075 msgid ""
5076 "It looks like you were trying to declare that `{var}` was\n"
5077 "a variable using the word `{type_decl}`.\n"
5078 msgstr ""
5079 "Похоже, что вы пытались сказать, что `{var}` является\n"
5080 "переменной, используя слово `{type_decl}`.\n"
5081
5082 #: syntax_errors\statement_analyzer.py:1146
5083 msgid ""
5084 "I am guessing that you forgot a comma between two strings\n"
5085 "when defining a dict.\n"
5086 "\n"
5087 msgstr ""
5088 "Полагаю, что вы забыли поставить запятую между двумя строками\n"
5089 "при определении словаря.\n"
5090
5091 #: syntax_errors\statement_analyzer.py:1198
5092 msgid "Did you forget to write `in`?\n"
5093 msgstr "Вы забыли про `in`?\n"
5094
5095 #: syntax_errors\statement_analyzer.py:1199
5096 msgid ""
5097 "It looks as though you forgot to use the keyword `in`\n"
5098 "as part of a `for` statement. Perhaps you meant:\n"
5099 "\n"
5100 " {new_statement}\n"
5101 "\n"
5102 msgstr ""
5103 "Похоже, что вы забыли использовать ключевое слово `in`\n"
5104 "как часть оператора `for`. Возможно, вы имели в виду:\n"
5105 "\n"
5106 " {new_statement}\n"
5107 "\n"
5108
5109 #: syntax_errors\statement_analyzer.py:1227
5110 msgid "Did you forget to write parenthesis?\n"
5111 msgstr "Вы забыли про скобки?\n"
5112
5113 #: syntax_errors\statement_analyzer.py:1228
5114 msgid ""
5115 "It looks as though you forgot to use to use parenthesis with `range`.\n"
5116 "Perhaps you meant:\n"
5117 "\n"
5118 " {new_statement}\n"
5119 "\n"
5120 msgstr ""
5121 "Похоже, что вы забыли использовать скобки с `range`.\n"
5122 "Возможно, вы имели в виду:\n"
5123 "\n"
5124 " {new_statement}\n"
5125 "\n"
5126
5127 #: syntax_errors\statement_analyzer.py:1260
5128 msgid ""
5129 "Perhaps you meant to write `{keyword}` and made a typo.\n"
5130 "The correct line might be `{line}`\n"
5131 msgstr ""
5132 "Возможно, вы хотели написать `{keyword}` и допустили опечатку.\n"
5133 "Корректной строкой может быть: `{line}`.\n"
5134
5135 #: syntax_errors\statement_analyzer.py:1273
5136 msgid ""
5137 "I am guessing that you were writing a comprehension or a generator "
5138 "expression\n"
5139 "and use the wrong order for a condition.\n"
5140 "The correct order depends if there is an `else` clause or not.\n"
5141 "For example, the correct order for a list comprehensions with\n"
5142 "condition can be either\n"
5143 "\n"
5144 " [f(x) if condition else other for x in sequence] # 'if' before 'for'\n"
5145 "\n"
5146 "or, if there is no `else`\n"
5147 "\n"
5148 " [f(x) for x in sequence if condition] # 'if' after 'for'\n"
5149 "\n"
5150 msgstr ""
5151 "Предполагаю, что вы писали comprehension или генераторное выражение\n"
5152 "и использовали неправильный порядок для условия.\n"
5153 "Правильный порядок зависит от наличия или отсутствия условия `else`.\n"
5154 "Например, правильным порядком для представления списков с\n"
5155 "условием может быть либо:\n"
5156 "\n"
5157 " [f(x) if condition else other for x in sequence] # 'if' перед 'for'\n"
5158 "\n"
5159 "либо, если нет `else`:\n"
5160 "\n"
5161 " [f(x) for x in sequence if condition] # 'if' после 'for'.\n"
5162 "\n"
5163
5164 #: syntax_errors\statement_analyzer.py:1385
5165 msgid ""
5166 "You cannot have spaces in identifiers (variable names).\n"
5167 "Perhaps you meant `{name}`?\n"
5168 msgstr ""
5169 "В идентификаторах (именах переменных) пробелы недопустимы.\n"
5170 "Возможно, вы имели в виду `{name}`?\n"
5171
5172 #: syntax_errors\statement_analyzer.py:1407
5173 msgid "`bf` is an illegal string prefix.\n"
5174 msgstr "`bf` -- недопустимый префикс.\n"
5175
5176 #: syntax_errors\statement_analyzer.py:1408
5177 msgid ""
5178 "I am guessing that you wanted a binary f-string;\n"
5179 "this is not allowed.\n"
5180 msgstr ""
5181 "Предполагаю, что вы хотели получить binary f-строку, это недопустимо.\n"
5182
5183 #: syntax_errors\statement_analyzer.py:1432
5184 msgid ""
5185 "It is possible that you forgot a comma between items in a tuple, \n"
5186 "or between function arguments, \n"
5187 "at the position indicated by ^.\n"
5188 msgstr ""
5189 "Возможно, вы забыли поставить запятую между элементами кортежа, \n"
5190 "или между аргументами функции, место отмечено ^.\n"
5191
5192 #: syntax_errors\statement_analyzer.py:1440
5193 msgid ""
5194 "It is possible that you forgot a comma between items in a list\n"
5195 "at the position indicated by ^.\n"
5196 msgstr ""
5197 "Возможно, вы забыли поставить запятую между элементами списка,\n"
5198 "место отмечено ^.\n"
5199
5200 #: syntax_errors\statement_analyzer.py:1446
5201 msgid ""
5202 "It is possible that you forgot a comma between items in a set or dict\n"
5203 "at the position indicated by ^.\n"
5204 msgstr ""
5205 "Возможно, что вы забыли поставить запятую между элементами множества или или "
5206 "словаря,\n"
5207 "место отмечено ^.\n"
5208
5209 #: syntax_errors\statement_analyzer.py:1476
5210 msgid ""
5211 "Python indicates that the error is caused by `{second}` written immediately "
5212 "after `{first}`.\n"
5213 msgstr ""
5214 "Python указывает, что ошибка вызвана `{second}`, написанным сразу после "
5215 "`{first}`.\n"
5216
5217 #: syntax_errors\statement_analyzer.py:1533
5218 msgid "Perhaps you meant{line}"
5219 msgstr "Возможно, вы имели в виду `{line}`"
5220
5221 #: syntax_errors\statement_analyzer.py:1540
5222 msgid "Did you forget something between `{first}` and `{second}`?\n"
5223 msgstr "Вы что-то пропустили между `{first}` и `{second}`\n"
5224
5225 #: syntax_errors\statement_analyzer.py:1555
5226 msgid ""
5227 "Perhaps you meant to insert an operator like `{operators}`\n"
5228 "between `{first}` and `{second}`.\n"
5229 "The following lines of code would not cause any `SyntaxError`:\n"
5230 "\n"
5231 msgstr ""
5232 "Возможно, вы хотели вставить оператор типа `{operators}`\n"
5233 "между `{first}` и `{second}`.\n"
5234 "Следующие строки кода не вызовут `SyntaxError`:\n"
5235
5236 #: syntax_errors\statement_analyzer.py:1564
5237 msgid ""
5238 "Note: these are just some of the possible choices and that\n"
5239 "some of them might raise other types of exceptions.\n"
5240 msgstr ""
5241 "Примечание: это только некоторые из возможных вариантов и\n"
5242 "некоторые из них могут вызывать другие типы исключений.\n"
5243
5244 #: syntax_errors\statement_analyzer.py:1571
5245 msgid "There is an additional possibility.\n"
5246 msgstr "Существует и другая возможность.\n"
5247
5248 #: syntax_errors\statement_analyzer.py:1586
5249 msgid ""
5250 "It is possible that you used an equal sign `=` instead of a colon `:`\n"
5251 "to assign values to keys in a dict\n"
5252 "before or at the position indicated by ^.\n"
5253 msgstr ""
5254 "Возможно, что вы использовали знак равенства `=` вместо двоеточия `:`\n"
5255 "для присвоения значений ключам в словаре,\n"
5256 "до или в позиции, обозначенной ^.\n"
5257
5258 #: syntax_errors\statement_analyzer.py:1609
5259 msgid ""
5260 "The Python keyword `{boolean}` can only be used for boolean expressions.\n"
5261 "Perhaps you meant to write\n"
5262 "\n"
5263 "`{new_statement}`\n"
5264 msgstr ""
5265 "Ключевое слово Python '{boolean}' можно использовать только для булевых "
5266 "выражений.\n"
5267 "Возможно, вы хотели написать\n"
5268 "\n"
5269 "`{new_statement}`\n"
5270
5271 #: syntax_errors\statement_analyzer.py:1639
5272 msgid ""
5273 "I am guessing that you are trying to import at least one object\n"
5274 "from module `{module}` and rename it using the Python keyword `as`;\n"
5275 "this keyword can only be used to rename one object at a time\n"
5276 "using a well defined syntax.\n"
5277 "I suggest that you split up any such import statement with each object\n"
5278 "renamed on a separate line as follows:\n"
5279 "\n"
5280 " from {module} import object_1 as name_1\n"
5281 " from {module} import object_2 as name_2 # if needed\n"
5282 msgstr ""
5283 "Предполагаю, что вы пытаетесь импортировать по крайней мере один объект\n"
5284 "из модуля `{module}` и переименовать его с помощью ключевого слова Python "
5285 "`as`;\n"
5286 "Это ключевое слово может быть использовано только для переименования одного "
5287 "объекта за раз\n"
5288 "и только используя четко определенный синтаксис.\n"
5289 "Каждый обьект переименовывается в отдельной строке следующим образом:\n"
5290 "\n"
5291 " from {module} import object_1 as name_1\n"
5292 " from {module} import object_2 as name_2 # если необходимо\n"
5293
5294 #: syntax_errors\statement_analyzer.py:1669
5295 msgid ""
5296 "I am guessing that you wrote {bad_token} twice in a row by mistake.\n"
5297 "If that is the case, you need to remove the second one.\n"
5298 msgstr ""
5299 "Предполагаю, что вы по ошибке написали {bad_token} два раза подряд.\n"
5300 "Если это так, вам нужно удалить второй.\n"
5301
5302 #: syntax_errors\statement_analyzer.py:1673
5303 msgid "Did you write {bad_token} twice by mistake?\n"
5304 msgstr "Вы по ошибке написали {bad_token} дважды?\n"
5305
5306 #: syntax_errors\statement_analyzer.py:1700
5307 msgid ""
5308 "I am guessing that you wrote {bad_token} by mistake.\n"
5309 "Removing it and writing `{line}` seems to fix the error.\n"
5310 msgstr ""
5311 "Предполагаю, что вы по ошибке написали {bad_token}.\n"
5312 "Удалите его и напишите `{line}`, это поможет устранить ошибку.\n"
5313
5314 #: syntax_errors\statement_analyzer.py:1704
5315 msgid "Did you write {bad_token} by mistake?\n"
5316 msgstr "Вы написали {bad_token} по ошибке?\n"
5317
5318 #: syntax_errors\statement_analyzer.py:1721
5319 msgid ""
5320 "It looks like the error occurred as you were writing a Python dict.\n"
5321 "Perhaps wrote a dict key without writing the corresponding value.\n"
5322 msgstr ""
5323 "Возможно, вы записали ключ словаря без записи соответствующего значения.\n"
5324
5325 #: syntax_errors\statement_analyzer.py:1737
5326 msgid ""
5327 "The `else` keyword does not begin a code block that matches\n"
5328 "a valid code block, possibly because `else` is not indented correctly.\n"
5329 msgstr ""
5330 "Ключевое слово `else` не начинает соответствующий блок кода.\n"
5331 "Возможно, потому что `else` имеет неправильный отступ.\n"
5332
5333 #: syntax_errors\statement_analyzer.py:1749
5334 msgid ""
5335 "The `elif` keyword does not begin a code block that matches\n"
5336 "an `if` block, possibly because `elif` is not indented correctly.\n"
5337 msgstr ""
5338 "Ключевое слово `elif` не начинает блок кода, который соответствует блоку "
5339 "`if`.\n"
5340 "Возможно, потому что `elif` имеет неправильный отступ.\n"
5341
5342 #: syntax_errors\statement_analyzer.py:1762
5343 #, fuzzy
5344 #| msgid ""
5345 #| "The `elif` keyword does not begin a code block that matches\n"
5346 #| "an `if` block, possibly because `elif` is not indented correctly.\n"
5347 msgid ""
5348 "The `except` keyword does not begin a code block that matches\n"
5349 "a `try` block, possibly because `except` is not indented correctly.\n"
5350 msgstr ""
5351 "Ключевое слово `elif` не начинает блок кода, который соответствует блоку "
5352 "`if`.\n"
5353 "Возможно, потому что `elif` имеет неправильный отступ.\n"
5354
5355 #: syntax_errors\statement_analyzer.py:1775
5356 #, fuzzy
5357 #| msgid ""
5358 #| "The `elif` keyword does not begin a code block that matches\n"
5359 #| "an `if` block, possibly because `elif` is not indented correctly.\n"
5360 msgid ""
5361 "The `finally` keyword does not begin a code block that matches\n"
5362 "a `try` block, possibly because `finally` is not indented correctly.\n"
5363 msgstr ""
5364 "Ключевое слово `elif` не начинает блок кода, который соответствует блоку "
5365 "`if`.\n"
5366 "Возможно, потому что `elif` имеет неправильный отступ.\n"
5367
5368 #: syntax_errors\statement_analyzer.py:1814
5369 msgid "You used square brackets, `[...]` instead of parentheses.\n"
5370 msgstr "Вы использовали квадратные скобки `[...]` вместо круглых.\n"
5371
5372 #: syntax_errors\statement_analyzer.py:1818
5373 msgid ""
5374 "Write the following instead:\n"
5375 "\n"
5376 "{new_statement}"
5377 msgstr ""
5378 "Возможно, вы хотели написать:\n"
5379 "\n"
5380 "{new_statement}"
5381
5382 #: syntax_errors\statement_analyzer.py:1862
5383 msgid "The opening {bracket} on line {linenumber} is not closed.\n"
5384 msgstr "Открывающая {bracket} в строке {linenumber} не закрыта.\n"
5385
5386 #: syntax_errors\statement_analyzer.py:1876
5387 msgid "If this is incorrect, please report this case.\n"
5388 msgstr "Если это неверно, пожалуйста, сообщите об этом случае.\n"
5389
5390 #: syntax_errors\statement_analyzer.py:1888
5391 msgid ""
5392 "Perhaps you wrote a statement beginning a code block\n"
5393 "intended to be part of a generator expression.\n"
5394 "You cannot have separate code blocks inside generator expressions.\n"
5395 msgstr ""
5396 "Возможно, вы написали утверждение, начинающее блок кода\n"
5397 "который должен быть частью генераторного выражения.\n"
5398 "Внутри генераторного выражения нельзя располагать отдельные блоки кода.\n"
5399
5400 #: syntax_errors\statement_analyzer.py:1894
5401 msgid ""
5402 "Perhaps you wrote a statement beginning a code block\n"
5403 "intended to be part of a list comprehension.\n"
5404 "You cannot have separate code blocks inside list comprehensions.\n"
5405 msgstr ""
5406 "Возможно, вы написали утверждение, начинающее блок кода\n"
5407 "который должен быть частью list comprehension.\n"
5408 "Внутри представления списка нельзя располагать отдельные блоки кода.\n"
5409
5410 #: syntax_errors\statement_analyzer.py:1900
5411 msgid ""
5412 "Perhaps you wrote a statement beginning a code block\n"
5413 "intended to be part of a dict or set comprehension.\n"
5414 "You cannot have separate code blocks inside dict or set comprehensions.\n"
5415 msgstr ""
5416 "Возможно, вы написали утверждение, начинающее блок кода\n"
5417 "предназначенного для части dict или set comprehension.\n"
5418 "Нельзя располагать отдельные блоки кода внутри dict или set comprehensions.\n"
5419
5420 #: syntax_errors\statement_analyzer.py:1906
5421 msgid "If this explanation is incorrect, please report this case.\n"
5422 msgstr "Если это неверно, пожалуйста, сообщите об этом случае.\n"
5423
5424 #: syntax_errors\syntax_utils.py:22
5425 msgid "parenthesis `(`"
5426 msgstr "круглая скобка `(`"
5427
5428 #: syntax_errors\syntax_utils.py:23
5429 msgid "parenthesis `)`"
5430 msgstr "круглая скобка `)`"
5431
5432 #: syntax_errors\syntax_utils.py:24
5433 msgid "square bracket `[`"
5434 msgstr "квадратная скобка `[`"
5435
5436 #: syntax_errors\syntax_utils.py:25
5437 msgid "square bracket `]`"
5438 msgstr "квадратная скобка `]`"
5439
5440 #: syntax_errors\syntax_utils.py:26
5441 msgid "curly bracket `{`"
5442 msgstr "фигурная скобка `{`"
5443
5444 #: syntax_errors\syntax_utils.py:27
5445 msgid "curly bracket `}`"
5446 msgstr "фигурная скобка `}`"
5447
5448 #: syntax_errors\syntax_utils.py:60
5449 msgid "Did you mean to use a normal quote character, `'` or `\"`?\n"
5450 msgstr "Вы хотели использовать одинарные кавычки `'`, или двойные `\"`?\n"
5451
5452 #: syntax_errors\syntax_utils.py:61
5453 msgid ""
5454 "I suspect that you used a fancy unicode quotation mark\n"
5455 "whose name is {name}\n"
5456 "instead of a normal single or double quote for a string.\n"
5457 msgstr ""
5458 "Предполагаю, что вы использовали причудливую юникодную кавычку\n"
5459 "имя которой {name},\n"
5460 "вместо обычной одинарной или двойной кавычки для строки.\n"
5461
5462 #: syntax_errors\syntax_utils.py:76
5463 msgid "Or perhaps, you meant to write a less than sign, `<`.\n"
5464 msgstr "Или, возможно, вы хотели поставить знак \"меньше чем\", `<`.\n"
5465
5466 #: syntax_errors\syntax_utils.py:78
5467 msgid "Or perhaps, you meant to write a greater than sign, `>`.\n"
5468 msgstr "Или, возможно, вы хотели поставить знак \"больше чем\", `>`.\n"
5469
5470 #: syntax_errors\syntax_utils.py:80
5471 msgid "Or perhaps, you meant to write a comma.\n"
5472 msgstr "Или, возможно, вы хотели поставить запятую.\n"
5473
5474 #: syntax_errors\syntax_utils.py:97
5475 msgid ""
5476 "I suspect that you used a fancy unicode quotation mark\n"
5477 "whose name is {name}.\n"
5478 "\n"
5479 msgstr ""
5480 "Предполагаю, что вы использовали причудливую кавычку юникода,\n"
5481 "имя которой {name}.\n"
5482
5483 #: syntax_errors\syntax_utils.py:112
5484 msgid "Perhaps, you meant to write a less than sign, `<`.\n"
5485 msgstr "Возможно, вы хотели поставить знак \"меньше чем\", `<`.\n"
5486
5487 #: syntax_errors\syntax_utils.py:113
5488 msgid "Did you mean to write a less than sign, `<`?\n"
5489 msgstr "Вы хотели поставить знак \"меньше чем\", `<`?\n"
5490
5491 #: syntax_errors\syntax_utils.py:115
5492 msgid "Perhaps, you meant to write a greater than sign, `>`.\n"
5493 msgstr "Возможно, вы хотели поставить знак \"больше чем\", `>`.\n"
5494
5495 #: syntax_errors\syntax_utils.py:116
5496 msgid "Did you mean to write a greater than sign, `>`?\n"
5497 msgstr "Вы хотели поставить знак \"больше чем\", `>`?\n"
5498
5499 #: syntax_errors\syntax_utils.py:118
5500 msgid "Perhaps, you meant to write a comma.\n"
5501 msgstr "Возможно, вы хотели поставить запятую.\n"
5502
5503 #: syntax_errors\syntax_utils.py:136
5504 msgid ""
5505 "I suspect that you used the unicode character known as\n"
5506 "'FRACTION SLASH', which looks similar to\n"
5507 "but is different from the division operator `/`.\n"
5508 msgstr ""
5509 "Предполагаю, что вы использовали символ юникода, известный как\n"
5510 "'FRACTION SLASH', который похож,\n"
5511 "но отличается от оператора деления `/`.\n"
5512
5513 #: syntax_errors\syntax_utils.py:143
5514 msgid "Did you use a unicode fraction?\n"
5515 msgstr "Вы использовали дробь в юникоде?\n"
5516
5517 #: syntax_errors\syntax_utils.py:144
5518 msgid ""
5519 "I suspect that you used the unicode character `{char}`meant to represent a "
5520 "fraction.\n"
5521 "The name of this unicode character is {name}.\n"
5522 msgstr ""
5523 "Предполагаю, что вы использовали символ юникода `{char}`, предназначенный "
5524 "для представления дроби.\n"
5525 "Название этого символа юникода: {name}.\n"
5526
5527 #: syntax_errors\syntax_utils.py:181
5528 msgid "Did you mean `{num}/{denom}`?\n"
5529 msgstr "Вы имели в виду `{num}/{denom}`?\n"
5530
5531 #: syntax_errors\syntax_utils.py:182
5532 msgid ""
5533 "You used the unicode character {char} which is known as\n"
5534 "{name}\n"
5535 "I suspect that you meant to write the fraction `{num}/{denom}` instead.\n"
5536 msgstr ""
5537 "Вы использовали символ юникода {char}, известный как {name}\n"
5538 "Предполагаю, что вместо этого вы хотели написать дробь `{num}/{denom}`.\n"
5539
5540 #: warning_parsers\syntax_warning.py:47
5541 msgid ""
5542 "You have {container_type} followed by square brackets, `[...]`.\n"
5543 "What is included between the square brackets, `[...]`,\n"
5544 "must be either an integer or a slice\n"
5545 "(`start:stop` or `start:stop:step`) \n"
5546 "and you have used {obj_type} instead.\n"
5547 msgstr ""
5548 "В выражении `{container_type}`\n"
5549 "то, что включено между квадратными скобками, `[...]`,\n"
5550 "должно быть либо целым числом, либо фрагментом\n"
5551 "(`start:stop` или `start:stop:step`) \n"
5552 "а вы вместо этого использовали {obj_type}.\n"
5553
5554 #~ msgid "Changes the prompt style to be used in the Friendly console."
5555 #~ msgstr ""
5556 #~ "Устанавливает стиль подсказки, который будет использоваться в консоли."
5557
5558 #~ msgid "Nothing to go back to: no exception recorded."
5559 #~ msgstr "Возвращаться не к чему: исключений не зарегистрировано."
5560
5561 #~ msgid "Removes the last recorded traceback item."
5562 #~ msgstr "Удаляет последний записанный элемент трассировки."
5563
5564 #~ msgid "No information is available about this warning.\n"
5565 #~ msgstr "По данному предупреждению информации нет.\n"