Plugins/CheckerPlugins/CodeStyleChecker/translations.py

branch
BgService
changeset 3443
7d919fd299f6
parent 3413
5e63f809732a
child 3456
96232974dcdb
equal deleted inserted replaced
3442:927186c0d409 3443:7d919fd299f6
497 "'<>' replaced by '!='."), 497 "'<>' replaced by '!='."),
498 498
499 "FWRITE_ERROR": QCoreApplication.translate( 499 "FWRITE_ERROR": QCoreApplication.translate(
500 'CodeStyleFixer', 500 'CodeStyleFixer',
501 "Could not save the file! Skipping it. Reason: {0}"), 501 "Could not save the file! Skipping it. Reason: {0}"),
502 }
503
504 _messages_sample_args = {
505 "E201": ["([{"],
506 "E202": ["}])"],
507 "E203": [",;:"],
508 "E211": ["(["],
509 "E231": [",;:"],
510 "E241": [",;:"],
511 "E242": [",;:"],
512 "E302": [1],
513 "E303": [3],
514 "E501": [85, 79],
515 "E711": ["None", "'if cond is None:'"],
516 "E712": ["True", "'if cond is True:' or 'if cond:'"],
517 "E901": ["SyntaxError", "Invalid Syntax"],
518 "D901": ["SyntaxError", "Invalid Syntax"],
502 } 519 }
503 520
504 521
505 def getTranslatedMessage(message): 522 def getTranslatedMessage(message):
506 """ 523 """

eric ide

mercurial