Wed, 02 Sep 2015 20:16:28 +0200
Added a code complexity checker iaw. McCabe to the code style checker.
--- a/APIs/Python3/eric6.api Wed Sep 02 18:46:11 2015 +0200 +++ b/APIs/Python3/eric6.api Wed Sep 02 20:16:28 2015 +0200 @@ -4005,6 +4005,9 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.DocStyleContext.ssource?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.DocStyleContext.start?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.DocStyleContext?1(source, startLine, contextType) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.McCabeChecker.Codes?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.McCabeChecker.run?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.McCabeChecker?1(source, filename, select, ignore, maxComplexity=10) eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.CamelcaseRegexp?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.Codes?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.LowercaseRegex?7 @@ -4013,6 +4016,33 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.run?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.unpackArgs?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker?1(tree, filename, options) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor.default?4(node, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor.dispatch?4(node, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor.preorder?4(tree, visitor, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.ASTVisitor?1() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph.complexity?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph.connect?4(n1, n2) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph.to_dot?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraph?1(name, entity, lineno) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor._subgraph?5(node, name, extra_blocks=()) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor._subgraph_parse?5(node, pathnode, extra_blocks) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.appendPathNode?4(name) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.dispatch_list?4(node_list) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.reset?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitAssert?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitClassDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitFor?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitFunctionDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitIf?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitLoop?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitSimpleStatement?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitTry?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitTryExcept?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor.visitWith?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathGraphingAstVisitor?1() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode.dot_id?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode.to_dot?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode?1(name, look="circle") eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.ARITHMETIC_OP?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.BENCHMARK_KEYS?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.BaseReport.error?4(line_number, offset, text, check)
--- a/APIs/Python3/eric6.bas Wed Sep 02 18:46:11 2015 +0200 +++ b/APIs/Python3/eric6.bas Wed Sep 02 20:16:28 2015 +0200 @@ -520,6 +520,7 @@ PasswordReader QXmlStreamReader PasswordWriter QXmlStreamWriter PasswordsDialog QDialog Ui_PasswordsDialog +PathGraphingAstVisitor ASTVisitor PersonalDataDialog QDialog Ui_PersonalDataDialog PersonalInformationManager QObject PixmapDiagram E5MainWindow
--- a/Documentation/Help/source.qhp Wed Sep 02 18:46:11 2015 +0200 +++ b/Documentation/Help/source.qhp Wed Sep 02 20:16:28 2015 +0200 @@ -488,7 +488,9 @@ <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html" /> </section> @@ -1136,6 +1138,11 @@ <keyword name="APIsManager (Module)" id="APIsManager (Module)" ref="eric6.QScintilla.APIsManager.html" /> <keyword name="APIsManager.getAPIs" id="APIsManager.getAPIs" ref="eric6.QScintilla.APIsManager.html#APIsManager.getAPIs" /> <keyword name="APIsManager.reloadAPIs" id="APIsManager.reloadAPIs" ref="eric6.QScintilla.APIsManager.html#APIsManager.reloadAPIs" /> + <keyword name="ASTVisitor" id="ASTVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor" /> + <keyword name="ASTVisitor (Constructor)" id="ASTVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.__init__" /> + <keyword name="ASTVisitor.default" id="ASTVisitor.default" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.default" /> + <keyword name="ASTVisitor.dispatch" id="ASTVisitor.dispatch" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.dispatch" /> + <keyword name="ASTVisitor.preorder" id="ASTVisitor.preorder" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#ASTVisitor.preorder" /> <keyword name="AboutAccessHandler" id="AboutAccessHandler" ref="eric6.Helpviewer.Network.AboutAccessHandler.html#AboutAccessHandler" /> <keyword name="AboutAccessHandler (Module)" id="AboutAccessHandler (Module)" ref="eric6.Helpviewer.Network.AboutAccessHandler.html" /> <keyword name="AboutAccessHandler.createRequest" id="AboutAccessHandler.createRequest" ref="eric6.Helpviewer.Network.AboutAccessHandler.html#AboutAccessHandler.createRequest" /> @@ -8000,6 +8007,13 @@ <keyword name="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged" id="MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged" ref="eric6.Preferences.ConfigurationPages.MasterPasswordEntryDialog.html#MasterPasswordEntryDialog.on_currentPasswordEdit_textChanged" /> <keyword name="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" id="MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" ref="eric6.Preferences.ConfigurationPages.MasterPasswordEntryDialog.html#MasterPasswordEntryDialog.on_newPasswordAgainEdit_textChanged" /> <keyword name="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged" id="MasterPasswordEntryDialog.on_newPasswordEdit_textChanged" ref="eric6.Preferences.ConfigurationPages.MasterPasswordEntryDialog.html#MasterPasswordEntryDialog.on_newPasswordEdit_textChanged" /> + <keyword name="McCabeChecker" id="McCabeChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html#McCabeChecker" /> + <keyword name="McCabeChecker (Constructor)" id="McCabeChecker (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html#McCabeChecker.__init__" /> + <keyword name="McCabeChecker (Module)" id="McCabeChecker (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html" /> + <keyword name="McCabeChecker.__error" id="McCabeChecker.__error" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html#McCabeChecker.__error" /> + <keyword name="McCabeChecker.__ignoreCode" id="McCabeChecker.__ignoreCode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html#McCabeChecker.__ignoreCode" /> + <keyword name="McCabeChecker.__reportInvalidSyntax" id="McCabeChecker.__reportInvalidSyntax" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html#McCabeChecker.__reportInvalidSyntax" /> + <keyword name="McCabeChecker.run" id="McCabeChecker.run" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html#McCabeChecker.run" /> <keyword name="MercurialPage" id="MercurialPage" ref="eric6.Plugins.VcsPlugins.vcsMercurial.ConfigurationPage.MercurialPage.html#MercurialPage" /> <keyword name="MercurialPage (Constructor)" id="MercurialPage (Constructor)" ref="eric6.Plugins.VcsPlugins.vcsMercurial.ConfigurationPage.MercurialPage.html#MercurialPage.__init__" /> <keyword name="MercurialPage (Module)" id="MercurialPage (Module)" ref="eric6.Plugins.VcsPlugins.vcsMercurial.ConfigurationPage.MercurialPage.html" /> @@ -8659,6 +8673,29 @@ <keyword name="PasswordsDialog (Module)" id="PasswordsDialog (Module)" ref="eric6.Helpviewer.Passwords.PasswordsDialog.html" /> <keyword name="PasswordsDialog.__calculateHeaderSizes" id="PasswordsDialog.__calculateHeaderSizes" ref="eric6.Helpviewer.Passwords.PasswordsDialog.html#PasswordsDialog.__calculateHeaderSizes" /> <keyword name="PasswordsDialog.on_passwordsButton_clicked" id="PasswordsDialog.on_passwordsButton_clicked" ref="eric6.Helpviewer.Passwords.PasswordsDialog.html#PasswordsDialog.on_passwordsButton_clicked" /> + <keyword name="PathGraph" id="PathGraph" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph" /> + <keyword name="PathGraph (Constructor)" id="PathGraph (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.__init__" /> + <keyword name="PathGraph.complexity" id="PathGraph.complexity" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.complexity" /> + <keyword name="PathGraph.connect" id="PathGraph.connect" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.connect" /> + <keyword name="PathGraph.to_dot" id="PathGraph.to_dot" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraph.to_dot" /> + <keyword name="PathGraphingAstVisitor" id="PathGraphingAstVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor" /> + <keyword name="PathGraphingAstVisitor (Constructor)" id="PathGraphingAstVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.__init__" /> + <keyword name="PathGraphingAstVisitor._subgraph" id="PathGraphingAstVisitor._subgraph" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor._subgraph" /> + <keyword name="PathGraphingAstVisitor._subgraph_parse" id="PathGraphingAstVisitor._subgraph_parse" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor._subgraph_parse" /> + <keyword name="PathGraphingAstVisitor.appendPathNode" id="PathGraphingAstVisitor.appendPathNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.appendPathNode" /> + <keyword name="PathGraphingAstVisitor.dispatch_list" id="PathGraphingAstVisitor.dispatch_list" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.dispatch_list" /> + <keyword name="PathGraphingAstVisitor.reset" id="PathGraphingAstVisitor.reset" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.reset" /> + <keyword name="PathGraphingAstVisitor.visitClassDef" id="PathGraphingAstVisitor.visitClassDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitClassDef" /> + <keyword name="PathGraphingAstVisitor.visitFunctionDef" id="PathGraphingAstVisitor.visitFunctionDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitFunctionDef" /> + <keyword name="PathGraphingAstVisitor.visitIf" id="PathGraphingAstVisitor.visitIf" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitIf" /> + <keyword name="PathGraphingAstVisitor.visitLoop" id="PathGraphingAstVisitor.visitLoop" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitLoop" /> + <keyword name="PathGraphingAstVisitor.visitSimpleStatement" id="PathGraphingAstVisitor.visitSimpleStatement" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitSimpleStatement" /> + <keyword name="PathGraphingAstVisitor.visitTryExcept" id="PathGraphingAstVisitor.visitTryExcept" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitTryExcept" /> + <keyword name="PathGraphingAstVisitor.visitWith" id="PathGraphingAstVisitor.visitWith" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathGraphingAstVisitor.visitWith" /> + <keyword name="PathNode" id="PathNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode" /> + <keyword name="PathNode (Constructor)" id="PathNode (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode.__init__" /> + <keyword name="PathNode.dot_id" id="PathNode.dot_id" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode.dot_id" /> + <keyword name="PathNode.to_dot" id="PathNode.to_dot" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html#PathNode.to_dot" /> <keyword name="PersonalDataDialog" id="PersonalDataDialog" ref="eric6.Helpviewer.PersonalInformationManager.PersonalDataDialog.html#PersonalDataDialog" /> <keyword name="PersonalDataDialog (Constructor)" id="PersonalDataDialog (Constructor)" ref="eric6.Helpviewer.PersonalInformationManager.PersonalDataDialog.html#PersonalDataDialog.__init__" /> <keyword name="PersonalDataDialog (Module)" id="PersonalDataDialog (Module)" ref="eric6.Helpviewer.PersonalInformationManager.PersonalDataDialog.html" /> @@ -13776,6 +13813,7 @@ <keyword name="makeAppInfo" id="makeAppInfo" ref="eric6.Globals.AppInfo.html#makeAppInfo" /> <keyword name="make_thread_list" id="make_thread_list" ref="eric6.DebugClients.Ruby.Debuggee.html#make_thread_list" /> <keyword name="maximum_line_length" id="maximum_line_length" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html#maximum_line_length" /> + <keyword name="mccabe (Module)" id="mccabe (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html" /> <keyword name="messageHandler" id="messageHandler" ref="eric6.E5Gui.E5ErrorMessage.html#messageHandler" /> <keyword name="messageHandlerInstalled" id="messageHandlerInstalled" ref="eric6.E5Gui.E5ErrorMessage.html#messageHandlerInstalled" /> <keyword name="mimeType" id="mimeType" ref="eric6.Utilities.MimeTypes.html#mimeType" /> @@ -14394,7 +14432,9 @@ <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleStatisticsDialog.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html</file> <file>eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.html</file>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html Wed Sep 02 20:16:28 2015 +0200 @@ -0,0 +1,149 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker</h1> +<p> +Module implementing a checker for code complexity. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#McCabeChecker">McCabeChecker</a></td> +<td>Class implementing a checker for code complexity iaw.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="McCabeChecker" ID="McCabeChecker"></a> +<h2>McCabeChecker</h2> +<p> + Class implementing a checker for code complexity iaw. McCabe. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>Codes</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#McCabeChecker.__init__">McCabeChecker</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#McCabeChecker.__error">__error</a></td> +<td>Private method to record an issue.</td> +</tr><tr> +<td><a href="#McCabeChecker.__ignoreCode">__ignoreCode</a></td> +<td>Private method to check if the error code should be ignored.</td> +</tr><tr> +<td><a href="#McCabeChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> +<td>Private method to report a syntax error.</td> +</tr><tr> +<td><a href="#McCabeChecker.run">run</a></td> +<td>Public method to check the given source for code complexity.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="McCabeChecker.__init__" ID="McCabeChecker.__init__"></a> +<h4>McCabeChecker (Constructor)</h4> +<b>McCabeChecker</b>(<i>source, filename, select, ignore, maxComplexity=10</i>) +<p> + Constructor +</p><dl> +<dt><i>source</i> (list of str)</dt> +<dd> +source code to be checked +</dd><dt><i>filename</i> (str)</dt> +<dd> +name of the source file +</dd><dt><i>select</i> (list of str)</dt> +<dd> +list of selected codes +</dd><dt><i>ignore</i> (list of str)</dt> +<dd> +list of codes to be ignored +</dd><dt><i>maxComplexity</i> (int)</dt> +<dd> +maximum allowed complexity value +</dd> +</dl><a NAME="McCabeChecker.__error" ID="McCabeChecker.__error"></a> +<h4>McCabeChecker.__error</h4> +<b>__error</b>(<i>lineNumber, offset, code, *args</i>) +<p> + Private method to record an issue. +</p><dl> +<dt><i>lineNumber</i> (int)</dt> +<dd> +line number of the issue +</dd><dt><i>offset</i> (int)</dt> +<dd> +position within line of the issue +</dd><dt><i>code</i> (str)</dt> +<dd> +message code +</dd><dt><i>args</i> (list)</dt> +<dd> +arguments for the message +</dd> +</dl><a NAME="McCabeChecker.__ignoreCode" ID="McCabeChecker.__ignoreCode"></a> +<h4>McCabeChecker.__ignoreCode</h4> +<b>__ignoreCode</b>(<i>code</i>) +<p> + Private method to check if the error code should be ignored. +</p><dl> +<dt><i>code</i></dt> +<dd> +message code to check for (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating to ignore the given code (boolean) +</dd> +</dl><a NAME="McCabeChecker.__reportInvalidSyntax" ID="McCabeChecker.__reportInvalidSyntax"></a> +<h4>McCabeChecker.__reportInvalidSyntax</h4> +<b>__reportInvalidSyntax</b>(<i></i>) +<p> + Private method to report a syntax error. +</p><a NAME="McCabeChecker.run" ID="McCabeChecker.run"></a> +<h4>McCabeChecker.run</h4> +<b>run</b>(<i></i>) +<p> + Public method to check the given source for code complexity. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html Wed Sep 02 20:16:28 2015 +0200 @@ -0,0 +1,303 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe</h1> + +<h3>Global Attributes</h3> +<table> +<tr><td>__version__</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#ASTVisitor">ASTVisitor</a></td> +<td>Performs a depth-first walk of the AST.</td> +</tr><tr> +<td><a href="#PathGraph">PathGraph</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor">PathGraphingAstVisitor</a></td> +<td>A visitor for a parsed Abstract Syntax Tree which finds executable statements.</td> +</tr><tr> +<td><a href="#PathNode">PathNode</a></td> +<td></td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="ASTVisitor" ID="ASTVisitor"></a> +<h2>ASTVisitor</h2> +<p> +Performs a depth-first walk of the AST. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#ASTVisitor.__init__">ASTVisitor</a></td> +<td></td> +</tr><tr> +<td><a href="#ASTVisitor.default">default</a></td> +<td></td> +</tr><tr> +<td><a href="#ASTVisitor.dispatch">dispatch</a></td> +<td></td> +</tr><tr> +<td><a href="#ASTVisitor.preorder">preorder</a></td> +<td>Do preorder walk of tree using visitor</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="ASTVisitor.__init__" ID="ASTVisitor.__init__"></a> +<h4>ASTVisitor (Constructor)</h4> +<b>ASTVisitor</b>(<i></i>) +<a NAME="ASTVisitor.default" ID="ASTVisitor.default"></a> +<h4>ASTVisitor.default</h4> +<b>default</b>(<i>node, *args</i>) +<a NAME="ASTVisitor.dispatch" ID="ASTVisitor.dispatch"></a> +<h4>ASTVisitor.dispatch</h4> +<b>dispatch</b>(<i>node, *args</i>) +<a NAME="ASTVisitor.preorder" ID="ASTVisitor.preorder"></a> +<h4>ASTVisitor.preorder</h4> +<b>preorder</b>(<i>tree, visitor, *args</i>) +<p> +Do preorder walk of tree using visitor +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="PathGraph" ID="PathGraph"></a> +<h2>PathGraph</h2> + +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#PathGraph.__init__">PathGraph</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraph.complexity">complexity</a></td> +<td>Return the McCabe complexity for the graph.</td> +</tr><tr> +<td><a href="#PathGraph.connect">connect</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraph.to_dot">to_dot</a></td> +<td></td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> +<h4>PathGraph (Constructor)</h4> +<b>PathGraph</b>(<i>name, entity, lineno</i>) +<a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> +<h4>PathGraph.complexity</h4> +<b>complexity</b>(<i></i>) +<p> + Return the McCabe complexity for the graph. + V-E+2 +</p><a NAME="PathGraph.connect" ID="PathGraph.connect"></a> +<h4>PathGraph.connect</h4> +<b>connect</b>(<i>n1, n2</i>) +<a NAME="PathGraph.to_dot" ID="PathGraph.to_dot"></a> +<h4>PathGraph.to_dot</h4> +<b>to_dot</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="PathGraphingAstVisitor" ID="PathGraphingAstVisitor"></a> +<h2>PathGraphingAstVisitor</h2> +<p> + A visitor for a parsed Abstract Syntax Tree which finds executable + statements. +</p> +<h3>Derived from</h3> +ASTVisitor +<h3>Class Attributes</h3> +<table> +<tr><td>visitAssert</td></tr><tr><td>visitFor</td></tr><tr><td>visitTry</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#PathGraphingAstVisitor.__init__">PathGraphingAstVisitor</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor._subgraph">_subgraph</a></td> +<td>create the subgraphs representing any `if` and `for` statements</td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td> +<td>parse the body and any `else` block of `if` and `for` statements</td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.reset">reset</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitClassDef">visitClassDef</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitFunctionDef">visitFunctionDef</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitIf">visitIf</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitLoop">visitLoop</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitSimpleStatement">visitSimpleStatement</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitTryExcept">visitTryExcept</a></td> +<td></td> +</tr><tr> +<td><a href="#PathGraphingAstVisitor.visitWith">visitWith</a></td> +<td></td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="PathGraphingAstVisitor.__init__" ID="PathGraphingAstVisitor.__init__"></a> +<h4>PathGraphingAstVisitor (Constructor)</h4> +<b>PathGraphingAstVisitor</b>(<i></i>) +<a NAME="PathGraphingAstVisitor._subgraph" ID="PathGraphingAstVisitor._subgraph"></a> +<h4>PathGraphingAstVisitor._subgraph</h4> +<b>_subgraph</b>(<i>node, name, extra_blocks=()</i>) +<p> +create the subgraphs representing any `if` and `for` statements +</p><a NAME="PathGraphingAstVisitor._subgraph_parse" ID="PathGraphingAstVisitor._subgraph_parse"></a> +<h4>PathGraphingAstVisitor._subgraph_parse</h4> +<b>_subgraph_parse</b>(<i>node, pathnode, extra_blocks</i>) +<p> +parse the body and any `else` block of `if` and `for` statements +</p><a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> +<h4>PathGraphingAstVisitor.appendPathNode</h4> +<b>appendPathNode</b>(<i>name</i>) +<a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a> +<h4>PathGraphingAstVisitor.dispatch_list</h4> +<b>dispatch_list</b>(<i>node_list</i>) +<a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a> +<h4>PathGraphingAstVisitor.reset</h4> +<b>reset</b>(<i></i>) +<a NAME="PathGraphingAstVisitor.visitClassDef" ID="PathGraphingAstVisitor.visitClassDef"></a> +<h4>PathGraphingAstVisitor.visitClassDef</h4> +<b>visitClassDef</b>(<i>node</i>) +<a NAME="PathGraphingAstVisitor.visitFunctionDef" ID="PathGraphingAstVisitor.visitFunctionDef"></a> +<h4>PathGraphingAstVisitor.visitFunctionDef</h4> +<b>visitFunctionDef</b>(<i>node</i>) +<a NAME="PathGraphingAstVisitor.visitIf" ID="PathGraphingAstVisitor.visitIf"></a> +<h4>PathGraphingAstVisitor.visitIf</h4> +<b>visitIf</b>(<i>node</i>) +<a NAME="PathGraphingAstVisitor.visitLoop" ID="PathGraphingAstVisitor.visitLoop"></a> +<h4>PathGraphingAstVisitor.visitLoop</h4> +<b>visitLoop</b>(<i>node</i>) +<a NAME="PathGraphingAstVisitor.visitSimpleStatement" ID="PathGraphingAstVisitor.visitSimpleStatement"></a> +<h4>PathGraphingAstVisitor.visitSimpleStatement</h4> +<b>visitSimpleStatement</b>(<i>node</i>) +<a NAME="PathGraphingAstVisitor.visitTryExcept" ID="PathGraphingAstVisitor.visitTryExcept"></a> +<h4>PathGraphingAstVisitor.visitTryExcept</h4> +<b>visitTryExcept</b>(<i>node</i>) +<a NAME="PathGraphingAstVisitor.visitWith" ID="PathGraphingAstVisitor.visitWith"></a> +<h4>PathGraphingAstVisitor.visitWith</h4> +<b>visitWith</b>(<i>node</i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="PathNode" ID="PathNode"></a> +<h2>PathNode</h2> + +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#PathNode.__init__">PathNode</a></td> +<td></td> +</tr><tr> +<td><a href="#PathNode.dot_id">dot_id</a></td> +<td></td> +</tr><tr> +<td><a href="#PathNode.to_dot">to_dot</a></td> +<td></td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="PathNode.__init__" ID="PathNode.__init__"></a> +<h4>PathNode (Constructor)</h4> +<b>PathNode</b>(<i>name, look="circle"</i>) +<a NAME="PathNode.dot_id" ID="PathNode.dot_id"></a> +<h4>PathNode.dot_id</h4> +<b>dot_id</b>(<i></i>) +<a NAME="PathNode.to_dot" ID="PathNode.to_dot"></a> +<h4>PathNode.to_dot</h4> +<b>to_dot</b>(<i></i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html Wed Sep 02 18:46:11 2015 +0200 +++ b/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html Wed Sep 02 20:16:28 2015 +0200 @@ -46,9 +46,15 @@ <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.html">DocStyleChecker</a></td> <td>Module implementing a checker for documentation string conventions.</td> </tr><tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.McCabeChecker.html">McCabeChecker</a></td> +<td>Module implementing a checker for code complexity.</td> +</tr><tr> <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html">NamingStyleChecker</a></td> <td>Module implementing a checker for naming conventions.</td> </tr><tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html">mccabe</a></td> +<td></td> +</tr><tr> <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pep8.html">pep8</a></td> <td></td> </tr><tr>
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Wed Sep 02 18:46:11 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Wed Sep 02 20:16:28 2015 +0200 @@ -12,6 +12,7 @@ import pep8 from NamingStyleChecker import NamingStyleChecker +from McCabeChecker import McCabeChecker # register the name checker pep8.register_check(NamingStyleChecker, NamingStyleChecker.Codes) @@ -187,9 +188,9 @@ of style (tuple of lineno (int), position (int), text (str), ignored (bool), fixed (bool), autofixing (bool), fixedMsg (str))) """ - excludeMessages, includeMessages, \ - repeatMessages, fixCodes, noFixCodes, fixIssues, maxLineLength, \ - hangClosing, docType, errors, eol, encoding, backup = args + (excludeMessages, includeMessages, repeatMessages, fixCodes, noFixCodes, + fixIssues, maxLineLength, hangClosing, docType, maxComplexity, errors, + eol, encoding, backup) = args stats = {} @@ -232,6 +233,7 @@ ) report = styleGuide.check_files([filename]) stats.update(report.counters) + errors = report.errors # check documentation style docStyleChecker = DocStyleChecker( @@ -239,8 +241,14 @@ maxLineLength=maxLineLength, docType=docType) docStyleChecker.run() stats.update(docStyleChecker.counters) + errors += docStyleChecker.errors - errors = report.errors + docStyleChecker.errors + # check code complexity iaw. McCabe + mccabeChecker = McCabeChecker( + source, filename, select, ignore, maxComplexity) + mccabeChecker.run() + stats.update(mccabeChecker.counters) + errors += mccabeChecker.errors deferredFixes = {} results = []
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Wed Sep 02 18:46:11 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Wed Sep 02 20:16:28 2015 +0200 @@ -140,7 +140,7 @@ itm = QTreeWidgetItem( self.__lastFileItem, ["{0:6}".format(line), code, message]) - if code.startswith(("W", "-")): + if code.startswith(("W", "-", "C")): itm.setIcon(1, UI.PixmapCache.getIcon("warning.png")) elif code.startswith("N"): itm.setIcon(1, UI.PixmapCache.getIcon("namingError.png")) @@ -272,6 +272,8 @@ self.__data["DocstringType"] = "pep257" if "ShowIgnored" not in self.__data: self.__data["ShowIgnored"] = False + if "MaxCodeComplexity" not in self.__data: + self.__data["MaxCodeComplexity"] = 10 self.excludeFilesEdit.setText(self.__data["ExcludeFiles"]) self.excludeMessagesEdit.setText(self.__data["ExcludeMessages"]) @@ -285,6 +287,7 @@ self.hangClosingCheckBox.setChecked(self.__data["HangClosing"]) self.docTypeComboBox.setCurrentIndex( self.docTypeComboBox.findData(self.__data["DocstringType"])) + self.complexitySpinBox.setValue(self.__data["MaxCodeComplexity"]) def start(self, fn, save=False, repeat=None): """ @@ -360,10 +363,11 @@ hangClosing = self.hangClosingCheckBox.isChecked() docType = self.docTypeComboBox.itemData( self.docTypeComboBox.currentIndex()) + maxCodeComplexity = self.complexitySpinBox.value() self.__options = [excludeMessages, includeMessages, repeatMessages, fixCodes, noFixCodes, fixIssues, maxLineLength, - hangClosing, docType] + hangClosing, docType, maxCodeComplexity] # now go through all the files self.progress = 0 @@ -627,6 +631,7 @@ "HangClosing": self.hangClosingCheckBox.isChecked(), "DocstringType": self.docTypeComboBox.itemData( self.docTypeComboBox.currentIndex()), + "MaxCodeComplexity": self.complexitySpinBox.value(), } if data != self.__data: self.__data = data @@ -793,6 +798,8 @@ Preferences.Prefs.settings.value("PEP8/HangClosing"))) self.docTypeComboBox.setCurrentIndex(self.docTypeComboBox.findData( Preferences.Prefs.settings.value("PEP8/DocstringType", "pep257"))) + self.complexitySpinBox.setValue(int(Preferences.Prefs.settings.value( + "PEP8/MaxCodeComplexity", 10))) @pyqtSlot() def on_storeDefaultButton_clicked(self): @@ -823,6 +830,8 @@ Preferences.Prefs.settings.setValue( "PEP8/DocstringType", self.docTypeComboBox.itemData( self.docTypeComboBox.currentIndex())) + Preferences.Prefs.settings.setValue( + "PEP8/MaxCodeComplexity", self.complexitySpinBox.value()) @pyqtSlot() def on_resetDefaultButton_clicked(self): @@ -842,6 +851,7 @@ "PEP8/MaxLineLength", pep8.MAX_LINE_LENGTH) Preferences.Prefs.settings.setValue("PEP8/HangClosing", False) Preferences.Prefs.settings.setValue("PEP8/DocstringType", "pep257") + Preferences.Prefs.settings.setValue("PEP8/MaxCodeComplexity", 10) @pyqtSlot(QAbstractButton) def on_buttonBox_clicked(self, button):
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui Wed Sep 02 18:46:11 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui Wed Sep 02 20:16:28 2015 +0200 @@ -28,18 +28,6 @@ <enum>QFrame::NoFrame</enum> </property> <layout class="QGridLayout" name="gridLayout"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> @@ -54,7 +42,7 @@ </property> </widget> </item> - <item row="0" column="3" rowspan="9"> + <item row="0" column="3" rowspan="10"> <widget class="Line" name="line"> <property name="lineWidth"> <number>2</number> @@ -64,7 +52,7 @@ </property> </widget> </item> - <item row="0" column="4" rowspan="9"> + <item row="0" column="4" rowspan="10"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QPushButton" name="startButton"> @@ -222,7 +210,7 @@ </property> </widget> </item> - <item row="5" column="1" colspan="2"> + <item row="5" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QSpinBox" name="lineLengthSpinBox"> @@ -265,7 +253,7 @@ </property> </widget> </item> - <item row="6" column="1" colspan="2"> + <item row="6" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QComboBox" name="docTypeComboBox"> @@ -289,7 +277,7 @@ </item> </layout> </item> - <item row="7" column="0" colspan="3"> + <item row="7" column="0" colspan="2"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QCheckBox" name="hangClosingCheckBox"> @@ -316,7 +304,50 @@ </item> </layout> </item> - <item row="8" column="0" colspan="3"> + <item row="8" column="0"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Max. Complexity:</string> + </property> + </widget> + </item> + <item row="8" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout_5"> + <item> + <widget class="QSpinBox" name="complexitySpinBox"> + <property name="statusTip"> + <string>Enter the maximum allowed code complexity (McCabe: 10)</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item row="9" column="0" colspan="3"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QCheckBox" name="repeatCheckBox"> @@ -476,6 +507,7 @@ <tabstop>lineLengthSpinBox</tabstop> <tabstop>docTypeComboBox</tabstop> <tabstop>hangClosingCheckBox</tabstop> + <tabstop>complexitySpinBox</tabstop> <tabstop>repeatCheckBox</tabstop> <tabstop>fixIssuesCheckBox</tabstop> <tabstop>ignoredCheckBox</tabstop> @@ -483,7 +515,6 @@ <tabstop>fixButton</tabstop> <tabstop>storeDefaultButton</tabstop> <tabstop>resetDefaultButton</tabstop> - <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections>
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py Wed Sep 02 18:46:11 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py Wed Sep 02 20:16:28 2015 +0200 @@ -50,7 +50,7 @@ else: continue itm = QTreeWidgetItem(self.codeTable, [code, message]) - if code.startswith("W"): + if code.startswith(("W", "C")): itm.setIcon(0, UI.PixmapCache.getIcon("warning.png")) elif code.startswith("E"): itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py Wed Sep 02 18:46:11 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py Wed Sep 02 20:16:28 2015 +0200 @@ -84,7 +84,7 @@ itm.setData(0, Qt.DisplayRole, count) itm.setData(1, Qt.DisplayRole, code) itm.setData(2, Qt.DisplayRole, message) - if code.startswith("W"): + if code.startswith(("W", "C")): itm.setIcon(1, UI.PixmapCache.getIcon("warning.png")) elif code.startswith("E"): itm.setIcon(1, UI.PixmapCache.getIcon("syntaxError.png"))
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/McCabeChecker.py Wed Sep 02 20:16:28 2015 +0200 @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2015 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a checker for code complexity. +""" + +import sys +import ast + +from mccabe import PathGraphingAstVisitor + + +class McCabeChecker(object): + """ + Class implementing a checker for code complexity iaw. McCabe. + """ + Codes = [ + "C101", + + "C901", + ] + + def __init__(self, source, filename, select, ignore, maxComplexity=10): + """ + Constructor + + @param source source code to be checked + @type list of str + @param filename name of the source file + @type str + @param select list of selected codes + @type list of str + @param ignore list of codes to be ignored + @type list of str + @param maxComplexity maximum allowed complexity value + @type int + """ + self.__filename = filename + self.__source = source[:] + self.__maxComplexity = maxComplexity + self.__select = tuple(select) + self.__ignore = ('',) if select else tuple(ignore) + + # statistics counters + self.counters = {} + + # collection of detected errors + self.errors = [] + + def __error(self, lineNumber, offset, code, *args): + """ + Private method to record an issue. + + @param lineNumber line number of the issue + @type int + @param offset position within line of the issue + @type int + @param code message code + @type str + @param args arguments for the message + @type list + """ + if code in self.counters: + self.counters[code] += 1 + else: + self.counters[code] = 1 + + if code: + # record the issue with one based line number + self.errors.append( + (self.__filename, lineNumber, offset, (code, args))) + + def __reportInvalidSyntax(self): + """ + Private method to report a syntax error. + """ + exc_type, exc = sys.exc_info()[:2] + if len(exc.args) > 1: + offset = exc.args[1] + if len(offset) > 2: + offset = offset[1:3] + else: + offset = (1, 0) + self.__error(offset[0] - 1, offset[1] or 0, + 'C901', exc_type.__name__, exc.args[0]) + + def __ignoreCode(self, code): + """ + Private method to check if the error code should be ignored. + + @param code message code to check for (string) + @return flag indicating to ignore the given code (boolean) + """ + return (code.startswith(self.__ignore) and + not code.startswith(self.__select)) + + def run(self): + """ + Public method to check the given source for code complexity. + """ + if not self.__filename or not self.__source: + # don't do anything, if essential data is missing + return + + if self.__ignoreCode("C101"): + # don't do anything, if this should be ignored + return + + try: + tree = compile(''.join(self.__source), self.__filename, 'exec', + ast.PyCF_ONLY_AST) + except (SyntaxError, TypeError): + self.__reportInvalidSyntax() + return + + visitor = PathGraphingAstVisitor() + visitor.preorder(tree, visitor) + for graph in visitor.graphs.values(): + if graph.complexity() > self.__maxComplexity: + self.__error(graph.lineno, 0, "C101", + graph.entity, graph.complexity())
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/mccabe.py Wed Sep 02 20:16:28 2015 +0200 @@ -0,0 +1,211 @@ +""" Meager code path measurement tool. + Ned Batchelder + http://nedbatchelder.com/blog/200803/python_code_complexity_microtool.html + MIT License. +""" +from __future__ import with_statement + +import collections +import ast + +__version__ = '0.3.1_eric6' + + +class ASTVisitor(object): + """Performs a depth-first walk of the AST.""" + + def __init__(self): + self.node = None + self._cache = {} + + def default(self, node, *args): + for child in ast.iter_child_nodes(node): + self.dispatch(child, *args) + + def dispatch(self, node, *args): + self.node = node + klass = node.__class__ + meth = self._cache.get(klass) + if meth is None: + className = klass.__name__ + meth = getattr(self.visitor, 'visit' + className, self.default) + self._cache[klass] = meth + return meth(node, *args) + + def preorder(self, tree, visitor, *args): + """Do preorder walk of tree using visitor""" + self.visitor = visitor + visitor.visit = self.dispatch + self.dispatch(tree, *args) # XXX *args make sense? + + +class PathNode(object): + def __init__(self, name, look="circle"): + self.name = name + self.look = look + + def to_dot(self): + print('node [shape=%s,label="%s"] %d;' % ( + self.look, self.name, self.dot_id())) + + def dot_id(self): + return id(self) + + +class PathGraph(object): + def __init__(self, name, entity, lineno): + self.name = name + self.entity = entity + self.lineno = lineno + self.nodes = collections.defaultdict(list) + + def connect(self, n1, n2): + self.nodes[n1].append(n2) + # Ensure that the destination node is always counted. + self.nodes[n2] = [] + + def to_dot(self): + print('subgraph {') + for node in self.nodes: + node.to_dot() + for node, nexts in self.nodes.items(): + for next in nexts: + print('%s -- %s;' % (node.dot_id(), next.dot_id())) + print('}') + + def complexity(self): + """ Return the McCabe complexity for the graph. + V-E+2 + """ + num_edges = sum([len(n) for n in self.nodes.values()]) + num_nodes = len(self.nodes) + return num_edges - num_nodes + 2 + + +class PathGraphingAstVisitor(ASTVisitor): + """ A visitor for a parsed Abstract Syntax Tree which finds executable + statements. + """ + + def __init__(self): + super(PathGraphingAstVisitor, self).__init__() + self.classname = "" + self.graphs = {} + self.reset() + + def reset(self): + self.graph = None + self.tail = None + + def dispatch_list(self, node_list): + for node in node_list: + self.dispatch(node) + + def visitFunctionDef(self, node): + + if self.classname: + entity = '%s%s' % (self.classname, node.name) + else: + entity = node.name + + name = '%d:1: %r' % (node.lineno, entity) + + if self.graph is not None: + # closure + pathnode = self.appendPathNode(name) + self.tail = pathnode + self.dispatch_list(node.body) + bottom = PathNode("", look='point') + self.graph.connect(self.tail, bottom) + self.graph.connect(pathnode, bottom) + self.tail = bottom + else: + self.graph = PathGraph(name, entity, node.lineno) + pathnode = PathNode(name) + self.tail = pathnode + self.dispatch_list(node.body) + self.graphs["%s%s" % (self.classname, node.name)] = self.graph + self.reset() + + def visitClassDef(self, node): + old_classname = self.classname + self.classname += node.name + "." + self.dispatch_list(node.body) + self.classname = old_classname + + def appendPathNode(self, name): + if not self.tail: + return + pathnode = PathNode(name) + self.graph.connect(self.tail, pathnode) + self.tail = pathnode + return pathnode + + def visitSimpleStatement(self, node): + if node.lineno is None: + lineno = 0 + else: + lineno = node.lineno + name = "Stmt %d" % lineno + self.appendPathNode(name) + + visitAssert = visitAssign = visitAugAssign = visitDelete = visitPrint = \ + visitRaise = visitYield = visitImport = visitCall = visitSubscript = \ + visitPass = visitContinue = visitBreak = visitGlobal = visitReturn = \ + visitSimpleStatement + + def visitLoop(self, node): + name = "Loop %d" % node.lineno + self._subgraph(node, name) + + visitFor = visitWhile = visitLoop + + def visitIf(self, node): + name = "If %d" % node.lineno + self._subgraph(node, name) + + def _subgraph(self, node, name, extra_blocks=()): + """create the subgraphs representing any `if` and `for` statements""" + if self.graph is None: + # global loop + self.graph = PathGraph(name, name, node.lineno) + pathnode = PathNode(name) + self._subgraph_parse(node, pathnode, extra_blocks) + self.graphs["%s%s" % (self.classname, name)] = self.graph + self.reset() + else: + pathnode = self.appendPathNode(name) + self._subgraph_parse(node, pathnode, extra_blocks) + + def _subgraph_parse(self, node, pathnode, extra_blocks): + """parse the body and any `else` block of `if` and `for` statements""" + loose_ends = [] + self.tail = pathnode + self.dispatch_list(node.body) + loose_ends.append(self.tail) + for extra in extra_blocks: + self.tail = pathnode + self.dispatch_list(extra.body) + loose_ends.append(self.tail) + if node.orelse: + self.tail = pathnode + self.dispatch_list(node.orelse) + loose_ends.append(self.tail) + else: + loose_ends.append(pathnode) + if pathnode: + bottom = PathNode("", look='point') + for le in loose_ends: + self.graph.connect(le, bottom) + self.tail = bottom + + def visitTryExcept(self, node): + name = "TryExcept %d" % node.lineno + self._subgraph(node, name, extra_blocks=node.handlers) + + visitTry = visitTryExcept + + def visitWith(self, node): + name = "With %d" % node.lineno + self.appendPathNode(name) + self.dispatch_list(node.body)
--- a/Plugins/CheckerPlugins/CodeStyleChecker/translations.py Wed Sep 02 18:46:11 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/translations.py Wed Sep 02 20:16:28 2015 +0200 @@ -371,6 +371,12 @@ "NamingStyleChecker", "names 'l', 'O' and 'I' should be avoided"), + # McCabe messages + "C101": QCoreApplication.translate( + "McCabeChecker", "'{0}' is too complex ({1})"), + "C901": QCoreApplication.translate( + "McCabeChecker", "{0}: {1}"), + # CodeStyleFixer messages "FD111": QCoreApplication.translate( 'CodeStyleFixer',
--- a/changelog Wed Sep 02 18:46:11 2015 +0200 +++ b/changelog Wed Sep 02 20:16:28 2015 +0200 @@ -14,6 +14,8 @@ multiple CPUs/CPU-Cores -- added a batch mode to the indentation checker to make use of multiple CPUs/CPU-Cores + -- added a code complexity checker iaw. McCabe to the code style + checker - Debugger -- added signal handlers for the Python debug clients - Editor
--- a/eric6.e4p Wed Sep 02 18:46:11 2015 +0200 +++ b/eric6.e4p Wed Sep 02 20:16:28 2015 +0200 @@ -496,8 +496,10 @@ <Source>Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleFixer.py</Source> <Source>Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py</Source> <Source>Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py</Source> + <Source>Plugins/CheckerPlugins/CodeStyleChecker/McCabeChecker.py</Source> <Source>Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py</Source> <Source>Plugins/CheckerPlugins/CodeStyleChecker/__init__.py</Source> + <Source>Plugins/CheckerPlugins/CodeStyleChecker/mccabe.py</Source> <Source>Plugins/CheckerPlugins/CodeStyleChecker/pep8.py</Source> <Source>Plugins/CheckerPlugins/CodeStyleChecker/translations.py</Source> <Source>Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py</Source> @@ -2137,7 +2139,7 @@ <string>ExcludeFiles</string> </key> <value> - <string>*/ThirdParty/*, */coverage/*, */Ui_*.py, */Examples/*, */*_rc.py,*/pep8.py,*/pyflakes/checker.py</string> + <string>*/ThirdParty/*, */coverage/*, */Ui_*.py, */Examples/*, */*_rc.py,*/pep8.py,*/pyflakes/checker.py,*/mccabe.py</string> </value> <key> <string>ExcludeMessages</string>
--- a/i18n/eric6_cs.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_cs.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2924,162 +2924,162 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation type="unfinished">Nevkládat soubory:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation type="unfinished">Zadejte patterny jmen souborů oddělené čárkami, které se nemají vkládat</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation type="unfinished"></translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3087,17 +3087,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation type="unfinished">Soubor/Řádek</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation type="unfinished">Kód</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation type="unfinished">Zpráva</translation> </message> @@ -3132,7 +3132,7 @@ <translation type="unfinished">Stisknout pro zobrazení všech souborů, které obsahují problém</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation type="unfinished">Chyby: {0}</translation> </message> @@ -3142,40 +3142,50 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation type="unfinished">Žádné problémy nenalezeny.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3241,147 +3251,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> + <source>Blank line before function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> + <source>Blank line inserted before class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> + <source>Blank line inserted after class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> + <source>Blank line inserted after docstring summary.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> + <source>Blank line inserted after last paragraph of docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> + <source>Leading quotes put on separate line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> + <source>Blank line before class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> + <source>Blank line after class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> + <source>Blank line after function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> + <source>Blank line after last paragraph removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> + <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> + <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> + <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> + <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> + <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> + <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -3390,7 +3400,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> @@ -3399,77 +3409,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> + <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> + <source>Imports were put on separate lines.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> + <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> + <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> + <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> + <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> + <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> + <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation type="unfinished"></translation> </message> @@ -9006,182 +9016,182 @@ <translation>Deaktivovat breakpoint</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Pokrytí kódu</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Prosím, vyberte soubor s pokrytím kódu</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Zobrazit poznámky pokrytí kódu</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Všechny řádky byly pokryty.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>Soubor s pokrytím není dostupný.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Profilovat data</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Prosím, vyberte soubor s profilem</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Chyba syntaxe</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Hlášení syntaktické chyby není dostupné.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Název makra</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Vyberte název makra:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Načíst soubor makra</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Macro soubory (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Chyba při načítání makra</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Uložit soubor s makrem</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Uložit makro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Chyba při ukládání makra</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Spustit záznam makra</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>Nahrávání makra již probíhá. Spustit nové?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Záznam makra</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Vložte název makra:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Soubor změněn</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Zahodit chybu</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Zdroje</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Přidat soubor...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Přidat soubory...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Přidat zástupce souboru...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Přidat lokalizované resource...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Přidat resource frame</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Přidat soubor resource</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Přidat soubory resource</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Přidat zástupce souboru resource</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Diagram balíčku</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Včetně atributů třídy?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Diagram aplikace</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Včetně jmen modulů?</translation> </message> @@ -9201,12 +9211,12 @@ <translation>Nebyl zadán forám exportu. Zrušeno....</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Importovat diagram</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Zahrnout importy z externích modulů?</translation> </message> @@ -9281,7 +9291,7 @@ <translation>Použít Pygments lexer.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Zatrhnout kontrolu...</translation> </message> @@ -9291,12 +9301,12 @@ <translation>Zatrhnout výběr kontroly...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Přidat do slovníku</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Ignorovat vše</translation> </message> @@ -9336,32 +9346,32 @@ <translation><p>Soubor <b>{0}</b> nemůže být přejmenován.<br />Důvod: {1}</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>Soubor s makrem <b>{0}</b> nelze načíst.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>Soubor s makrem <b>{0}</b> je poškozen.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>So souboru s makrem <b>{0}</b> nelze zapisovat.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation>{0} (ro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> není soubor.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation>Zástupce pro soubor <b>{0}</b>:</translation> </message> @@ -9391,22 +9401,22 @@ <translation type="unfinished"><p>Soubor <b>{0}</b> již existuje.</p><p>Má se přepsat?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation type="unfinished">Chyby: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation type="unfinished"></translation> </message> @@ -9451,27 +9461,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation type="unfinished">Varování</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation type="unfinished"></translation> </message> @@ -9496,7 +9506,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"><p>Soubor <b>{0}</b> byl změněn po té co již byl načten do eric5. Znovu načíst?</p> {0}?} {6.?}</translation> </message> @@ -9531,12 +9541,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32421,6 +32431,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_de.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_de.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2937,162 +2937,162 @@ Zeile und Position.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation>Ignoriere Dateien:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation>Gib Dateimuster getrennt durch Komma von Dateien ein, die ignoriert werden sollen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation>Drücken, um die Quelltextstil-Prüfung zu starten</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation>Starten</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation>Drücken, um die ausgewählten Probleme zu beheben</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation>Ausgewählte beheben</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation>Drücken, um Standarwerte zu laden</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation>Standards laden</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation>Drücken, um die aktuellen Werte als Standard zu speichern</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation>Standards speichern</translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation>Drücken, um die Standardeinstellungen zurückzusetzen</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation>Standards löschen</translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation>Drücken, um die Standardeinstellungen zurückzusetzen</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation>Standards löschen</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation>Ignorierte Nachrichten:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation>Gib die Nachrichtenschlüssel oder -kategorien für auszuschließende Nachrichten durch Kommata getrennt ein</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation>Drücken, um die Nachrichtenschlüssel aus einer Liste zu wählen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation>Ausgewählte Nachrichten:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation>Gib die Nachrichtenschlüssel oder -kategorien für ausgewählte Nachrichten durch Kommata getrennt ein</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation>Zu behebende Probleme:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation>Geben Sie die Nachrichtenschlüssel für automatisch zu behebende Probleme ein (leer lassen, um alle zu beheben)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation>Nicht zu behebende Probleme:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation>Geben Sie die Nachrichtenschlüssel für nicht automatisch zu behebende Probleme ein</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation>Max. Zeilenlänge:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation>Gib die maximal zulässige Zeilenlänge ein (PEP-8: 79 Zeichen)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation>Docstring Typ:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation>Wähle den Regelsatz für Docstrings</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation>Auswählen, um hängende schließende Klammern zuzulassen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation>Hängende schließende Klammern zulassen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation>Auswählen, um Wiederholungen eines Nachrichtentyps zuzulassen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation>Nachrichten wiederholen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation>Auswählen, um ausgewählte Probleme zu beheben</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation>Probleme automatisch beheben</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3103,17 +3103,17 @@ Zeile und Position.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation>Datei/Zeile</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation>Code</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation>Nachricht</translation> </message> @@ -3148,7 +3148,7 @@ <translation>Drücken, um alle Dateien mit Problemen anzuzeigen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation>Fehler: {0}</translation> </message> @@ -3158,40 +3158,50 @@ <translation>Lösung: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation>Keine Probleme gefunden.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation>Zeigt den Fortschritt der Quelltextstil-Prüfung an</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation>%v/%m Dateien</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation>Auswählen, um ignorierte Probleme anzuzeigen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation>Ignorierte anzeigen</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation>{0} (ignoriert)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation>Bereite Dateien vor...</translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation>Max. Komplexität:</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation>Gib die maximal erlaubte Codekomplexität ein (McCabe: 10)</translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3257,147 +3267,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation>Dreifache Einfachanführungszeichen in dreifache Doppelanführungszeichen umgewandelt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation>Einleitende Anführungszeichen in {0}""" korrigiert</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation>Einzeiligen Docstring auf eine Zeile gebracht.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation>Punkt an die Zusammenfassungszeile angefügt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> - <translation>Leerzeile vor Funktions-/Methodendocstring entfernt.</translation> + <source>Introductory quotes corrected to be {0}"""</source> + <translation>Einleitende Anführungszeichen in {0}""" korrigiert</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> + <translation>Einzeiligen Docstring auf eine Zeile gebracht.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation>Leerzeile vor Klassendocstring eingefügt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> - <translation>Leerzeile nach Klassendocstring eingefügt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> - <translation>Leerzeile nach Docstring Zusammenfassung eingefügt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> - <translation>Leerzeile nach letztem Abschnitt des Docstring eingefügt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> - <translation>Einleitende Anführungszeichen auf separate Zeile gesetzt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> - <translation>Schließende Anführungszeichen auf separate Zeile gesetzt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> - <translation>Leerzeile vor Klassendocstring entfernt.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation>Leerzeile nach Klassendocstring entfernt.</translation> + <source>Period added to summary line.</source> + <translation>Punkt an die Zusammenfassungszeile angefügt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> - <translation>Leerzeile nach Funktions-/Methodendocstring entfernt.</translation> + <source>Blank line before function/method docstring removed.</source> + <translation>Leerzeile vor Funktions-/Methodendocstring entfernt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> + <source>Blank line inserted before class docstring.</source> + <translation>Leerzeile vor Klassendocstring eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> + <source>Blank line inserted after class docstring.</source> + <translation>Leerzeile nach Klassendocstring eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> + <source>Blank line inserted after docstring summary.</source> + <translation>Leerzeile nach Docstring Zusammenfassung eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation>Leerzeile nach letztem Abschnitt des Docstring eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> + <source>Leading quotes put on separate line.</source> + <translation>Einleitende Anführungszeichen auf separate Zeile gesetzt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> + <translation>Schließende Anführungszeichen auf separate Zeile gesetzt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> + <source>Blank line before class docstring removed.</source> + <translation>Leerzeile vor Klassendocstring entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> - <translation>Leerzeile nach letzten Abschnitt entfernt.</translation> + <source>Blank line after class docstring removed.</source> + <translation>Leerzeile nach Klassendocstring entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> - <translation>Tabulator in 4 Leerzeichen gewandelt.</translation> + <source>Blank line after function/method docstring removed.</source> + <translation>Leerzeile nach Funktions-/Methodendocstring entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> - <translation>Einrückung auf ein Vielfaches von vier korrigiert.</translation> + <source>Blank line after last paragraph removed.</source> + <translation>Leerzeile nach letzten Abschnitt entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> - <translation>Einrückung der Fortsetzungszeile korrigiert.</translation> + <source>Tab converted to 4 spaces.</source> + <translation>Tabulator in 4 Leerzeichen gewandelt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> - <translation>Einrückung der schließenden Klammer korrigiert.</translation> + <source>Indentation adjusted to be a multiple of four.</source> + <translation>Einrückung auf ein Vielfaches von vier korrigiert.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> - <translation>Fehlende Einrückung der Fortsetzungszeile korrigiert.</translation> + <source>Indentation of continuation line corrected.</source> + <translation>Einrückung der Fortsetzungszeile korrigiert.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> - <translation>Schließende Klammer an öffnender Klammer ausgerichtet.</translation> + <source>Indentation of closing bracket corrected.</source> + <translation>Einrückung der schließenden Klammer korrigiert.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> - <translation>Einrückungsebene geändert.</translation> + <source>Missing indentation of continuation line corrected.</source> + <translation>Fehlende Einrückung der Fortsetzungszeile korrigiert.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> - <translation>Einrückungsebene der hängenden Einrückung geändert.</translation> + <source>Closing bracket aligned to opening bracket.</source> + <translation>Schließende Klammer an öffnender Klammer ausgerichtet.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation>Einrückungsebene geändert.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation>Einrückungsebene der hängenden Einrückung geändert.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation>Visuelle Einrückung korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation>Überzählige Leerzeichen gelöscht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation>Fehlende Leerzeichen eingefügt.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation>Fehlende Leerzeichen eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation>Leerzeichen um Kommentarzeichen korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation>Eine Leerzeile eingefügt.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>Eine Leerzeile eingefügt.</numerusform> @@ -3405,7 +3415,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation> <numerusform>Eine überflüssige Zeile gelöscht</numerusform> @@ -3413,77 +3423,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation>Überflüssige Leerzeilen gelöscht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation>Überflüssige Leerzeilen nach Funktionsdekorator gelöscht.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation>Imports wurden auf separate Zeilen verteilt.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> - <translation>Lange Zeilen wurden gekürzt.</translation> + <source>Superfluous blank lines after function decorator removed.</source> + <translation>Überflüssige Leerzeilen nach Funktionsdekorator gelöscht.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> - <translation>Redundante Backslashes in Klammern entfernt.</translation> + <source>Imports were put on separate lines.</source> + <translation>Imports wurden auf separate Zeilen verteilt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> + <translation>Lange Zeilen wurden gekürzt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation>Compund Statement korrigiert.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> - <translation>Vergleich mit None/True/False korrigiert.</translation> + <source>Redundant backslash in brackets removed.</source> + <translation>Redundante Backslashes in Klammern entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> - <translation>'{0}' Argument hinzugefügt.</translation> + <source>Compound statement corrected.</source> + <translation>Compund Statement korrigiert.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> - <translation>'{0}' Argument entfernt.</translation> + <source>Comparison to None/True/False corrected.</source> + <translation>Vergleich mit None/True/False korrigiert.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> - <translation>Leerzeichen am Zeilenende entfernt.</translation> + <source>'{0}' argument added.</source> + <translation>'{0}' Argument hinzugefügt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> - <translation>Zeilenvorschub am Dateiende angefügt.</translation> + <source>'{0}' argument removed.</source> + <translation>'{0}' Argument entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> - <translation>Überflüssige Leerzeilen am Dateiende gelöscht.</translation> + <source>Whitespace stripped from end of line.</source> + <translation>Leerzeichen am Zeilenende entfernt.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation>Zeilenvorschub am Dateiende angefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation>Überflüssige Leerzeilen am Dateiende gelöscht.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation>„<>“ durch „!=“ ersetzt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation>Datei konnte nicht gespeichert werden! Ursache: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation> keine Nachricht für '{0}' definiert</translation> </message> @@ -8773,7 +8783,7 @@ <translation>Drucken abgebrochen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Datei geändert</translation> </message> @@ -8838,57 +8848,57 @@ <translation>Zurück zum letzten gesichert Zustand</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Makro Name</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Wähle einen Makro Namen:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Makrodateien (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Lade Makrodatei</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Fehler beim Makro Laden</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Makrodatei schreiben</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Makro speichern</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Fehler beim Makro speichern</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Makroaufzeichnung starten</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Makroaufzeichnung</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Gib einen Namen für das Makro ein:</translation> </message> @@ -8958,22 +8968,22 @@ <translation>Haltepunkt deaktivieren</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Quelltext Abdeckung</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Bitte wählen Sie eine Datei mit Abdeckungsdaten</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Profildaten</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Bitte wählen Sie eine Datei mit Profildaten</translation> </message> @@ -9013,7 +9023,7 @@ <translation>Autom. Speicherung aktiv</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Drop Fehler</translation> </message> @@ -9023,12 +9033,12 @@ <translation>Zeige Syntaxfehlermeldung</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Syntaxfehler</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Keine Syntaxfehlermeldung verfügbar.</translation> </message> @@ -9058,17 +9068,17 @@ <translation>Vorige nichtabgedeckte Zeile</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Zeilen ohne Abdeckung Markieren</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Alle Zeilen sind abgedeckt.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>Es gibt keine Datei mit Abdeckungsinformationen.</translation> </message> @@ -9078,22 +9088,22 @@ <translation><p>Die Datei <b>{0}</b> enthält ungesicherte Änderungen.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>Die Makrodatei <b>{0}</b> kann nicht gelesen werden.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>Die Makrodatei <b>{0}</b> ist zerstört.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>Die Makrodatei <b>{0}</b> kann nicht geschrieben werden.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> ist keine Datei.</p></translation> </message> @@ -9133,82 +9143,82 @@ <translation>Keine Sprache</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation>{0} (ro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Ressourcen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Datei hinzufügen...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Dateien hinzufügen...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Aliased-Datei hinzufügen...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Lokalisierte Ressource hinzufügen...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Dateiressource hinzufügen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Dateiressourcen hinzufügen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Aliased-Dateiressourcen hinzufügen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation>Alias für Datei <b>{0}</b>:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Package-Diagramm</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Klassenattribute anzeigen?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Applikations-Diagramm</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Modulnamen anzeigen?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Ressourcenrahmen hinzufügen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>Eine Makroaufzeichnung ist bereits aktiv. Neu starten?</translation> </message> @@ -9258,12 +9268,12 @@ <translation>Kein Exportformat angegeben. Abbruch...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Imports Diagramm</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Imports externer Module anzeigen?</translation> </message> @@ -9343,7 +9353,7 @@ <translation>Wähle den anzuwendenden Pygments Lexer.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Rechtschreibprüfung...</translation> </message> @@ -9353,12 +9363,12 @@ <translation>Rechtschreibprüfung für Auswahl...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Zum Wörterbuch hinzufügen</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Alle ignorieren</translation> </message> @@ -9403,22 +9413,22 @@ <translation><p>Die Datei <b>{0}</b> existiert bereits. Überschreiben?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Die Makrodatei <b>{0}</b> existiert bereits. Überschreiben?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation>Warnung: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation>Fehler: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>Warnung:</b> Vorgenommenen Änderungen gehen beim neu einlesen verloren.</translation> </message> @@ -9463,27 +9473,27 @@ <translation>Vorherige Änderung</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation>Zeilen sortieren</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation>Die Auswahl enthält für eine numerische Sortierung ungültige Daten.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation>Warnung</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation>Keine Warnmeldungen verfügbar.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation>Stil: {0}</translation> </message> @@ -9508,7 +9518,7 @@ <translation>Öffnen mit Kodierung</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation><p>Die Datei <b>{0}</b> wurde geändert, während sie in eric6 geöffnet war. Neu einlesen?</p></translation> </message> @@ -9543,12 +9553,12 @@ <translation>Der Calltipps-Provider namens '{0}' ist bereits registriert. Die Wiederholung wird ignoriert.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation>Maus Klick Handler registrieren</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation>Ein Maus Klick Handler für "{0}" wurde bereits durch "{1}" registriert. Die Anfrage durch "{2}" wird abgebrochen...</translation> </message> @@ -32402,6 +32412,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation>'{0}' ist zu komplex ({1})</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation>{0}: {1}</translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/> @@ -57921,11 +57944,6 @@ <translation>&Fenster</translation> </message> <message> - <location filename="../UI/UserInterface.py" line="3317"/> - <source>&Tools</source> - <translation type="obsolete">&Werkzeuge</translation> - </message> - <message> <location filename="../UI/UserInterface.py" line="2525"/> <source>&Help</source> <translation>&Hilfe</translation>
--- a/i18n/eric6_en.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_en.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2896,162 +2896,162 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation type="unfinished"></translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3059,17 +3059,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation type="unfinished"></translation> </message> @@ -3104,7 +3104,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> @@ -3114,40 +3114,50 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3213,147 +3223,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> + <source>Blank line before function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> + <source>Blank line inserted before class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> + <source>Blank line inserted after class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> + <source>Blank line inserted after docstring summary.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> + <source>Blank line inserted after last paragraph of docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> + <source>Leading quotes put on separate line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> + <source>Blank line before class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> + <source>Blank line after class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> + <source>Blank line after function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> + <source>Blank line after last paragraph removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> + <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> + <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> + <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> + <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> + <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> + <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>%n blank line inserted.</numerusform> @@ -3361,7 +3371,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation> <numerusform>%n superfluous line removed</numerusform> @@ -3369,77 +3379,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> + <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> + <source>Imports were put on separate lines.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> + <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> + <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> + <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> + <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> + <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> + <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation type="unfinished"></translation> </message> @@ -8667,7 +8677,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation type="unfinished"></translation> </message> @@ -9087,252 +9097,252 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation type="unfinished"></translation> </message> @@ -9377,27 +9387,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation type="unfinished"></translation> </message> @@ -9422,7 +9432,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"></translation> </message> @@ -9457,12 +9467,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32244,6 +32254,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_es.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_es.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2936,162 +2936,162 @@ sobre una entrada, la abrirá en una ventana de edición posicionando el cursor en la línea y posición correspondiente.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation>Excluir Archivos:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation>Introducir patrones de nombre de archivo de los archivos a ser excluidos, separados por comas</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation>Pulsar para iniciar la comprobación de estilo de código</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation>Iniciar</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation>Pulsar para arreglar los problemas seleccionados</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation>Arreglar seleccionados</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation>Pulsar para cargar los valores por defecto</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation>Cargar Valores por Defecto</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation>Pulsar para almacenar los valores actuales como valores por defecto</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation>Almacenar valores por defecto</translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation>Pulsar para resetear los valores por defecto</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation>Resetear Valores por Defecto</translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation>Pulsar para resetear los valores por defecto</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation>Resetear Valores por Defecto</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation>Excluir Mensajes:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation>Introduzca códigos de mensaje o categorías a excluir separados por comas</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation>Pulsar para seleccionar los códigos de mensaje de una lista</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation>Mensajes Incluidos:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation>Introducir códigos de mensaje o categorías a incluir separados por comas</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation>Arreglar Problemas:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation>Introducir los códigos de mensaje de los problemas que se desea arreglar automáticamente (dejar en blanco para arreglar todos)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation>No Arreglar Problemas:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation>Introducir los códigos de mensaje de los problemas que se se van a arreglar automáticamente</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation>Máxima Longitud de Línea:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation>Introducir el máximo permitido para longitud de línea (PEP-8: 79 caracteres)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation>Tipo de Docstring:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation>Seleccionar conjunto de reglas para docstrings</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation>Seleccionar para permitir hanging closing brackets </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation>Permitir hanging closing brackets</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation>Seleccionar para repetir cada tipo de mensaje</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation>Repetir mensajes</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation>Seleccionar para arreglar problemas</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation>Arreglar problemas automaticamente</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3101,17 +3101,17 @@ sobre una entrada, la abrirá en una ventana de edición posicionando el cursor en la línea y posición correspondiente.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation>Archivo/Línea</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation>Código</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation>Mensaje</translation> </message> @@ -3146,7 +3146,7 @@ <translation>Pulsar para mostrar todos los archivos con algún problema</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation>Error: {0}</translation> </message> @@ -3156,40 +3156,50 @@ <translation>Arreglar: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation>No se han encontrado problemas.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation>Muestra el progreso de la revisión de estilo de código </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation>%v/%m Archivos</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation>Seleccionar para mostrar problemas ignorados</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation>Mostrar ignorados</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation>{0} (ignorado)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation>Preparando archivos...</translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3255,147 +3265,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation>Triple comilla simple convertida a triple comilla doble.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation>Comillas introductorias corregidas para ser {0}"""</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation>Docstrings de una sola línea puestos en una sola línea.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation>Coma añadida a la línea de resumen.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> - <translation>Línea en blanco antes de docstring de función/método eliminada.</translation> + <source>Introductory quotes corrected to be {0}"""</source> + <translation>Comillas introductorias corregidas para ser {0}"""</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> + <translation>Docstrings de una sola línea puestos en una sola línea.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation>Linea en blanco insertada delante de docstring de clase.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> - <translation>Linea en blanco insertada detrás de docstring.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> - <translation>Linea en blanco insertada detrás de docstring de resumen.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> - <translation>Linea en blanco insertada detrás de último párrafo de docstring.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> - <translation>Comillas iniciales puestas en línea separada.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> - <translation>Comillas finales puestas en línea separada.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> - <translation>Línea en blanco antes de docstring de clase eliminada.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation>Línea en blanco detrás de docstring eliminada.</translation> + <source>Period added to summary line.</source> + <translation>Coma añadida a la línea de resumen.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> - <translation>Línea en blanco detrás de docstring de función/método eliminada.</translation> + <source>Blank line before function/method docstring removed.</source> + <translation>Línea en blanco antes de docstring de función/método eliminada.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> + <source>Blank line inserted before class docstring.</source> + <translation>Linea en blanco insertada delante de docstring de clase.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> + <source>Blank line inserted after class docstring.</source> + <translation>Linea en blanco insertada detrás de docstring.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> + <source>Blank line inserted after docstring summary.</source> + <translation>Linea en blanco insertada detrás de docstring de resumen.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation>Linea en blanco insertada detrás de último párrafo de docstring.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> + <source>Leading quotes put on separate line.</source> + <translation>Comillas iniciales puestas en línea separada.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> + <translation>Comillas finales puestas en línea separada.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> + <source>Blank line before class docstring removed.</source> + <translation>Línea en blanco antes de docstring de clase eliminada.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> - <translation>Linea en blanco detrás de último párrafo eliminada.</translation> + <source>Blank line after class docstring removed.</source> + <translation>Línea en blanco detrás de docstring eliminada.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> - <translation>Tabulador convertido a 4 espacios.</translation> + <source>Blank line after function/method docstring removed.</source> + <translation>Línea en blanco detrás de docstring de función/método eliminada.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> - <translation>Indentación ajustada para ser un múltiplo de cuatro.</translation> + <source>Blank line after last paragraph removed.</source> + <translation>Linea en blanco detrás de último párrafo eliminada.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> - <translation>Indentación de línea de continuación corregida.</translation> + <source>Tab converted to 4 spaces.</source> + <translation>Tabulador convertido a 4 espacios.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> - <translation>Indentación de llave de cierre corregida.</translation> + <source>Indentation adjusted to be a multiple of four.</source> + <translation>Indentación ajustada para ser un múltiplo de cuatro.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> - <translation>Indentación inexistente en línea de continuación corregida.</translation> + <source>Indentation of continuation line corrected.</source> + <translation>Indentación de línea de continuación corregida.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> - <translation>Llave de cierre alineada a llave de apertura.</translation> + <source>Indentation of closing bracket corrected.</source> + <translation>Indentación de llave de cierre corregida.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> - <translation>Nivel de indentación corregida.</translation> + <source>Missing indentation of continuation line corrected.</source> + <translation>Indentación inexistente en línea de continuación corregida.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> - <translation>Nivel de indentación de indentación colgante corregida.</translation> + <source>Closing bracket aligned to opening bracket.</source> + <translation>Llave de cierre alineada a llave de apertura.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation>Nivel de indentación corregida.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation>Nivel de indentación de indentación colgante corregida.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation>Indentación visual corregida.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation>Eliminado espacio en blanco extraño.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation>Añadido espacio en blanco que faltaba.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation>Añadido espacio en blanco que faltaba.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation>Espacio en blanco alrededor de signo de comentario corregido.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation>Insertada una línea en blanco.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>Insertada %n línea en blanco.</numerusform> @@ -3403,7 +3413,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation> <numerusform>Eliminada %n línea en blanco sobrante</numerusform> @@ -3411,77 +3421,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation>Eliminadas líneas en blanco sobrantes.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation>Eliminadas líneas en blanco sobrantes después de decorador de función.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation>Imports estaban puestos en líneas separadas.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> - <translation>Líneas largas se han acortado.</translation> + <source>Superfluous blank lines after function decorator removed.</source> + <translation>Eliminadas líneas en blanco sobrantes después de decorador de función.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> - <translation>Backslash redundante en llaves eliminado.</translation> + <source>Imports were put on separate lines.</source> + <translation>Imports estaban puestos en líneas separadas.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> + <translation>Líneas largas se han acortado.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation>Sentencia compuesta corregida.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> - <translation>Comparación a None/True/False corregida.</translation> + <source>Redundant backslash in brackets removed.</source> + <translation>Backslash redundante en llaves eliminado.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> - <translation>Añadido el argumento '{0}'.</translation> + <source>Compound statement corrected.</source> + <translation>Sentencia compuesta corregida.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> - <translation>Eliminado el argumento '{0}'.</translation> + <source>Comparison to None/True/False corrected.</source> + <translation>Comparación a None/True/False corregida.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> - <translation>Espacio eliminado del final de la línea.</translation> + <source>'{0}' argument added.</source> + <translation>Añadido el argumento '{0}'.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> - <translation>Carácter de nueva línea añadido al final del archivo.</translation> + <source>'{0}' argument removed.</source> + <translation>Eliminado el argumento '{0}'.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> - <translation>Eliminadas líneas en blanco sobrantes de final de archivo.</translation> + <source>Whitespace stripped from end of line.</source> + <translation>Espacio eliminado del final de la línea.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation>Carácter de nueva línea añadido al final del archivo.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation>Eliminadas líneas en blanco sobrantes de final de archivo.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation>'<>' reemplazado por '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation>¡No se ha podido guardar el archivo! Va a ser omitido. Razón: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation>sin mensaje definido para el código '{0}'</translation> </message> @@ -9030,192 +9040,192 @@ <translation>Deshabilitar punto de interrupción</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Cobertura de codigo</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Por favor seleccione un archivo de cobertura</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Mostrar Anotaciones de Cobertura de Código</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Todas las líneas han sido cubiertas.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>No hay archivo de cobertura disponible.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Datos de profiling</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Por favor seleccione un archivo de profiling</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Error de sintaxis</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>No hay mensajes de error de sintaxis disponibles.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Nombre de macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Seleccione un nombre de macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Cargar archivo de macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Archivos de Macro (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Error al cargar macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Guardar archivo de macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Guardar macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Error al guardar macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Comenzar grabación de macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>Grabación de macro ya está activada. ¿Comenzar una nueva?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Grabando macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Introduzca el nombre de la macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Archivo modificado</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Error al soltar</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Recursos</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Añadir archivo...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Añadir archivos...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Añadir archivo con un alias...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Añadir recursos localizados...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Añadir ventana de recursos</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Añadir archivo de recursos</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Añadir archivo de recursos</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Añadir archivo de recursos con un alias</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Digrama de paquetes</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>¿Incluir atributos de clase?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Diagrama de imports</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>¿Incluir los imports de módulos externos?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Diagrama de aplicación</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>¿Incluir nombres de módulos?</translation> </message> @@ -9290,7 +9300,7 @@ <translation>Seleccionar el Analizador Léxico de Pygments.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Corrección ortográfica...</translation> </message> @@ -9300,12 +9310,12 @@ <translation>Corrección ortográfica de la selección...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Añadir al diccionario</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Ignorar Todo</translation> </message> @@ -9345,32 +9355,32 @@ <translation><p>El archivo <b>{0}</b> no puede ser guardado.<br>Causa: {1}</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>El archivo de macro <b>{0}</b> no se puede leer.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>El archivo de macro <b>{0}</b> está dañado</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>El archivo de macro <b>{0}</b> no se puede escribir.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation>{0} (ro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> no es un archivo.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation>Alias para el archivo <b>{0}</b>:</translation> </message> @@ -9400,22 +9410,22 @@ <translation><p>El archivo <b>{0}</b> ya existe. ¿Desea sobreescribirlo?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>El archivo de macro <b>{0}</b> ya existe. ¿Desea sobreescribirlo?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation>Advertencia: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation>Error: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>Advertencia:</b> Perderá los cambios si lo reabre.</translation> </message> @@ -9460,27 +9470,27 @@ <translation>Cambio anterior</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation>Ordenar Líneas</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation>La selección contiene datos ilegales para una ordenación numérica.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation>Advertencia</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation>No hay mensajes de advertencia disponibles.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation>Estilo: {0}</translation> </message> @@ -9505,7 +9515,7 @@ <translation>Reabrir Con Codificación</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation><p>El archivo <b>{0}</b> ha cambiado mientras estaba abierto en eric6. ¿Desea volver a cargarlo?</p></translation> </message> @@ -9540,12 +9550,12 @@ <translation>El proveedor de call-tips'{0}' ya está registrado. Se ignora la solicitud duplicada.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation>Registrar Manejador de Clicks de Ratón</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation>Un manejador de clicks de ratón para "{0}" ya está registrado por "{1}". Abortando solicitud por "{2}"...</translation> </message> @@ -32418,6 +32428,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished">{0}: {1}</translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_fr.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_fr.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2926,162 +2926,162 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation type="unfinished">Fichiers exclus:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation type="unfinished">Entrer les filtres de noms de fichiers à exclure, séparés par des virgules</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation type="unfinished"></translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3089,17 +3089,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation type="unfinished">Fichier/ligne</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation type="unfinished">Code</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation type="unfinished">Message</translation> </message> @@ -3134,7 +3134,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> @@ -3144,40 +3144,50 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3243,147 +3253,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> + <source>Blank line before function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> + <source>Blank line inserted before class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> + <source>Blank line inserted after class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> + <source>Blank line inserted after docstring summary.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> + <source>Blank line inserted after last paragraph of docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> + <source>Leading quotes put on separate line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> + <source>Blank line before class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> + <source>Blank line after class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> + <source>Blank line after function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> + <source>Blank line after last paragraph removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> + <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> + <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> + <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> + <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> + <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> + <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -3391,7 +3401,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> @@ -3399,77 +3409,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> + <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> + <source>Imports were put on separate lines.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> + <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> + <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> + <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> + <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> + <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> + <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation type="unfinished"></translation> </message> @@ -8907,82 +8917,82 @@ <translation>Désactiver le point d'arrêt</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Code Coverage</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Sélectionner un fichier coverage</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Profiler de données</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Sélectionner un fichier profile</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Nom de la macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Sélectionner un nom de macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Fichier Macro (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Charger un fichier macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Erreur lors du chargement de la macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Enregistrer le fichier macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Enregistrer la macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Erreur lors de l'enregistrement de la macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Démarrer l'enregistrement de la macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Enregistrement de macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Entrer le nom de la macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Fichier modifié</translation> </message> @@ -9002,7 +9012,7 @@ <translation>Supprimer les flags d'erreurs de syntaxe</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Erreur de suppression</translation> </message> @@ -9012,12 +9022,12 @@ <translation>Afficher le message d'erreur de syntaxe</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Erreur de syntaxe</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Aucun message d'erreur de syntaxe..</translation> </message> @@ -9047,17 +9057,17 @@ <translation>Ligne non executée précédente</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Afficher les annotations de Code Coverage</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Toutes les lignes ont été executées.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>Impossible de trouver le fichier de coverage.</translation> </message> @@ -9092,72 +9102,72 @@ <translation>Pas de langage</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Ressources</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Ajouter un fichier...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Ajouter des fichiers...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Ajouter un fichier alias...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Ajouter une ressource localisée...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Ajoute un fichier ressource</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Ajoute des fichiers ressources</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Ajoute un alias de fichier ressource</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Diagramme de package</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Inclure les attributs de classes ?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Diagramme de l'application</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Inclure les noms de modules ?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Ajouter un cadre ressource</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>L'enregistrement de macro est déjà actif. En démarrer une nouvelle ?</translation> </message> @@ -9207,12 +9217,12 @@ <translation>Aucun format d'exportation indiqué. Abandon...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Diagramme des modules</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Inclure l'importation de modules externes?</translation> </message> @@ -9287,7 +9297,7 @@ <translation>Sélectionne l'analyseur Pygments à appliquer.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Correction orthographique...</translation> </message> @@ -9297,12 +9307,12 @@ <translation>Correction orthographique de la sélection...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Ajouter au dictionnaire</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Tout ignorer</translation> </message> @@ -9342,32 +9352,32 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation type="unfinished"></translation> </message> @@ -9397,22 +9407,22 @@ <translation type="unfinished"><p>Le fichier <b>{0}</b>existe déjà. Écraser ?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation type="unfinished"></translation> </message> @@ -9457,27 +9467,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation type="unfinished">Warning</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation type="unfinished"></translation> </message> @@ -9502,7 +9512,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"></translation> </message> @@ -9537,12 +9547,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32429,6 +32439,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_it.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_it.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2936,162 +2936,162 @@ aprirà una finestra per editare e posizionerà il cursore alla rispettiva riga e colonna.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation>Escludi file:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation>Inserisci una stringa per il nome file dei file da escludere separati da una virgola</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation>Premi per iniziare l'esecuzione del controllo dello stile di codifica</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation>Inizio</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation>Premi per correggere le problemi selezionati</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation>Correggi selezionato</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation>Premi per caricare i valori di default</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation>Carica predefiniti</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation>Premi per salvare i valori corrente come predefiniti</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation>Salva predefiniti</translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation>Premi per resettare i valori predefiniti</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation>Resetta predefiniti</translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation>Premi per resettare i valori predefiniti</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation>Resetta predefiniti</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation>Escludi Messaggi:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation>Inserici il codice del messaggio o le categorie da escludere separate da una virgola</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation>Premi per selezionare il codice messaggi da una lista</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation>Includi Messaggi:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation>Inserisci i codici messaggio o le categorie da includere separati da una virgola</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation>Problemi risolti:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation>Inserisci i codici messaggio dei problemi da correggere in automatico (lascia vuoto per correggerli tutti)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation>Problemi non risolti:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation>Inserisci i codici messaggio dei problemi da non correggere in automatico</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation>Max. lunghezza riga:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation>Inserisci la lunghezza massima di riga consentita (PEP-8: 79 caratteri)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation>Tipo stringa doc.:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation>Seleziona l'insieme di regole per la stringa doc</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation>Seleziona per permettere l'apposizione delle parentesi di chiusura</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation>permette l'apposizione delle parentesi di chiusura</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation>Seleziona per ripetere ogni tipo di messaggio</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation>Ripeti messaggio</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation>Seleziona per correggere alcuni problemi</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation>Correggi automanticamente i problemi</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3101,17 +3101,17 @@ aprirà una finestra per le modifiche posizionando il cursore alla rispettiva riga e colonna.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation>File/Linea</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation>Codice</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation>Messaggio</translation> </message> @@ -3146,7 +3146,7 @@ <translation>Premi per mostrare tutti i file che contengono problematiche</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation>Errore: {0}</translation> </message> @@ -3156,40 +3156,50 @@ <translation>Corregge:{0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation>Nessun problema trovato.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation>Mostra l'avanzamento del controllo dello stile di codifica</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation>File %v/%m</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3255,147 +3265,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation>Triple virgolette singole convertite in triple virgolette doppie.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation>Virgolette introduttive corrette in {0}"""</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation>Singole righe documentazione raggruppate su una sola.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation>Aggiunto punto alla riga sommario.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> - <translation>Riga vuota prima della stringa di documentazione funzione/metodo rimossa.</translation> + <source>Introductory quotes corrected to be {0}"""</source> + <translation>Virgolette introduttive corrette in {0}"""</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> + <translation>Singole righe documentazione raggruppate su una sola.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation>Riga vuota inserita prima della stringa di documentazione della classe.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> - <translation>Linea vuota inserita dopo la stringa di documentazione della classe.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> - <translation>Linea vuota inserita dopo la stringa di documentazione del sommario.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> - <translation>Linea vuota inserita dopo l'ultimo paragrafo della stringa di documentazione.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> - <translation>Le virgolette di testa messe su una riga separata.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> - <translation>Le virgolette di coda messe su una riga separata.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> - <translation>Rimossa riga vuota prima della stringa di documentazione.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation>Rimossa riga vuota dopo della stringa di documentazione.</translation> + <source>Period added to summary line.</source> + <translation>Aggiunto punto alla riga sommario.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> - <translation>Riga vuota dopo la stringa di documentazione funzione/metodo rimossa.</translation> + <source>Blank line before function/method docstring removed.</source> + <translation>Riga vuota prima della stringa di documentazione funzione/metodo rimossa.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> + <source>Blank line inserted before class docstring.</source> + <translation>Riga vuota inserita prima della stringa di documentazione della classe.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> + <source>Blank line inserted after class docstring.</source> + <translation>Linea vuota inserita dopo la stringa di documentazione della classe.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> + <source>Blank line inserted after docstring summary.</source> + <translation>Linea vuota inserita dopo la stringa di documentazione del sommario.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation>Linea vuota inserita dopo l'ultimo paragrafo della stringa di documentazione.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> + <source>Leading quotes put on separate line.</source> + <translation>Le virgolette di testa messe su una riga separata.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> + <translation>Le virgolette di coda messe su una riga separata.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> + <source>Blank line before class docstring removed.</source> + <translation>Rimossa riga vuota prima della stringa di documentazione.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> - <translation>Rimossa riga vuota dopo l'ultimo paragrafo.</translation> + <source>Blank line after class docstring removed.</source> + <translation>Rimossa riga vuota dopo della stringa di documentazione.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> - <translation>Convertita Tabulazione in 4 spazi.</translation> + <source>Blank line after function/method docstring removed.</source> + <translation>Riga vuota dopo la stringa di documentazione funzione/metodo rimossa.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> - <translation>Identazione portata ad un multiplo di quattro.</translation> + <source>Blank line after last paragraph removed.</source> + <translation>Rimossa riga vuota dopo l'ultimo paragrafo.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> - <translation>Identazione di continuazione riga corretta.</translation> + <source>Tab converted to 4 spaces.</source> + <translation>Convertita Tabulazione in 4 spazi.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> - <translation>Identazione di parentesi chiusa corretta.</translation> + <source>Indentation adjusted to be a multiple of four.</source> + <translation>Identazione portata ad un multiplo di quattro.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> - <translation>Corretta la mancanza di indentazione della continuazione riga.</translation> + <source>Indentation of continuation line corrected.</source> + <translation>Identazione di continuazione riga corretta.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> - <translation>Parentesi chiusa allineata con quella d'apertura.</translation> + <source>Indentation of closing bracket corrected.</source> + <translation>Identazione di parentesi chiusa corretta.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> - <translation>Livello di indentazione modificato.</translation> + <source>Missing indentation of continuation line corrected.</source> + <translation>Corretta la mancanza di indentazione della continuazione riga.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> - <translation>Modificato il livello di indentazione dell'indentazione pendente.</translation> + <source>Closing bracket aligned to opening bracket.</source> + <translation>Parentesi chiusa allineata con quella d'apertura.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation>Livello di indentazione modificato.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation>Modificato il livello di indentazione dell'indentazione pendente.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation>Spazio non pertinente eliminato.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation>Spazi mancanti aggiunti.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation>Spazi mancanti aggiunti.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation>Corretto spazio vicino al segno di commento.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation>Inserita una riga vuota.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform>%n riga vuota inserita.</numerusform> @@ -3403,7 +3413,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform>%n riga superflua eliminata</numerusform> @@ -3411,77 +3421,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation>Righe vuote superflue eliminate.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation>Righe vuote superflue eliminate dopo a dichiarazione della funzione.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation>Import messi su righe separate.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> - <translation>Accorciate righe lughe.</translation> + <source>Superfluous blank lines after function decorator removed.</source> + <translation>Righe vuote superflue eliminate dopo a dichiarazione della funzione.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> - <translation>Rimossi barre rovesciate ridondanti.</translation> + <source>Imports were put on separate lines.</source> + <translation>Import messi su righe separate.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> + <translation>Accorciate righe lughe.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation>Corretta istruzione composta.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> - <translation>Corretta comparazione con None/True/False.</translation> + <source>Redundant backslash in brackets removed.</source> + <translation>Rimossi barre rovesciate ridondanti.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> - <translation>'{0}' argumento aggiunto.</translation> + <source>Compound statement corrected.</source> + <translation>Corretta istruzione composta.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> - <translation>'{0}' argumento rimosso.</translation> + <source>Comparison to None/True/False corrected.</source> + <translation>Corretta comparazione con None/True/False.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> - <translation>Eliminati gli spazi alla fine della linea.</translation> + <source>'{0}' argument added.</source> + <translation>'{0}' argumento aggiunto.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> - <translation>Aggiunta una nuova riga alla fine del file.</translation> + <source>'{0}' argument removed.</source> + <translation>'{0}' argumento rimosso.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> - <translation>Rghe vuote superflue eliminate dalla fine del file.</translation> + <source>Whitespace stripped from end of line.</source> + <translation>Eliminati gli spazi alla fine della linea.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation>Aggiunta una nuova riga alla fine del file.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation>Rghe vuote superflue eliminate dalla fine del file.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation>'<>' sostituito da '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation type="unfinished"></translation> </message> @@ -8958,82 +8968,82 @@ <translation>Disabilita breakpoint</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Analisi codice</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Per favore seleziona un file per l'analisi</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Profilazione dati</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Per favore seleziona un file per la profilazione</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Nome Macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Seleziona un nome per la macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>File Macro (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Carica un file di macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Errore nel caricamento della macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Salva un file di macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Salva macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Errore nel salvataggio della macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Avvia registrazione della macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Registrazione Macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Inserisci un nome per la macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>File modificato</translation> </message> @@ -9053,7 +9063,7 @@ <translation>Elimina errori di sintassi</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Errore Drop</translation> </message> @@ -9063,12 +9073,12 @@ <translation>Mostra i messaggi degli errori di sintassi</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Errore di sintassi</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Nessun messaggio degli errori di sintassi disponibile.</translation> </message> @@ -9098,17 +9108,17 @@ <translation>File non analizzato precedente</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Mostra le annotazioni dell'analisi del codice</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Tutte le linee sono state analizzate.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>Non ci sono file di analisi disponibili.</translation> </message> @@ -9143,72 +9153,72 @@ <translation>Nessun linguaggio</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Risorse</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Aggiungi file...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Aggiungi files...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Aggiungi file sinonimo...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Aggiungi una risorsa localizzata...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Aggiungi un file risorse</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Aggiundi dei file risorse</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Aggiungi file sinonimo delle risorse</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Diagrammi del package</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Includi gli attributi della classe ?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Diagrammi dell'applicazione</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Includi i nomi dei moduli ?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Aggiungi riquadro delle risorse</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>Registrazione macro già attiva. Avvia nuovamente ?</translation> </message> @@ -9258,12 +9268,12 @@ <translation>Nessun formato di export impostato. Annullamento...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Importa diagrammi</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Includi gli import dai moduli esterni ?</translation> </message> @@ -9338,7 +9348,7 @@ <translation>Selezione l'analizzatore lessicale di Pygments da applicare.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Controllo sillabazione...</translation> </message> @@ -9348,12 +9358,12 @@ <translation>Controllo sillabazione della selezione...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Aggiungi al dizionario</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Ignora tutto</translation> </message> @@ -9393,32 +9403,32 @@ <translation><p>Il file <b>{0}</b> non può essere salvato.<br />Motivo: {1}</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>Il file macro <b>{0}</b> non può essere letto.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>Il file macro <b>{0}</b> è danneggiato.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>Il file macro <b>{0}</b> non può essere scritto.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation>{0} (ro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> non è un file.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation>Alias per il file <b>{0}</b>:</translation> </message> @@ -9448,22 +9458,22 @@ <translation><p>Il file <b>{0}</b> esiste già. Sovrascriverlo ?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Il file delle macro <b>{0}</b> esiste già.Sovrascriverlo ?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation>Attenzione: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation>Errore: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>Attenzione:</b> con la riapertura le modifiche andranno perse.</translation> </message> @@ -9508,27 +9518,27 @@ <translation>Modifica precedente</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation>Righe ordinate</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation>La selezione contiene dati non validi per un ordinamento numerico.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation>Attenzione</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation>Nessun messaggio di attenzione disponibile.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation>Stile: {0}</translation> </message> @@ -9553,7 +9563,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"><p>Il file <b>{0}</b> è stato modificato mentre era aperto in eric5. Rileggerlo ?</p> {0}?} {6.?}</translation> </message> @@ -9588,12 +9598,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32518,6 +32528,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished">{0}: {1}</translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_pt.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_pt.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2932,162 +2932,162 @@ numa entrada a abrirá a janela do editor e posiciona o cursor na respectiva linha e posição.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation>Excluir Ficheiros:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation>Introduzir padrões dos nomes dos ficheiros a excluir separados por uma vírgula</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation>Pressionar para começar a verficação de estilo do código</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation>Iniciar</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation>Pressionar para corrigir os problemas selecionados</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation>Corrigir Selecionado</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation>Pressionar para carregar os valores padrão</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation>Carregar Padrões</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation>Pressionar para armazenar os valores atuais como padrão</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation>Armazenar Padrões</translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation>Pressionar para repor os valores padrão</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation>Repor Padrões</translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation>Pressionar para repor os valores padrão</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation>Repor Padrões</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation>Excluir Mensagens:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation>Introduzir as categorias ou códigos de mensagens a excluir separados por uma vírgula</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation>Pressionar para selecionar os códigos de mensagem desde uma lista</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation>Mensagens Incluídas:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation>Introduzir categorias ou códigos de mensagem a incluir separados por uma vírgula</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation>Corrigir Problemas:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation>Introduzir códigos de mensagem dos problemas a reparar automaticamente (deixar vazio para reparar tudo)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation>Não Corrigir Problemas:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation>Introduzir códigos de mensagem dos problemas a não reparar automaticamente</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation>Comprimento Max. Linha:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation>Introduzir o comprimento máximo de linha permitido (PEP-8: 79 caráteres)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation>Tipo de Docstring:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation>Selecionar o conjunto de regras para docstrings</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation>Selecionar para permitir colocação de parêntesis finais</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation>Permitir colocação de parêntesis finais</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation>Selecionar para repetir cada tipo de mensagem</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation>Repetir Mensagens</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation>Selecionar para corrigir algum problema</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation>Corrigir problemas automaticamente</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3098,17 +3098,17 @@ linha e posição.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation>Ficheiro/Linha</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation>Código</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation>Mensagem</translation> </message> @@ -3143,7 +3143,7 @@ <translation>Pressionar para mostrar todos os ficheiros que tenham algum problema</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation>Erro: {0}</translation> </message> @@ -3153,40 +3153,50 @@ <translation>Corrigir: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation>Não se encontraram problemas.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation>Mostra o progresso da verificação do estilo do código</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation>%v%m Ficheiros</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation>Selecionar para mostrar falhos ignorados</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation>Mostrar ignorado</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation>{0} (ignorado)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3252,147 +3262,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation>Três aspas simples convertidas a três aspas duplas.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation>Corrigidas as aspas introdutórias para ser {0}"""</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation>Docstring de linha única posta numa linha.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation>Ponto adicionado à linha sumário.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> - <translation>Retirada a linha vazia antes da docstring de função/método.</translation> + <source>Introductory quotes corrected to be {0}"""</source> + <translation>Corrigidas as aspas introdutórias para ser {0}"""</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> + <translation>Docstring de linha única posta numa linha.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation>Linha branca inserida antes da docstring de classe.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> - <translation>Inserida linha vazia depois da docstring de classe.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> - <translation>Inserida linha vazia depois da docstring de sumário.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> - <translation>Inserida linha vazia depois do último parágrafo da docstring.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> - <translation>Aspas iniciais postas numa linha separada.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> - <translation>Aspas finais postas numa linha separada.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> - <translation>Retirada linha vazia antes da docstring de classe.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation>Retirada linha vazia depois da docstring de classe.</translation> + <source>Period added to summary line.</source> + <translation>Ponto adicionado à linha sumário.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> - <translation>Retirada a linha vazia depois da docstring de função/método.</translation> + <source>Blank line before function/method docstring removed.</source> + <translation>Retirada a linha vazia antes da docstring de função/método.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> + <source>Blank line inserted before class docstring.</source> + <translation>Linha branca inserida antes da docstring de classe.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> + <source>Blank line inserted after class docstring.</source> + <translation>Inserida linha vazia depois da docstring de classe.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> + <source>Blank line inserted after docstring summary.</source> + <translation>Inserida linha vazia depois da docstring de sumário.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation>Inserida linha vazia depois do último parágrafo da docstring.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> + <source>Leading quotes put on separate line.</source> + <translation>Aspas iniciais postas numa linha separada.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> + <translation>Aspas finais postas numa linha separada.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> + <source>Blank line before class docstring removed.</source> + <translation>Retirada linha vazia antes da docstring de classe.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> - <translation>Retirada linha vazia depois do último parágrafo.</translation> + <source>Blank line after class docstring removed.</source> + <translation>Retirada linha vazia depois da docstring de classe.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> - <translation>Tabulação convertida a 4 espaços.</translation> + <source>Blank line after function/method docstring removed.</source> + <translation>Retirada a linha vazia depois da docstring de função/método.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> - <translation>Ajustada a indentação a múltiplos de quatro.</translation> + <source>Blank line after last paragraph removed.</source> + <translation>Retirada linha vazia depois do último parágrafo.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> - <translation>Corrigida a indentação da linha de continuação.</translation> + <source>Tab converted to 4 spaces.</source> + <translation>Tabulação convertida a 4 espaços.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> - <translation>Corrigida a indentação de parêntesis de fecho.</translation> + <source>Indentation adjusted to be a multiple of four.</source> + <translation>Ajustada a indentação a múltiplos de quatro.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> - <translation>Corrigida falta de indentação na linha de continuação.</translation> + <source>Indentation of continuation line corrected.</source> + <translation>Corrigida a indentação da linha de continuação.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> - <translation>Parêntesis de fecho alinhado com parêntesis de abertura.</translation> + <source>Indentation of closing bracket corrected.</source> + <translation>Corrigida a indentação de parêntesis de fecho.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> - <translation>Alterado o nível da indentação.</translation> + <source>Missing indentation of continuation line corrected.</source> + <translation>Corrigida falta de indentação na linha de continuação.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> - <translation>Alterado o nível da indentação pendente.</translation> + <source>Closing bracket aligned to opening bracket.</source> + <translation>Parêntesis de fecho alinhado com parêntesis de abertura.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation>Alterado o nível da indentação.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation>Alterado o nível da indentação pendente.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation>Indentação visual corrigida.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation>Espaço estranho retirado.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation>Adicionado espaço branco em falta.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation>Adicionado espaço branco em falta.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation>Corrigido espaço em volta do símbolo de comentário.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation>Inserida uma linha vazia.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>inserida uma linha vazia.</numerusform> @@ -3400,7 +3410,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation> <numerusform>retirada uma linha desnecessária</numerusform> @@ -3408,77 +3418,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation>Retiradas linhas vazias desnecessárias.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation>Retiradas linhas vazias desnecessárias após o decorador de função.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation>Imports foram postos em linhas separadas.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> - <translation>Foram encolhidas as linhas compridas.</translation> + <source>Superfluous blank lines after function decorator removed.</source> + <translation>Retiradas linhas vazias desnecessárias após o decorador de função.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> - <translation>Retirada barra invertida redundante entre parêntesis.</translation> + <source>Imports were put on separate lines.</source> + <translation>Imports foram postos em linhas separadas.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> + <translation>Foram encolhidas as linhas compridas.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation>Instrução composta corrigida.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> - <translation>Corrigida a comparação a None/True/False.</translation> + <source>Redundant backslash in brackets removed.</source> + <translation>Retirada barra invertida redundante entre parêntesis.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> - <translation>Adicionado o argumento '{0}'.</translation> + <source>Compound statement corrected.</source> + <translation>Instrução composta corrigida.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> - <translation>Removido o argumento '{0}'.</translation> + <source>Comparison to None/True/False corrected.</source> + <translation>Corrigida a comparação a None/True/False.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> - <translation>Eliminado o espaço no fim de linha.</translation> + <source>'{0}' argument added.</source> + <translation>Adicionado o argumento '{0}'.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> - <translation>adicionada uma linha nova ao fim do ficheiro.</translation> + <source>'{0}' argument removed.</source> + <translation>Removido o argumento '{0}'.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> - <translation>Retiradas linhas vazias desnecessárias do fim do ficheiro.</translation> + <source>Whitespace stripped from end of line.</source> + <translation>Eliminado o espaço no fim de linha.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation>adicionada uma linha nova ao fim do ficheiro.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation>Retiradas linhas vazias desnecessárias do fim do ficheiro.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation>'<>' substituido por '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation>Não se pode gravar ficheiro! Saltando-o. Motivo: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation> sem mensagem definida para código '{0}'</translation> </message> @@ -8752,7 +8762,7 @@ <translation>Desselecionar tudo</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Verificação ortográfica...</translation> </message> @@ -9182,252 +9192,252 @@ <translation>Inabilitar ponto de interrupção</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Foram cobertas as linhas todas.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Dados de Perfil</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Escolha um ficheiro de perfil por favor</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Erro de Sintaxe</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Não está disponível a mensagem de erro de sintaxe.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Nome de Macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Selecionar um nome de macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Carregar ficheiro macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Ficheiros Macro (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Erro ao carregar macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>O ficheiro macro <b>{0}</b> não se pode ler.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>O ficheiro macro <b>{0}</b> está corrompido.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Gravar ficheiro macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Gravar macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>O ficheiro macro <b>{0}</b> já existe. Sobreescrever-lo?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Erro ao gravar macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>O ficheiro macro <b>{0}</b> não pode ser escrito.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Iniciar Registo de Macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>A gravação de macro já está ativada. Começar nova?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Gravação de Macro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Introduza o nome de macro:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Ficheiro alterado</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> não é um ficheiro.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Recursos</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Adicionar Ficheiro...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Adicionar Ficheiros...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Adicionar ficheiro com pseudónimo...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Adicionar recursos localizado...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Adicionar recurso de ficheiro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Adicionar recursos de ficheiro</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Adicionar recurso de ficheiro com pseudónimo</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation>Pseudónimo para o ficheiro <b>{0}</b>:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Diagrama do Pacote</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Incluir atributos de classes?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Diagrama de Imports</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Incluir imports de módulos externos?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Diagrama da Aplicação</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Incluir nome dos módulos?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Adicionar dicionário</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Ignorar Tudo</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation>Aviso: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation>Erro: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>Aviso:</b> Perderá todas as alterações uma vez que o volte a abrir.</translation> </message> @@ -9472,27 +9482,27 @@ <translation>Alteração anterior</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation>Ordenar Linhas</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation>A seleção contém dados ilegais para uma ordenação numérica.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation>Aviso</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation>Não estão disponíveis mensagens de aviso.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation>Estilo: {0}</translation> </message> @@ -9517,7 +9527,7 @@ <translation>Reabrir Com Codificação</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation><p>O ficheiro <b>{0}</b> foi alterado enquanto estava aberto em eric6. Recarregar?</p></translation> </message> @@ -9552,12 +9562,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32450,6 +32460,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_ru.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_ru.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2935,162 +2935,162 @@ <p>Диалог отображает результаты проверки стиля.Двойной щелчок по записи откроет окно редактора и поместит курсор на сообветствующую строчку.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation>Не включать файлы:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation>Задайте маски файлов для исключения, разделённые запятой</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation>Запустить проверку стиля</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation>Начать</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation>Редактировать выбранные проблемы</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation>Редактировать выбранные</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation>Восстановить значения по умолчанию</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation>Восстановить значения по умолчанию</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation>Сохранить текущие значения как значения по умолчанию</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation>Сохранить значения по умолчанию</translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation>Восстановить значения по умолчанию</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation>Восстановить умолчания</translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation>Восстановить значения по умолчанию</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation>Восстановить умолчания</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation>Не включать сообщения:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation>Задайте коды сообщений или категорий через запятую которые не включать в проверку</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation>Выберите коды сообщений из списка</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation>Включить сообщения:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation>Задайте коды сообщений или категорий через запятую которые включать в проверку</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation>Исправлять автоматически:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation>Задайте коды сообщений через запятую которые исправлять автоматически (если пусто, то исправлять всё)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation>Не исправлять:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation>Задайте коды сообщений через запятую которые не исправлять автоматически</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation>Макс. длина строки:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation>Задайте максимально допустимую длину строки (PEP-8: 79 символов)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation>Тип строки описания:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation>Задайте набор правил для строк описания</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation>Разрешить непарные закрывающие скобки</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation>Разрешить непарные закрывающие скобки</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation>Повторять однотипные сообщения</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation>Повторять сообщения</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation>Исправлять автоматически</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation>Исправлять автоматически</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3100,17 +3100,17 @@ по элементу откроет редактор с курсором на соответствующей строке и колонке.</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation>Файл/Строка</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation>Код</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation>Сообщение</translation> </message> @@ -3145,7 +3145,7 @@ <translation>Показать все файлы содержащие ошибки</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation>Ошибка: {0}</translation> </message> @@ -3155,40 +3155,50 @@ <translation>Исправлено: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation>Проблем со стилем не найдено.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation>Отображает прогресс проверки стиля</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation>%v/%m Файлы</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation>Показать проигнорированные проблемы</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation>Показать проигнорированные</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation>{0} (проигнорировано)</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3254,147 +3264,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation>Тройные одинарные кавычки заменены тройными двойными.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation>Кавычки во введении исправлены на {0}"""</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation>Одиночная строка описания размещена на одной строке.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation>Добавлена точка в строке резюме.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> - <translation>Удалена пустая строка перед документацией функции или метода.</translation> + <source>Introductory quotes corrected to be {0}"""</source> + <translation>Кавычки во введении исправлены на {0}"""</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> + <translation>Одиночная строка описания размещена на одной строке.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation>Добавлена пустая строка перед документацией класса.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> - <translation>Добавлена пустая строка после документации класса.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> - <translation>Добавлена пустая строка после строки резюме.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> - <translation>Добавлена пустая строка после последнего абзаца.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> - <translation>Открывающие кавычки размещены на отдельной строке.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> - <translation>Закрывающие кавычки размещены на отдельной строке.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> - <translation>Удалена пустая строка перед документацией класса.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation>Удалена пустая строка после документации класса.</translation> + <source>Period added to summary line.</source> + <translation>Добавлена точка в строке резюме.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> - <translation>Удалена пустая строка после документации функции или метода.</translation> + <source>Blank line before function/method docstring removed.</source> + <translation>Удалена пустая строка перед документацией функции или метода.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> + <source>Blank line inserted before class docstring.</source> + <translation>Добавлена пустая строка перед документацией класса.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> + <source>Blank line inserted after class docstring.</source> + <translation>Добавлена пустая строка после документации класса.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> + <source>Blank line inserted after docstring summary.</source> + <translation>Добавлена пустая строка после строки резюме.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation>Добавлена пустая строка после последнего абзаца.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> + <source>Leading quotes put on separate line.</source> + <translation>Открывающие кавычки размещены на отдельной строке.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> + <translation>Закрывающие кавычки размещены на отдельной строке.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> + <source>Blank line before class docstring removed.</source> + <translation>Удалена пустая строка перед документацией класса.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> - <translation>Удалена пустая строка после последнего абзаца.</translation> + <source>Blank line after class docstring removed.</source> + <translation>Удалена пустая строка после документации класса.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> - <translation>Символы табуляции заменены на 4 пробела.</translation> + <source>Blank line after function/method docstring removed.</source> + <translation>Удалена пустая строка после документации функции или метода.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> - <translation>Величина отступа сделана кратной четырём.</translation> + <source>Blank line after last paragraph removed.</source> + <translation>Удалена пустая строка после последнего абзаца.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> - <translation>Исправлена величина отступа строки продолжения.</translation> + <source>Tab converted to 4 spaces.</source> + <translation>Символы табуляции заменены на 4 пробела.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> - <translation>Исправлена величина отступа закрывающей скобки.</translation> + <source>Indentation adjusted to be a multiple of four.</source> + <translation>Величина отступа сделана кратной четырём.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> - <translation>Добавлен отступ к строке продолжения.</translation> + <source>Indentation of continuation line corrected.</source> + <translation>Исправлена величина отступа строки продолжения.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> - <translation>Закрывающая скобка выровнена с открывающей.</translation> + <source>Indentation of closing bracket corrected.</source> + <translation>Исправлена величина отступа закрывающей скобки.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> - <translation>Изменена величина отступа.</translation> + <source>Missing indentation of continuation line corrected.</source> + <translation>Добавлен отступ к строке продолжения.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> - <translation>Изменена величина неправильного отступа.</translation> + <source>Closing bracket aligned to opening bracket.</source> + <translation>Закрывающая скобка выровнена с открывающей.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation>Изменена величина отступа.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation>Изменена величина неправильного отступа.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation>Исправленена величина визуального отступа.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation>Удалены излишние пробелы.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation>Добавлены недостающие пробелы.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation>Добавлены недостающие пробелы.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation>Исправлены пробелы вокруг символа сомментария.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation>Добавлена одна пустая строка.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>Добавлена %n пустая строка.</numerusform> @@ -3403,7 +3413,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation> <numerusform>Удалена %n излишняя пустая строчка</numerusform> @@ -3412,77 +3422,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation>Удалены излишние пустые строчки.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation>Удалены пустые строчки после декоратора функции.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation>Операторы импорта помещены на отдельных строчках.</translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> - <translation>Укорочены длинные строчки.</translation> + <source>Superfluous blank lines after function decorator removed.</source> + <translation>Удалены пустые строчки после декоратора функции.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> - <translation>Удалены излишние символы '\'.</translation> + <source>Imports were put on separate lines.</source> + <translation>Операторы импорта помещены на отдельных строчках.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> + <translation>Укорочены длинные строчки.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation>Исправлены составные выражения.</translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> - <translation>Исправлено сравнение с None/True/False.</translation> + <source>Redundant backslash in brackets removed.</source> + <translation>Удалены излишние символы '\'.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> - <translation>Добавлен '{0}' аргумент.</translation> + <source>Compound statement corrected.</source> + <translation>Исправлены составные выражения.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> - <translation>Удалён '{0}' аргумент.</translation> + <source>Comparison to None/True/False corrected.</source> + <translation>Исправлено сравнение с None/True/False.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> - <translation>Завершающие пробелы обрезаны.</translation> + <source>'{0}' argument added.</source> + <translation>Добавлен '{0}' аргумент.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> - <translation>Перевод строки добавлен в конец файла.</translation> + <source>'{0}' argument removed.</source> + <translation>Удалён '{0}' аргумент.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> - <translation>Удалены пустые строчки в конце файла.</translation> + <source>Whitespace stripped from end of line.</source> + <translation>Завершающие пробелы обрезаны.</translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation>Перевод строки добавлен в конец файла.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation>Удалены пустые строчки в конце файла.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation>'<>' заменен на '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation>Невозможно сохранить файл! Игнорирую. Причина: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation>Нет сообщения для кода '{0}'</translation> </message> @@ -8851,7 +8861,7 @@ <translation>Файл изменён</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Файл изменён</translation> </message> @@ -8931,77 +8941,77 @@ <translation>Запретить точку останова</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Охват кода</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Пожалуйста, выберите файл для информации охвата</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Имя макроса</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Задайте имя макроса:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Макросы (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Загрузить макрос</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Ошибка при загрузке макроса</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Сохранить файл с макросами</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Сохранить макрос</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Ошибка при сохранении макроса</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Начало записи макроса</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Запись макроса</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Задайте имя макроса:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Данные профайлера</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Пожалуйста, выберите файл профиля</translation> </message> @@ -9041,7 +9051,7 @@ <translation>Автосохранение разрешено</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Ошибка Drag&&Drop</translation> </message> @@ -9051,12 +9061,12 @@ <translation>Показать сообщение о синтаксической ошибке</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Синтаксическая ошибка</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Нет сообщения о синтаксической ошибке.</translation> </message> @@ -9086,17 +9096,17 @@ <translation>Предыдущая невыполняемая строка</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Показать аннотации по охвату</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Все строки выполняются.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>Нет файла с информацией по охвату.</translation> </message> @@ -9106,22 +9116,22 @@ <translation><p>В файле <b>{0}</b> есть несохранённые изменения.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>Невозможно прочитать файл с макросами: <b>{0}</b></p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>Файл с макросами <b>{0}</b> повреждён</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>Невозможно сохранить файл с макросами: <b>{0}</b></p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> не является файлом</p></translation> </message> @@ -9161,82 +9171,82 @@ <translation>Нет языка</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation>{0} (только чтение)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Ресурсы</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Добавить файл...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Добавить файлы...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Добавить файл под другим именем...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Добавить локализованный ресурс...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Добавить файл ресурсов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Добавить файлы ресурсов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Добавить файл ресурсов под другим именем</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation>Другое имя для файла <b>{0}</b>:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Диаграмма пакетов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Включать атрибуты класса?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Диаграмма приложения</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Включать имена модулей?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Добавить фрагмент ресурсов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>Запись макроса уже идёт. Начать новую запись?</translation> </message> @@ -9286,12 +9296,12 @@ <translation>Не задан формат экспорта. Отмена...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Диаграмма импортов</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Включать импорты из внешних модулей?</translation> </message> @@ -9371,7 +9381,7 @@ <translation>Задайте язык лексического анализатора.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Проверка орфографии...</translation> </message> @@ -9381,12 +9391,12 @@ <translation>Проверка орфографии подсвеченного участка...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Добавить в слварь</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Игнорировать всё</translation> </message> @@ -9431,22 +9441,22 @@ <translation><p>Файл <b>{0}</b> уже сущеструет. Переписать?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Макро <b>{0}</b> уже сущеструет. Переписать?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation>Предупреждение: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation>Ошибка: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation><br><b>Предупреждение:</b> При переоткрытии все изменения будут потеряны.</translation> </message> @@ -9491,27 +9501,27 @@ <translation>Предыдущее изменение</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation>Сортировать строки</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation>Выборка содержит данные неподходящие для сортировки как числа.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation>Предупреждение</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation>Нет предупреждающего сообщения.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation>Стиль: {0}</translation> </message> @@ -9536,7 +9546,7 @@ <translation>Открыть заново с кодировкой</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation><p>Файл <b>{0}</b> был изменён, будучи открытым в Eric. Обновить?</p></translation> </message> @@ -9571,12 +9581,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32496,6 +32506,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished">{0}: {1}</translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_tr.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_tr.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2923,162 +2923,162 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation type="unfinished">Dışarda Tutulan Dosyalar:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation type="unfinished">Dosyaadılarını virgül ile ayırarak giriniz</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation type="unfinished">Başla</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation type="unfinished"></translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3086,17 +3086,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation type="unfinished">Dosya/Satır</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation type="unfinished">Kod</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation type="unfinished">Mesaj</translation> </message> @@ -3131,7 +3131,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation type="unfinished">Hata: {0}</translation> </message> @@ -3141,40 +3141,50 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation type="unfinished">Sorun bulunamadı.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3240,147 +3250,147 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> + <source>Blank line before function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> + <source>Blank line inserted before class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> + <source>Blank line inserted after class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> + <source>Blank line inserted after docstring summary.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> + <source>Blank line inserted after last paragraph of docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> + <source>Leading quotes put on separate line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> + <source>Blank line before class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> + <source>Blank line after class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> + <source>Blank line after function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> + <source>Blank line after last paragraph removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> + <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> + <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> + <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> + <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> + <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> + <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -3388,7 +3398,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> @@ -3396,77 +3406,77 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> + <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> + <source>Imports were put on separate lines.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> + <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> + <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> + <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> + <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> + <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> + <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation type="unfinished"></translation> </message> @@ -8732,7 +8742,7 @@ <translation>Tüm seçimi iptal et</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>Yazım Kontrolü...</translation> </message> @@ -9157,232 +9167,232 @@ <translation>Durmanoktasını iptal et</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>Kod Koruyucu</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>Lütfen bir koruyucu dosya seçiniz</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>Kodların Dipnotunu Göster</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>Tüm satırlar korumaya alındı.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>Hazırda koruma dosyası yok.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>Veri Kesiti</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>Lütfen kesit dosyasını seçiniz</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>Sözdizimi Hatası</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>Uygun söz dizimi hata mesajı yok.</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>Makro Adı</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>Bir makro ismi seç:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>Makro dosyasını yükle</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>Makro dosyaları (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>Makronun yüklenmesinde hata</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation><p>Makro dosyası <b>{0}</b> okunamıyor.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation><p>Makro dosyası <b>{0}</b> bozuk.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>Makro Dosyasını Kaydet</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>Makro Kaydet</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>Makronun kaydedilmesinde hata</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation><p>Makro dosyası <b>{0}</b> yazılamıyor.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>Makro Kaydı Başladı</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>Makro kaydı şuan aktif. Yeniden başlasın mı?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>Makro Kaydediliyor</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>Makronun ismini gir:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>Dosya değiştirilmiş</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation>{0} (ro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>Düşme hatası</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation><p><b>{0}</b> bir dosya değil.</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>Kaynaklar</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>Dosya ekle...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>Dosyaları ekle...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>Kısaltmalar dosyasına ekle...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>Yaral kaynak ekle...</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>Çerçeve kaynağı ekle</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>Dosya kaynağını ekle</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>Dosya kaynaklarını ekle</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>Kısaltmalar dosyası kaynağını ekle</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation><b>{0} dosyası için takma ad</b>:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>Paket Şeması</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>Sınıf nitelikleri dahil edilsin mi?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>Şemayı İçe Aktar</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>Harici modüllerdan içe aktarım dahil edilsin mi?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>Uygulama Şeması</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>Modül isimleri dahil edilsin mi?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>Sözlüğe ekle</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>Hepsini Yoksay</translation> </message> @@ -9392,22 +9402,22 @@ <translation><p><b>{0}</b> dosyası halen mevcut. Üzerine yazılsın mı?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation>Dikkat: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation>Hata: {0}</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Makro dosyası <b>{0}</b> zaten var. Üzerine yazılsın mı?</p></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation type="unfinished"></translation> </message> @@ -9452,27 +9462,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation type="unfinished">Dikkat</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation type="unfinished"></translation> </message> @@ -9497,7 +9507,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"><p>Eric5 ile açıldıktan sonra <b>{0}</b> dosyasında değişiklik olmuş. Yeniden açılsın mı?</p> {0}?} {6.?}</translation> </message> @@ -9532,12 +9542,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32410,6 +32420,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>
--- a/i18n/eric6_zh_CN.GB2312.ts Wed Sep 02 18:46:11 2015 +0200 +++ b/i18n/eric6_zh_CN.GB2312.ts Wed Sep 02 20:16:28 2015 +0200 @@ -2920,162 +2920,162 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="46"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="34"/> <source>Exclude Files:</source> <translation type="unfinished">排除文件:</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="53"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="41"/> <source>Enter filename patterns of files to be excluded separated by a comma</source> <translation type="unfinished">输入要排除文件的文件名样式,用逗号分隔</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="72"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="60"/> <source>Press to start the code style check run</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="75"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="63"/> <source>Start</source> <translation type="unfinished">开始</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="82"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="70"/> <source>Press to fix the selected issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="85"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="73"/> <source>Fix Selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="105"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="93"/> <source>Press to load the default values</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="108"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="96"/> <source>Load Defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="115"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="103"/> <source>Press to store the current values as defaults</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="118"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="106"/> <source>Store Defaults</source> <translation type="unfinished"></translation> </message> <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="113"/> + <source>Press to reset the default values</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="116"/> + <source>Reset Defaults</source> + <translation type="unfinished"></translation> + </message> + <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="125"/> - <source>Press to reset the default values</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="128"/> - <source>Reset Defaults</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="137"/> <source>Exclude Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="144"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="132"/> <source>Enter message codes or categories to be excluded separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="214"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="202"/> <source>Press to select the message codes from a list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="158"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="146"/> <source>Included Messages:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="165"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="153"/> <source>Enter message codes or categories to be included separated by a comma</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="179"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="167"/> <source>Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="186"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="174"/> <source>Enter message codes of issues to be fixed automatically (leave empty to fix all)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="200"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="188"/> <source>Don't Fix Issues:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="207"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="195"/> <source>Enter message codes of issues not to be fixed automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="221"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="209"/> <source>Max. Line Length:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="230"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="218"/> <source>Enter the maximum allowed line length (PEP-8: 79 characters)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="264"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="252"/> <source>Docstring Type:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="273"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="261"/> <source>Select the rule set for docstrings</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="297"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="285"/> <source>Select to allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="300"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="288"/> <source>Allow hanging closing brackets</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="324"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="355"/> <source>Select to repeat each message type</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="327"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="358"/> <source>Repeat messages</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="337"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="368"/> <source>Select to fix some issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="340"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="371"/> <source>Fix issues automatically</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="378"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="409"/> <source><b>Result List</b> <p>This list shows the results of the code style check. Double clicking an entry will open this entry in an editor window and position the cursor at @@ -3083,17 +3083,17 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="394"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> <source>File/Line</source> <translation type="unfinished">文件/行</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="399"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="430"/> <source>Code</source> <translation type="unfinished">代码</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="404"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="435"/> <source>Message</source> <translation type="unfinished">消息</translation> </message> @@ -3128,7 +3128,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="464"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="468"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> @@ -3138,40 +3138,50 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="587"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="591"/> <source>No issues found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="425"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="456"/> <source>Shows the progress of the code style check</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="434"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="465"/> <source>%v/%m Files</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="350"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="381"/> <source>Select to show ignored issues</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="353"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="384"/> <source>Show ignored</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="540"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="544"/> <source>{0} (ignored)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="449"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py" line="453"/> <source>Preparing files...</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="310"/> + <source>Max. Complexity:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui" line="319"/> + <source>Enter the maximum allowed code complexity (McCabe: 10)</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CodeStyleCheckerPlugin</name> @@ -3237,231 +3247,231 @@ <context> <name>CodeStyleFixer</name> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> <source>Triple single quotes converted to triple double quotes.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="378"/> - <source>Introductory quotes corrected to be {0}"""</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="381"/> - <source>Single line docstring put on one line.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="384"/> - <source>Period added to summary line.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> - <source>Blank line before function/method docstring removed.</source> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="387"/> + <source>Single line docstring put on one line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="390"/> - <source>Blank line inserted before class docstring.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="393"/> - <source>Blank line inserted after class docstring.</source> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> + <source>Blank line before function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="396"/> - <source>Blank line inserted after docstring summary.</source> + <source>Blank line inserted before class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="399"/> - <source>Blank line inserted after last paragraph of docstring.</source> + <source>Blank line inserted after class docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="402"/> - <source>Leading quotes put on separate line.</source> + <source>Blank line inserted after docstring summary.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="405"/> - <source>Trailing quotes put on separate line.</source> + <source>Blank line inserted after last paragraph of docstring.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="408"/> - <source>Blank line before class docstring removed.</source> + <source>Leading quotes put on separate line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="411"/> + <source>Trailing quotes put on separate line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="414"/> - <source>Blank line after class docstring removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="417"/> - <source>Blank line after function/method docstring removed.</source> + <source>Blank line before class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="420"/> - <source>Blank line after last paragraph removed.</source> + <source>Blank line after class docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="423"/> - <source>Tab converted to 4 spaces.</source> + <source>Blank line after function/method docstring removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="426"/> - <source>Indentation adjusted to be a multiple of four.</source> + <source>Blank line after last paragraph removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="429"/> - <source>Indentation of continuation line corrected.</source> + <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="432"/> - <source>Indentation of closing bracket corrected.</source> + <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="435"/> - <source>Missing indentation of continuation line corrected.</source> + <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="438"/> - <source>Closing bracket aligned to opening bracket.</source> + <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="441"/> - <source>Indentation level changed.</source> + <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="444"/> - <source>Indentation level of hanging indentation changed.</source> + <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="447"/> + <source>Indentation level changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="450"/> + <source>Indentation level of hanging indentation changed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="453"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="462"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="459"/> - <source>Missing whitespace added.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="465"/> + <source>Missing whitespace added.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="471"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="468"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="474"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="472"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="478"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="475"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="481"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="479"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="482"/> - <source>Superfluous blank lines after function decorator removed.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="485"/> - <source>Imports were put on separate lines.</source> - <translation type="unfinished"></translation> - </message> - <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="488"/> - <source>Long lines have been shortened.</source> + <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="491"/> - <source>Redundant backslash in brackets removed.</source> + <source>Imports were put on separate lines.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="494"/> + <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="497"/> - <source>Compound statement corrected.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="500"/> - <source>Comparison to None/True/False corrected.</source> + <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="503"/> - <source>'{0}' argument added.</source> + <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="506"/> - <source>'{0}' argument removed.</source> + <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="509"/> - <source>Whitespace stripped from end of line.</source> + <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="512"/> - <source>newline added to end of file.</source> + <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="515"/> - <source>Superfluous trailing blank lines removed from end of file.</source> + <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="518"/> + <source>newline added to end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="521"/> + <source>Superfluous trailing blank lines removed from end of file.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="524"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="522"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="528"/> <source>Could not save the file! Skipping it. Reason: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="576"/> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="582"/> <source> no message defined for code '{0}'</source> <translation type="unfinished"></translation> </message> @@ -8698,7 +8708,7 @@ <translation>全部取消选择</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7201"/> + <location filename="../QScintilla/Editor.py" line="7202"/> <source>Check spelling...</source> <translation>正在进行拼写检查……</translation> </message> @@ -9073,202 +9083,202 @@ <translation>去除断点</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Code Coverage</source> <translation>代码覆盖率</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5490"/> + <location filename="../QScintilla/Editor.py" line="5491"/> <source>Please select a coverage file</source> <translation>请选择一个覆盖率文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>Show Code Coverage Annotations</source> <translation>显示代码覆盖率注解</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5550"/> + <location filename="../QScintilla/Editor.py" line="5551"/> <source>All lines have been covered.</source> <translation>所有行均被已覆盖。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5557"/> + <location filename="../QScintilla/Editor.py" line="5558"/> <source>There is no coverage file available.</source> <translation>没有有效的覆盖率文件。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Profile Data</source> <translation>剖析数据</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5672"/> + <location filename="../QScintilla/Editor.py" line="5673"/> <source>Please select a profile file</source> <translation>请选择一个剖析文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>Syntax Error</source> <translation>语法错误</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="5832"/> + <location filename="../QScintilla/Editor.py" line="5833"/> <source>No syntax error message available.</source> <translation>语法错误消息无效。</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Macro Name</source> <translation>宏名称</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6147"/> + <location filename="../QScintilla/Editor.py" line="6148"/> <source>Select a macro name:</source> <translation>选择一个宏名称:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6175"/> + <location filename="../QScintilla/Editor.py" line="6176"/> <source>Load macro file</source> <translation>输入宏文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Macro files (*.macro)</source> <translation>宏文件 (*.macro)</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source>Error loading macro</source> <translation>载入宏文件出错</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6218"/> + <location filename="../QScintilla/Editor.py" line="6219"/> <source>Save macro file</source> <translation>保存宏文件</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source>Save macro</source> <translation>保存宏</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source>Error saving macro</source> <translation>保存宏出错</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Start Macro Recording</source> <translation>开始宏录制</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6264"/> + <location filename="../QScintilla/Editor.py" line="6265"/> <source>Macro recording is already active. Start new?</source> <translation>宏录制已激活。开始录制新宏?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Macro Recording</source> <translation>宏录制</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6290"/> + <location filename="../QScintilla/Editor.py" line="6291"/> <source>Enter name of the macro:</source> <translation>输入宏名称:</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6426"/> + <location filename="../QScintilla/Editor.py" line="6427"/> <source>File changed</source> <translation>文件已改变</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source>Drop Error</source> <translation>降落误差</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6749"/> + <location filename="../QScintilla/Editor.py" line="6750"/> <source>Resources</source> <translation>资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6751"/> + <location filename="../QScintilla/Editor.py" line="6752"/> <source>Add file...</source> <translation>添加文件……</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6753"/> + <location filename="../QScintilla/Editor.py" line="6754"/> <source>Add files...</source> <translation>添加文件……</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6755"/> + <location filename="../QScintilla/Editor.py" line="6756"/> <source>Add aliased file...</source> <translation>添加别名文件……</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6758"/> + <location filename="../QScintilla/Editor.py" line="6759"/> <source>Add localized resource...</source> <translation>添加本地资源……</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6762"/> + <location filename="../QScintilla/Editor.py" line="6763"/> <source>Add resource frame</source> <translation>添加资源结构</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6781"/> + <location filename="../QScintilla/Editor.py" line="6782"/> <source>Add file resource</source> <translation>添加文件资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6797"/> + <location filename="../QScintilla/Editor.py" line="6798"/> <source>Add file resources</source> <translation>添加多个文件资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Add aliased file resource</source> <translation>添加别名文件资源</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Package Diagram</source> <translation>程序包图</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6889"/> + <location filename="../QScintilla/Editor.py" line="6890"/> <source>Include class attributes?</source> <translation>包含类属性?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Imports Diagram</source> <translation>引用图</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6909"/> + <location filename="../QScintilla/Editor.py" line="6910"/> <source>Include imports from external modules?</source> <translation>从外部模块包含引用?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Application Diagram</source> <translation>应用程序图</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6923"/> + <location filename="../QScintilla/Editor.py" line="6924"/> <source>Include module names?</source> <translation>包含模块名?</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7204"/> + <location filename="../QScintilla/Editor.py" line="7205"/> <source>Add to dictionary</source> <translation>添加到文件夹</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7206"/> + <location filename="../QScintilla/Editor.py" line="7207"/> <source>Ignore All</source> <translation>全部忽略</translation> </message> @@ -9308,32 +9318,32 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6189"/> + <location filename="../QScintilla/Editor.py" line="6190"/> <source><p>The macro file <b>{0}</b> could not be read.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6198"/> + <location filename="../QScintilla/Editor.py" line="6199"/> <source><p>The macro file <b>{0}</b> is corrupt.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6251"/> + <location filename="../QScintilla/Editor.py" line="6252"/> <source><p>The macro file <b>{0}</b> could not be written.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6588"/> + <location filename="../QScintilla/Editor.py" line="6589"/> <source>{0} (ro)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6728"/> + <location filename="../QScintilla/Editor.py" line="6729"/> <source><p><b>{0}</b> is not a file.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6825"/> + <location filename="../QScintilla/Editor.py" line="6826"/> <source>Alias for file <b>{0}</b>:</source> <translation type="unfinished"></translation> </message> @@ -9363,22 +9373,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6235"/> + <location filename="../QScintilla/Editor.py" line="6236"/> <source><p>The macro file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6086"/> + <location filename="../QScintilla/Editor.py" line="6087"/> <source>Warning: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6093"/> + <location filename="../QScintilla/Editor.py" line="6094"/> <source>Error: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6422"/> + <location filename="../QScintilla/Editor.py" line="6423"/> <source><br><b>Warning:</b> You will lose your changes upon reopening it.</source> <translation type="unfinished"></translation> </message> @@ -9423,27 +9433,27 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>Sort Lines</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7618"/> + <location filename="../QScintilla/Editor.py" line="7619"/> <source>The selection contains illegal data for a numerical sort.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>Warning</source> <translation type="unfinished">警告</translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6022"/> + <location filename="../QScintilla/Editor.py" line="6023"/> <source>No warning messages available.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6083"/> + <location filename="../QScintilla/Editor.py" line="6084"/> <source>Style: {0}</source> <translation type="unfinished"></translation> </message> @@ -9468,7 +9478,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="6416"/> + <location filename="../QScintilla/Editor.py" line="6417"/> <source><p>The file <b>{0}</b> has been changed while it was opened in eric6. Reread it?</p></source> <translation type="unfinished"></translation> </message> @@ -9503,12 +9513,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>Register Mouse Click Handler</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../QScintilla/Editor.py" line="7705"/> + <location filename="../QScintilla/Editor.py" line="7706"/> <source>A mouse click handler for "{0}" was already registered by "{1}". Aborting request by "{2}"...</source> <translation type="unfinished"></translation> </message> @@ -32357,6 +32367,19 @@ </message> </context> <context> + <name>McCabeChecker</name> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="375"/> + <source>'{0}' is too complex ({1})</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/CodeStyleChecker/translations.py" line="377"/> + <source>{0}: {1}</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>MercurialPage</name> <message> <location filename="../Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui" line="17"/>