Plugins/CheckerPlugins/CodeStyleChecker/translations.py

changeset 6182
f293e95b914d
parent 6180
8d72871c16ba
child 6183
29384109306c
diff -r 2ae7e332b941 -r f293e95b914d Plugins/CheckerPlugins/CodeStyleChecker/translations.py
--- a/Plugins/CheckerPlugins/CodeStyleChecker/translations.py	Sun Mar 11 15:40:15 2018 +0100
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/translations.py	Sun Mar 11 16:11:31 2018 +0100
@@ -556,6 +556,9 @@
     "M702": QCoreApplication.translate(
         "MiscellaneousChecker",
         "expected these __future__ imports: {0}; but got none"),
+    "M711": QCoreApplication.translate(
+        "MiscellaneousChecker",
+        "gettext import with alias _ found: {0}"),
     "M801": QCoreApplication.translate(
         "MiscellaneousChecker",
         "print statement found"),
@@ -766,6 +769,7 @@
     "M632": ["foo"],
     "M701": ["print_function, unicode_literals", "print_function"],
     "M702": ["print_function, unicode_literals"],
+    "M711": ["lgettext"],
     "M821": ["Dict"],
     "M822": ["Call"],
     "M901": ["SyntaxError", "Invalid Syntax"],

eric ide

mercurial