--- a/src/eric7/i18n/eric7_de.ts Thu Dec 08 16:03:38 2022 +0100 +++ b/src/eric7/i18n/eric7_de.ts Thu Dec 08 18:03:42 2022 +0100 @@ -50418,8 +50418,8 @@ </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="264" /> - <source>Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend 'assert' or remove it.</source> - <translation>Nutzloser Vergleich. Dieser Vergleich macht nichts außer CPU Zyklen zu verschwenden. Stelle entweder 'assert' voran oder entferne ihn.</translation> + <source>Result of comparison is not used. This line doesn't do anything. Did you intend to prepend it with assert?</source> + <translation>Das Ergebnis des Vergleiches wird nicht verwendet. Diese Zeile macht nichts. Sollte ihr ein 'assert' vorangestellt werden?</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="269" /> @@ -50433,197 +50433,207 @@ </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>Unnützer Ausdruck gefunden. Entweder weise ihn einer Variablen zu oder entferne ihn.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="284" /> + <source>Found useless expression. Consider either assigning it to a variable or removing it.</source> + <translation>Nutzloser Ausdruck gefunden. Er sollte einer Variablen zugewiesen oder entfernt werden.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="285" /> <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>Die Verwendung von 'functools.lru_cache' oder 'functools.cache' bei Methoden kann zu Speicherlecks führen. Der Cache kann Instanzreferenzen beibehalten und so die Garbage Collection verhindern.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="290" /> + <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>Gefundene for-Schleife, die die Iterable bei jedem Schleifendurchlauf neu zuordnet.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="295" /> + <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 als Docstring verwendet. Dies wird durch Python als ein 'Joined String' anstelle eines Docstring interpretiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="300" /> + <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>Keine Argumente an 'contextlib.suppress' übergeben. Es werden keine Ausnahmen unterdrückt und deshalb ist dieser Kontextmanager überflüssig.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="305" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="306" /> <source>Function definition does not bind loop variable '{0}'.</source> <translation>Funktionsdefinition bindet die Schleifenvariable '{0}' nicht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="309" /> - <source>{0} is an abstract base class, but it has no abstract methods. Remember to use '@abstractmethod', '@abstractclassmethod' and/or '@abstractproperty' decorators.</source> - <translation>{0} ist eine abstrakte Basisklasse, hat aber keine abstrakten Methoden. Berücksichtige die Verwendung von '@abstractmethod', '@abstractclassmethod' und/oder '@abstractproperty' Dekoratoren.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="315" /> + <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} ist eine abstrakte Basisklasse, aber sie hat keine abstrakten Methoden. Denke daran, den @abstractmethod Dekorator, ggf. im Zusammenhang mit @classmethod, @property und/oder @staticmethod.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="316" /> <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>Die Ausnahme '{0}' wurde mehrfach abgefangen. Nur das erste 'except' wird berücksichtigt und alle anderen 'except' Blöcke können entfernt werden.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="320" /> - <source>unncessary f-string</source> - <translation>unnötige f-Zeichenkette</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="321" /> + <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>Von einer Star-arg Auflösung nach einem Schlüsselwortargument wird dringend abgeraten, da sie nur funktioniert, wenn der Schlüsselwortparameter nach allen Parameters der aufzulösenden Sequenz deklariert wird, und diese Änderung der Reihenfolge kann einen Leser überraschen und in die Irre führen.</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} ist eine leere Methode in einer abstrakten Klasse, hat aber keinen abstrakt Dekorator. Es sollte @abstractmethod hinzugefügt werden.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="333" /> + <source>unncessary f-string</source> + <translation>unnötige f-Zeichenkette</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>als erstes Argument von 'super()' kann nicht 'self.__class__' verwendet werden</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="325" /> - <source>found {0} formatter</source> - <translation>{0} Format gefunden</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="326" /> - <source>format string does contain unindexed parameters</source> - <translation>Formatstring enthält nicht indizierte Parameter</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="329" /> - <source>docstring does contain unindexed parameters</source> - <translation>Dokumentationsstring enthält nicht indizierte Parameter</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="332" /> - <source>other string does contain unindexed parameters</source> - <translation>Anderer String enthält nicht indizierte Parameter</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="335" /> - <source>format call uses too large index ({0})</source> - <translation>Format Aufruf enthält zu großen Index ({0})</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="338" /> - <source>format call uses missing keyword ({0})</source> - <translation>Format Aufruf verwendet fehlendes Schlüsselwort ({0})</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="341" /> - <source>format call uses keyword arguments but no named entries</source> - <translation>Format Aufruf verwendet Schlüsselwort Argumente, enthält aber keine benannten Einträge</translation> + <source>found {0} formatter</source> + <translation>{0} Format gefunden</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="339" /> + <source>format string does contain unindexed parameters</source> + <translation>Formatstring enthält nicht indizierte Parameter</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="342" /> + <source>docstring does contain unindexed parameters</source> + <translation>Dokumentationsstring enthält nicht indizierte Parameter</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="345" /> + <source>other string does contain unindexed parameters</source> + <translation>Anderer String enthält nicht indizierte Parameter</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="348" /> + <source>format call uses too large index ({0})</source> + <translation>Format Aufruf enthält zu großen Index ({0})</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="351" /> + <source>format call uses missing keyword ({0})</source> + <translation>Format Aufruf verwendet fehlendes Schlüsselwort ({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>Format Aufruf verwendet Schlüsselwort Argumente, enthält aber keine benannten Einträge</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>Format Aufruf verwendet variable argumente, enthält aber keine nummerierten Einträge</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="349" /> - <source>format call uses implicit and explicit indexes together</source> - <translation>Format Aufruf verwendet sowohl implizite als auch explizite Indizes</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="353" /> - <source>format call provides unused index ({0})</source> - <translation>Format Aufruf verwendet ungenutzten Index ({0})</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="356" /> - <source>format call provides unused keyword ({0})</source> - <translation>Format Aufruf verwendet ungenutztes Schlüsselwort ({0})</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="359" /> - <source>logging statement uses string.format()</source> - <translation>Loggingbefehl verwendet 'string.format()'</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="362" /> + <source>format call uses implicit and explicit indexes together</source> + <translation>Format Aufruf verwendet sowohl implizite als auch explizite Indizes</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="366" /> + <source>format call provides unused index ({0})</source> + <translation>Format Aufruf verwendet ungenutzten Index ({0})</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="369" /> + <source>format call provides unused keyword ({0})</source> + <translation>Format Aufruf verwendet ungenutztes Schlüsselwort ({0})</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="372" /> + <source>logging statement uses string.format()</source> + <translation>Loggingbefehl verwendet 'string.format()'</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="375" /> <source>logging statement uses '%'</source> <translation>Loggingbefehl verwendet '%'</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="365" /> - <source>logging statement uses '+'</source> - <translation>Loggingbefehl verwendet '+'</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="368" /> - <source>logging statement uses f-string</source> - <translation>Loggingbefehl verwendet '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>Loggingbefehl verwendet 'warn' anstelle '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>erwartete __future__ Imports: {0}; aber nur {1} gefunden</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="378" /> - <source>expected these __future__ imports: {0}; but got none</source> - <translation>erwartete __future__ Imports: {0}; jedoch keine gefunden</translation> + <source>logging statement uses '+'</source> + <translation>Loggingbefehl verwendet '+'</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="381" /> - <source>gettext import with alias _ found: {0}</source> - <translation>gettext Import mit Alias _ entdeckt: {0}</translation> + <source>logging statement uses f-string</source> + <translation>Loggingbefehl verwendet 'f-string'</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="384" /> - <source>print statement found</source> - <translation>print Statement gefunden</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="385" /> - <source>one element tuple found</source> - <translation>Tuple mit einem Element gefunden</translation> + <source>logging statement uses 'warn' instead of 'warning'</source> + <translation>Loggingbefehl verwendet 'warn' anstelle 'warning'</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>erwartete __future__ Imports: {0}; aber nur {1} gefunden</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>veränderbares Standardargument des Typs {0}</translation> + <source>expected these __future__ imports: {0}; but got none</source> + <translation>erwartete __future__ Imports: {0}; jedoch keine gefunden</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="394" /> - <source>mutable default argument of function call '{0}'</source> - <translation>Funktionsaufruf '{0}' als veränderbares Standardargument</translation> + <source>gettext import with alias _ found: {0}</source> + <translation>gettext Import mit Alias _ entdeckt: {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 sollte nicht zu einem return hinzugefügt werden, wenn die Funktion keinen Rückgabewert außer None besitzt</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>ein expliziter Wert sollte jedem return hinzugefügt werden, wenn eine Funktion einen Rückgabewert außer None besitzt</translation> + <source>print statement found</source> + <translation>print Statement gefunden</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="398" /> + <source>one element tuple found</source> + <translation>Tuple mit einem Element gefunden</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="404" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="401" /> + <source>mutable default argument of type {0}</source> + <translation>veränderbares Standardargument des Typs {0}</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="407" /> + <source>mutable default argument of function call '{0}'</source> + <translation>Funktionsaufruf '{0}' als veränderbares Standardargument</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 sollte nicht zu einem return hinzugefügt werden, wenn die Funktion keinen Rückgabewert außer None besitzt</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>ein expliziter Wert sollte jedem return hinzugefügt werden, wenn eine Funktion einen Rückgabewert außer None besitzt</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>ein expliziter Rückgabewert sollte am Ende einer Funktion hinzugefügt werden, wenn sie einen Rückgabewert außer None besitzt</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="412" /> + <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>einer Variable sollte kein Wert zugewiesen werden, wenn sie nur als Rückgabewert verwendet wird</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="417" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="430" /> <source>prefer implied line continuation inside parentheses, brackets and braces as opposed to a backslash</source> <translation>ziehe eine implizite Zeilenfortsetzung innerhalb von Klammern gegenüber einem Backslash (\) vor</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="422" /> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py" line="435" /> <source>commented code lines should be removed</source> <translation>auskommentierte Codezeilen sollten entfernt werden</translation> </message>