src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py

branch
eric7
changeset 10418
4573827e9815
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r c6011e501282 -r 4573827e9815 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py	Sun Dec 17 17:15:19 2023 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py	Mon Dec 18 16:39:01 2023 +0100
@@ -184,6 +184,12 @@
     "D263": QCoreApplication.translate(
         "DocStyleChecker", "documented signal '{0}' is not defined"
     ),
+    "D270": QCoreApplication.translate(
+        "DocStyleChecker", "'{0}' line should be followed by an '{1}' line"
+    ),
+    "D271": QCoreApplication.translate(
+        "DocStyleChecker", "don't use '{0}' but '{1}' instead"
+    ),
 }
 
 _docStyleMessagesSampleArgs = {
@@ -192,4 +198,6 @@
     "D253": ["RuntimeError"],
     "D262": ["buttonClicked"],
     "D263": ["buttonClicked"],
+    "D270": ["@param", "@type"],
+    "D271": ["@ptype", "@type"],
 }

eric ide

mercurial