diff -r c9acf46b54ce -r 655b658aa7ee eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py --- /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"], +}