Plugins/CheckerPlugins/CodeStyleChecker/translations.py

branch
BgService
changeset 3443
7d919fd299f6
parent 3413
5e63f809732a
child 3456
96232974dcdb
diff -r 927186c0d409 -r 7d919fd299f6 Plugins/CheckerPlugins/CodeStyleChecker/translations.py
--- a/Plugins/CheckerPlugins/CodeStyleChecker/translations.py	Thu Mar 27 21:27:08 2014 +0100
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/translations.py	Thu Mar 27 23:03:40 2014 +0100
@@ -501,6 +501,23 @@
         "Could not save the file! Skipping it. Reason: {0}"),
 }
 
+_messages_sample_args = {
+    "E201": ["([{"],
+    "E202": ["}])"],
+    "E203": [",;:"],
+    "E211": ["(["],
+    "E231": [",;:"],
+    "E241": [",;:"],
+    "E242": [",;:"],
+    "E302": [1],
+    "E303": [3],
+    "E501": [85, 79],
+    "E711": ["None", "'if cond is None:'"],
+    "E712": ["True", "'if cond is True:' or 'if cond:'"],
+    "E901": ["SyntaxError", "Invalid Syntax"],
+    "D901": ["SyntaxError", "Invalid Syntax"],
+}
+
 
 def getTranslatedMessage(message):
     """

eric ide

mercurial