Plugins/CheckerPlugins/SyntaxChecker/pyflakes/translations.py

changeset 6742
7cb30f7f94f6
parent 6645
ad476851d7e0
equal deleted inserted replaced
6735:31e263d49c04 6742:7cb30f7f94f6
30 'pyFlakes', 30 'pyFlakes',
31 'Undefined name {0!r}.'), 31 'Undefined name {0!r}.'),
32 'F06': QCoreApplication.translate( 32 'F06': QCoreApplication.translate(
33 'pyFlakes', 33 'pyFlakes',
34 'Undefined name {0!r} in __all__.'), 34 'Undefined name {0!r} in __all__.'),
35 'F07': QCoreApplication.translate( 35 'F07A': QCoreApplication.translate(
36 'pyFlakes', 36 'pyFlakes',
37 "Local variable {0!r} (defined in enclosing scope on line {1!r})" 37 "Local variable {0!r} (defined in enclosing scope on line {1!r})"
38 " referenced before assignment."),
39 'F07B': QCoreApplication.translate(
40 'pyFlakes',
41 "Local variable {0!r} (defined as a builtin)"
38 " referenced before assignment."), 42 " referenced before assignment."),
39 'F08': QCoreApplication.translate( 43 'F08': QCoreApplication.translate(
40 'pyFlakes', 44 'pyFlakes',
41 'Duplicate argument {0!r} in function definition.'), 45 'Duplicate argument {0!r} in function definition.'),
42 'F09': QCoreApplication.translate( 46 'F09': QCoreApplication.translate(
103 'pyFlakes', 107 'pyFlakes',
104 "syntax error in forward annotation {0!r}"), 108 "syntax error in forward annotation {0!r}"),
105 'F30': QCoreApplication.translate( 109 'F30': QCoreApplication.translate(
106 'pyFlakes', 110 'pyFlakes',
107 "'raise NotImplemented' should be 'raise NotImplementedError'"), 111 "'raise NotImplemented' should be 'raise NotImplementedError'"),
112 'F31': QCoreApplication.translate(
113 'pyFlakes',
114 "syntax error in type comment {0!r}"),
115 'F32': QCoreApplication.translate(
116 'pyFlakes',
117 "use of >> is invalid with print function"),
118 'F33': QCoreApplication.translate(
119 'pyFlakes',
120 "use ==/!= to compare str, bytes, and int literals"),
108 } 121 }
109 122
110 123
111 def getTranslatedFlakesMessage(message_id, message_args): 124 def getTranslatedFlakesMessage(message_id, message_args):
112 """ 125 """

eric ide

mercurial