src/eric7/i18n/eric7_ru.ts

branch
eric7
changeset 10048
df836ff707fd
parent 10046
35b27af462ef
child 10055
2008df2579f1
--- a/src/eric7/i18n/eric7_ru.ts	Sun May 21 16:04:59 2023 +0200
+++ b/src/eric7/i18n/eric7_ru.ts	Mon May 22 08:43:23 2023 +0200
@@ -53116,285 +53116,331 @@
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="210" />
-      <source>Do not use 'except (){0}:', it also catches unexpected events. Prefer 'except Exception:'.</source>
-      <translation>Не используйте 'except(){0}:', он также перехватывает непредвиденные события. Предпочтительнее 'except Exception:'.</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="215" />
+      <source>Do not use bare 'except:', it also catches unexpected events like memory errors, interrupts, system exit, and so on. Prefer 'except Exception:'. If you're sure what you're doing, be explicit and write 'except BaseException:'.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="217" />
       <source>Python does not support the unary prefix increment</source>
       <translation>Python не поддерживает инкремент унарного префикса</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="218" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="220" />
       <source>assigning to 'os.environ' does not clear the environment - use 'os.environ.clear()'</source>
       <translation>назначение 'os.environ' не очищает среду окружения - используйте 'os.environ.clear()'</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="223" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="225" />
       <source>using 'hasattr(x, "__call__")' to test if 'x' is callable is unreliable. Use 'callable(x)' for consistent results.</source>
       <translation>использование 'hasattr(x, "__call__")' для проверки возможности вызова 'x' ненадежно. Используйте 'callable(x)' для получения стабильных результатов.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="228" />
-      <source>using .strip() with multi-character strings is misleading. Use .replace() or regular expressions to remove string fragments.</source>
-      <translation>использование .strip() с многосимвольными строками приводит к ошибочным результатам. Используйте .replace() или регулярные выражения для удаления фрагментов строки.</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="233" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="230" />
+      <source>using .strip() with multi-character strings is misleading. Use .replace(), .removeprefix(), .removesuffix(), or regular expressions to remove string fragments.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="236" />
       <source>loop control variable {0} not used within the loop body - start the name with an underscore</source>
       <translation>переменная {0} управления циклом не используется внутри цикла - начните имя символом подчеркивания</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="238" />
-      <source>do not call getattr with a constant attribute value</source>
-      <translation>не используйте вызовы getattr с постоянным значением атрибута</translation>
-    </message>
-    <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="241" />
-      <source>do not call setattr with a constant attribute value</source>
-      <translation>не используйте вызовы setattr с постоянным значением атрибута</translation>
+      <source>do not call getattr with a constant attribute value</source>
+      <translation>не используйте вызовы getattr с постоянным значением атрибута</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="244" />
+      <source>do not call setattr with a constant attribute value</source>
+      <translation>не используйте вызовы setattr с постоянным значением атрибута</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="247" />
       <source>do not call assert False since python -O removes these calls</source>
       <translation>не используйте вызовы assert False, так как python -O удаляет эти вызовы</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="248" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="251" />
       <source>return/continue/break inside finally blocks cause exceptions to be silenced. Exceptions should be silenced in except blocks. Control statements can be moved outside the finally block.</source>
       <translation>return/continue/break внутри блоков finally заставляют исключения отключаться. Исключения должны быть отключены в блоках except. Управляющие операторы могут быть перемещены за пределы блока finally.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="254" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="257" />
       <source>A length-one tuple literal is redundant. Write 'except {0}:' instead of 'except ({0},):'.</source>
       <translation>Литерал односимвольного кортежа является избыточным. Используйте 'except {0}:' вместо 'except ({0},):'.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="259" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="262" />
       <source>Redundant exception types in 'except ({0}){1}:'. Write 'except {2}{1}:', which catches exactly the same exceptions.</source>
       <translation>Избыточные типы исключений в 'except ({0}){1}:'. Используйте 'except {2}{1}:', чтобы перехватывать точно такие же исключения.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="264" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="267" />
       <source>Result of comparison is not used. This line doesn't do anything. Did you intend to prepend it with assert?</source>
       <translation>Результат сравнения не используется. Эта строка ничего не делает. Вы намеревались добавить к нему assert?</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="269" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="272" />
       <source>Cannot raise a literal. Did you intend to return it or raise an Exception?</source>
       <translation>Невозможно вызвать литерал. Вы намеревались вернуть его или вызвать Exception?</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="273" />
-      <source>'assertRaises(Exception):' should be considered evil. It can lead to your test passing even if the code being tested is never executed due to a typo. Either assert for a more specific exception (builtin or custom), use 'assertRaisesRegex', or use the context manager form of 'assertRaises'.</source>
-      <translation>'assertRaises(Exception):' следует считать злом. Это может привести к прохождению теста, даже если тестируемый код никогда не выполняется из-за опечатки. Либо подтвердите для более конкретного исключения (встроенного или пользовательского), используйте 'assertRaisesRegex', либо используйте форму 'assertRaises' диспетчера контекста.</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="280" />
-      <source>Found useless expression. Consider either assigning it to a variable or removing it.</source>
-      <translation>Найдено бесполезное выражение. Рассмотрите возможность назначения его переменной или удалить.</translation>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="276" />
+      <source>'assertRaises(Exception)' and 'pytest.raises(Exception)' should be considered evil. They can lead to your test passing even if the code being tested is never executed due to a typo. Assert for a more specific exception (builtin or custom), or use 'assertRaisesRegex' (if using 'assertRaises'), or add the 'match' keyword argument (if using 'pytest.raises'), or use the context manager form with a target.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="285" />
+      <source>Found useless expression. Consider either assigning it to a variable or removing it.</source>
+      <translation>Найдено бесполезное выражение. Рассмотрите возможность назначения его переменной или удалить.</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="290" />
       <source>Use of 'functools.lru_cache' or 'functools.cache' on methods can lead to memory leaks. The cache may retain instance references, preventing garbage collection.</source>
       <translation>Использование  'functools.lru_cache' или  'functools.cache' в методах может привести к утечке памяти. Кэш может сохранять ссылки на экземпляры, предотвращая сборку мусора.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="291" />
-      <source>Found for loop that reassigns the iterable it is iterating with each iterable value.</source>
-      <translation>Найден цикл for, который переназначает итерируемый объект, который повторяется с каждым итерируемым значением.</translation>
-    </message>
-    <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="296" />
-      <source>f-string used as docstring. This will be interpreted by python as a joined string rather than a docstring.</source>
-      <translation>f-string используется в качестве строки документации. Python будет интерпретировать это скорее как объединенную строку, а не как строку документации.</translation>
+      <source>Found for loop that reassigns the iterable it is iterating with each iterable value.</source>
+      <translation>Найден цикл for, который переназначает итерируемый объект, который повторяется с каждым итерируемым значением.</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="301" />
-      <source>No arguments passed to 'contextlib.suppress'. No exceptions will be suppressed and therefore this context manager is redundant.</source>
-      <translation>В  'contextlib.suppress' не переданы аргументы. Никакие исключения не будут подавляться, поэтому этот менеджер контекста является избыточным.</translation>
+      <source>f-string used as docstring. This will be interpreted by python as a joined string rather than a docstring.</source>
+      <translation>f-string используется в качестве строки документации. Python будет интерпретировать это скорее как объединенную строку, а не как строку документации.</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="306" />
+      <source>No arguments passed to 'contextlib.suppress'. No exceptions will be suppressed and therefore this context manager is redundant.</source>
+      <translation>В  'contextlib.suppress' не переданы аргументы. Никакие исключения не будут подавляться, поэтому этот менеджер контекста является избыточным.</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="311" />
       <source>Function definition does not bind loop variable '{0}'.</source>
       <translation>Определение функции не связывает переменную цикла '{0}'.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="310" />
-      <source>{0} is an abstract base class, but it has no abstract methods. Remember to use the @abstractmethod decorator, potentially in conjunction with @classmethod, @property and/or @staticmethod.</source>
-      <translation>0} — это абстрактный базовый класс, но он не имеет абстрактных методов. Не забудьте использовать декоратор @abstractmethod, возможно, в сочетании с @classmethod, @property и/или @staticmethod.</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="316" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="315" />
+      <source>{0} is an abstract base class, but none of the methods it defines are abstract. This is not necessarily an error, but you might have forgotten to add the @abstractmethod decorator, potentially in conjunction with @classmethod, @property and/or @staticmethod.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="322" />
       <source>Exception '{0}' has been caught multiple times. Only the first except will be considered and all other except catches can be safely removed.</source>
       <translation>Исключение '{0}' было перехвачено несколько раз. Будет рассмотрено только первое исключение, а все остальные исключения могут быть безопасно удалены.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="321" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="327" />
       <source>Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.</source>
       <translation>Настоятельно не рекомендуется распаковывать star-arg после аргумента ключевого слова, потому что он работает только тогда, когда параметр ключевого слова объявляется после всех параметров, предоставленных распакованной последовательностью, и такое изменение порядка может удивить и ввести в заблуждение читателей.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="328" />
-      <source>{0} is an empty method in an abstract base class, but has no abstract decorator. Consider adding @abstractmethod.</source>
-      <translation>{0} — это пустой метод в абстрактном базовом классе, но без абстрактного декоратора. Рассмотрите возможность добавления @abstractmethod.</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="333" />
-      <source>unncessary f-string</source>
-      <translation>ненужная f-string</translation>
-    </message>
-    <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="334" />
-      <source>cannot use 'self.__class__' as first argument of 'super()' call</source>
-      <translation>не используйте 'self .__ class__' в качестве первого аргумента вызова 'super ()'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="338" />
-      <source>found {0} formatter</source>
-      <translation>найден {0} форматтер</translation>
+      <source>{0} is an empty method in an abstract base class, but has no abstract decorator. Consider adding @abstractmethod.</source>
+      <translation>{0} — это пустой метод в абстрактном базовом классе, но без абстрактного декоратора. Рассмотрите возможность добавления @abstractmethod.</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="339" />
-      <source>format string does contain unindexed parameters</source>
-      <translation>строка формата действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="342" />
-      <source>docstring does contain unindexed parameters</source>
-      <translation>строка документации действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="345" />
-      <source>other string does contain unindexed parameters</source>
-      <translation>другая строка действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="348" />
-      <source>format call uses too large index ({0})</source>
-      <translation>формат вызова использует слишком большой индекс ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="351" />
-      <source>format call uses missing keyword ({0})</source>
-      <translation>формат вызова использует отсутствующее ключевое слово ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="354" />
-      <source>format call uses keyword arguments but no named entries</source>
-      <translation>формат вызова использует ключевые аргументы, но нет именованных записей</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="358" />
-      <source>format call uses variable arguments but no numbered entries</source>
-      <translation>формат ячейки использует переменные аргументы, но нет пронумерованных записей</translation>
+      <source>No explicit stacklevel argument found. The warn method from the warnings module uses a stacklevel of 1 by default. This will only show a stack trace for the line on which the warn method is called. It is therefore recommended to use a stacklevel of 2 or greater to provide more information to the user.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="347" />
+      <source>Using 'except ():' with an empty tuple does not handle/catch anything. Add exceptions to handle.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="352" />
+      <source>Except handlers should only be names of exception classes</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="356" />
+      <source>Using the generator returned from 'itertools.groupby()' more than once will do nothing on the second usage. Save the result to a list, if the result is needed multiple times.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="362" />
-      <source>format call uses implicit and explicit indexes together</source>
-      <translation>формат вызова использует скрытые и явные индексы вместе</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="366" />
-      <source>format call provides unused index ({0})</source>
-      <translation>формат вызова предоставляет неиспользованный индекс ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="369" />
-      <source>format call provides unused keyword ({0})</source>
-      <translation>формат вызова предоставляет неиспользуемое ключевое слово ({0})</translation>
+      <source>Possible unintentional type annotation (using ':'). Did you mean to assign (using '=')?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="367" />
+      <source>Sets should not contain duplicate items. Duplicate items will be replaced with a single item at runtime.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="372" />
-      <source>logging statement uses string.format()</source>
-      <translation>инструкция ведения журнала использует string.format()</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="375" />
-      <source>logging statement uses '%'</source>
-      <translation>инструкция ведения журнала использует '%'</translation>
+      <source>unncessary f-string</source>
+      <translation>ненужная f-string</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="373" />
+      <source>cannot use 'self.__class__' as first argument of 'super()' call</source>
+      <translation>не используйте 'self .__ class__' в качестве первого аргумента вызова 'super ()'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="377" />
+      <source>found {0} formatter</source>
+      <translation>найден {0} форматтер</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="378" />
-      <source>logging statement uses '+'</source>
-      <translation>инструкция ведения журнала использует '+'</translation>
+      <source>format string does contain unindexed parameters</source>
+      <translation>строка формата действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="381" />
-      <source>logging statement uses f-string</source>
-      <translation>инструкция ведения журнала использует f-string</translation>
+      <source>docstring does contain unindexed parameters</source>
+      <translation>строка документации действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="384" />
-      <source>logging statement uses 'warn' instead of 'warning'</source>
-      <translation>инструкция ведения журнала использует 'warn' вместо 'warning'</translation>
+      <source>other string does contain unindexed parameters</source>
+      <translation>другая строка действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="387" />
-      <source>expected these __future__ imports: {0}; but only got: {1}</source>
-      <translation>ожидался __future__ imports: {0}; получены только: {1}</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="391" />
-      <source>expected these __future__ imports: {0}; but got none</source>
-      <translation>ожидался __future__ imports: {0}; не получено ничего</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="394" />
-      <source>gettext import with alias _ found: {0}</source>
-      <translation>gettext import with alias _ found: {0}</translation>
+      <source>format call uses too large index ({0})</source>
+      <translation>формат вызова использует слишком большой индекс ({0})</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="390" />
+      <source>format call uses missing keyword ({0})</source>
+      <translation>формат вызова использует отсутствующее ключевое слово ({0})</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="393" />
+      <source>format call uses keyword arguments but no named entries</source>
+      <translation>формат вызова использует ключевые аргументы, но нет именованных записей</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="397" />
-      <source>print statement found</source>
-      <translation>обнаружена инструкция печати</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="398" />
-      <source>one element tuple found</source>
-      <translation>найден одноэлементный кортеж</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="404" />
+      <source>format call uses variable arguments but no numbered entries</source>
+      <translation>формат ячейки использует переменные аргументы, но нет пронумерованных записей</translation>
+    </message>
+    <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="401" />
-      <source>mutable default argument of type {0}</source>
-      <translation>изменяемый аргумент по умолчанию типа {0}</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="407" />
-      <source>mutable default argument of function call '{0}'</source>
-      <translation>измененный аргумент по умолчанию для вызова функции '{0}'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="410" />
-      <source>None should not be added at any return if function has no return value except None</source>
-      <translation>если функция не имеет возвращаемого значения, (кроме None), None не следует добавлять в каждый return</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="415" />
-      <source>an explicit value at every return should be added if function has a return value except None</source>
-      <translation>если функция имеет возвращаемое значение, (кроме None), то явное значение должно быть добавлено каждому return</translation>
+      <source>format call uses implicit and explicit indexes together</source>
+      <translation>формат вызова использует скрытые и явные индексы вместе</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="405" />
+      <source>format call provides unused index ({0})</source>
+      <translation>формат вызова предоставляет неиспользованный индекс ({0})</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="408" />
+      <source>format call provides unused keyword ({0})</source>
+      <translation>формат вызова предоставляет неиспользуемое ключевое слово ({0})</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="411" />
+      <source>logging statement uses string.format()</source>
+      <translation>инструкция ведения журнала использует string.format()</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="414" />
+      <source>logging statement uses '%'</source>
+      <translation>инструкция ведения журнала использует '%'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="417" />
+      <source>logging statement uses '+'</source>
+      <translation>инструкция ведения журнала использует '+'</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="420" />
-      <source>an explicit return at the end of the function should be added if it has a return value except None</source>
-      <translation>в конец функции, если она имеет возвращаемое значение, (кроме None), должен быть добавлен явный return</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="425" />
-      <source>a value should not be assigned to a variable if it will be used as a return value only</source>
-      <translation>значение не должно присваиваться переменной, если оно будет использоваться только как возвращаемое значение</translation>
+      <source>logging statement uses f-string</source>
+      <translation>инструкция ведения журнала использует f-string</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="423" />
+      <source>logging statement uses 'warn' instead of 'warning'</source>
+      <translation>инструкция ведения журнала использует 'warn' вместо 'warning'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="426" />
+      <source>expected these __future__ imports: {0}; but only got: {1}</source>
+      <translation>ожидался __future__ imports: {0}; получены только: {1}</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="430" />
+      <source>expected these __future__ imports: {0}; but got none</source>
+      <translation>ожидался __future__ imports: {0}; не получено ничего</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="433" />
+      <source>gettext import with alias _ found: {0}</source>
+      <translation>gettext import with alias _ found: {0}</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="436" />
+      <source>print statement found</source>
+      <translation>обнаружена инструкция печати</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="437" />
+      <source>one element tuple found</source>
+      <translation>найден одноэлементный кортеж</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="443" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="440" />
+      <source>mutable default argument of type {0}</source>
+      <translation>изменяемый аргумент по умолчанию типа {0}</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="446" />
+      <source>mutable default argument of function call '{0}'</source>
+      <translation>измененный аргумент по умолчанию для вызова функции '{0}'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="449" />
+      <source>None should not be added at any return if function has no return value except None</source>
+      <translation>если функция не имеет возвращаемого значения, (кроме None), None не следует добавлять в каждый return</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="454" />
+      <source>an explicit value at every return should be added if function has a return value except None</source>
+      <translation>если функция имеет возвращаемое значение, (кроме None), то явное значение должно быть добавлено каждому return</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="459" />
+      <source>an explicit return at the end of the function should be added if it has a return value except None</source>
+      <translation>в конец функции, если она имеет возвращаемое значение, (кроме None), должен быть добавлен явный return</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="464" />
+      <source>a value should not be assigned to a variable if it will be used as a return value only</source>
+      <translation>значение не должно присваиваться переменной, если оно будет использоваться только как возвращаемое значение</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="469" />
       <source>prefer implied line continuation inside parentheses, brackets and braces as opposed to a backslash</source>
       <translation>для предполагаемого продолжения строки предпочтительнее использование круглых, квадратных или фигурных скобок, а не обратного слеша</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="435" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="474" />
       <source>commented code lines should be removed</source>
       <translation>закомментированные строки кода должны быть удалены</translation>
     </message>
+    <message>
+      <source>Do not use 'except (){0}:', it also catches unexpected events. Prefer 'except Exception:'.</source>
+      <translation type="vanished">Не используйте 'except(){0}:', он также перехватывает непредвиденные события. Предпочтительнее 'except Exception:'.</translation>
+    </message>
+    <message>
+      <source>using .strip() with multi-character strings is misleading. Use .replace() or regular expressions to remove string fragments.</source>
+      <translation type="vanished">использование .strip() с многосимвольными строками приводит к ошибочным результатам. Используйте .replace() или регулярные выражения для удаления фрагментов строки.</translation>
+    </message>
+    <message>
+      <source>'assertRaises(Exception):' should be considered evil. It can lead to your test passing even if the code being tested is never executed due to a typo. Either assert for a more specific exception (builtin or custom), use 'assertRaisesRegex', or use the context manager form of 'assertRaises'.</source>
+      <translation type="vanished">'assertRaises(Exception):' следует считать злом. Это может привести к прохождению теста, даже если тестируемый код никогда не выполняется из-за опечатки. Либо подтвердите для более конкретного исключения (встроенного или пользовательского), используйте 'assertRaisesRegex', либо используйте форму 'assertRaises' диспетчера контекста.</translation>
+    </message>
+    <message>
+      <source>{0} is an abstract base class, but it has no abstract methods. Remember to use the @abstractmethod decorator, potentially in conjunction with @classmethod, @property and/or @staticmethod.</source>
+      <translation type="vanished">0} — это абстрактный базовый класс, но он не имеет абстрактных методов. Не забудьте использовать декоратор @abstractmethod, возможно, в сочетании с @classmethod, @property и/или @staticmethod.</translation>
+    </message>
   </context>
   <context>
     <name>MouseClickDialog</name>
@@ -73337,6 +73383,7 @@
       <translation>Используйте "all({0} for {1} in {2})"</translation>
     </message>
     <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py" line="175" />
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py" line="166" />
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py" line="163" />
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py" line="157" />

eric ide

mercurial