GUI: Remove remains of "possible error".

This commit is contained in:
Kimmo Varis 2010-07-03 12:58:56 +03:00
parent 2584c6390a
commit 5d55bc0581
12 changed files with 274 additions and 378 deletions

View File

@ -29,8 +29,7 @@
*/
typedef enum
{
SHOW_ALL = 0,
SHOW_STYLE,
SHOW_STYLE = 0,
SHOW_ERRORS,
SHOW_NONE
}
@ -42,7 +41,6 @@ ShowTypes;
#define SETTINGS_WINDOW_MAXIMIZED "Window maximized"
#define SETTINGS_WINDOW_WIDTH "Window width"
#define SETTINGS_WINDOW_HEIGHT "Window height"
#define SETTINGS_SHOW_ALL "Show all"
#define SETTINGS_SHOW_STYLE "Show style"
#define SETTINGS_SHOW_ERRORS "Show errors"
#define SETTINGS_CHECK_PATH "Check path"

View File

@ -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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
@ -140,11 +140,6 @@ kate -l(line) (file)</oldsource>
<source>Standard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="74"/>
<source>&amp;File</source>
@ -246,53 +241,53 @@ kate -l(line) (file)</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<location filename="main.ui" line="252"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
@ -307,69 +302,69 @@ kate -l(line) (file)</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="250"/>
<location filename="mainwindow.cpp" line="246"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="260"/>
<source>Select directory to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="218"/>
<location filename="mainwindow.cpp" line="214"/>
<source>No suitable files found to check!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -440,25 +435,25 @@ Stop the checking before exiting.</source>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation type="unfinished"></translation>
</message>
@ -468,50 +463,45 @@ Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<oldsource>You can open this error by specifying applications in program&apos;s settings.</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation type="unfinished"></translation>
</message>

View File

@ -141,10 +141,10 @@ 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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -153,11 +153,6 @@ kate -l(line) (file)</translation>
<source>Standard</source>
<translation>Standard</translation>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation>Show possible false positives</translation>
</message>
<message>
<location filename="main.ui" line="74"/>
<source>&amp;File</source>
@ -259,53 +254,53 @@ kate -l(line) (file)</translation>
<translation>&amp;Preferences</translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<location filename="main.ui" line="252"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished">Show security errors</translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation>Show common errors</translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation>&amp;Check all</translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation>&amp;Uncheck all</translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translation>Collapse &amp;all</translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation>&amp;Expand all</translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation>&amp;Toolbar</translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
@ -320,22 +315,22 @@ kate -l(line) (file)</translation>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="250"/>
<location filename="mainwindow.cpp" line="246"/>
<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="260"/>
<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="214"/>
<source>No suitable files found to check!</source>
<translation>No suitable files found to check!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
@ -344,47 +339,47 @@ Stop the checking before exiting.</source>
Stop the checking before exiting.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation>License</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation>Authors</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<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="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation>Save the report file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation>XML files (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation>Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -457,25 +452,25 @@ Stop the checking before exiting.</translation>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation>File</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation>Severity</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation>Line</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation>Message</translation>
</message>
@ -485,33 +480,33 @@ Stop the checking before exiting.</translation>
<translation>Undefined file</translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation>Copy filename</translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation>Copy full path</translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<oldsource>You can open this error by specifying applications in program&apos;s settings.</oldsource>
<translation>You can open this error by specifying applications in program&apos;s settings.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -520,17 +515,12 @@ Please check the application path and parameters are correct.</source>
Please check the application path and parameters are correct.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation>possible error</translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation>Style</translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation>Error</translation>
</message>

View File

@ -143,10 +143,10 @@ 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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -155,11 +155,6 @@ kate -l(line) (file)
<source>Standard</source>
<translation>Vakio</translation>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation>Näytä epävarmat virheet</translation>
</message>
<message>
<location filename="main.ui" line="74"/>
<source>&amp;File</source>
@ -261,53 +256,53 @@ kate -l(line) (file)
<translation>&amp;Asetukset</translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<location filename="main.ui" line="252"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished">Näytä tietoturvavirheet</translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation>Näytä yleiset virheet</translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation>&amp;Valitse kaikki</translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation>&amp;Poista kaikista valinta</translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translation>&amp;Pienennä kaikki</translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation>&amp;Laajenna kaikki</translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation>&amp;Työkalupalkki</translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
@ -322,22 +317,22 @@ kate -l(line) (file)
<translation>&amp;Ohje</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="250"/>
<location filename="mainwindow.cpp" line="246"/>
<source>Select files to check</source>
<translation>Valitse tarkistettavat tiedostot</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="260"/>
<source>Select directory to check</source>
<translation>Valitse tarkistettava hakemisto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="218"/>
<location filename="mainwindow.cpp" line="214"/>
<source>No suitable files found to check!</source>
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
@ -346,47 +341,47 @@ Stop the checking before exiting.</source>
Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation>Lisenssi</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation>Tekijät</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<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="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation>Tallenna raportti</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation>XML-tiedostot (*xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation>Tekstitiedostot (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -461,25 +456,25 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation>Tiedosto</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation>Tyyppi</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation>Rivi</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation>Virhe</translation>
</message>
@ -489,33 +484,33 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
<translation>Määrittelemätön tiedosto</translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation>Kopioi tiedostonimi</translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation>Kopioi tiedoston koko polku</translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<oldsource>You can open this error by specifying applications in program&apos;s settings.</oldsource>
<translation>Voit asetuksista määritellä muita ohjelmia joilla avata tämän virheen sisältävän tiedoston.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -524,17 +519,12 @@ Please check the application path and parameters are correct.</source>
Tarkista että ohjelman polku ja parametrit ovat oikeat.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation>mahdollinen virhe</translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation>Tyyli</translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation>Yleinen</translation>
</message>

View File

@ -141,10 +141,10 @@ 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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -153,11 +153,6 @@ kate -l(line) (file)</translation>
<source>Standard</source>
<translation>Standaard</translation>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation>Toon mogelijke false positives</translation>
</message>
<message>
<location filename="main.ui" line="74"/>
<source>&amp;File</source>
@ -259,53 +254,53 @@ kate -l(line) (file)</translation>
<translation>&amp;Voorkeuren</translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<location filename="main.ui" line="252"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished">Toon beveiligingsfouten</translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation>Toon gewone fouten</translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation>&amp;Selecteer alles</translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation>Selecteer &amp;niets</translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translation>Alles Inkl&amp;appen</translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation>Alles &amp;Uitklappen</translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation>Wer&amp;kbalk</translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
@ -320,22 +315,22 @@ kate -l(line) (file)</translation>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="250"/>
<location filename="mainwindow.cpp" line="246"/>
<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="260"/>
<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="214"/>
<source>No suitable files found to check!</source>
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
@ -344,47 +339,47 @@ Stop the checking before exiting.</source>
Stop de controle alvorens te sluiten.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation>Licentie</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation>Auteurs</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<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="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation>Rapport opslaan </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation>XML bestanden (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation>Tekst bestanden (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -457,25 +452,25 @@ Stop de controle alvorens te sluiten.</translation>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation>Bestand</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation>Ernst</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation>Regel</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation>Boodschap</translation>
</message>
@ -485,33 +480,33 @@ Stop de controle alvorens te sluiten.</translation>
<translation>Niet gedefinieerd bestand</translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation>Kopier bestandsnaam</translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation>Kopieer volledig pad</translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<oldsource>You can open this error by specifying applications in program&apos;s settings.</oldsource>
<translation>U dient een applicatie te configureren in de instellingen om deze fout in te openen.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -520,17 +515,12 @@ Please check the application path and parameters are correct.</source>
Gelieve te controleren of de het pad en de parameters correct zijn.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation>Mogelijke fouten</translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation>Stijlfouten</translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation>Fouten</translation>
</message>

View File

@ -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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
@ -252,124 +252,119 @@ kate -l(line) (file)</oldsource>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="218"/>
<location filename="mainwindow.cpp" line="214"/>
<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="246"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="260"/>
<source>Select directory to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -435,25 +430,25 @@ Stop the checking before exiting.</source>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation type="unfinished"></translation>
</message>
@ -463,49 +458,44 @@ Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation type="unfinished"></translation>
</message>

View File

@ -131,10 +131,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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -143,11 +143,6 @@ kate -l(line) (file)</oldsource>
<source>Standard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation>Показывать возможные ложные срабатывания</translation>
</message>
<message>
<location filename="main.ui" line="74"/>
<source>&amp;File</source>
@ -249,53 +244,53 @@ kate -l(line) (file)</oldsource>
<translation>Параметры</translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<location filename="main.ui" line="252"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished">Показывать ошибки безопасности</translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation>Показывать общие ошибки</translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation>Отметить все</translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation>Сбросить все</translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translation>Свернуть все</translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation>Развернуть все</translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation>Панель инструментов</translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
@ -310,69 +305,69 @@ kate -l(line) (file)</oldsource>
<translation>Помощь</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="250"/>
<location filename="mainwindow.cpp" line="246"/>
<source>Select files to check</source>
<translation>Выберите файлы для проверки</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="260"/>
<source>Select directory to check</source>
<translation>Выберите каталог для проверки</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="218"/>
<location filename="mainwindow.cpp" line="214"/>
<source>No suitable files found to check!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation>Лицензия</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation>Авторы</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation>Текстовые файлы (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -447,25 +442,25 @@ Stop the checking before exiting.</source>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation>Файл</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation>Важность</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation>Строка</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation>Сообщение</translation>
</message>
@ -475,50 +470,45 @@ Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation>Скопировать имя файла</translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation>Скопировать полный путь</translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<oldsource>You can open this error by specifying applications in program&apos;s settings.</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation type="unfinished"></translation>
</message>

View File

@ -141,10 +141,10 @@ 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="487"/>
<location filename="mainwindow.cpp" line="587"/>
<location filename="mainwindow.cpp" line="605"/>
<location filename="mainwindow.cpp" line="213"/>
<location filename="mainwindow.cpp" line="478"/>
<location filename="mainwindow.cpp" line="575"/>
<location filename="mainwindow.cpp" line="593"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -153,11 +153,6 @@ kate -l(line) (file)</translation>
<source>Standard</source>
<translation>Standard</translation>
</message>
<message>
<location filename="main.ui" line="252"/>
<source>Show possible false positives</source>
<translation>Visa möjliga false positives</translation>
</message>
<message>
<location filename="main.ui" line="74"/>
<source>&amp;File</source>
@ -259,54 +254,54 @@ kate -l(line) (file)</translation>
<translation>&amp;Inställningar</translation>
</message>
<message>
<location filename="main.ui" line="260"/>
<location filename="main.ui" line="252"/>
<source>Show style errors</source>
<oldsource>Show security errors</oldsource>
<translation type="unfinished">Säkerhetsvarningar</translation>
</message>
<message>
<location filename="main.ui" line="268"/>
<location filename="main.ui" line="260"/>
<source>Show common errors</source>
<translation>Vanliga fel</translation>
</message>
<message>
<location filename="main.ui" line="273"/>
<location filename="main.ui" line="265"/>
<source>&amp;Check all</source>
<translation>&amp;Kryssa alla</translation>
</message>
<message>
<location filename="main.ui" line="278"/>
<location filename="main.ui" line="270"/>
<source>&amp;Uncheck all</source>
<translation>Kryssa &amp;ur alla</translation>
</message>
<message>
<location filename="main.ui" line="283"/>
<location filename="main.ui" line="275"/>
<source>Collapse &amp;all</source>
<translatorcomment>Ingen bra översättning!</translatorcomment>
<translation>&amp;Fäll ihop alla</translation>
</message>
<message>
<location filename="main.ui" line="288"/>
<location filename="main.ui" line="280"/>
<source>&amp;Expand all</source>
<translation>&amp;Expandera alla</translation>
</message>
<message>
<location filename="main.ui" line="296"/>
<location filename="main.ui" line="288"/>
<source>&amp;Toolbar</source>
<translation>&amp;Verktyg</translation>
</message>
<message>
<location filename="main.ui" line="301"/>
<location filename="main.ui" line="293"/>
<source>&amp;Contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="304"/>
<location filename="main.ui" line="296"/>
<source>Open the help contents</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<location filename="main.ui" line="299"/>
<source>F1</source>
<translation type="unfinished"></translation>
</message>
@ -321,69 +316,69 @@ kate -l(line) (file)</translation>
<translation>&amp;Hjälp</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="250"/>
<location filename="mainwindow.cpp" line="246"/>
<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="260"/>
<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="214"/>
<source>No suitable files found to check!</source>
<translation>Inga lämpliga filer hittades!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="483"/>
<location filename="mainwindow.cpp" line="474"/>
<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="517"/>
<location filename="mainwindow.cpp" line="505"/>
<source>License</source>
<translation>Licens</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="524"/>
<location filename="mainwindow.cpp" line="512"/>
<source>Authors</source>
<translation>Utvecklare</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="532"/>
<location filename="mainwindow.cpp" line="520"/>
<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="534"/>
<location filename="mainwindow.cpp" line="522"/>
<source>Save the report file</source>
<translation>Spara rapport</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="542"/>
<location filename="mainwindow.cpp" line="530"/>
<source>XML files (*.xml)</source>
<translation>XML filer (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="548"/>
<location filename="mainwindow.cpp" line="536"/>
<source>Text files (*.txt)</source>
<translation>Text filer (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="554"/>
<location filename="mainwindow.cpp" line="542"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="589"/>
<location filename="mainwindow.cpp" line="577"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="606"/>
<location filename="mainwindow.cpp" line="594"/>
<source>Failed to change the language:
%1
@ -458,25 +453,25 @@ Stop the checking before exiting.</source>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>File</source>
<translation>Fil</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Severity</source>
<translation>Typ</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Line</source>
<translation>Rad</translation>
</message>
<message>
<location filename="resultstree.cpp" line="42"/>
<location filename="resultstree.cpp" line="802"/>
<location filename="resultstree.cpp" line="796"/>
<source>Message</source>
<translation>Meddelande</translation>
</message>
@ -486,33 +481,33 @@ Stop the checking before exiting.</source>
<translation>Odefinierad fil</translation>
</message>
<message>
<location filename="resultstree.cpp" line="421"/>
<location filename="resultstree.cpp" line="419"/>
<source>Copy filename</source>
<translation>Kopiera filnamn</translation>
</message>
<message>
<location filename="resultstree.cpp" line="422"/>
<location filename="resultstree.cpp" line="420"/>
<source>Copy full path</source>
<translation>Kopiera full sökväg</translation>
</message>
<message>
<location filename="resultstree.cpp" line="423"/>
<location filename="resultstree.cpp" line="421"/>
<source>Copy message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="461"/>
<location filename="resultstree.cpp" line="459"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="resultstree.cpp" line="462"/>
<location filename="resultstree.cpp" line="460"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<oldsource>You can open this error by specifying applications in program&apos;s settings.</oldsource>
<translation>Konfigurera program i inställningar/program.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="499"/>
<location filename="resultstree.cpp" line="497"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
@ -521,17 +516,12 @@ Please check the application path and parameters are correct.</source>
Kontrollera att sökvägen och parametrarna är korrekta.</translation>
</message>
<message>
<location filename="resultstree.cpp" line="663"/>
<source>possible error</source>
<translation>Möjligt fel</translation>
</message>
<message>
<location filename="resultstree.cpp" line="667"/>
<location filename="resultstree.cpp" line="661"/>
<source>style</source>
<translation>stil</translation>
</message>
<message>
<location filename="resultstree.cpp" line="671"/>
<location filename="resultstree.cpp" line="665"/>
<source>error</source>
<translation>fel</translation>
</message>

View File

@ -244,14 +244,6 @@
<string>&amp;Preferences</string>
</property>
</action>
<action name="mActionShowAll">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Show possible false positives</string>
</property>
</action>
<action name="mActionShowStyle">
<property name="checkable">
<bool>true</bool>

View File

@ -57,7 +57,6 @@ MainWindow::MainWindow() :
connect(mUI.mActionSettings, SIGNAL(triggered()), this, SLOT(ProgramSettings()));
connect(mUI.mActionClearResults, SIGNAL(triggered()), this, SLOT(ClearResults()));
connect(mUI.mActionShowAll, SIGNAL(toggled(bool)), this, SLOT(ShowAll(bool)));
connect(mUI.mActionShowStyle, SIGNAL(toggled(bool)), this, SLOT(ShowStyle(bool)));
connect(mUI.mActionShowErrors, SIGNAL(toggled(bool)), this, SLOT(ShowErrors(bool)));
connect(mUI.mActionCheckAll, SIGNAL(triggered()), this, SLOT(CheckAll()));
@ -156,11 +155,9 @@ void MainWindow::LoadSettings()
mSettings->value(SETTINGS_WINDOW_HEIGHT, 600).toInt());
}
mUI.mActionShowAll->setChecked(mSettings->value(SETTINGS_SHOW_ALL, true).toBool());
mUI.mActionShowStyle->setChecked(mSettings->value(SETTINGS_SHOW_STYLE, true).toBool());
mUI.mActionShowErrors->setChecked(mSettings->value(SETTINGS_SHOW_ERRORS, true).toBool());
mUI.mResults->ShowResults(SHOW_ALL, mUI.mActionShowAll->isChecked());
mUI.mResults->ShowResults(SHOW_ERRORS, mUI.mActionShowErrors->isChecked());
mUI.mResults->ShowResults(SHOW_STYLE, mUI.mActionShowStyle->isChecked());
@ -181,7 +178,6 @@ void MainWindow::SaveSettings()
mSettings->setValue(SETTINGS_WINDOW_HEIGHT, size().height());
mSettings->setValue(SETTINGS_WINDOW_MAXIMIZED, isMaximized());
mSettings->setValue(SETTINGS_SHOW_ALL, mUI.mActionShowAll->isChecked());
mSettings->setValue(SETTINGS_SHOW_STYLE, mUI.mActionShowStyle->isChecked());
mSettings->setValue(SETTINGS_SHOW_ERRORS, mUI.mActionShowErrors->isChecked());
mSettings->setValue(SETTINGS_TOOLBARS_SHOW, mUI.mToolBar->isVisible());
@ -445,11 +441,6 @@ void MainWindow::EnableCheckButtons(bool enable)
mUI.mActionCheckDirectory->setEnabled(enable);
}
void MainWindow::ShowAll(bool checked)
{
mUI.mResults->ShowResults(SHOW_ALL, checked);
}
void MainWindow::ShowStyle(bool checked)
{
mUI.mResults->ShowResults(SHOW_STYLE, checked);
@ -496,9 +487,6 @@ void MainWindow::closeEvent(QCloseEvent *event)
void MainWindow::ToggleAllChecked(bool checked)
{
mUI.mActionShowAll->setChecked(checked);
ShowAll(checked);
mUI.mActionShowStyle->setChecked(checked);
ShowStyle(checked);

View File

@ -67,12 +67,6 @@ public slots:
*/
void ClearResults();
/**
* @brief Show errors with type "possible error"
* @param checked Should errors be shown (true) or hidden (false)
*/
void ShowAll(bool checked);
/**
* @brief Show errors with type "style"
* @param checked Should errors be shown (true) or hidden (false)

View File

@ -209,7 +209,7 @@ QStandardItem *ResultsTree::AddBacktraceFiles(QStandardItem *parent,
ShowTypes ResultsTree::VariantToShowType(const QVariant &data)
{
int value = data.toInt();
if (value < SHOW_ALL && value > SHOW_ERRORS)
if (value < SHOW_STYLE && value > SHOW_ERRORS)
{
return SHOW_NONE;
}
@ -218,8 +218,6 @@ ShowTypes ResultsTree::VariantToShowType(const QVariant &data)
ShowTypes ResultsTree::SeverityToShowType(const QString & severity)
{
if (severity == "possible error")
return SHOW_ALL;
if (severity == "error")
return SHOW_ERRORS;
if (severity == "style")
@ -659,10 +657,6 @@ QString ResultsTree::ShowTypeToString(ShowTypes type)
{
switch (type)
{
case SHOW_ALL:
return tr("possible error");
break;
case SHOW_STYLE:
return tr("style");
break;