Plugins/CheckerPlugins/CodeStyleChecker/translations.py

changeset 6264
04a671fa4adb
parent 6246
fe07a9f16f23
child 6645
ad476851d7e0
equal deleted inserted replaced
6263:4dd53711d869 6264:04a671fa4adb
161 "W293": QCoreApplication.translate( 161 "W293": QCoreApplication.translate(
162 "pycodestyle", 162 "pycodestyle",
163 "blank line contains whitespace"), 163 "blank line contains whitespace"),
164 "E301": QCoreApplication.translate( 164 "E301": QCoreApplication.translate(
165 "pycodestyle", 165 "pycodestyle",
166 "expected {0} blank line, found 0"), 166 "expected {0} blank lines, found {1}"),
167 "E302": QCoreApplication.translate( 167 "E302": QCoreApplication.translate(
168 "pycodestyle", 168 "pycodestyle",
169 "expected {0} blank lines, found {1}"), 169 "expected {0} blank lines, found {1}"),
170 "E303": QCoreApplication.translate( 170 "E303": QCoreApplication.translate(
171 "pycodestyle", 171 "pycodestyle",
172 "too many blank lines ({0})"), 172 "too many blank lines ({0}), expected {1}"),
173 "E304": QCoreApplication.translate( 173 "E304": QCoreApplication.translate(
174 "pycodestyle", 174 "pycodestyle",
175 "blank lines found after function decorator"), 175 "blank lines found after function decorator"),
176 "E305": QCoreApplication.translate( 176 "E305": QCoreApplication.translate(
177 "pycodestyle", 177 "pycodestyle",
178 "expected {0} blank lines after class or function definition," 178 "expected {0} blank lines after class or function definition,"
179 " found {1}"), 179 " found {1}"),
180 "E306": QCoreApplication.translate( 180 "E306": QCoreApplication.translate(
181 "pycodestyle", 181 "pycodestyle",
182 "expected {0} blank line before a nested definition, found 0"), 182 "expected {0} blank lines before a nested definition, found {1}"),
183 "E307": QCoreApplication.translate(
184 "pycodestyle",
185 "too many blank lines ({0}) before a nested definition, expected {1}"),
186 "E308": QCoreApplication.translate(
187 "pycodestyle",
188 "too many blank lines ({0})"),
183 "W391": QCoreApplication.translate( 189 "W391": QCoreApplication.translate(
184 "pycodestyle", 190 "pycodestyle",
185 "blank line at end of file"), 191 "blank line at end of file"),
186 "E401": QCoreApplication.translate( 192 "E401": QCoreApplication.translate(
187 "pycodestyle", 193 "pycodestyle",
721 'CodeStyleFixer', 727 'CodeStyleFixer',
722 "Extraneous whitespace removed."), 728 "Extraneous whitespace removed."),
723 "FE261": QCoreApplication.translate( 729 "FE261": QCoreApplication.translate(
724 'CodeStyleFixer', 730 'CodeStyleFixer',
725 "Whitespace around comment sign corrected."), 731 "Whitespace around comment sign corrected."),
726 "FE301": QCoreApplication.translate(
727 'CodeStyleFixer',
728 "One blank line inserted."),
729 732
730 "FE302+": lambda n=1: translate( 733 "FE302+": lambda n=1: translate(
731 'CodeStyleFixer', 734 'CodeStyleFixer',
732 "%n blank line(s) inserted.", '', n), 735 "%n blank line(s) inserted.", '', n),
733 "FE302-": lambda n=1: translate( 736 "FE302-": lambda n=1: translate(
788 "E203": [",;:"], 791 "E203": [",;:"],
789 "E211": ["(["], 792 "E211": ["(["],
790 "E231": [",;:"], 793 "E231": [",;:"],
791 "E241": [",;:"], 794 "E241": [",;:"],
792 "E242": [",;:"], 795 "E242": [",;:"],
793 "E301": [1], 796 "E301": [1, 0],
794 "E302": [2, 1], 797 "E302": [2, 1],
795 "E303": [3], 798 "E303": [3, 2],
796 "E305": [2, 1], 799 "E305": [2, 1],
797 "E306": [1], 800 "E306": [1, 0],
801 "E307": [3, 1],
802 "E308": [3],
798 "E501": [85, 79], 803 "E501": [85, 79],
799 "E605": ["A"], 804 "E605": ["A"],
800 "E711": ["None", "'if cond is None:'"], 805 "E711": ["None", "'if cond is None:'"],
801 "E712": ["True", "'if cond is True:' or 'if cond:'"], 806 "E712": ["True", "'if cond is True:' or 'if cond:'"],
802 "E741": ["l"], 807 "E741": ["l"],

eric ide

mercurial