eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py

changeset 8186
655b658aa7ee
child 8189
17df5c8df8c1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py	Wed Mar 31 19:51:41 2021 +0200
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2020 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+
+"""
+Module implementing message translations for the code style plugin messages
+(miscellaneous part).
+"""
+
+from PyQt5.QtCore import QCoreApplication
+
+_simplifyMessages = {
+    "Y101": QCoreApplication.translate(
+        "SimplifyChecker",
+        "Multiple 'isinstance()' calls which can be merged into a single "
+        "call for variable '{0}'"),
+}
+
+_simplifyMessagesSampleArgs = {
+    "Y101": ["foo"],
+}

eric ide

mercurial