src/eric7/i18n/eric7_ru.ts

branch
eric7
changeset 9327
2b768afcaee1
parent 9325
8157eb19aba5
child 9337
073b872fce59
--- a/src/eric7/i18n/eric7_ru.ts	Wed Sep 14 11:07:55 2022 +0200
+++ b/src/eric7/i18n/eric7_ru.ts	Thu Sep 15 10:09:53 2022 +0200
@@ -49938,230 +49938,307 @@
     </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 type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="215" />
       <source>Python does not support the unary prefix increment</source>
       <translation>Python не поддерживает инкремент унарного префикса</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="213" />
-      <source>using .strip() with multi-character strings is misleading</source>
-      <translation>использование .strip() с многосимвольными строками приводит к заблуждению</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="217" />
-      <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="221" />
-      <source>'sys.maxint' is not defined in Python 3 - use 'sys.maxsize'</source>
-      <translation>'sys.maxint' не определен в Python 3 - используйте 'sys.maxsize'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="225" />
-      <source>'BaseException.message' has been deprecated as of Python 2.6 and is removed in Python 3 - use 'str(e)'</source>
-      <translation>'BaseException.message' устарел в Python 2.6 и удален в Python 3 - используйте 'str(e)'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="230" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="218" />
       <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="235" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="223" />
+      <source>using 'hasattr(x, "__call__")' to test if 'x' is callable is unreliable. Use 'callable(x)' for consistent results.</source>
+      <translation type="unfinished" />
+    </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 type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="233" />
       <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="240" />
-      <source>unncessary f-string</source>
-      <translation>ненужная f-string</translation>
+      <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>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="245" />
-      <source>using 'hasattr(x, "__call__")' to test if 'x' is callable is unreliable</source>
-      <translation>использование 'hasattr(x, "__call__")' для проверки является ли 'x' вызываемым - ненадежно</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="250" />
-      <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="253" />
       <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="256" />
-      <source>Python 3 does not include '.iter*' methods on dictionaries</source>
-      <translation>Python 3 не включает методы '.iter*' в словарях</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="260" />
-      <source>Python 3 does not include '.view*' methods on dictionaries</source>
-      <translation>Python 3 не включает методы '.view*' в словарях</translation>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="244" />
+      <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" />
+      <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 type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="254" />
+      <source>A length-one tuple literal is redundant. Write 'except {0}:' instead of 'except ({0},):'.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="259" />
+      <source>Redundant exception types in 'except ({0}){1}:'. Write 'except {2}{1}:', which catches exactly the same exceptions.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="264" />
-      <source>'.next()' does not exist in Python 3</source>
-      <translation>'.next()' не существует в Python 3</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="267" />
-      <source>'__metaclass__' does nothing on Python 3 - use 'class MyClass(BaseClass, metaclass=...)'</source>
-      <translation>'__metaclass__' не работает в Python 3 - используйте 'class MyClass(BaseClass, metaclass=...)'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="272" />
-      <source>found {0} formatter</source>
-      <translation>найден {0} форматтер</translation>
+      <source>Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend 'assert' or remove it.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="269" />
+      <source>Cannot raise a literal. Did you intend to return it or raise an Exception?</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="273" />
-      <source>format string does contain unindexed parameters</source>
-      <translation>строка формата действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="276" />
-      <source>docstring does contain unindexed parameters</source>
-      <translation>строка документации действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="279" />
-      <source>other string does contain unindexed parameters</source>
-      <translation>другая строка действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="282" />
-      <source>format call uses too large index ({0})</source>
-      <translation>формат вызова использует слишком большой индекс ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="285" />
-      <source>format call uses missing keyword ({0})</source>
-      <translation>формат вызова использует отсутствующее ключевое слово ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="288" />
-      <source>format call uses keyword arguments but no named entries</source>
-      <translation>формат вызова использует ключевые аргументы, но нет именованных записей</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="292" />
-      <source>format call uses variable arguments but no numbered entries</source>
-      <translation>формат ячейки использует переменные аргументы, но нет пронумерованных записей</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="296" />
-      <source>format call uses implicit and explicit indexes together</source>
-      <translation>формат вызова использует скрытые и явные индексы вместе</translation>
+      <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="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="280" />
+      <source>Found useless expression. Either assign it to a variable or remove it.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="284" />
+      <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 type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="290" />
+      <source>Found for loop that reassigns the iterable it is iterating with each iterable value.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="295" />
+      <source>f-string used as docstring. This will be interpreted by python as a joined string rather than a docstring.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="300" />
-      <source>format call provides unused index ({0})</source>
-      <translation>формат вызова предоставляет неиспользованный индекс ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="303" />
-      <source>format call provides unused keyword ({0})</source>
-      <translation>формат вызова предоставляет неиспользуемое ключевое слово ({0})</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="306" />
-      <source>logging statement uses string.format()</source>
-      <translation>инструкция ведения журнала использует string.format()</translation>
+      <source>No arguments passed to 'contextlib.suppress'. No exceptions will be suppressed and therefore this context manager is redundant.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="305" />
+      <source>Function definition does not bind loop variable '{0}'.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="309" />
-      <source>logging statement uses '%'</source>
-      <translation>инструкция ведения журнала использует '%'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="312" />
-      <source>logging statement uses '+'</source>
-      <translation>инструкция ведения журнала использует '+'</translation>
+      <source>{0} is an abstract base class, but it has no abstract methods. Remember to use '@abstractmethod', '@abstractclassmethod' and/or '@abstractproperty' decorators.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="315" />
-      <source>logging statement uses f-string</source>
-      <translation>инструкция ведения журнала использует f-string</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="318" />
-      <source>logging statement uses 'warn' instead of 'warning'</source>
-      <translation>инструкция ведения журнала использует 'warn' вместо 'warning'</translation>
+      <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 type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="320" />
+      <source>unncessary f-string</source>
+      <translation>ненужная f-string</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="321" />
-      <source>expected these __future__ imports: {0}; but only got: {1}</source>
-      <translation>ожидался __future__ imports: {0}; получены только: {1}</translation>
+      <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="325" />
-      <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="328" />
-      <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="331" />
-      <source>print statement found</source>
-      <translation>обнаружена инструкция печати</translation>
+      <source>found {0} formatter</source>
+      <translation>найден {0} форматтер</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="326" />
+      <source>format string does contain unindexed parameters</source>
+      <translation>строка формата действительно содержит неиндексированные параметры</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="329" />
+      <source>docstring does contain unindexed parameters</source>
+      <translation>строка документации действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="332" />
-      <source>one element tuple found</source>
-      <translation>один элемент кортежа найден</translation>
+      <source>other string does contain unindexed parameters</source>
+      <translation>другая строка действительно содержит неиндексированные параметры</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="335" />
+      <source>format call uses too large index ({0})</source>
+      <translation>формат вызова использует слишком большой индекс ({0})</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="338" />
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="335" />
-      <source>mutable default argument of type {0}</source>
-      <translation>изменяемый аргумент по умолчанию типа {0}</translation>
+      <source>format call uses missing keyword ({0})</source>
+      <translation>формат вызова использует отсутствующее ключевое слово ({0})</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="341" />
-      <source>mutable default argument of function call '{0}'</source>
-      <translation>измененный аргумент по умолчанию для вызова функции '{0}'</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="344" />
-      <source>None should not be added at any return if function has no return value except None</source>
-      <translation>если функция не имеет возвращаемого значения, (кроме None), None не следует добавлять в каждый return</translation>
+      <source>format call uses keyword arguments but no named entries</source>
+      <translation>формат вызова использует ключевые аргументы, но нет именованных записей</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="345" />
+      <source>format call uses variable arguments but no numbered entries</source>
+      <translation>формат ячейки использует переменные аргументы, но нет пронумерованных записей</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="349" />
-      <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="354" />
-      <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>
+      <source>format call uses implicit and explicit indexes together</source>
+      <translation>формат вызова использует скрытые и явные индексы вместе</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="353" />
+      <source>format call provides unused index ({0})</source>
+      <translation>формат вызова предоставляет неиспользованный индекс ({0})</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="356" />
+      <source>format call provides unused keyword ({0})</source>
+      <translation>формат вызова предоставляет неиспользуемое ключевое слово ({0})</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="359" />
+      <source>logging statement uses string.format()</source>
+      <translation>инструкция ведения журнала использует string.format()</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="362" />
+      <source>logging statement uses '%'</source>
+      <translation>инструкция ведения журнала использует '%'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="365" />
+      <source>logging statement uses '+'</source>
+      <translation>инструкция ведения журнала использует '+'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="368" />
+      <source>logging statement uses f-string</source>
+      <translation>инструкция ведения журнала использует f-string</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="371" />
+      <source>logging statement uses 'warn' instead of 'warning'</source>
+      <translation>инструкция ведения журнала использует 'warn' вместо 'warning'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="374" />
+      <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="378" />
+      <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="381" />
+      <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="384" />
+      <source>print statement found</source>
+      <translation>обнаружена инструкция печати</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="385" />
+      <source>one element tuple found</source>
+      <translation>один элемент кортежа найден</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="391" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="388" />
+      <source>mutable default argument of type {0}</source>
+      <translation>изменяемый аргумент по умолчанию типа {0}</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="394" />
+      <source>mutable default argument of function call '{0}'</source>
+      <translation>измененный аргумент по умолчанию для вызова функции '{0}'</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="397" />
+      <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="402" />
+      <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="407" />
+      <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="412" />
       <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="364" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="417" />
       <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="369" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="422" />
       <source>commented code lines should be removed</source>
       <translation>закомментированные строки кода должны быть удалены</translation>
     </message>
+    <message>
+      <source>using .strip() with multi-character strings is misleading</source>
+      <translation type="vanished">использование .strip() с многосимвольными строками приводит к заблуждению</translation>
+    </message>
+    <message>
+      <source>'sys.maxint' is not defined in Python 3 - use 'sys.maxsize'</source>
+      <translation type="vanished">'sys.maxint' не определен в Python 3 - используйте 'sys.maxsize'</translation>
+    </message>
+    <message>
+      <source>'BaseException.message' has been deprecated as of Python 2.6 and is removed in Python 3 - use 'str(e)'</source>
+      <translation type="vanished">'BaseException.message' устарел в Python 2.6 и удален в Python 3 - используйте 'str(e)'</translation>
+    </message>
+    <message>
+      <source>using 'hasattr(x, "__call__")' to test if 'x' is callable is unreliable</source>
+      <translation type="vanished">использование 'hasattr(x, "__call__")' для проверки является ли 'x' вызываемым - ненадежно</translation>
+    </message>
+    <message>
+      <source>Python 3 does not include '.iter*' methods on dictionaries</source>
+      <translation type="vanished">Python 3 не включает методы '.iter*' в словарях</translation>
+    </message>
+    <message>
+      <source>Python 3 does not include '.view*' methods on dictionaries</source>
+      <translation type="vanished">Python 3 не включает методы '.view*' в словарях</translation>
+    </message>
+    <message>
+      <source>'.next()' does not exist in Python 3</source>
+      <translation type="vanished">'.next()' не существует в Python 3</translation>
+    </message>
+    <message>
+      <source>'__metaclass__' does nothing on Python 3 - use 'class MyClass(BaseClass, metaclass=...)'</source>
+      <translation type="vanished">'__metaclass__' не работает в Python 3 - используйте 'class MyClass(BaseClass, metaclass=...)'</translation>
+    </message>
   </context>
   <context>
     <name>MouseClickDialog</name>

eric ide

mercurial