Merge branch 'projfile-gui'
This commit is contained in:
commit
3a70d0adf3
|
@ -128,15 +128,15 @@ kate -l(line) (file)</oldsource>
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -146,265 +146,275 @@ kate -l(line) (file)</oldsource>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -415,6 +425,22 @@ Stop the checking before exiting.</source>
|
|||
%1</oldsource>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="34"/>
|
||||
<source>Finnish</source>
|
||||
|
@ -451,6 +477,51 @@ Stop the checking before exiting.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -141,15 +141,15 @@ kate -l(line) (file)</translation>
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation>Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation>Standard</translation>
|
||||
</message>
|
||||
|
@ -159,217 +159,222 @@ kate -l(line) (file)</translation>
|
|||
<translation>&File</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation>&View</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation>&Check</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation>&Edit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation>&License...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation>A&uthors...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation>&About...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation>&Files...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation>&Directory...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation>Ctrl+D</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation>&Recheck files</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation>Ctrl+R</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation>&Stop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation>Esc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation>&Save results to file...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation>Ctrl+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Quit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation>&Clear results</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Preferences</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation>Show style errors</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation>Show common errors</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation>&Check all</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation>&Uncheck all</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translation>Collapse &all</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation>&Expand all</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation>&Language</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Help</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation>Select files to check</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation>Select directory to check</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation>No suitable files found to check!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
|
@ -378,48 +383,53 @@ Stop the checking before exiting.</source>
|
|||
Stop the checking before exiting.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation>License</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation>Authors</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation>Save the report file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation>XML files (*.xml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation>Text files (*.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation>Cppcheck - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -432,6 +442,22 @@ Stop the checking before exiting.</translation>
|
|||
|
||||
%1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="34"/>
|
||||
<source>Finnish</source>
|
||||
|
@ -468,6 +494,51 @@ Stop the checking before exiting.</translation>
|
|||
<translation>Polish</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished">Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -143,15 +143,15 @@ kate -l(line) (file)
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation>Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation>Vakio</translation>
|
||||
</message>
|
||||
|
@ -161,217 +161,222 @@ kate -l(line) (file)
|
|||
<translation>&Tiedosto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation>&Näytä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation>&Tarkista</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation>&Muokkaa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation>&Lisenssi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation>&Tekijät...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation>&Tietoa ohjelmasta Cppcheck...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation>&Tiedostot...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation>&Hakemisto...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation>Ctrl+D</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation>Tarkista tiedostot &uudelleen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation>Ctrl+R</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation>&Pysäytä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation>Esc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation>&Tallenna tulokset tiedostoon...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation>Ctrl+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Lopeta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation>&Tyhjennä tulokset</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Asetukset</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation>Näytä tyylivirheet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation>Näytä yleiset virheet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation>&Valitse kaikki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation>&Poista kaikista valinta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translation>&Pienennä kaikki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation>&Laajenna kaikki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation>&Kieli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Ohje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation>Valitse tarkistettavat tiedostot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation>Valitse tarkistettava hakemisto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
|
@ -380,48 +385,53 @@ Stop the checking before exiting.</source>
|
|||
Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation>Lisenssi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation>Tekijät</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation>XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation>Tallenna raportti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation>XML-tiedostot (*xml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation>Tekstitiedostot (*.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation>Cppcheck - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -436,6 +446,22 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
|
|||
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="34"/>
|
||||
<source>Finnish</source>
|
||||
|
@ -472,6 +498,51 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
|
|||
<translation>Puola</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished">Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -141,15 +141,15 @@ kate -l(line) (file)</translation>
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation>Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation>Standaard</translation>
|
||||
</message>
|
||||
|
@ -159,217 +159,222 @@ kate -l(line) (file)</translation>
|
|||
<translation>&Bestand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation>&Weergave</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation>&Controleer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation>Be&werken</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation>&Licentie...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation>A&uteurs...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation>&Over...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation>&Bestanden...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation>&Mappen...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation>Ctrl+D</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation>&Opnieuw controleren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation>Ctrl+R</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation>&Stop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation>Esc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation>&Resultaten opslaan...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation>Ctrl+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Afsluiten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation>&Resultaten wissen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Voorkeuren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation type="unfinished">Toon stijl fouten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation>Toon gewone fouten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation>&Selecteer alles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation>Selecteer &niets</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translation>Alles Inkl&appen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation>Alles &Uitklappen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation>&Taal</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Help</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation>Selecteer bestanden om te controleren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation>Selecteer een map om te controleren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
|
@ -378,48 +383,53 @@ Stop the checking before exiting.</source>
|
|||
Stop de controle alvorens te sluiten.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation>Licentie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation>Auteurs</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation>XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation>Rapport opslaan </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation>XML bestanden (*.xml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation>Tekst bestanden (*.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation>Cppcheck - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -432,6 +442,22 @@ Stop de controle alvorens te sluiten.</translation>
|
|||
|
||||
%1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="34"/>
|
||||
<source>Finnish</source>
|
||||
|
@ -468,6 +494,51 @@ Stop de controle alvorens te sluiten.</translation>
|
|||
<translation>Pools</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished">Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -128,10 +128,10 @@ kate -l(line) (file)</oldsource>
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -141,270 +141,285 @@ kate -l(line) (file)</oldsource>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -412,6 +427,17 @@ Stop the checking before exiting.</source>
|
|||
</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="32"/>
|
||||
<source>English</source>
|
||||
|
@ -448,6 +474,51 @@ Stop the checking before exiting.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -131,15 +131,15 @@ kate -l(line) (file)</oldsource>
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation>Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -149,265 +149,275 @@ kate -l(line) (file)</oldsource>
|
|||
<translation>Файл</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation>Вид</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation>Проверить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation>Правка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation>Лицензия...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation>Авторы...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation>О программе...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation>Файлы...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation>Каталог...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation>Ctrl+D</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation>Ctrl+R</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation>Остановить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation>Esc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation>Сохранить отчёт в файл...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation>Ctrl+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation>Выход</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation>Очистить отчёт</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>Параметры</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation>Показывать ошибки стиля</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation>Показывать общие ошибки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation>Отметить все</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation>Сбросить все</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translation>Свернуть все</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation>Развернуть все</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation>Язык</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation>Помощь</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation>Выберите файлы для проверки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation>Выберите каталог для проверки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation>Лицензия</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation>Авторы</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation>Текстовые файлы (*.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation>Cppcheck - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -422,6 +432,22 @@ Stop the checking before exiting.</source>
|
|||
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="34"/>
|
||||
<source>Finnish</source>
|
||||
|
@ -458,6 +484,51 @@ Stop the checking before exiting.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished">Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -141,15 +141,15 @@ kate -l(line) (file)</translation>
|
|||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="main.ui" line="26"/>
|
||||
<location filename="mainwindow.cpp" line="217"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<location filename="mainwindow.cpp" line="598"/>
|
||||
<location filename="mainwindow.cpp" line="616"/>
|
||||
<location filename="mainwindow.cpp" line="221"/>
|
||||
<location filename="mainwindow.cpp" line="500"/>
|
||||
<location filename="mainwindow.cpp" line="602"/>
|
||||
<location filename="mainwindow.cpp" line="620"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation>Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="142"/>
|
||||
<location filename="main.ui" line="144"/>
|
||||
<source>Standard</source>
|
||||
<translation>Standard</translation>
|
||||
</message>
|
||||
|
@ -159,266 +159,276 @@ kate -l(line) (file)</translation>
|
|||
<translation>&Arkiv</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="82"/>
|
||||
<location filename="main.ui" line="84"/>
|
||||
<source>&View</source>
|
||||
<translation>&Visa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="86"/>
|
||||
<location filename="main.ui" line="88"/>
|
||||
<source>&Toolbars</source>
|
||||
<translation>Verktygsfält</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="119"/>
|
||||
<location filename="main.ui" line="121"/>
|
||||
<source>&Check</source>
|
||||
<translation>&Check</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="128"/>
|
||||
<location filename="main.ui" line="130"/>
|
||||
<source>&Edit</source>
|
||||
<translation>&Redigera</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="173"/>
|
||||
<location filename="main.ui" line="175"/>
|
||||
<source>&License...</source>
|
||||
<translation>&Licens...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="178"/>
|
||||
<location filename="main.ui" line="180"/>
|
||||
<source>A&uthors...</source>
|
||||
<translation>&Utvecklat av...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="187"/>
|
||||
<location filename="main.ui" line="189"/>
|
||||
<source>&About...</source>
|
||||
<translation>&Om...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="192"/>
|
||||
<location filename="main.ui" line="194"/>
|
||||
<source>&Files...</source>
|
||||
<translation>&Filer...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="195"/>
|
||||
<location filename="main.ui" line="197"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="204"/>
|
||||
<location filename="main.ui" line="206"/>
|
||||
<source>&Directory...</source>
|
||||
<translation>&Katalog...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="207"/>
|
||||
<location filename="main.ui" line="209"/>
|
||||
<source>Ctrl+D</source>
|
||||
<translation>Ctrl+D</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="216"/>
|
||||
<location filename="main.ui" line="218"/>
|
||||
<source>&Recheck files</source>
|
||||
<translation>Starta &om check</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="219"/>
|
||||
<location filename="main.ui" line="221"/>
|
||||
<source>Ctrl+R</source>
|
||||
<translation>Ctrl+R</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="228"/>
|
||||
<location filename="main.ui" line="230"/>
|
||||
<source>&Stop</source>
|
||||
<translation>&Stoppa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="231"/>
|
||||
<location filename="main.ui" line="233"/>
|
||||
<source>Esc</source>
|
||||
<translation>Esc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="240"/>
|
||||
<location filename="main.ui" line="242"/>
|
||||
<source>&Save results to file...</source>
|
||||
<translation>&Spara resultat till fil...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="243"/>
|
||||
<location filename="main.ui" line="245"/>
|
||||
<source>Ctrl+S</source>
|
||||
<translation>Ctrl+S</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="248"/>
|
||||
<location filename="main.ui" line="250"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Avsluta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="257"/>
|
||||
<location filename="main.ui" line="259"/>
|
||||
<source>&Clear results</source>
|
||||
<translation>&Töm resultat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="266"/>
|
||||
<location filename="main.ui" line="268"/>
|
||||
<source>&Preferences</source>
|
||||
<translation>&Inställningar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="278"/>
|
||||
<location filename="main.ui" line="280"/>
|
||||
<source>Show style errors</source>
|
||||
<translation>Visa stilvarningar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="290"/>
|
||||
<location filename="main.ui" line="292"/>
|
||||
<source>Show common errors</source>
|
||||
<translation>Visa vanliga fel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="295"/>
|
||||
<location filename="main.ui" line="297"/>
|
||||
<source>&Check all</source>
|
||||
<translation>&Kryssa alla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="300"/>
|
||||
<location filename="main.ui" line="302"/>
|
||||
<source>&Uncheck all</source>
|
||||
<translation>Kryssa &ur alla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="305"/>
|
||||
<location filename="main.ui" line="307"/>
|
||||
<source>Collapse &all</source>
|
||||
<translatorcomment>Ingen bra översättning!</translatorcomment>
|
||||
<translation>&Fäll ihop alla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="310"/>
|
||||
<location filename="main.ui" line="312"/>
|
||||
<source>&Expand all</source>
|
||||
<translation>&Expandera alla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="318"/>
|
||||
<location filename="main.ui" line="320"/>
|
||||
<source>&Standard</source>
|
||||
<translation>&Standard</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="321"/>
|
||||
<location filename="main.ui" line="323"/>
|
||||
<source>Standard items</source>
|
||||
<translation>Standard poster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="337"/>
|
||||
<location filename="main.ui" line="339"/>
|
||||
<source>Toolbar</source>
|
||||
<translation>Verktygsfält</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="345"/>
|
||||
<location filename="main.ui" line="347"/>
|
||||
<source>&Categories</source>
|
||||
<translation>&Kategorier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="348"/>
|
||||
<location filename="main.ui" line="350"/>
|
||||
<source>Error categories</source>
|
||||
<translation>Fel kategorier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="353"/>
|
||||
<location filename="main.ui" line="355"/>
|
||||
<source>&Open XML...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="326"/>
|
||||
<location filename="main.ui" line="360"/>
|
||||
<source>Open P&roject File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="365"/>
|
||||
<source>&New Project File...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="328"/>
|
||||
<source>&Contents</source>
|
||||
<translation>&Innehåll</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="160"/>
|
||||
<location filename="main.ui" line="162"/>
|
||||
<source>Categories</source>
|
||||
<translation>Kategorier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="329"/>
|
||||
<location filename="main.ui" line="331"/>
|
||||
<source>Open the help contents</source>
|
||||
<translation>Öppna hjälp</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="332"/>
|
||||
<location filename="main.ui" line="334"/>
|
||||
<source>F1</source>
|
||||
<translation>F1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="104"/>
|
||||
<location filename="main.ui" line="106"/>
|
||||
<source>&Language</source>
|
||||
<translation>&Språk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.ui" line="109"/>
|
||||
<location filename="main.ui" line="111"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Hjälp</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="250"/>
|
||||
<location filename="mainwindow.cpp" line="254"/>
|
||||
<source>Select files to check</source>
|
||||
<translation>Välj filer att kontrollera</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="264"/>
|
||||
<location filename="mainwindow.cpp" line="268"/>
|
||||
<source>Select directory to check</source>
|
||||
<translation>Välj katalog som skall kontrolleras</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="218"/>
|
||||
<location filename="mainwindow.cpp" line="222"/>
|
||||
<source>No suitable files found to check!</source>
|
||||
<translation>Inga lämpliga filer hittades!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="440"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="492"/>
|
||||
<location filename="mainwindow.cpp" line="496"/>
|
||||
<source>Cannot exit while checking.
|
||||
|
||||
Stop the checking before exiting.</source>
|
||||
<translation>Kan ej avsluta medans check pågår.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="523"/>
|
||||
<location filename="mainwindow.cpp" line="527"/>
|
||||
<source>License</source>
|
||||
<translation>Licens</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="530"/>
|
||||
<location filename="mainwindow.cpp" line="534"/>
|
||||
<source>Authors</source>
|
||||
<translation>Utvecklare</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="538"/>
|
||||
<location filename="mainwindow.cpp" line="542"/>
|
||||
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
|
||||
<translation>XML filer (*.xml);;Text filer (*.txt);;CSV filer (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="540"/>
|
||||
<location filename="mainwindow.cpp" line="544"/>
|
||||
<source>Save the report file</source>
|
||||
<translation>Spara rapport</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="438"/>
|
||||
<location filename="mainwindow.cpp" line="548"/>
|
||||
<location filename="mainwindow.cpp" line="442"/>
|
||||
<location filename="mainwindow.cpp" line="552"/>
|
||||
<source>XML files (*.xml)</source>
|
||||
<translation>XML filer (*.xml)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="554"/>
|
||||
<location filename="mainwindow.cpp" line="444"/>
|
||||
<source>Open the report file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="558"/>
|
||||
<source>Text files (*.txt)</source>
|
||||
<translation>Text filer (*.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="560"/>
|
||||
<location filename="mainwindow.cpp" line="564"/>
|
||||
<source>CSV files (*.csv)</source>
|
||||
<translation>CSV filer (*.csv)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="600"/>
|
||||
<location filename="mainwindow.cpp" line="604"/>
|
||||
<source>Cppcheck - %1</source>
|
||||
<translation>Cppcheck - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="617"/>
|
||||
<location filename="mainwindow.cpp" line="621"/>
|
||||
<source>Failed to change the language:
|
||||
|
||||
%1
|
||||
|
@ -433,6 +443,22 @@ Stop the checking before exiting.</source>
|
|||
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="688"/>
|
||||
<location filename="mainwindow.cpp" line="704"/>
|
||||
<source>Project files (*.cppcheck);;All files(*.*)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="690"/>
|
||||
<source>Select Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="mainwindow.cpp" line="706"/>
|
||||
<source>Select Project Filename</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="34"/>
|
||||
<source>Finnish</source>
|
||||
|
@ -469,6 +495,51 @@ Stop the checking before exiting.</source>
|
|||
<translation>Polska</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
<message>
|
||||
<location filename="project.cpp" line="63"/>
|
||||
<location filename="project.cpp" line="96"/>
|
||||
<source>Cppcheck</source>
|
||||
<translation type="unfinished">Cppcheck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="64"/>
|
||||
<source>Could not read the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="project.cpp" line="97"/>
|
||||
<source>Could not write the project file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFile</name>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="14"/>
|
||||
<source>Project File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="22"/>
|
||||
<source>Include paths:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="projectfile.ui" line="39"/>
|
||||
<source>Defines:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProjectFileDialog</name>
|
||||
<message>
|
||||
<location filename="projectfiledialog.cpp" line="30"/>
|
||||
<source>Project file: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- cppcheck project file -->
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="1">
|
||||
<includedir>
|
||||
<dir name="../lib"/>
|
||||
|
|
|
@ -25,6 +25,7 @@ FORMS = main.ui \
|
|||
application.ui \
|
||||
settings.ui \
|
||||
file.ui \
|
||||
projectfile.ui \
|
||||
about.ui
|
||||
|
||||
TRANSLATIONS = cppcheck_fi.ts \
|
||||
|
@ -52,7 +53,9 @@ HEADERS += mainwindow.h \
|
|||
common.h \
|
||||
erroritem.h \
|
||||
fileviewdialog.h \
|
||||
project.h \
|
||||
projectfile.h \
|
||||
projectfiledialog.h \
|
||||
report.h \
|
||||
txtreport.h \
|
||||
xmlreport.h \
|
||||
|
@ -70,7 +73,9 @@ SOURCES += main.cpp \
|
|||
applicationdialog.cpp \
|
||||
aboutdialog.cpp \
|
||||
fileviewdialog.cpp \
|
||||
project.cpp \
|
||||
projectfile.cpp \
|
||||
projectfiledialog.cpp \
|
||||
erroritem.cpp \
|
||||
report.cpp \
|
||||
txtreport.cpp \
|
||||
|
|
12
gui/main.ui
12
gui/main.ui
|
@ -74,6 +74,8 @@
|
|||
<string>&File</string>
|
||||
</property>
|
||||
<addaction name="mActionOpenXML"/>
|
||||
<addaction name="mActionNewProjectFile"/>
|
||||
<addaction name="mActionOpenProjectFile"/>
|
||||
<addaction name="mActionSave"/>
|
||||
<addaction name="mActionQuit"/>
|
||||
</widget>
|
||||
|
@ -353,6 +355,16 @@
|
|||
<string>&Open XML...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="mActionOpenProjectFile">
|
||||
<property name="text">
|
||||
<string>Open P&roject File...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="mActionNewProjectFile">
|
||||
<property name="text">
|
||||
<string>&New Project File...</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "threadhandler.h"
|
||||
#include "fileviewdialog.h"
|
||||
#include "projectfile.h"
|
||||
#include "project.h"
|
||||
#include "report.h"
|
||||
#include "../lib/filelister.h"
|
||||
|
||||
|
@ -80,6 +81,9 @@ MainWindow::MainWindow() :
|
|||
connect(mUI.mResults, SIGNAL(GotResults()), this, SLOT(ResultsAdded()));
|
||||
connect(mUI.mMenuView, SIGNAL(aboutToShow()), this, SLOT(AboutToShowViewMenu()));
|
||||
|
||||
connect(mUI.mActionNewProjectFile, SIGNAL(triggered()), this, SLOT(NewProjectFile()));
|
||||
connect(mUI.mActionOpenProjectFile, SIGNAL(triggered()), this, SLOT(OpenProjectFile()));
|
||||
|
||||
#ifdef WIN32
|
||||
connect(mUI.mActionHelpContents, SIGNAL(triggered()), this, SLOT(OpenHelpContents()));
|
||||
#else
|
||||
|
@ -231,6 +235,8 @@ void MainWindow::DoCheckFiles(const QStringList &files)
|
|||
EnableCheckButtons(false);
|
||||
mUI.mActionSettings->setEnabled(false);
|
||||
mUI.mActionOpenXML->setEnabled(false);
|
||||
mUI.mActionNewProjectFile->setEnabled(false);
|
||||
mUI.mActionOpenProjectFile->setEnabled(false);
|
||||
|
||||
mUI.mResults->SetCheckDirectory(absDirectory);
|
||||
|
||||
|
@ -392,6 +398,9 @@ void MainWindow::CheckDone()
|
|||
EnableCheckButtons(true);
|
||||
mUI.mActionSettings->setEnabled(true);
|
||||
mUI.mActionOpenXML->setEnabled(true);
|
||||
mUI.mActionNewProjectFile->setEnabled(false);
|
||||
mUI.mActionOpenProjectFile->setEnabled(false);
|
||||
|
||||
if (mUI.mResults->HasResults())
|
||||
{
|
||||
mUI.mActionClearResults->setEnabled(true);
|
||||
|
@ -680,3 +689,35 @@ void MainWindow::OpenHtmlHelpContents()
|
|||
HtmlHelp(NULL, exeFolder.utf16(), HH_DISPLAY_TOPIC, NULL);
|
||||
#endif // WIN32
|
||||
}
|
||||
|
||||
void MainWindow::OpenProjectFile()
|
||||
{
|
||||
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
|
||||
QString filepath = QFileDialog::getOpenFileName(this,
|
||||
tr("Select Project File"),
|
||||
QString(),
|
||||
filter);
|
||||
|
||||
if (!filepath.isEmpty())
|
||||
{
|
||||
Project prj(filepath, this);
|
||||
if (prj.Open())
|
||||
prj.Edit();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::NewProjectFile()
|
||||
{
|
||||
const QString filter = tr("Project files (*.cppcheck);;All files(*.*)");
|
||||
QString filepath = QFileDialog::getSaveFileName(this,
|
||||
tr("Select Project Filename"),
|
||||
QString(),
|
||||
filter);
|
||||
|
||||
if (!filepath.isEmpty())
|
||||
{
|
||||
Project prj(filepath, this);
|
||||
prj.Create();
|
||||
prj.Edit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -131,6 +131,18 @@ public slots:
|
|||
*/
|
||||
void Save();
|
||||
|
||||
/**
|
||||
* @brief Slot to create new project file..
|
||||
*
|
||||
*/
|
||||
void NewProjectFile();
|
||||
|
||||
/**
|
||||
* @brief Slot to edit existing project file.
|
||||
*
|
||||
*/
|
||||
void OpenProjectFile();
|
||||
|
||||
protected slots:
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,108 @@
|
|||
/*
|
||||
* Cppcheck - A tool for static C/C++ code analysis
|
||||
* Copyright (C) 2007-2010 Daniel Marjamäki and Cppcheck team.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <QDialog>
|
||||
#include <QFile>
|
||||
#include <QMessageBox>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include "project.h"
|
||||
#include "projectfile.h"
|
||||
#include "projectfiledialog.h"
|
||||
|
||||
Project::Project(QWidget *parent) :
|
||||
QObject(parent),
|
||||
mPFile(NULL),
|
||||
mParentWidget(parent)
|
||||
{
|
||||
}
|
||||
|
||||
Project::Project(const QString &filename, QWidget *parent) :
|
||||
QObject(parent),
|
||||
mFilename(filename),
|
||||
mPFile(NULL),
|
||||
mParentWidget(parent)
|
||||
{
|
||||
}
|
||||
|
||||
Project::~Project()
|
||||
{
|
||||
delete mPFile;
|
||||
}
|
||||
|
||||
void Project::SetFilename(const QString &filename)
|
||||
{
|
||||
mFilename = filename;
|
||||
}
|
||||
|
||||
bool Project::Open()
|
||||
{
|
||||
mPFile = new ProjectFile(mFilename, this);
|
||||
if (QFile::exists(mFilename))
|
||||
{
|
||||
if (!mPFile->Read())
|
||||
{
|
||||
QMessageBox msg(QMessageBox::Critical,
|
||||
tr("Cppcheck"),
|
||||
tr("Could not read the project file."),
|
||||
QMessageBox::Ok,
|
||||
mParentWidget);
|
||||
msg.exec();
|
||||
mFilename = QString();
|
||||
mPFile->SetFilename(mFilename);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void Project::Edit()
|
||||
{
|
||||
ProjectFileDialog dlg(mFilename, mParentWidget);
|
||||
|
||||
QStringList includes = mPFile->GetIncludeDirs();
|
||||
dlg.SetIncludepaths(includes);
|
||||
QStringList defines = mPFile->GetDefines();
|
||||
dlg.SetDefines(defines);
|
||||
int rv = dlg.exec();
|
||||
if (rv == QDialog::Accepted)
|
||||
{
|
||||
QStringList includes = dlg.GetIncludePaths();
|
||||
mPFile->SetIncludes(includes);
|
||||
QStringList defines = dlg.GetDefines();
|
||||
mPFile->SetDefines(defines);
|
||||
bool writeSuccess = mPFile->Write();
|
||||
if (!writeSuccess)
|
||||
{
|
||||
QMessageBox msg(QMessageBox::Critical,
|
||||
tr("Cppcheck"),
|
||||
tr("Could not write the project file."),
|
||||
QMessageBox::Ok,
|
||||
mParentWidget);
|
||||
msg.exec();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Project::Create()
|
||||
{
|
||||
mPFile = new ProjectFile(mFilename, this);
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
/*
|
||||
* Cppcheck - A tool for static C/C++ code analysis
|
||||
* Copyright (C) 2007-2010 Daniel Marjamäki and Cppcheck team.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PROJECT_H
|
||||
#define PROJECT_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
class QWidget;
|
||||
class ProjectFile;
|
||||
|
||||
/// @addtogroup GUI
|
||||
/// @{
|
||||
|
||||
/**
|
||||
* @brief A class that contains project data and manages projects.
|
||||
* Currently only project file creation and editing is implemented.
|
||||
*/
|
||||
class Project : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Project(QWidget *parent = 0);
|
||||
Project(const QString &filename, QWidget *parent = 0);
|
||||
~Project();
|
||||
|
||||
/**
|
||||
* @brief Set filename for the project file.
|
||||
* @param filename Filename.
|
||||
*/
|
||||
void SetFilename(const QString &filename);
|
||||
|
||||
/**
|
||||
* @brief Open existing project file.
|
||||
*/
|
||||
bool Open();
|
||||
|
||||
/**
|
||||
* @brief Edit the project file.
|
||||
*/
|
||||
void Edit();
|
||||
|
||||
/**
|
||||
* @brief Create new project file.
|
||||
*/
|
||||
void Create();
|
||||
|
||||
private:
|
||||
|
||||
QString mFilename;
|
||||
ProjectFile *mPFile;
|
||||
QWidget *mParentWidget;
|
||||
};
|
||||
|
||||
/// @}
|
||||
|
||||
#endif // PROJECT_H
|
|
@ -19,10 +19,13 @@
|
|||
#include <QObject>
|
||||
#include <QString>
|
||||
#include <QXmlStreamReader>
|
||||
#include <QXmlStreamWriter>
|
||||
#include <QFile>
|
||||
#include "projectfile.h"
|
||||
|
||||
static const char ProjectElementName[] = "project";
|
||||
static const char ProjectVersionAttrib[] = "version";
|
||||
static const char ProjectFileVersion[] = "1";
|
||||
static const char IncludDirElementName[] = "includedir";
|
||||
static const char DirElementName[] = "dir";
|
||||
static const char DirNameAttrib[] = "name";
|
||||
|
@ -52,13 +55,17 @@ bool ProjectFile::Read(const QString &filename)
|
|||
|
||||
QXmlStreamReader xmlReader(&file);
|
||||
bool insideProject = false;
|
||||
bool projectTagFound = false;
|
||||
while (!xmlReader.atEnd())
|
||||
{
|
||||
switch (xmlReader.readNext())
|
||||
{
|
||||
case QXmlStreamReader::StartElement:
|
||||
if (xmlReader.name() == ProjectElementName)
|
||||
{
|
||||
insideProject = true;
|
||||
projectTagFound = true;
|
||||
}
|
||||
|
||||
// Find include directory from inside project element
|
||||
if (insideProject && xmlReader.name() == IncludDirElementName)
|
||||
|
@ -90,7 +97,10 @@ bool ProjectFile::Read(const QString &filename)
|
|||
}
|
||||
|
||||
file.close();
|
||||
if (projectTagFound)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
QStringList ProjectFile::GetIncludeDirs() const
|
||||
|
@ -185,3 +195,58 @@ void ProjectFile::ReadDefines(QXmlStreamReader &reader)
|
|||
}
|
||||
while (!allRead);
|
||||
}
|
||||
|
||||
void ProjectFile::SetIncludes(QStringList includes)
|
||||
{
|
||||
mIncludeDirs = includes;
|
||||
}
|
||||
|
||||
void ProjectFile::SetDefines(QStringList defines)
|
||||
{
|
||||
mDefines = defines;
|
||||
}
|
||||
|
||||
bool ProjectFile::Write(const QString &filename)
|
||||
{
|
||||
if (!filename.isEmpty())
|
||||
mFilename = filename;
|
||||
|
||||
QFile file(mFilename);
|
||||
if (!file.open(QIODevice::WriteOnly | QIODevice::Text))
|
||||
return false;
|
||||
|
||||
QXmlStreamWriter xmlWriter(&file);
|
||||
xmlWriter.setAutoFormatting(true);
|
||||
xmlWriter.writeStartDocument("1.0");
|
||||
xmlWriter.writeStartElement(ProjectElementName);
|
||||
xmlWriter.writeAttribute(ProjectVersionAttrib, ProjectFileVersion);
|
||||
|
||||
if (!mIncludeDirs.isEmpty())
|
||||
{
|
||||
xmlWriter.writeStartElement(IncludDirElementName);
|
||||
QString incdir;
|
||||
foreach(incdir, mIncludeDirs)
|
||||
{
|
||||
xmlWriter.writeStartElement(DirElementName);
|
||||
xmlWriter.writeAttribute(DirNameAttrib, incdir);
|
||||
xmlWriter.writeEndElement();
|
||||
}
|
||||
xmlWriter.writeEndElement();
|
||||
}
|
||||
|
||||
if (!mDefines.isEmpty())
|
||||
{
|
||||
xmlWriter.writeStartElement(DefinesElementName);
|
||||
QString define;
|
||||
foreach(define, mDefines)
|
||||
{
|
||||
xmlWriter.writeStartElement(DefineName);
|
||||
xmlWriter.writeAttribute(DefineNameAttrib, define);
|
||||
xmlWriter.writeEndElement();
|
||||
}
|
||||
xmlWriter.writeEndElement();
|
||||
}
|
||||
xmlWriter.writeEndDocument();
|
||||
file.close();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
/**
|
||||
* @brief A class that reads and writes (TODO) project files.
|
||||
* The project files contain project-specific settings for checking. For
|
||||
* example a list of automatically deallocated classes.
|
||||
* example a list of include paths.
|
||||
*/
|
||||
class ProjectFile : public QObject
|
||||
{
|
||||
|
@ -59,6 +59,33 @@ public:
|
|||
*/
|
||||
QStringList GetDefines() const;
|
||||
|
||||
/**
|
||||
* @brief Set list of includes.
|
||||
* @param includes List of defines.
|
||||
*/
|
||||
void SetIncludes(QStringList includes);
|
||||
|
||||
/**
|
||||
* @brief Set list of defines.
|
||||
* @param defines List of defines.
|
||||
*/
|
||||
void SetDefines(QStringList defines);
|
||||
|
||||
/**
|
||||
* @brief Write project file (to disk).
|
||||
* @param filename Filename to use.
|
||||
*/
|
||||
bool Write(const QString &filename = QString());
|
||||
|
||||
/**
|
||||
* @brief Set filename for the project file.
|
||||
* @param filename Filename to use.
|
||||
*/
|
||||
void SetFilename(const QString &filename)
|
||||
{
|
||||
mFilename = filename;
|
||||
}
|
||||
|
||||
protected:
|
||||
/**
|
||||
* @brief Read list of include directories from XML.
|
||||
|
|
|
@ -4,20 +4,15 @@ Project files
|
|||
cppcheck GUI handles per-project settings in project files instead of global
|
||||
program settings. This allows customizing cppcheck for each project's needs.
|
||||
|
||||
Currently there is no GUI to edit the project file. The cppcheck automatically
|
||||
loads a project file which has same name than selected directory and extension
|
||||
".cppcheck". For example in "gui"-directory cppcheck loads "gui.cppcheck"
|
||||
project file.
|
||||
The cppcheck automatically loads a project file which has same name than
|
||||
selected directory and extension ".cppcheck". For example in "gui"-directory
|
||||
cppcheck loads "gui.cppcheck" project file.
|
||||
|
||||
The project file is simple XML file easy to edit with your favourite editor
|
||||
program. The format is:
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<project version="1">
|
||||
<autodealloc>
|
||||
<class name="MyClass"/>
|
||||
<class name="MyClass2"/>
|
||||
</autodealloc>
|
||||
<includedir>
|
||||
<dir name="c:/projects/framework/" />
|
||||
<dir name="c:/Program Files/Visual Studio 8/VC/include/" />
|
||||
|
|
|
@ -0,0 +1,111 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>ProjectFile</class>
|
||||
<widget class="QDialog" name="ProjectFile">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>112</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Project File</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Include paths:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>mEditIncludePaths</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="mEditIncludePaths"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>Defines:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>mEditDefines</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="mEditDefines"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="mButtons">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>mButtons</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>ProjectFile</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>248</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>157</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>mButtons</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>ProjectFile</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>316</x>
|
||||
<y>260</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>286</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* Cppcheck - A tool for static C/C++ code analysis
|
||||
* Copyright (C) 2007-2010 Daniel Marjamäki and Cppcheck team.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <QStringList>
|
||||
#include <QFileInfo>
|
||||
#include "projectfiledialog.h"
|
||||
|
||||
ProjectFileDialog::ProjectFileDialog(const QString &path, QWidget *parent)
|
||||
: QDialog(parent)
|
||||
{
|
||||
mUI.setupUi(this);
|
||||
|
||||
QFileInfo inf(path);
|
||||
QString filename = inf.fileName();
|
||||
QString title = tr("Project file: %1").arg(filename);
|
||||
setWindowTitle(title);
|
||||
|
||||
connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept()));
|
||||
}
|
||||
|
||||
QStringList ProjectFileDialog::GetIncludePaths() const
|
||||
{
|
||||
QString include = mUI.mEditIncludePaths->text();
|
||||
QStringList includes;
|
||||
if (!include.isEmpty())
|
||||
{
|
||||
include = include.trimmed();
|
||||
if (include.indexOf(';') != -1)
|
||||
includes = include.split(";");
|
||||
else
|
||||
includes.append(include);
|
||||
}
|
||||
return includes;
|
||||
}
|
||||
|
||||
QStringList ProjectFileDialog::GetDefines() const
|
||||
{
|
||||
QString define = mUI.mEditDefines->text();
|
||||
QStringList defines;
|
||||
if (!define.isEmpty())
|
||||
{
|
||||
define = define.trimmed();
|
||||
if (define.indexOf(';') != -1)
|
||||
defines = define.split(";");
|
||||
else
|
||||
defines.append(define);
|
||||
}
|
||||
return defines;
|
||||
}
|
||||
|
||||
void ProjectFileDialog::SetIncludepaths(const QStringList &includes)
|
||||
{
|
||||
QString includestr;
|
||||
QString dir;
|
||||
foreach(dir, includes)
|
||||
{
|
||||
includestr += dir;
|
||||
includestr += ";";
|
||||
}
|
||||
// Remove ; from the end of the string
|
||||
if (includestr.endsWith(';'))
|
||||
includestr = includestr.left(includestr.length() - 1);
|
||||
mUI.mEditIncludePaths->setText(includestr);
|
||||
}
|
||||
|
||||
void ProjectFileDialog::SetDefines(const QStringList &defines)
|
||||
{
|
||||
QString definestr;
|
||||
QString define;
|
||||
foreach(define, defines)
|
||||
{
|
||||
definestr += define;
|
||||
definestr += ";";
|
||||
}
|
||||
// Remove ; from the end of the string
|
||||
if (definestr.endsWith(';'))
|
||||
definestr = definestr.left(definestr.length() - 1);
|
||||
mUI.mEditDefines->setText(definestr);
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
/*
|
||||
* Cppcheck - A tool for static C/C++ code analysis
|
||||
* Copyright (C) 2007-2010 Daniel Marjamäki and Cppcheck team.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef PROJECTFILE_DIALOG_H
|
||||
#define PROJECTFILE_DIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QString>
|
||||
|
||||
#include "ui_projectfile.h"
|
||||
|
||||
class ProjectFile;
|
||||
|
||||
/// @addtogroup GUI
|
||||
/// @{
|
||||
|
||||
|
||||
/**
|
||||
* @brief A dialog for editing project file data.
|
||||
*/
|
||||
class ProjectFileDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ProjectFileDialog(const QString &path, QWidget *parent = 0);
|
||||
|
||||
/**
|
||||
* @brief Return include paths from the dialog control.
|
||||
* @return List of include paths.
|
||||
*/
|
||||
QStringList GetIncludePaths() const;
|
||||
|
||||
/**
|
||||
* @brief Return define names from the dialog control.
|
||||
* @return List of define names.
|
||||
*/
|
||||
QStringList GetDefines() const;
|
||||
|
||||
/**
|
||||
* @brief Set include paths to dialog control.
|
||||
* @param includes List of include paths to set to dialog control.
|
||||
*/
|
||||
void SetIncludepaths(const QStringList &includes);
|
||||
|
||||
/**
|
||||
* @brief Set define names to dialog control.
|
||||
* @param defines List of define names to set to dialog control.
|
||||
*/
|
||||
void SetDefines(const QStringList &defines);
|
||||
|
||||
private:
|
||||
Ui::ProjectFile mUI;
|
||||
};
|
||||
|
||||
/// @}
|
||||
#endif // PROJECTFILE_DIALOG_H
|
Loading…
Reference in New Issue