diff -r 39f27a2a2ea3 -r e2f171f08af8 Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py --- a/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py Wed Jul 27 13:56:37 2016 +0200 +++ b/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py Wed Jul 27 15:28:26 2016 +0200 @@ -44,7 +44,7 @@ 'Redefinition of {0!r} from line {1!r}.'), 'F10': QCoreApplication.translate( 'pyFlakes', - 'Future import(s) {0!r} after other statements.'), + 'from __future__ imports must occur at the beginning of the file'), 'F11': QCoreApplication.translate( 'pyFlakes', 'Local variable {0!r} is assigned to but never used.'), @@ -60,6 +60,45 @@ 'F15': QCoreApplication.translate( 'pyFlakes', "'return' outside function"), + 'F16': QCoreApplication.translate( + 'pyFlakes', + "'from {0} import *' only allowed at module level"), + 'F17': QCoreApplication.translate( + 'pyFlakes', + "{0} may be undefined, or defined from star imports: {1}"), + 'F18': QCoreApplication.translate( + 'pyFlakes', + "Dictionary key {0!r} repeated with different values"), + 'F19': QCoreApplication.translate( + 'pyFlakes', + "Dictionary key variable {0} repeated with different values"), + 'F20': QCoreApplication.translate( + 'pyFlakes', + "Future feature {0} is not defined"), + 'F21': QCoreApplication.translate( + 'pyFlakes', + "'yield' outside function"), + 'F22': QCoreApplication.translate( + 'pyFlakes', + "'continue' not properly in loop"), + 'F23': QCoreApplication.translate( + 'pyFlakes', + "'break' outside loop"), + 'F24': QCoreApplication.translate( + 'pyFlakes', + "'continue' not supported inside 'finally' clause"), + 'F25': QCoreApplication.translate( + 'pyFlakes', + "Default 'except:' must be last"), + 'F26': QCoreApplication.translate( + 'pyFlakes', + "Two starred expressions in assignment"), + 'F27': QCoreApplication.translate( + 'pyFlakes', + "Too many expressions in star-unpacking assignment"), + 'F28': QCoreApplication.translate( + 'pyFlakes', + "Assertion is always true, perhaps remove parentheses?"), }