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

branch
eric7
changeset 11145
d328a7b74fd8
parent 11141
2f5f73c51c7c
child 11147
dee6e106b4d3
equal deleted inserted replaced
11144:8c40c5e1ebe0 11145:d328a7b74fd8
153 ), 153 ),
154 "Y402": QCoreApplication.translate( 154 "Y402": QCoreApplication.translate(
155 "SimplifyChecker", """Use keyword-argument instead of magic number""" 155 "SimplifyChecker", """Use keyword-argument instead of magic number"""
156 ), 156 ),
157 # f-Strings 157 # f-Strings
158 "Y411": QCoreApplication.translate( 158 "Y411": QCoreApplication.translate("SimplifyChecker", "Do not nest f-strings"),
159 "SimplifyChecker", "Do not nest f-strings"
160 ),
161 # Additional Checks 159 # Additional Checks
162 "Y901": QCoreApplication.translate( 160 "Y901": QCoreApplication.translate(
163 "SimplifyChecker", '''Use "{0}" instead of "{1}"''' 161 "SimplifyChecker", '''Use "{0}" instead of "{1}"'''
164 ), 162 ),
165 "Y904": QCoreApplication.translate( 163 "Y904": QCoreApplication.translate(

eric ide

mercurial