eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/translations.py

branch
eric7
changeset 8802
129a973fc33e
parent 8801
8fbb21be8579
child 8808
033fa34447d0
equal deleted inserted replaced
8801:8fbb21be8579 8802:129a973fc33e
18 "ImportsChecker", 18 "ImportsChecker",
19 "packages from external modules should not be imported locally"), 19 "packages from external modules should not be imported locally"),
20 "I103": QCoreApplication.translate( 20 "I103": QCoreApplication.translate(
21 "ImportsChecker", 21 "ImportsChecker",
22 "packages from standard modules should not be imported locally"), 22 "packages from standard modules should not be imported locally"),
23
24 "I201": QCoreApplication.translate(
25 "ImportsChecker",
26 "Import statements are in the wrong order. "
27 "'{0}' should be before '{1}'"),
28 "I202": QCoreApplication.translate(
29 "ImportsChecker",
30 "Imported names are in the wrong order. "
31 "Should be {0}"),
32 "I203": QCoreApplication.translate(
33 "ImportsChecker",
34 "Import statements should be combined. "
35 "'{0}' should be combined with '{1}'"),
36 "I204": QCoreApplication.translate(
37 "ImportsChecker",
38 "The names in __all__ are in the wrong order. "
39 "The order should be {0}"),
23 } 40 }
24 41
25 _importsMessagesSampleArgs = { 42 _importsMessagesSampleArgs = {
26 43 "I201": ["import os", "import sys"],
44 "I202": ["copy, os, sys"],
45 "I203": ["from foo import bar", "from foo import baz"],
46 "I204": ["bar, baz, foo"],
27 } 47 }

eric ide

mercurial