src/eric7/i18n/eric7_ru.ts

branch
eric7
changeset 10510
fa7b8ebfbe13
parent 10507
d1c6608155ef
child 10515
6e790462348a
--- a/src/eric7/i18n/eric7_ru.ts	Thu Jan 18 09:25:11 2024 +0100
+++ b/src/eric7/i18n/eric7_ru.ts	Thu Jan 18 13:10:08 2024 +0100
@@ -54078,8 +54078,8 @@
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="284" />
-      <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>Не используйте только 'except:', он также перехватывает неожиданные события, такие как ошибки памяти, прерывания, выход из системы и т. д. Предпочтительно использовать 'except Exception:'. Если вы уверены в том, что делаете, напишите 'except BaseException:'.</translation>
+      <source>Do not use bare 'except:', it also catches unexpected events like memory errors, interrupts, system exit, and so on. Prefer excepting specific exceptions. 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="291" />
@@ -54153,8 +54153,8 @@
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="362" />
-      <source>Found useless expression. Consider either assigning it to a variable or removing it.</source>
-      <translation>Найдено бесполезное выражение. Рассмотрите возможность назначения его переменной или удалить.</translation>
+      <source>Found useless {0} expression. Consider either assigning it to a variable or removing it.</source>
+      <translation type="unfinished" />
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="367" />
@@ -54242,151 +54242,174 @@
       <translation>Статический ключ в понимании dict: {0!r}.</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="459" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="458" />
+      <source>Don't except 'BaseException' unless you plan to re-raise it.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="462" />
+      <source>Class '__init__' methods must not return or yield and any values.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="466" />
+      <source>Editing a loop's mutable iterable often leads to unexpected results/bugs.</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="471" />
       <source>unncessary f-string</source>
       <translation>ненужная f-string</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="463" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="475" />
       <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="468" />
-      <source>found {0} formatter</source>
-      <translation>найден {0} форматтер</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="472" />
-      <source>format string does contain unindexed parameters</source>
-      <translation>строка формата действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="476" />
-      <source>docstring does contain unindexed parameters</source>
-      <translation>строка документации действительно содержит неиндексированные параметры</translation>
-    </message>
-    <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="480" />
-      <source>other string does contain unindexed parameters</source>
-      <translation>другая строка действительно содержит неиндексированные параметры</translation>
+      <source>found {0} formatter</source>
+      <translation>найден {0} форматтер</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="484" />
-      <source>format call uses too large index ({0})</source>
-      <translation>формат вызова использует слишком большой индекс ({0})</translation>
+      <source>format string does contain unindexed parameters</source>
+      <translation>строка формата действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="488" />
-      <source>format call uses missing keyword ({0})</source>
-      <translation>формат вызова использует отсутствующее ключевое слово ({0})</translation>
+      <source>docstring does contain unindexed parameters</source>
+      <translation>строка документации действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="492" />
-      <source>format call uses keyword arguments but no named entries</source>
-      <translation>формат вызова использует ключевые аргументы, но нет именованных записей</translation>
+      <source>other string does contain unindexed parameters</source>
+      <translation>другая строка действительно содержит неиндексированные параметры</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="496" />
-      <source>format call uses variable arguments but no numbered entries</source>
-      <translation>формат ячейки использует переменные аргументы, но нет пронумерованных записей</translation>
+      <source>format call uses too large index ({0})</source>
+      <translation>формат вызова использует слишком большой индекс ({0})</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="500" />
-      <source>format call uses implicit and explicit indexes together</source>
-      <translation>формат вызова использует скрытые и явные индексы вместе</translation>
+      <source>format call uses missing keyword ({0})</source>
+      <translation>формат вызова использует отсутствующее ключевое слово ({0})</translation>
     </message>
     <message>
       <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="504" />
-      <source>format call provides unused index ({0})</source>
-      <translation>формат вызова предоставляет неиспользованный индекс ({0})</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="508" />
+      <source>format call uses variable arguments but no numbered entries</source>
+      <translation>формат ячейки использует переменные аргументы, но нет пронумерованных записей</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="512" />
+      <source>format call uses implicit and explicit indexes together</source>
+      <translation>формат вызова использует скрытые и явные индексы вместе</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="516" />
+      <source>format call provides unused index ({0})</source>
+      <translation>формат вызова предоставляет неиспользованный индекс ({0})</translation>
+    </message>
+    <message>
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="520" />
       <source>format call provides unused keyword ({0})</source>
       <translation>формат вызова предоставляет неиспользуемое ключевое слово ({0})</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="513" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="525" />
       <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="517" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="529" />
       <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="522" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="534" />
       <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="527" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="539" />
       <source>print statement found</source>
       <translation>обнаружена инструкция печати</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="532" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="544" />
       <source>one element tuple found</source>
       <translation>найден одноэлементный кортеж</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="541" />
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="537" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="553" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="549" />
       <source>mutable default argument of type {0}</source>
       <translation>изменяемый аргумент по умолчанию типа {0}</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="545" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="557" />
       <source>mutable default argument of function call '{0}'</source>
       <translation>измененный аргумент по умолчанию для вызова функции '{0}'</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="550" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="562" />
       <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="555" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="567" />
       <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="560" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="572" />
       <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="565" />
-      <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="571" />
-      <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="577" />
+      <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="583" />
+      <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="589" />
       <source>implicitly concatenated string or bytes literals on one line</source>
       <translation>неявно объединенные строковые или байтовые литералы в одной строке</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="581" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="593" />
       <source>implicitly concatenated string or bytes literals over continuation line</source>
       <translation>неявно объединенные строковые или байтовые литералы в строке продолжения</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="585" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="597" />
       <source>explicitly concatenated string or bytes should be implicitly concatenated</source>
       <translation>явно объединенные строковые или байтовые литералы должны быть неявно объединены</translation>
     </message>
     <message>
-      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="590" />
+      <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="602" />
       <source>commented code lines should be removed</source>
       <translation>закомментированные строки кода должны быть удалены</translation>
     </message>
+    <message>
+      <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="vanished">Не используйте только 'except:', он также перехватывает неожиданные события, такие как ошибки памяти, прерывания, выход из системы и т. д. Предпочтительно использовать 'except Exception:'. Если вы уверены в том, что делаете, напишите 'except BaseException:'.</translation>
+    </message>
+    <message>
+      <source>Found useless expression. Consider either assigning it to a variable or removing it.</source>
+      <translation type="vanished">Найдено бесполезное выражение. Рассмотрите возможность назначения его переменной или удалить.</translation>
+    </message>
   </context>
   <context>
     <name>MouseClickDialog</name>

eric ide

mercurial