--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/NameOrder/translations.py Thu Feb 27 09:22:15 2025 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/NameOrder/translations.py Thu Feb 27 14:42:39 2025 +0100 @@ -11,22 +11,22 @@ from PyQt6.QtCore import QCoreApplication _nameOrderMessages = { - "NO101": QCoreApplication.translate( + "NO-101": QCoreApplication.translate( "NameOrderChecker", "Import statements are in the wrong order. '{0}' should be before '{1}'", ), - "NO102": QCoreApplication.translate( + "NO-102": QCoreApplication.translate( "NameOrderChecker", "Imported names are in the wrong order. Should be '{0}'" ), - "NO103": QCoreApplication.translate( + "NO-103": QCoreApplication.translate( "NameOrderChecker", "Import statements should be combined. '{0}' should be combined with '{1}'", ), - "NO104": QCoreApplication.translate( + "NO-104": QCoreApplication.translate( "NameOrderChecker", "The names in __all__ are in the wrong order. The order should be '{0}'", ), - "NO105": QCoreApplication.translate( + "NO-105": QCoreApplication.translate( "NameOrderChecker", "The names in the exception handler list are in the wrong order. The order" " should be '{0}'", @@ -34,9 +34,9 @@ } _nameOrderMessagesSampleArgs = { - "NO101": ["import bar", "import foo"], - "NO102": ["bar, baz, foo"], - "NO103": ["from foo import bar", "from foo import baz"], - "NO104": ["bar, baz, foo"], - "NO105": ["BarError, BazError, FooError"], + "NO-101": ["import bar", "import foo"], + "NO-102": ["bar, baz, foo"], + "NO-103": ["from foo import bar", "from foo import baz"], + "NO-104": ["bar, baz, foo"], + "NO-105": ["BarError, BazError, FooError"], }