diff -r 12d5e1e6abd1 -r 4f0b034f4c34 eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py --- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py Sat Oct 03 17:25:26 2020 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/translations.py Sat Oct 03 18:10:49 2020 +0200 @@ -10,8 +10,6 @@ from PyQt5.QtCore import QCoreApplication -from Globals import translate - from .Security.translations import ( _securityMessages, _securityMessagesSampleArgs ) @@ -949,10 +947,10 @@ 'CodeStyleFixer', "Whitespace around comment sign corrected."), - "FIXE302+": lambda n=1: translate( + "FIXE302+": lambda n=1: QCoreApplication.translate( 'CodeStyleFixer', "%n blank line(s) inserted.", '', n), - "FIXE302-": lambda n=1: translate( + "FIXE302-": lambda n=1: QCoreApplication.translate( 'CodeStyleFixer', "%n superfluous lines removed", '', n),