Improved GUI translation:

- Allow translating texts before before Window is created
-> Translate help text
- Use AboutDialog instead of message box on Windows when starting GUI with -v
This commit is contained in:
PKEuS 2013-03-01 10:11:27 -08:00
parent bcc0f87b4b
commit c4b711c0a7
17 changed files with 1076 additions and 680 deletions

View File

@ -176,17 +176,16 @@ Parameter: -l(line) (file)
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -563,12 +562,12 @@ Parameter: -l(line) (file)
<translation>&amp;Hilfe</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Verzeichnis zum Überprüfen auswählen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>Keine passenden Dateien zum Überprüfen gefunden!</translation>
</message>
@ -578,7 +577,7 @@ Parameter: -l(line) (file)
<translation>Schnellfilter:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
@ -587,7 +586,7 @@ Do you want to load this project file instead?</source>
Möchten Sie stattdessen diese öffnen?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="464"/>
<location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
@ -596,32 +595,32 @@ Do you want to proceed checking without using any of these project files?</sourc
Möchten Sie die Prüfung wirklich durchführen, ohne eine Projektdatei zu verwenden?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Lizenz</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Autoren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>XML-Dateien Version 2 (*.xml);;XML-Dateien Version 1 (*.xml);;Textdateien (*.txt);;CSV-Dateien (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Speichert die Berichtdatei</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML-Dateien (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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>
@ -630,17 +629,17 @@ This is probably because the settings were changed between the Cppcheck versions
Dies wurde vermutlich durch einen Wechsel der Cppcheck-Version hervorgerufen. Bitte prüfen (und korrigieren) Sie die Einstellungen, andernfalls könnte die Editor-Anwendung nicht korrekt starten.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="377"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation>Sie müssen die Projektdatei schließen, bevor Sie neue Dateien oder Verzeichnisse auswählen!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation>Dateien zum Überprüfen auswählen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
@ -649,12 +648,12 @@ Opening a new XML file will clear current results.Do you want to proceed?</sourc
Das Einlesen einer XML-Datei löscht die aktuellen Ergebnisse. Fortfahren?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation>Berichtdatei öffnen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -663,72 +662,59 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Möchten Sie die Prüfung abbrechen und Cppcheck beenden?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation>XML-Dateien Version 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation>XML-Dateien Version 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>Textdateien (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>CSV-Dateien (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation>Wechsel der Sprache der Benutzeroberfläche fehlgeschlagen:
%1
Die Sprache wurde auf Englisch zurückgesetzt. Öffnen Sie den Einstellungen-Dialog um eine verfügbare Sprache auszuwählen.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Projektdateien (*.cppcheck);;Alle Dateien(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation>Projektdatei auswählen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation>Projekt:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation>Projektnamen auswählen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation>Keine Projektdatei geladen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -745,70 +731,100 @@ Do you want to remove the file from the recently used projects -list?</source>
Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Finnisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>Englisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation>Chinesisch (vereinfacht)</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Niederländisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation>Französisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation>Italienisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation>Koreanisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation>Spanisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Schwedisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Deutsch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Russisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<translation>Japanisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation>Serbisch</translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation>Cppcheck-GUI
Syntax:
cppcheck-gui [OPTIONEN] [Dateien oder Pfade]
Optionen:
-h, --help Gibt diese Hilfeinformationen aus
-p &lt;Datei&gt; Öffnet das angegebene Projekt und startet die Prüfung
-l &lt;Datei&gt; Öffnet die angegenbene XML-Resultatdatei
-d &lt;Verzeichnis&gt; Spezifiziert das Verzeichnis, dass überprüft wurde, als die mit -l angegebene Datei erstellt wurde
-v, --version Zeigt die Programmversion</translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation>Cppcheck GUI - Kommandozeilenparameter</translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -963,17 +979,17 @@ Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation>Unbekannte Sprache angegeben!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<translation>Sprachdatei %1 nicht gefunden!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation>Die Übersetzungen der Sprache %1 konnten nicht aus der Datei %2 geladen werden</translation>
</message>
@ -1584,6 +1600,27 @@ Legen Sie unter dem Menü Ansicht fest, welche Arten von Fehlern angezeigt werde
<translation>%1 von %2 Dateien geprüft</translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation>Wechsel der Sprache der Benutzeroberfläche fehlgeschlagen:
%1
Die Sprache wurde auf Englisch zurückgesetzt. Öffnen Sie den Einstellungen-Dialog um eine verfügbare Sprache auszuwählen.</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -165,17 +165,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -552,39 +551,39 @@ Parameters: -l(line) (file)</source>
<translation>Mostrar &amp;ocultas</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>¡No se han encontrado ficheros para comprobar!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="377"/>
<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="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Selecciona una carpeta para comprobar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>Ficheros XML(*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation>Abrir informe</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -593,31 +592,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="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Licencia</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Autores</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Guardar informe</translation>
</message>
@ -627,85 +617,85 @@ The user interface language has been reset to English. Open the Preferences-dial
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished">Selecciona ficheros para comprobar</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<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="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>Ficheros de texto (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>Ficheros CVS (*.cvs)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Ficheros de proyecto (*.cppcheck;;Todos los ficheros (*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation>Selecciona proyecto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation type="unfinished">Proyecto:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation>Selecciona el nombre del proyecto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation>No hay ningún proyecto cargado</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -716,70 +706,90 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>English</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Holandés</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Finés</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Sueco</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Alemán</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Ruso</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<translation>Japonés</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation>Servio</translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -934,17 +944,17 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<translation>¡Fichero de idioma %1 no encontrado!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation>Fallo al cargar la traducción para el idioma %1 desde el fichero %2</translation>
</message>
@ -1552,6 +1562,23 @@ Para cambiar el tipo de comportamiento, abrir el menú vista.</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -168,17 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -555,12 +554,12 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Ohje</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Valitse tarkistettava hakemisto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
</message>
@ -570,144 +569,135 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<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="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Lisenssi</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Tekijät</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Tallenna raportti</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML-tiedostot (*xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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="377"/>
<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="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished">Valitse tarkistettavat tiedostot</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<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="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>Tekstitiedostot (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -718,71 +708,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Suomi</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>Englanti</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Ruotsi</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Saksa</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Venäjä</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<oldsource>Japanease</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -937,18 +947,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Käännöstiedostoa %1 ei löytynyt!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Käänöksen lataaminen kielelle %1 tiedostosta %2 epäonnistui</translation>
@ -1556,6 +1566,23 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -499,14 +499,6 @@ Do you want to stop the checking and exit Cppcheck?.</source>
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>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Spanish</source>
<translation type="unfinished"></translation>
@ -615,6 +607,24 @@ Opening a new XML file will clear current results.Do you want to proceed?</sourc
<source>Select files to check</source>
<translation type="unfinished">Sélectionner les fichiers à vérifier</translation>
</message>
<message>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -1224,6 +1234,21 @@ Pour configurer les erreurs affichées, ouvrez le menu d&apos;affichage.</transl
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -177,17 +177,16 @@ Parametri: -l(line) (file)
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -564,12 +563,12 @@ Parametri: -l(line) (file)
<translation>&amp;Aiuto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Seleziona una cartella da scansionare</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>Nessun file trovato idoneo alla scansione!</translation>
</message>
@ -579,7 +578,7 @@ Parametri: -l(line) (file)
<translation>Rapido filtro:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
@ -588,7 +587,7 @@ Do you want to load this project file instead?</source>
Vuoi piuttosto caricare questo file di progetto?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="464"/>
<location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
@ -597,32 +596,32 @@ Do you want to proceed checking without using any of these project files?</sourc
Vuoi procedere alla scansione senza usare qualcuno di questi file di progetto?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Licenza</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Autori</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation>File XML Versione 2 (*.xml);;File XML Versione 1 (*.xml);;File di testo (*.txt);;File CSV (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Salva il file di rapporto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>File XML (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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>
@ -631,17 +630,17 @@ This is probably because the settings were changed between the Cppcheck versions
Probabilmente ciò è avvenuto perché le impostazioni sono state modificate tra le versioni di Cppcheck. Per favore controlla (e sistema) le impostazioni delle applicazioni editor, altrimenti il programma editor può non partire correttamente.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="377"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation>Devi chiudere il file di progetto prima di selezionare nuovi file o cartelle!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished">Seleziona i file da scansionare</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
@ -650,12 +649,12 @@ Opening a new XML file will clear current results.Do you want to proceed?</sourc
L&apos;apertura di un nuovo file XML ripulirà i risultati correnti. Vuoi procedere?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation>Apri il file di rapporto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -664,72 +663,71 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Vuoi fermare la scansione ed uscire da Cppcheck?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation>Files XML versione 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation>Files XML versione 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>File di testo (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>Files CSV (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation>Fallito il tentativo di cambio della lingua dell&apos;interfaccia utente:
<translation type="obsolete">Fallito il tentativo di cambio della lingua dell&apos;interfaccia utente:
%1
L&apos;interfaccia utente è stata risettata in Inglese. Apri la finestra di dialogo Preferenze per selezionare una qualunque lingua a disposizione.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Files di progetto (*.cppcheck);;Tutti i files(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation>Seleziona il file di progetto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation>Progetto:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation>Seleziona il nome del file di progetto</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation>Nessun file di progetto caricato</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -746,70 +744,90 @@ Do you want to remove the file from the recently used projects -list?</source>
Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Finnish</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>English</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Dutch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation>French</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation>Italian</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation>Korean</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation>Spanish</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Swedish</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>German</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Russian</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<translation>Japanese</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation>Serbian</translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -964,17 +982,17 @@ Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation>Lingua specificata sconosciuta!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<translation>Il file di lingua %1 non trovato!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation>Fallito il tentativo di aprire la traduzione per la lingua %1 dal file %2</translation>
</message>
@ -1585,6 +1603,27 @@ Per vedere il tipo di errori che sono mostrati, apri il menu Visualizza.</transl
<translation>%1 su %2 file scansionati</translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished">Fallito il tentativo di cambio della lingua dell&apos;interfaccia utente:
%1
L&apos;interfaccia utente è stata risettata in Inglese. Apri la finestra di dialogo Preferenze per selezionare una qualunque lingua a disposizione.</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -165,17 +165,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -552,24 +551,24 @@ Parameters: -l(line) (file)</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="377"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation></translation>
</message>
@ -579,43 +578,43 @@ This is probably because the settings were changed between the Cppcheck versions
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<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="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -624,89 +623,80 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Cppcheckを終了しますか.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation>XMLファイルのバージョン1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation>XMLファイルのバージョン2</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation> (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>CSV形式ファイル (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation> (*.cppcheck);;(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation>:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -717,71 +707,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<oldsource>Japanease</oldsource>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation></translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -936,17 +946,17 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<translation> %1 !</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation type="unfinished"></translation>
</message>
@ -1554,6 +1564,23 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -543,7 +543,7 @@ Do you want to stop the checking and exit Cppcheck?.</source>
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation> :
<translation type="obsolete"> :
%1
@ -651,6 +651,24 @@ Opening a new XML file will clear current results.Do you want to proceed?</sourc
<source>Select files to check</source>
<translation type="unfinished"> </translation>
</message>
<message>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -1266,6 +1284,25 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation>%2 %1 </translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"> :
%1
. .</translation>
</message>
<message>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -168,17 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -555,12 +554,12 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Selecteer een map om te controleren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>Geen geschikte bestanden gevonden om te controleren!</translation>
</message>
@ -570,144 +569,135 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<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="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Licentie</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Auteurs</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Rapport opslaan </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML bestanden (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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="377"/>
<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="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished">Selecteer bestanden om te controleren</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<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="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>Tekst bestanden (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -718,71 +708,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Fins</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>Engels</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Nederlands</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Zweeds</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Duits</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Russisch</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<oldsource>Japanease</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -937,18 +947,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Kon het taalbestand niet vinden: %1!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Kon de vertaling voor taal %1 in bestand %2 niet laden</translation>
@ -1556,6 +1566,23 @@ Gebruik het uitzicht menu om te selecteren welke fouten getoond worden.</transla
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -178,17 +178,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -565,12 +564,12 @@ Parameters: -l(line) (file)</source>
<translation>Помощь</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Выберите каталог для проверки</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>Не найдено подходящих файлов для проверки!</translation>
</message>
@ -580,7 +579,7 @@ Parameters: -l(line) (file)</source>
<translation>Быстрый фильтр:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
@ -589,40 +588,40 @@ Do you want to load this project file instead?</source>
Вы хотите загрузить этот проект?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Лицензия</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Авторы</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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 файлы версии 2 (*.xml);;XML файлы версии 1 (*.xml);;Текстовые файлы (*.txt);;CSV файлы (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Сохранить файл с отчетом</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML-файлы (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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>
@ -631,17 +630,17 @@ This is probably because the settings were changed between the Cppcheck versions
Возможно, это связано с изменениями в версии программы. Пожалуйста, проверьте (и исправьте) настройки приложения.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="377"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation>Вы должны закрыть проект перед выбором новых файлов или директорий!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation>Выберите файлы для проверки</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
@ -650,12 +649,12 @@ Opening a new XML file will clear current results.Do you want to proceed?</sourc
Открытые нового XML файла приведет к очистке текущих результатов. Продолжить?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation>Открыть файл с отчетом</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -664,72 +663,71 @@ Do you want to stop the checking and exit Cppcheck?.</source>
Вы хотите завершить проверку и выйти?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation>XML файлы версии 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation>XML файлы версии 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>Текстовые файлы (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>CSV файлы(*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation>Failed to change the user interface language:
<translation type="obsolete">Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Файлы проекта (*.cppcheck);;Все файлы(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation>Выберите файл проекта</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation>Проект:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation>Выберите имя файла для проекта</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation>Файл с проектом на загружен</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -745,71 +743,91 @@ Do you want to remove the file from the recently used projects -list?</source>
Хотите удалить его из списка проектов?</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Финский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>Английский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation>Китайский (упрощенный)</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Голландский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation>Французский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation>Итальянский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation>Корейский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation>Испанский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Шведский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Немецкий</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Русский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<oldsource>Japanease</oldsource>
<translation>Японский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation>Сербский</translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -964,18 +982,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation>Неизвестный язык!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Языковой файл %1 не найден!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Ошибка загрузки переводов для языка %1 из файла %2</translation>
@ -1580,6 +1598,27 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation>%1 из %2 файлов проверены</translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished">Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -166,17 +166,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
@ -553,12 +552,12 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished">&amp;Help</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation type="unfinished">Select directory to check</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation type="unfinished">No suitable files found to check!</translation>
</message>
@ -568,143 +567,134 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<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="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation type="unfinished">License</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation type="unfinished">Authors</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<source>XML files version 2 (*.xml);;XML files version 1 (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished">XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation type="unfinished">Save the report file</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation type="unfinished">XML files (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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="377"/>
<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="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished">Select files to check</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<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="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation type="unfinished">Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation type="unfinished">Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -715,70 +705,90 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Finski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>Engleski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Holandski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation>Francuski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation>Španski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Švedski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Nemački</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Ruski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<translation>Japanski</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation>Srpski</translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -933,17 +943,17 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<translation type="unfinished">Could not find the file: %1!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation type="unfinished">Failed to load translation for language %1 from file %2</translation>
</message>
@ -1548,6 +1558,23 @@ To toggle what kind of errors are shown, open view menu.</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -182,17 +182,16 @@ Parametrar: -l(line) (file)</translation>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -570,12 +569,12 @@ Parametrar: -l(line) (file)</translation>
<translation>&amp;Hjälp</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation>Välj katalog som skall kontrolleras</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation>Inga lämpliga filer hittades!</translation>
</message>
@ -585,47 +584,47 @@ Parametrar: -l(line) (file)</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<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="464"/>
<location filename="mainwindow.cpp" line="462"/>
<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="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation>Licens</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation>Utvecklare</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation>Spara rapport</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML filer (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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>
@ -634,29 +633,29 @@ 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="379"/>
<location filename="mainwindow.cpp" line="377"/>
<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="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished">Välj filer att kontrollera</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation>Öppna rapportfilen</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -665,72 +664,71 @@ 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="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation>XML filer version 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation>XML filer version 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>Text filer (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>CSV filer (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation>Misslyckades att ändra språk:
<translation type="obsolete">Misslyckades att ändra språk:
%1
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="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Projektfiler (*.cppcheck);;Alla filer(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation>Välj projektfil</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation type="unfinished">Projekt:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation>Välj Projektfil</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation>Inget projekt laddat</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -741,71 +739,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation>Finska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation>Engelska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation>Nederländska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation>Franska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation>Svenska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation>Tyska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation>Ryska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<oldsource>Japanease</oldsource>
<translation>Japanska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation>Serbiska</translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -960,18 +978,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation>Okänt språk valt!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Språk filen %1 hittades ej!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Misslyckades med att ladda översättningen för %1 från filen %2</translation>
@ -1581,6 +1599,27 @@ För att ställa in vilka fel som skall visas använd visa menyn.</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished">Misslyckades att ändra språk:
%1
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="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -175,17 +175,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/>
<location filename="mainwindow.cpp" line="322"/>
<location filename="mainwindow.cpp" line="378"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="463"/>
<location filename="mainwindow.cpp" line="656"/>
<location filename="mainwindow.cpp" line="761"/>
<location filename="mainwindow.cpp" line="881"/>
<location filename="mainwindow.cpp" line="901"/>
<location filename="mainwindow.cpp" line="1060"/>
<location filename="mainwindow.cpp" line="1141"/>
<location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1126"/>
<source>Cppcheck</source>
<translation>Cppcheck</translation>
</message>
@ -562,7 +561,7 @@ Parameters: -l(line) (file)</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="259"/>
<location filename="mainwindow.cpp" line="257"/>
<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>
@ -571,17 +570,17 @@ This is probably because the settings were changed between the Cppcheck versions
Cppcheck ()</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="323"/>
<location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="379"/>
<location filename="mainwindow.cpp" line="377"/>
<source>You must close the project file before selecting new files or directories!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="404"/>
<location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source>
<translation></translation>
</message>
@ -591,12 +590,12 @@ This is probably because the settings were changed between the Cppcheck versions
<translation>:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="393"/>
<location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1
Do you want to load this project file instead?</source>
@ -605,7 +604,7 @@ Do you want to load this project file instead?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="464"/>
<location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source>
@ -614,7 +613,7 @@ Do you want to proceed checking without using any of these project files?</sourc
使</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="657"/>
<location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source>
@ -623,17 +622,17 @@ Opening a new XML file will clear current results.Do you want to proceed?</sourc
XML </translation>
</message>
<message>
<location filename="mainwindow.cpp" line="672"/>
<location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source>
<translation>XML (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="674"/>
<location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="757"/>
<location filename="mainwindow.cpp" line="755"/>
<source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source>
@ -642,93 +641,92 @@ Do you want to stop the checking and exit Cppcheck?.</source>
退 Cppcheck</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="803"/>
<location filename="mainwindow.cpp" line="801"/>
<source>License</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="810"/>
<location filename="mainwindow.cpp" line="808"/>
<source>Authors</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="818"/>
<location filename="mainwindow.cpp" line="816"/>
<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 2 (*.xml);;XML 1 (*.xml);; (*.txt);; CSV (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="820"/>
<location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="827"/>
<location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source>
<translation>XML 1 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source>
<translation>XML 2 (*.xml)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="835"/>
<location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source>
<translation>(*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="839"/>
<location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source>
<translation>CSV (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="883"/>
<location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation>:
<translation type="obsolete">:
%1
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="939"/>
<location filename="mainwindow.cpp" line="1022"/>
<location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>(*.cppcheck);;(*.*)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="941"/>
<location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="969"/>
<location filename="mainwindow.cpp" line="1036"/>
<location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source>
<translation>:</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1024"/>
<location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1061"/>
<location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1136"/>
<location filename="mainwindow.cpp" line="1121"/>
<source>The project file
%1
@ -745,71 +743,91 @@ Do you want to remove the file from the recently used projects -list?</source>
使</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<location filename="translationhandler.cpp" line="35"/>
<source>English</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<location filename="translationhandler.cpp" line="37"/>
<source>French</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="38"/>
<location filename="translationhandler.cpp" line="39"/>
<source>Italian</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="40"/>
<location filename="translationhandler.cpp" line="41"/>
<source>Korean</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="43"/>
<location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source>
<translation>西</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="44"/>
<location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="37"/>
<location filename="translationhandler.cpp" line="38"/>
<source>German</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="41"/>
<location filename="translationhandler.cpp" line="42"/>
<source>Russian</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="39"/>
<location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source>
<oldsource>Japanease</oldsource>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="42"/>
<location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source>
<translation></translation>
</message>
<message>
<location filename="main.cpp" line="87"/>
<source>Cppcheck GUI.
Syntax:
cppcheck-gui [OPTIONS] [files or paths]
Options:
-h, --help Print this help
-p &lt;file&gt; Open given project file and start checking it
-l &lt;file&gt; Open given results xml file
-d &lt;directory&gt; Specify the directory that was checked to generate the results xml specified with -l
-v, --version Show program version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cpp" line="99"/>
<source>Cppcheck GUI - Command line parameters</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Platforms</name>
@ -964,17 +982,17 @@ Do you want to remove the file from the recently used projects -list?</source>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="78"/>
<location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source>
<translation></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="90"/>
<location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source>
<translation> %1 </translation>
</message>
<message>
<location filename="translationhandler.cpp" line="96"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation> %2 %1 </translation>
</message>
@ -1587,6 +1605,27 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation>%2 %1 </translation>
</message>
</context>
<context>
<name>TranslationHandler</name>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to change the user interface language:
%1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source>
<translation type="unfinished">:
%1
</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="112"/>
<source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation>
</message>
</context>
<context>
<name>TxtReport</name>
<message>

View File

@ -21,14 +21,18 @@
#include <QTextCodec>
#include <QMetaType>
#include <QStringList>
#include <QSettings>
#ifdef _WIN32
#include <QMessageBox>
#else
#include <iostream>
#endif
#include "cppcheck.h"
#include "common.h"
#include "mainwindow.h"
#include "erroritem.h"
#include "cppcheck.h"
#include "aboutdialog.h"
#include "translationhandler.h"
void ShowUsage();
@ -39,22 +43,26 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
if (!CheckArgs(app.arguments()))
return 0;
// Set codecs so that UTF-8 strings in sources are handled correctly.
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
QCoreApplication::setOrganizationName("Cppcheck");
QCoreApplication::setApplicationName("Cppcheck-GUI");
TranslationHandler* th = new TranslationHandler(&app);
QSettings* settings = new QSettings("Cppcheck", "Cppcheck-GUI", &app);
th->SetLanguage(settings->value(SETTINGS_LANGUAGE, th->SuggestLanguage()).toString());
if (!CheckArgs(app.arguments()))
return 0;
app.setWindowIcon(QIcon(":icon.png"));
// Register this metatype that is used to transfer error info
qRegisterMetaType<ErrorItem>("ErrorItem");
// Set codecs so that UTF-8 strings in sources are handled correctly.
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
MainWindow window;
MainWindow window(th, settings);
window.show();
return app.exec();
}
@ -76,44 +84,41 @@ bool CheckArgs(const QStringList &args)
void ShowUsage()
{
const char helpMessage[] =
"Cppcheck GUI.\n\n"
"Syntax:\n"
" cppcheck-gui [OPTIONS] [files or paths]\n\n"
"Options:\n"
" -h, --help Print this help\n"
" -p <file> Open given project file and start checking it\n"
" -l <file> Open given results xml file\n"
" -d <directory> Specify the directory that was checked to generate the results xml specified with -l\n"
" -v, --version Show program version\n";
QString helpMessage = MainWindow::tr(
"Cppcheck GUI.\n\n"
"Syntax:\n"
" cppcheck-gui [OPTIONS] [files or paths]\n\n"
"Options:\n"
" -h, --help Print this help\n"
" -p <file> Open given project file and start checking it\n"
" -l <file> Open given results xml file\n"
" -d <directory> Specify the directory that was checked to generate the results xml specified with -l\n"
" -v, --version Show program version");
#if defined(_WIN32)
QMessageBox msgBox(QMessageBox::Information,
"Cppcheck GUI",
MainWindow::tr("Cppcheck GUI - Command line parameters"),
helpMessage,
QMessageBox::Ok
);
(void)msgBox.exec();
#else
std::cout << helpMessage;
std::cout << helpMessage.toStdString() << std::endl;
#endif
}
void ShowVersion()
{
#if defined(_WIN32)
AboutDialog *dlg = new AboutDialog(CppCheck::version(), CppCheck::extraVersion(), 0);
dlg->exec();
delete dlg;
#else
std::string versionMessage("Cppcheck ");
versionMessage += CppCheck::version();
const char * extraVersion = CppCheck::extraVersion();
if (*extraVersion != 0)
versionMessage += std::string(" (") + extraVersion + ")";
#if defined(_WIN32)
QMessageBox msgBox(QMessageBox::Information,
"Cppcheck GUI",
versionMessage.c_str(),
QMessageBox::Ok
);
(void)msgBox.exec();
#else
std::cout << versionMessage << std::endl;
#endif
}

View File

@ -46,10 +46,10 @@
static const QString OnlineHelpURL("http://cppcheck.sourceforge.net/manual.html");
MainWindow::MainWindow() :
mSettings(new QSettings("Cppcheck", "Cppcheck-GUI", this)),
MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :
mSettings(settings),
mApplications(new ApplicationList(this)),
mTranslation(new TranslationHandler(this)),
mTranslation(th),
mLogView(NULL),
mScratchPad(NULL),
mProject(NULL),
@ -252,8 +252,6 @@ void MainWindow::LoadSettings()
mUI.mActionToolBarFilter->setChecked(showFilterToolbar);
mUI.mToolBarFilter->setVisible(showFilterToolbar);
SetLanguage(mSettings->value(SETTINGS_LANGUAGE, mTranslation->SuggestLanguage()).toString());
bool succeeded = mApplications->LoadSettings();
if (!succeeded) {
const QString msg = tr("There was a problem with loading the editor application settings.\n\n"
@ -890,20 +888,7 @@ void MainWindow::SetLanguage(const QString &code)
if (currentLang == code)
return;
QString error;
if (!mTranslation->SetLanguage(code, error)) {
const QString msg(tr("Failed to change the user interface language:"
"\n\n%1\n\n"
"The user interface language has been reset to English. Open "
"the Preferences-dialog to select any of the available "
"languages.").arg(error));
QMessageBox msgBox(QMessageBox::Warning,
tr("Cppcheck"),
msg,
QMessageBox::Ok,
this);
msgBox.exec();
} else {
if (mTranslation->SetLanguage(code)) {
//Translate everything that is visible here
mUI.retranslateUi(this);
mUI.mResults->Translate();

View File

@ -54,7 +54,7 @@ public:
*/
enum { MaxRecentProjects = 5 };
MainWindow();
MainWindow(TranslationHandler* th, QSettings* settings);
virtual ~MainWindow();
/**

View File

@ -20,6 +20,7 @@
#include <QFile>
#include <QDebug>
#include <QLocale>
#include <QMessageBox>
#include "translationhandler.h"
TranslationHandler::TranslationHandler(QObject *parent) :
@ -57,8 +58,11 @@ const QStringList TranslationHandler::GetNames() const
return names;
}
bool TranslationHandler::SetLanguage(const QString &code, QString &error)
bool TranslationHandler::SetLanguage(const QString &code)
{
bool failure = false;
QString error;
//If English is the language
if (code == "en") {
//Just remove all extra translators
@ -76,26 +80,39 @@ bool TranslationHandler::SetLanguage(const QString &code, QString &error)
int index = GetLanguageIndexByCode(code);
if (index == -1) {
error = QObject::tr("Unknown language specified!");
return false;
failure = true;
}
// Make sure there is a translator
if (!mTranslator)
if (!mTranslator && !failure)
mTranslator = new QTranslator(this);
//Load the new language
if (!mTranslator->load(mTranslations[index].mFilename)) {
if (!mTranslator->load(mTranslations[index].mFilename) && !failure) {
//If it failed, lets check if the default file exists
if (!QFile::exists(mTranslations[index].mFilename + ".qm")) {
error = QObject::tr("Language file %1 not found!");
error = error.arg(mTranslations[index].mFilename + ".qm");
return false;
failure = true;
}
//If file exists, there's something wrong with it
error = QObject::tr("Failed to load translation for language %1 from file %2");
error = error.arg(mTranslations[index].mName);
error = error.arg(mTranslations[index].mFilename + ".qm");
}
if (failure) {
const QString msg(tr("Failed to change the user interface language:"
"\n\n%1\n\n"
"The user interface language has been reset to English. Open "
"the Preferences-dialog to select any of the available "
"languages.").arg(error));
QMessageBox msgBox(QMessageBox::Warning,
tr("Cppcheck"),
msg,
QMessageBox::Ok);
msgBox.exec();
return false;
}

View File

@ -83,11 +83,10 @@ public:
/**
* @brief Set active translation.
* @param code ISO 639 language code for new selected translation.
* @param error Returns error string if selection fails.
* @return true if succeeds, false otherwise.
*
*/
bool SetLanguage(const QString &code, QString &error);
bool SetLanguage(const QString &code);
/**
* @brief Get currently selected translation.