Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Joshua Beck 2011-09-27 18:43:09 -05:00
commit 15cb2a0c61
18 changed files with 1509 additions and 1033 deletions

View File

@ -1,8 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppcheck", "cli\cppcheck.vcproj", "{230A4467-25A6-3276-A1D0-CB521812CD43}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcproj", "{5B7869EA-A1CB-3E73-8569-5B385608779E}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testrunner", "test\testrunner.vcproj", "{A1772A4C-E3F0-33FC-9A59-2189857FB799}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -20,14 +20,14 @@ Global
{230A4467-25A6-3276-A1D0-CB521812CD43}.Release|Win32.Build.0 = Release|Win32
{230A4467-25A6-3276-A1D0-CB521812CD43}.Release-x64|Win32.ActiveCfg = Release-x64|Win32
{230A4467-25A6-3276-A1D0-CB521812CD43}.Release-x64|Win32.Build.0 = Release-x64|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Debug|Win32.ActiveCfg = Debug|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Debug|Win32.Build.0 = Debug|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Debug-x64|Win32.ActiveCfg = Debug-x64|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Debug-x64|Win32.Build.0 = Debug-x64|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Release|Win32.ActiveCfg = Release|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Release|Win32.Build.0 = Release|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Release-x64|Win32.ActiveCfg = Release-x64|Win32
{5B7869EA-A1CB-3E73-8569-5B385608779E}.Release-x64|Win32.Build.0 = Release-x64|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Debug|Win32.ActiveCfg = Debug|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Debug|Win32.Build.0 = Debug|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Debug-x64|Win32.ActiveCfg = Debug-x64|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Debug-x64|Win32.Build.0 = Debug-x64|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Release|Win32.ActiveCfg = Release|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Release|Win32.Build.0 = Release|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Release-x64|Win32.ActiveCfg = Release-x64|Win32
{A1772A4C-E3F0-33FC-9A59-2189857FB799}.Release-x64|Win32.Build.0 = Release-x64|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -1,8 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppcheck", "cli\cppcheck.vcxproj", "{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppcheck", "cli\cppcheck.vcxproj", "{35CBDF51-2456-3EC3-99ED-113C30858883}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcxproj", "{BA98E531-D8B3-39CB-8171-064854404B81}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testrunner", "test\testrunner.vcxproj", "{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -12,22 +12,20 @@ Global
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|Win32.ActiveCfg = Debug|Win32
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|Win32.Build.0 = Debug|Win32
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|x64.ActiveCfg = Debug|x64
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|x64.Build.0 = Debug|x64
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|Win32.ActiveCfg = Release|Win32
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|Win32.Build.0 = Release|Win32
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|x64.ActiveCfg = Release|x64
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|x64.Build.0 = Release|x64
{BA98E531-D8B3-39CB-8171-064854404B81}.Debug|Win32.ActiveCfg = Debug|Win32
{BA98E531-D8B3-39CB-8171-064854404B81}.Debug|Win32.Build.0 = Debug|Win32
{BA98E531-D8B3-39CB-8171-064854404B81}.Debug|x64.ActiveCfg = Debug|x64
{BA98E531-D8B3-39CB-8171-064854404B81}.Debug|x64.Build.0 = Debug|x64
{BA98E531-D8B3-39CB-8171-064854404B81}.Release|Win32.ActiveCfg = Release|Win32
{BA98E531-D8B3-39CB-8171-064854404B81}.Release|Win32.Build.0 = Release|Win32
{BA98E531-D8B3-39CB-8171-064854404B81}.Release|x64.ActiveCfg = Release|x64
{BA98E531-D8B3-39CB-8171-064854404B81}.Release|x64.Build.0 = Release|x64
{35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|Win32.ActiveCfg = Debug|Win32
{35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|Win32.Build.0 = Debug|Win32
{35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|x64.ActiveCfg = Debug|x64
{35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|x64.Build.0 = Debug|x64
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release|Win32.ActiveCfg = Release|Win32
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release|Win32.Build.0 = Release|Win32
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release|x64.ActiveCfg = Release|x64
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release|x64.Build.0 = Release|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|Win32.ActiveCfg = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|Win32.Build.0 = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|x64.ActiveCfg = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|Win32.ActiveCfg = Release|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|Win32.Build.0 = Release|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|x64.ActiveCfg = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -166,16 +166,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -507,17 +507,17 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Dateien zum Überprüfen auswählen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Verzeichnis zum Überprüfen auswählen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>Kein passenden Dateien zum Überprüfen gefunden!</translation>
</message>
@ -527,96 +527,96 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>Lizenz</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Autoren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML-Dateien (*.xml);;Textdateien (*.txt);;CSV-Dateien (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Speichert die Berichtdatei</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML-Dateien (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Textdateien (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation>CSV-Dateien (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -625,34 +625,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -722,18 +722,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -804,7 +804,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1214,11 +1214,13 @@ Legen Sie unter dem Menü Ansicht fest, welche Art von Fehlern angezeigt werden
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1244,6 +1246,7 @@ Legen Sie unter dem Menü Ansicht fest, welche Art von Fehlern angezeigt werden
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1354,50 +1357,68 @@ Legen Sie unter dem Menü Ansicht fest, welche Art von Fehlern angezeigt werden
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -168,16 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -509,17 +509,17 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Select files to check</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Select directory to check</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>No suitable files found to check!</translation>
</message>
@ -529,96 +529,96 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>License</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Authors</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Save the report file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML files (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -627,34 +627,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -724,18 +724,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -806,7 +806,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1216,11 +1216,13 @@ To toggle what kind of errors are shown, open view menu.</translation>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1246,6 +1248,7 @@ To toggle what kind of errors are shown, open view menu.</translation>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1356,50 +1359,68 @@ To toggle what kind of errors are shown, open view menu.</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -165,16 +165,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -506,44 +506,44 @@ Parameters: -l(line) (file)</source>
<translation>Mostrar &amp;ocultas</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>¡No se han encontrado ficheros para comprobar!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation>¡Tienes que cerrar el fichero de proyecto antes de seleccionar nuevos ficheros o carpetas!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Selecciona ficheros para comprobar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Selecciona una carpeta para comprobar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>Ficheros XML(*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation>Abrir informe</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -552,22 +552,22 @@ Do you want to stop the checking and exit Cppcheck?.</source>
¿Quieres parar la comprobación y salir del Cppcheck?.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>Licencia</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Autores</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -576,7 +576,7 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Guardar informe</translation>
</message>
@ -586,73 +586,73 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Ficheros de texto (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation>Ficheros CVS (*.cvs)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Ficheros de proyecto (*.cppcheck;;Todos los ficheros (*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation>Selecciona proyecto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished">Proyecto:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation>Selecciona el nombre del proyecto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation>No hay ningún proyecto cargado</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -721,18 +721,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation>No se ha podido leer el fichero.</translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation>No se ha podido escribir el fichero de proyecto.</translation>
</message>
@ -803,7 +803,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1212,11 +1212,13 @@ Para cambiar el tipo de comportamiento, abrir el menú vista.</translation>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation>Estadísticas</translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation>Proyecto</translation>
</message>
@ -1242,6 +1244,7 @@ Para cambiar el tipo de comportamiento, abrir el menú vista.</translation>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation>Revisión anterior</translation>
</message>
@ -1352,50 +1355,68 @@ Para cambiar el tipo de comportamiento, abrir el menú vista.</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished">Advertencias</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished">Estilos de advertencias</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished">Ajustar advertencias</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -168,16 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -509,17 +509,17 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Ohje</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Valitse tarkistettavat tiedostot</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Valitse tarkistettava hakemisto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
</message>
@ -529,96 +529,96 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>Lisenssi</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Tekijät</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Tallenna raportti</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML-tiedostot (*xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Tekstitiedostot (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -627,34 +627,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -724,18 +724,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -806,7 +806,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1216,11 +1216,13 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1246,6 +1248,7 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1356,50 +1359,68 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -619,10 +619,6 @@ Do you want to remove the file from the recently used projects -list?</source>
<source>Include directories:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ignore</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Root:</source>
<translation type="unfinished"></translation>
@ -635,6 +631,10 @@ Do you want to remove the file from the recently used projects -list?</source>
<source>Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ProjectFileDialog</name>
@ -1061,48 +1061,55 @@ Pour configurer les erreurs affichées, ouvrez le menu d&apos;affichage.</transl
<translation type="unfinished"></translation>
</message>
<message>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -165,16 +165,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -506,29 +506,29 @@ Parameters: -l(line) (file)</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation></translation>
</message>
@ -538,31 +538,31 @@ This is probably because the settings were changed between the Cppcheck versions
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -571,53 +571,53 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Cppcheckを終了しますか.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML (*.xml);; (*.txt);;CSV形式ファイル (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation> (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation>CSV形式ファイル (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -626,34 +626,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation> (*.cppcheck);;All files(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
<translation type="unfinished">:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -723,18 +723,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -805,7 +805,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1214,11 +1214,13 @@ To toggle what kind of errors are shown, open view menu.</source>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation></translation>
</message>
@ -1244,6 +1246,7 @@ To toggle what kind of errors are shown, open view menu.</source>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation></translation>
</message>
@ -1354,50 +1357,68 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -168,16 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -509,17 +509,17 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Selecteer bestanden om te controleren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Selecteer een map om te controleren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
</message>
@ -529,96 +529,96 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>Licentie</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Auteurs</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Rapport opslaan </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML bestanden (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Tekst bestanden (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -627,34 +627,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -724,18 +724,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -806,7 +806,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1216,11 +1216,13 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</transla
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1246,6 +1248,7 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</transla
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1356,50 +1359,68 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</transla
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -165,16 +165,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
@ -506,79 +506,79 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
@ -588,50 +588,50 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -640,18 +640,18 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -721,18 +721,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -803,7 +803,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1208,11 +1208,13 @@ To toggle what kind of errors are shown, open view menu.</source>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1238,6 +1240,7 @@ To toggle what kind of errors are shown, open view menu.</source>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1348,50 +1351,68 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -168,16 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -509,17 +509,17 @@ Parameters: -l(line) (file)</source>
<translation>Помощь</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Выберите файлы для проверки</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Выберите каталог для проверки</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation type="unfinished"></translation>
</message>
@ -529,96 +529,96 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>Лицензия</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Авторы</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Текстовые файлы (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -627,34 +627,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -724,18 +724,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -806,7 +806,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1213,11 +1213,13 @@ To toggle what kind of errors are shown, open view menu.</source>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1243,6 +1245,7 @@ To toggle what kind of errors are shown, open view menu.</source>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1353,50 +1356,68 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -168,16 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -509,17 +509,17 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Select files to check</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Select directory to check</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>No suitable files found to check!</translation>
</message>
@ -529,96 +529,96 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>License</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Authors</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Save the report file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML files (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -627,34 +627,34 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -724,18 +724,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation type="unfinished"></translation>
</message>
@ -806,7 +806,7 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1216,11 +1216,13 @@ To toggle what kind of errors are shown, open view menu.</translation>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
@ -1246,6 +1248,7 @@ To toggle what kind of errors are shown, open view menu.</translation>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation type="unfinished"></translation>
</message>
@ -1356,50 +1359,68 @@ To toggle what kind of errors are shown, open view menu.</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>

View File

@ -178,16 +178,16 @@ Parametrar: -l(line) (file)</translation>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="279"/>
<location filename="mainwindow.cpp" line="310"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="405"/>
<location filename="mainwindow.cpp" line="646"/>
<location filename="mainwindow.cpp" line="776"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="930"/>
<location filename="mainwindow.cpp" line="1018"/>
<location filename="mainwindow.cpp" line="221"/>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="652"/>
<location filename="mainwindow.cpp" line="782"/>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="945"/>
<location filename="mainwindow.cpp" line="1033"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -520,17 +520,17 @@ Parametrar: -l(line) (file)</translation>
<translation>&amp;Hjälp</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="326"/>
<location filename="mainwindow.cpp" line="327"/>
<source>Select files to check</source>
<translation>Välj filer att kontrollera</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="340"/>
<location filename="mainwindow.cpp" line="341"/>
<source>Select directory to check</source>
<translation>Välj katalog som skall kontrolleras</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="280"/>
<location filename="mainwindow.cpp" line="281"/>
<source>No suitable files found to check!</source>
<translation>Inga lämpliga filer hittades!</translation>
</message>
@ -540,47 +540,47 @@ Parametrar: -l(line) (file)</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="380"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="406"/>
<location filename="mainwindow.cpp" line="407"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="689"/>
<location filename="mainwindow.cpp" line="695"/>
<source>License</source>
<translation>Licens</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="696"/>
<location filename="mainwindow.cpp" line="702"/>
<source>Authors</source>
<translation>Utvecklare</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="704"/>
<location filename="mainwindow.cpp" line="710"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation>XML filer version 2 (*.xml);;XML filer version 1 (*.xml);;Text filer (*.txt);;CSV filer (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="706"/>
<location filename="mainwindow.cpp" line="712"/>
<source>Save the report file</source>
<translation>Spara rapport</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="568"/>
<location filename="mainwindow.cpp" line="574"/>
<source>XML files (*.xml)</source>
<translation>XML filer (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="215"/>
<location filename="mainwindow.cpp" line="216"/>
<source>There was a problem with loading the editor application settings.
This is probably because the settings were changed between the Cppcheck versions. Please check (and fix) the editor application settings, otherwise the editor program might not start correctly.</source>
@ -589,17 +589,17 @@ This is probably because the settings were changed between the Cppcheck versions
En trolig orsak är att inställningarna ändrats för olika Cppcheck versioner. Kontrollera programinställningarna.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="311"/>
<location filename="mainwindow.cpp" line="312"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation>Du måste stänga projektfilen innan nya filer eller sökvägar kan väljas!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="570"/>
<location filename="mainwindow.cpp" line="576"/>
<source>Open the report file</source>
<translation>Öppna rapportfilen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="642"/>
<location filename="mainwindow.cpp" line="648"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -608,32 +608,32 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Vill du stoppa analysen och avsluta Cppcheck?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="714"/>
<location filename="mainwindow.cpp" line="720"/>
<source>XML files version 1 (*.xml)</source>
<translation>XML filer version 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="720"/>
<location filename="mainwindow.cpp" line="726"/>
<source>XML files version 2 (*.xml)</source>
<translation>XML filer version 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="726"/>
<location filename="mainwindow.cpp" line="732"/>
<source>Text files (*.txt)</source>
<translation>Text filer (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="732"/>
<location filename="mainwindow.cpp" line="738"/>
<source>CSV files (*.csv)</source>
<translation>CSV filer (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="778"/>
<location filename="mainwindow.cpp" line="784"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="791"/>
<location filename="mainwindow.cpp" line="797"/>
<source>Failed to change the user interface language:
%1
@ -646,34 +646,34 @@ The user interface language has been reset to English. Open the Preferences-dial
Språket har nollställts till Engelska. Öppna Preferences och välj något av de tillgängliga språken.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="895"/>
<location filename="mainwindow.cpp" line="842"/>
<location filename="mainwindow.cpp" line="909"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Projektfiler (*.cppcheck);;Alla filer(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="838"/>
<location filename="mainwindow.cpp" line="844"/>
<source>Select Project File</source>
<translation>Välj projektfil</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="852"/>
<location filename="mainwindow.cpp" line="906"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="920"/>
<source>Project:</source>
<translation type="unfinished">Projekt:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="897"/>
<location filename="mainwindow.cpp" line="911"/>
<source>Select Project Filename</source>
<translation>Välj Projektfil</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="931"/>
<location filename="mainwindow.cpp" line="946"/>
<source>No project file loaded</source>
<translation>Inget projekt laddat</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1013"/>
<location filename="mainwindow.cpp" line="1028"/>
<source>The project file
%1
@ -743,18 +743,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>Project</name>
<message>
<location filename="project.cpp" line="63"/>
<location filename="project.cpp" line="109"/>
<location filename="project.cpp" line="73"/>
<location filename="project.cpp" line="119"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
<message>
<location filename="project.cpp" line="64"/>
<location filename="project.cpp" line="74"/>
<source>Could not read the project file.</source>
<translation>Kunde ej läsa projektfilen.</translation>
</message>
<message>
<location filename="project.cpp" line="110"/>
<location filename="project.cpp" line="120"/>
<source>Could not write the project file.</source>
<translation>Kunde ej skriva projektfilen</translation>
</message>
@ -825,8 +825,8 @@ Do you want to remove the file from the recently used projects -list?</source>
</message>
<message>
<location filename="projectfile.ui" line="215"/>
<source>Ignore</source>
<translation>Ignorera</translation>
<source>Exclude</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="projectfile.ui" line="34"/>
@ -1237,11 +1237,13 @@ För att ställa in vilka fel som skall visas använd visa menyn.</translation>
<message>
<location filename="stats.ui" line="14"/>
<location filename="stats.ui" line="228"/>
<location filename="statsdialog.cpp" line="110"/>
<source>Statistics</source>
<translation>Statistik</translation>
</message>
<message>
<location filename="stats.ui" line="27"/>
<location filename="statsdialog.cpp" line="102"/>
<source>Project</source>
<translation>Projekt</translation>
</message>
@ -1267,6 +1269,7 @@ För att ställa in vilka fel som skall visas använd visa menyn.</translation>
</message>
<message>
<location filename="stats.ui" line="145"/>
<location filename="statsdialog.cpp" line="106"/>
<source>Previous Scan</source>
<translation>Föregående analys</translation>
</message>
@ -1377,84 +1380,69 @@ För att ställa in vilka fel som skall visas använd visa menyn.</translation>
<translation> och </translation>
</message>
<message>
<location filename="statsdialog.cpp" line="102"/>
<source>Project Settings
Project: %1
Paths: %2
Include paths: %3
Defines: %4
Previous Scan
Path selected: %5
Number of files scanned: %6
Scan duration: %7
Statistics
Errors: %8
Warnings: %9
Style warnings: %10
Portability warnings: %11
Performance warnings: %12
Information messages: %13
</source>
<translation>Projectinställningar
Projekt: %1
Sökvägar: %2
Include sökvägar: %3
Defines: %4
Föregående analys
Sökväg: %5
Antal analyserade filer: %6
Tid: %7
Statistik
Fel: %8
Varningar: %9
Stil varningar: %10
Portability warnings: %11
Prestanda varningar: %12
Information meddelanden: %13</translation>
<location filename="statsdialog.cpp" line="101"/>
<source>Project Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="135"/>
<source>&lt;h3&gt;Project Settings&lt;h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Project:&lt;/th&gt;&lt;td&gt;%1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Paths:&lt;/th&gt;&lt;td&gt;%2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Include paths:&lt;/th&gt;&lt;td&gt;%3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Defines:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Previous Scan&lt;/h3&gt;
&lt;table&gt;
&lt;tr&gt;&lt;th&gt;Path selected:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Number of files scanned:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Scan duration:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;h3&gt;Statistics&lt;/h3&gt;
&lt;tr&gt;&lt;th&gt;Errors:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Warnings:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Style warnings:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Portability warnings:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Performance warnings:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th&gt;Information messages:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</source>
<translatorcomment>orkade inte skriva html koden</translatorcomment>
<translation>Projekt Inställningar
Projekt: %1
Sökvägar: %2
Include sökvägar: %3
Defines: %4
Föregående Analys
Vald sökväg: %5
Antal analyserade filer: %6
Tid: %7
Statistik
Fel: %8
Varningar: %9
Style-varningar: %10
Portabilitets varningar: %11
Prestanda varningar: %12
Informations meddelanden: %13</translation>
<location filename="statsdialog.cpp" line="103"/>
<source>Paths</source>
<translation type="unfinished">Sökvägar</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="104"/>
<source>Include paths</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="105"/>
<source>Defines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="107"/>
<source>Path selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="108"/>
<source>Number of files scanned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="109"/>
<source>Scan duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="111"/>
<source>Errors</source>
<translation type="unfinished">Fel</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="112"/>
<source>Warnings</source>
<translation type="unfinished">Varningar</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="113"/>
<source>Style warnings</source>
<translation type="unfinished">Stil varningar</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="114"/>
<source>Portability warnings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="statsdialog.cpp" line="115"/>
<source>Performance warnings</source>
<translation type="unfinished">Prestanda varningar</translation>
</message>
<message>
<location filename="statsdialog.cpp" line="116"/>
<source>Information messages</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>

View File

@ -98,76 +98,141 @@ void StatsDialog::copyToClipboard()
QClipboard *clipboard = QApplication::clipboard();
if (clipboard)
{
const QString projSettings(tr("Project Settings"));
const QString project(tr("Project"));
const QString paths(tr("Paths"));
const QString incPaths(tr("Include paths"));
const QString defines(tr("Defines"));
const QString prevScan(tr("Previous Scan"));
const QString selPath(tr("Path selected"));
const QString numFiles(tr("Number of files scanned"));
const QString duration(tr("Scan duration"));
const QString stats(tr("Statistics"));
const QString errors(tr("Errors"));
const QString warnings(tr("Warnings"));
const QString style(tr("Style warnings"));
const QString portability(tr("Portability warnings"));
const QString performance(tr("Performance warnings"));
const QString information(tr("Information messages"));
// Plain text summary
QString textSummary = tr(
"Project Settings\n"
"\tProject:\t%1\n"
"\tPaths:\t%2\n"
"\tInclude paths:\t%3\n"
"\tDefines:\t%4\n"
"Previous Scan\n"
"\tPath selected:\t%5\n"
"\tNumber of files scanned:\t%6\n"
"\tScan duration:\t%7\n"
"Statistics\n"
"\tErrors:\t%8\n"
"\tWarnings:\t%9\n"
"\tStyle warnings:\t%10\n"
"\tPortability warnings:\t%11\n"
"\tPerformance warnings:\t%12\n"
"\tInformation messages:\t%13\n"
)
.arg(mUI.mProject->text())
.arg(mUI.mPaths->text())
.arg(mUI.mIncludePaths->text())
.arg(mUI.mDefines->text())
.arg(mUI.mPath->text())
.arg(mUI.mNumberOfFilesScanned->text())
.arg(mUI.mScanDuration->text())
.arg(mStatistics->GetCount(SHOW_ERRORS))
.arg(mStatistics->GetCount(SHOW_WARNINGS))
.arg(mStatistics->GetCount(SHOW_STYLE))
.arg(mStatistics->GetCount(SHOW_PORTABILITY))
.arg(mStatistics->GetCount(SHOW_PERFORMANCE))
.arg(mStatistics->GetCount(SHOW_INFORMATION));
const QString settings = QString(
"%1\n"
"\t%2:\t%3\n"
"\t%4:\t%5\n"
"\t%6:\t%7\n"
"\t%8:\t%9\n"
)
.arg(projSettings)
.arg(project)
.arg(mUI.mProject->text())
.arg(paths)
.arg(mUI.mPaths->text())
.arg(incPaths)
.arg(mUI.mIncludePaths->text())
.arg(defines)
.arg(mUI.mDefines->text());
const QString previous = QString(
"%1\n"
"\t%2:\t%3\n"
"\t%4:\t%5\n"
"\t%6:\t%7\n"
)
.arg(prevScan)
.arg(selPath)
.arg(mUI.mPath->text())
.arg(numFiles)
.arg(mUI.mNumberOfFilesScanned->text())
.arg(duration)
.arg(mUI.mScanDuration->text());
const QString statistics = QString(
"%1\n"
"\t%2:\t%3\n"
"\t%4:\t%5\n"
"\t%6:\t%7\n"
"\t%8:\t%9\n"
"\t%10:\t%11\n"
"\t%12:\t%13\n"
)
.arg(stats)
.arg(errors)
.arg(mStatistics->GetCount(SHOW_ERRORS))
.arg(warnings)
.arg(mStatistics->GetCount(SHOW_WARNINGS))
.arg(style)
.arg(mStatistics->GetCount(SHOW_STYLE))
.arg(portability)
.arg(mStatistics->GetCount(SHOW_PORTABILITY))
.arg(performance)
.arg(mStatistics->GetCount(SHOW_PERFORMANCE))
.arg(information)
.arg(mStatistics->GetCount(SHOW_INFORMATION));
const QString textSummary = settings + previous + statistics;
// HTML summary
QString htmlSummary = tr(
"<h3>Project Settings<h3>\n"
"<table>\n"
" <tr><th>Project:</th><td>%1</td></tr>\n"
" <tr><th>Paths:</th><td>%2</td></tr>\n"
" <tr><th>Include paths:</th><td>%3</td></tr>\n"
" <tr><th>Defines:</th><td>%4</td></tr>\n"
"</table>\n"
"<h3>Previous Scan</h3>\n"
"<table>\n"
" <tr><th>Path selected:</th><td>%5</td></tr>\n"
" <tr><th>Number of files scanned:</th><td>%6</td></tr>\n"
" <tr><th>Scan duration:</th><td>%7</td></tr>\n"
"</table>\n"
"<h3>Statistics</h3>\n"
" <tr><th>Errors:</th><td>%8</td></tr>\n"
" <tr><th>Warnings:</th><td>%9</td></tr>\n"
" <tr><th>Style warnings:</th><td>%10</td></tr>\n"
" <tr><th>Portability warnings:</th><td>%11</td></tr>\n"
" <tr><th>Performance warnings:</th><td>%12</td></tr>\n"
" <tr><th>Information messages:</th><td>%13</td></tr>\n"
"</table>\n"
)
.arg(mUI.mProject->text())
.arg(mUI.mPaths->text())
.arg(mUI.mIncludePaths->text())
.arg(mUI.mDefines->text())
.arg(mUI.mPath->text())
.arg(mUI.mNumberOfFilesScanned->text())
.arg(mUI.mScanDuration->text())
.arg(mStatistics->GetCount(SHOW_ERRORS))
.arg(mStatistics->GetCount(SHOW_WARNINGS))
.arg(mStatistics->GetCount(SHOW_STYLE))
.arg(mStatistics->GetCount(SHOW_PORTABILITY))
.arg(mStatistics->GetCount(SHOW_PERFORMANCE))
.arg(mStatistics->GetCount(SHOW_INFORMATION));
const QString htmlSettings = QString(
"<h3>%1<h3>\n"
"<table>\n"
" <tr><th>%2:</th><td>%3</td></tr>\n"
" <tr><th>%4:</th><td>%5</td></tr>\n"
" <tr><th>%6:</th><td>%7</td></tr>\n"
" <tr><th>%8:</th><td>%9</td></tr>\n"
"</table>\n"
)
.arg(projSettings)
.arg(project)
.arg(mUI.mProject->text())
.arg(paths)
.arg(mUI.mPaths->text())
.arg(incPaths)
.arg(mUI.mIncludePaths->text())
.arg(defines)
.arg(mUI.mDefines->text());
const QString htmlPrevious = QString(
"<h3>%1</h3>\n"
"<table>\n"
" <tr><th>%2:</th><td>%3</td></tr>\n"
" <tr><th>%4:</th><td>%5</td></tr>\n"
" <tr><th>%6:</th><td>%7</td></tr>\n"
"</table>\n"
)
.arg(prevScan)
.arg(selPath)
.arg(mUI.mPath->text())
.arg(numFiles)
.arg(mUI.mNumberOfFilesScanned->text())
.arg(duration)
.arg(mUI.mScanDuration->text());
const QString htmlStatistics = QString(
"<h3>%1</h3>\n"
" <tr><th>%2:</th><td>%3</td></tr>\n"
" <tr><th>%4:</th><td>%5</td></tr>\n"
" <tr><th>%6:</th><td>%7</td></tr>\n"
" <tr><th>%8:</th><td>%9</td></tr>\n"
" <tr><th>%10:</th><td>%11</td></tr>\n"
" <tr><th>%12:</th><td>%13</td></tr>\n"
"</table>\n"
)
.arg(stats)
.arg(errors)
.arg(mStatistics->GetCount(SHOW_ERRORS))
.arg(warnings)
.arg(mStatistics->GetCount(SHOW_WARNINGS))
.arg(style)
.arg(mStatistics->GetCount(SHOW_STYLE))
.arg(portability)
.arg(mStatistics->GetCount(SHOW_PORTABILITY))
.arg(performance)
.arg(mStatistics->GetCount(SHOW_PERFORMANCE))
.arg(information)
.arg(mStatistics->GetCount(SHOW_INFORMATION));
const QString htmlSummary = htmlSettings + htmlPrevious + htmlStatistics;
QMimeData *mimeData = new QMimeData();
mimeData->setText(textSummary);

View File

@ -2526,24 +2526,30 @@ void CheckOther::checkSignOfUnsignedVariable()
// check all the code in the function
for (const Token *tok = scope->classStart; tok && tok != scope->classStart->link(); tok = tok->next())
{
if (Token::Match(tok, "( %var% <|<= 0 )") && tok->next()->varId())
if (Token::Match(tok, "(|&&|%oror% %var% <|<= 0 )|&&|%oror%") && tok->next()->varId())
{
const Variable * var = symbolDatabase->getVariableFromVarId(tok->next()->varId());
if (var && var->typeEndToken()->isUnsigned())
unsignedLessThanZeroError(tok->next(), tok->next()->str());
}
else if (Token::Match(tok, "( 0 > %var% )") && tok->tokAt(3)->varId())
else if (Token::Match(tok, "(|&&|%oror% 0 > %var% )|&&|%oror%") && tok->tokAt(3)->varId())
{
const Variable * var = symbolDatabase->getVariableFromVarId(tok->tokAt(3)->varId());
if (var && var->typeEndToken()->isUnsigned())
unsignedLessThanZeroError(tok->tokAt(3), tok->strAt(3));
}
else if (Token::Match(tok, "( 0 <= %var% )") && tok->tokAt(3)->varId())
else if (Token::Match(tok, "(|&&|%oror% 0 <= %var% )|&&|%oror%") && tok->tokAt(3)->varId())
{
const Variable * var = symbolDatabase->getVariableFromVarId(tok->tokAt(3)->varId());
if (var && var->typeEndToken()->isUnsigned())
unsignedPositiveError(tok->tokAt(3), tok->strAt(3));
}
else if (Token::Match(tok, "(|&&|%oror% %var% >= 0 )|&&|%oror%") && tok->next()->varId())
{
const Variable * var = symbolDatabase->getVariableFromVarId(tok->next()->varId());
if (var && var->typeEndToken()->isUnsigned())
unsignedPositiveError(tok->next(), tok->next()->str());
}
}
}
}

View File

@ -10583,30 +10583,62 @@ void Tokenizer::simplifyMicrosoftStringFunctions()
{
for (Token *tok = _tokens; tok; tok = tok->next())
{
if (Token::simpleMatch(tok, "_tcscpy ("))
if (Token::simpleMatch(tok, "_topen ("))
{
tok->str("strcpy");
tok->str("open");
}
else if (Token::simpleMatch(tok, "_tfopen ("))
{
tok->str("fopen");
}
else if (Token::simpleMatch(tok, "_tcscat ("))
{
tok->str("strcat");
}
else if (Token::simpleMatch(tok, "_tcsncpy ("))
else if (Token::simpleMatch(tok, "_tcschr ("))
{
tok->str("strncpy");
tok->str("strchr");
}
else if (Token::simpleMatch(tok, "_tcsncat ("))
else if (Token::simpleMatch(tok, "_tcscmp ("))
{
tok->str("strncat");
tok->str("strcmp");
}
else if (Token::simpleMatch(tok, "_tcsdup ("))
{
tok->str("strdup");
}
else if (Token::simpleMatch(tok, "_tcscpy ("))
{
tok->str("strcpy");
}
else if (Token::simpleMatch(tok, "_tcslen ("))
{
tok->str("strlen");
}
else if (Token::simpleMatch(tok, "_tcsncat ("))
{
tok->str("strncat");
}
else if (Token::simpleMatch(tok, "_tcsncpy ("))
{
tok->str("strncpy");
}
else if (Token::simpleMatch(tok, "_tcsnlen ("))
{
tok->str("strnlen");
}
else if (Token::simpleMatch(tok, "_tcsrchr ("))
{
tok->str("strrchr");
}
else if (Token::simpleMatch(tok, "_tcsstr ("))
{
tok->str("strstr");
}
else if (Token::simpleMatch(tok, "_tcstok ("))
{
tok->str("strtok");
}
else if (Token::simpleMatch(tok, "_tprintf ("))
{
tok->str("printf");
@ -10633,6 +10665,12 @@ void Tokenizer::simplifyMicrosoftStringFunctions()
tok->deleteThis();
tok->deleteNext();
}
else if (Token::Match(tok, "_T ( %any% )") && tok->strAt(2)[0] == '\'')
{
tok->deleteThis();
tok->deleteThis();
tok->deleteNext();
}
}
}
else if (_settings->platformType == Settings::Win32W ||
@ -10640,30 +10678,54 @@ void Tokenizer::simplifyMicrosoftStringFunctions()
{
for (Token *tok = _tokens; tok; tok = tok->next())
{
if (Token::simpleMatch(tok, "_tcscpy ("))
{
tok->str("wcscpy");
}
else if (Token::simpleMatch(tok, "_tcscat ("))
if (Token::simpleMatch(tok, "_tcscat ("))
{
tok->str("wcscat");
}
else if (Token::simpleMatch(tok, "_tcsncpy ("))
else if (Token::simpleMatch(tok, "_tcschr ("))
{
tok->str("wcsncpy");
tok->str("wcschr");
}
else if (Token::simpleMatch(tok, "_tcsncat ("))
else if (Token::simpleMatch(tok, "_tcscmp ("))
{
tok->str("wcsncat");
tok->str("wcscmp");
}
else if (Token::simpleMatch(tok, "_tcscpy ("))
{
tok->str("wcscpy");
}
else if (Token::simpleMatch(tok, "_tcsdup ("))
{
tok->str("wcsdup");
}
else if (Token::simpleMatch(tok, "_tcslen ("))
{
tok->str("wcslen");
}
else if (Token::simpleMatch(tok, "_tcsncat ("))
{
tok->str("wcsncat");
}
else if (Token::simpleMatch(tok, "_tcsncpy ("))
{
tok->str("wcsncpy");
}
else if (Token::simpleMatch(tok, "_tcsnlen ("))
{
tok->str("wcsnlen");
}
else if (Token::simpleMatch(tok, "_tcsrchr ("))
{
tok->str("wcsrchr");
}
else if (Token::simpleMatch(tok, "_tcsstr ("))
{
tok->str("wcsstr");
}
else if (Token::simpleMatch(tok, "_tcstok ("))
{
tok->str("wcstok");
}
else if (Token::simpleMatch(tok, "_tprintf ("))
{
tok->str("wprintf");
@ -10690,6 +10752,12 @@ void Tokenizer::simplifyMicrosoftStringFunctions()
tok->deleteThis();
tok->deleteNext();
}
else if (Token::Match(tok, "_T ( %any% )") && tok->strAt(2)[0] == '\'')
{
tok->deleteThis();
tok->deleteThis();
tok->deleteNext();
}
}
}
}

View File

@ -3241,6 +3241,153 @@ private:
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (x < 0 && y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is less than zero.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (x < 0 && y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (0 > x && y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is less than zero.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (0 > x && y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (x >= 0 && y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is positive is always true.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (x >= 0 && y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (y && x < 0)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is less than zero.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (y && x < 0)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (y && 0 > x)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is less than zero.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (y && 0 > x)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (y && x >= 0)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is positive is always true.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (y && x >= 0)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (x < 0 || y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is less than zero.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (x < 0 || y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (0 > x || y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is less than zero.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (0 > x || y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
check_signOfUnsignedVariable(
"bool foo(unsigned int x, bool y) {\n"
" if (x >= 0 || y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("[test.cpp:2]: (style) Checking if unsigned variable 'x' is positive is always true.\n", errout.str());
check_signOfUnsignedVariable(
"bool foo(int x, bool y) {\n"
" if (x >= 0 || y)"
" return true;\n"
" return false;\n"
"}");
ASSERT_EQUALS("", errout.str());
}
};

View File

@ -6101,11 +6101,13 @@ private:
"PCTSTR pctstr;"
"LPCTSTR lpctstr;"
"void foo() {"
" TCHAR tc = _T(\'c\'); "
" TCHAR src[10] = _T(\"123456789\");"
" TCHAR dst[10];"
" _tcscpy(dst, src);"
" dst[0] = 0;"
" _tcscat(dst, src);"
" LPTSTR d = _tcsdup(str);"
" _tprintf(_T(\"Hello world!\n\"));"
" _stprintf(dst, _T(\"Hello!\n\"));"
" _sntprintf(dst, sizeof(dst) / sizeof(TCHAR), _T(\"Hello world!\n\"));"
@ -6119,11 +6121,13 @@ private:
"const char * pctstr ; "
"const char * lpctstr ; "
"void foo ( ) { "
"char tc ; tc = \'c\' ; "
"char src [ 10 ] = \"123456789\" ; "
"char dst [ 10 ] ; "
"strcpy ( dst , src ) ; "
"dst [ 0 ] = 0 ; "
"strcat ( dst , src ) ; "
"char * d ; d = strdup ( str ) ; "
"printf ( \"Hello world!\n\" ) ; "
"sprintf ( dst , \"Hello!\n\" ) ; "
"snprintf ( dst , sizeof ( dst ) / sizeof ( char ) , \"Hello world!\n\" ) ; "
@ -6142,11 +6146,13 @@ private:
"PCTSTR pctstr;"
"LPCTSTR lpctstr;"
"void foo() {"
" TCHAR tc = _T(\'c\');"
" TCHAR src[10] = _T(\"123456789\");"
" TCHAR dst[10];"
" _tcscpy(dst, src);"
" dst[0] = 0;"
" _tcscat(dst, src);"
" LPTSTR d = _tcsdup(str);"
" _tprintf(_T(\"Hello world!\n\"));"
" _stprintf(dst, _T(\"Hello!\n\"));"
" _sntprintf(dst, sizeof(dst) / sizeof(TCHAR), _T(\"Hello world!\n\"));"
@ -6160,11 +6166,13 @@ private:
"const unsigned short * pctstr ; "
"const unsigned short * lpctstr ; "
"void foo ( ) { "
"unsigned short tc ; tc = \'c\' ; "
"unsigned short src [ 10 ] = \"123456789\" ; "
"unsigned short dst [ 10 ] ; "
"wcscpy ( dst , src ) ; "
"dst [ 0 ] = 0 ; "
"wcscat ( dst , src ) ; "
"unsigned short * d ; d = wcsdup ( str ) ; "
"wprintf ( \"Hello world!\n\" ) ; "
"swprintf ( dst , \"Hello!\n\" ) ; "
"snwprintf ( dst , sizeof ( dst ) / sizeof ( unsigned short ) , \"Hello world!\n\" ) ; "