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> <name>MainWindow</name>
<message> <message>
<location filename="main.ui" line="26"/> <location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/> <location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="322"/> <location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="378"/> <location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="441"/> <location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="463"/> <location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="656"/> <location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="761"/> <location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="881"/> <location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="901"/> <location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1060"/> <location filename="mainwindow.cpp" line="1126"/>
<location filename="mainwindow.cpp" line="1141"/>
<source>Cppcheck</source> <source>Cppcheck</source>
<translation>Cppcheck</translation> <translation>Cppcheck</translation>
</message> </message>
@ -563,12 +562,12 @@ Parameter: -l(line) (file)
<translation>&amp;Hilfe</translation> <translation>&amp;Hilfe</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="404"/> <location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source> <source>Select directory to check</source>
<translation>Verzeichnis zum Überprüfen auswählen</translation> <translation>Verzeichnis zum Überprüfen auswählen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="323"/> <location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source> <source>No suitable files found to check!</source>
<translation>Keine passenden Dateien zum Überprüfen gefunden!</translation> <translation>Keine passenden Dateien zum Überprüfen gefunden!</translation>
</message> </message>
@ -578,7 +577,7 @@ Parameter: -l(line) (file)
<translation>Schnellfilter:</translation> <translation>Schnellfilter:</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="442"/> <location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1 <source>Found project file: %1
Do you want to load this project file instead?</source> 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> Möchten Sie stattdessen diese öffnen?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="464"/> <location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory. <source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source> 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> Möchten Sie die Prüfung wirklich durchführen, ohne eine Projektdatei zu verwenden?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="803"/> <location filename="mainwindow.cpp" line="801"/>
<source>License</source> <source>License</source>
<translation>Lizenz</translation> <translation>Lizenz</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="810"/> <location filename="mainwindow.cpp" line="808"/>
<source>Authors</source> <source>Authors</source>
<translation>Autoren</translation> <translation>Autoren</translation>
</message> </message>
<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> <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> <translation>XML-Dateien Version 2 (*.xml);;XML-Dateien Version 1 (*.xml);;Textdateien (*.txt);;CSV-Dateien (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="820"/> <location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source> <source>Save the report file</source>
<translation>Speichert die Berichtdatei</translation> <translation>Speichert die Berichtdatei</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="672"/> <location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source> <source>XML files (*.xml)</source>
<translation>XML-Dateien (*.xml)</translation> <translation>XML-Dateien (*.xml)</translation>
</message> </message>
<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. <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> 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> 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>
<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> <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> <translation>Sie müssen die Projektdatei schließen, bevor Sie neue Dateien oder Verzeichnisse auswählen!</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="393"/> <location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source> <source>Select files to check</source>
<translation>Dateien zum Überprüfen auswählen</translation> <translation>Dateien zum Überprüfen auswählen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="657"/> <location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared. <source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source> 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> Das Einlesen einer XML-Datei löscht die aktuellen Ergebnisse. Fortfahren?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="674"/> <location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source> <source>Open the report file</source>
<translation>Berichtdatei öffnen</translation> <translation>Berichtdatei öffnen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="757"/> <location filename="mainwindow.cpp" line="755"/>
<source>Checking is running. <source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source> 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> Möchten Sie die Prüfung abbrechen und Cppcheck beenden?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="827"/> <location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source> <source>XML files version 1 (*.xml)</source>
<translation>XML-Dateien Version 1 (*.xml)</translation> <translation>XML-Dateien Version 1 (*.xml)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="831"/> <location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source> <source>XML files version 2 (*.xml)</source>
<translation>XML-Dateien Version 2 (*.xml)</translation> <translation>XML-Dateien Version 2 (*.xml)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="835"/> <location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source> <source>Text files (*.txt)</source>
<translation>Textdateien (*.txt)</translation> <translation>Textdateien (*.txt)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="839"/> <location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation>CSV-Dateien (*.csv)</translation> <translation>CSV-Dateien (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="883"/> <location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source> <source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation> <translation>Cppcheck - %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="895"/> <location filename="mainwindow.cpp" line="924"/>
<source>Failed to change the user interface language: <location filename="mainwindow.cpp" line="1007"/>
%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"/>
<source>Project files (*.cppcheck);;All files(*.*)</source> <source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Projektdateien (*.cppcheck);;Alle Dateien(*.*)</translation> <translation>Projektdateien (*.cppcheck);;Alle Dateien(*.*)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="941"/> <location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source> <source>Select Project File</source>
<translation>Projektdatei auswählen</translation> <translation>Projektdatei auswählen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="969"/> <location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1036"/> <location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source> <source>Project:</source>
<translation>Projekt:</translation> <translation>Projekt:</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1024"/> <location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source> <source>Select Project Filename</source>
<translation>Projektnamen auswählen</translation> <translation>Projektnamen auswählen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1061"/> <location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source> <source>No project file loaded</source>
<translation>Keine Projektdatei geladen</translation> <translation>Keine Projektdatei geladen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1136"/> <location filename="mainwindow.cpp" line="1121"/>
<source>The project file <source>The project file
%1 %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> Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="35"/> <location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source> <source>Finnish</source>
<translation>Finnisch</translation> <translation>Finnisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="34"/> <location filename="translationhandler.cpp" line="35"/>
<source>English</source> <source>English</source>
<translation>Englisch</translation> <translation>Englisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="32"/> <location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source> <source>Chinese (Simplified)</source>
<translation>Chinesisch (vereinfacht)</translation> <translation>Chinesisch (vereinfacht)</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="33"/> <location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source> <source>Dutch</source>
<translation>Niederländisch</translation> <translation>Niederländisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="36"/> <location filename="translationhandler.cpp" line="37"/>
<source>French</source> <source>French</source>
<translation>Französisch</translation> <translation>Französisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="38"/> <location filename="translationhandler.cpp" line="39"/>
<source>Italian</source> <source>Italian</source>
<translation>Italienisch</translation> <translation>Italienisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="40"/> <location filename="translationhandler.cpp" line="41"/>
<source>Korean</source> <source>Korean</source>
<translation>Koreanisch</translation> <translation>Koreanisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="43"/> <location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source> <source>Spanish</source>
<translation>Spanisch</translation> <translation>Spanisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="44"/> <location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source> <source>Swedish</source>
<translation>Schwedisch</translation> <translation>Schwedisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="37"/> <location filename="translationhandler.cpp" line="38"/>
<source>German</source> <source>German</source>
<translation>Deutsch</translation> <translation>Deutsch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="41"/> <location filename="translationhandler.cpp" line="42"/>
<source>Russian</source> <source>Russian</source>
<translation>Russisch</translation> <translation>Russisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="39"/> <location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source> <source>Japanese</source>
<translation>Japanisch</translation> <translation>Japanisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="42"/> <location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source> <source>Serbian</source>
<translation>Serbisch</translation> <translation>Serbisch</translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -963,17 +979,17 @@ Möchten Sie die Datei von der Liste der zuletzt benutzten Projekte entfernen?</
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="translationhandler.cpp" line="78"/> <location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source> <source>Unknown language specified!</source>
<translation>Unbekannte Sprache angegeben!</translation> <translation>Unbekannte Sprache angegeben!</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="90"/> <location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source> <source>Language file %1 not found!</source>
<translation>Sprachdatei %1 nicht gefunden!</translation> <translation>Sprachdatei %1 nicht gefunden!</translation>
</message> </message>
<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> <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> <translation>Die Übersetzungen der Sprache %1 konnten nicht aus der Datei %2 geladen werden</translation>
</message> </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> <translation>%1 von %2 Dateien geprüft</translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

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

View File

@ -168,17 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="main.ui" line="26"/> <location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/> <location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="322"/> <location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="378"/> <location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="441"/> <location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="463"/> <location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="656"/> <location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="761"/> <location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="881"/> <location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="901"/> <location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1060"/> <location filename="mainwindow.cpp" line="1126"/>
<location filename="mainwindow.cpp" line="1141"/>
<source>Cppcheck</source> <source>Cppcheck</source>
<translation>Cppcheck</translation> <translation>Cppcheck</translation>
</message> </message>
@ -555,12 +554,12 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Ohje</translation> <translation>&amp;Ohje</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="404"/> <location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source> <source>Select directory to check</source>
<translation>Valitse tarkistettava hakemisto</translation> <translation>Valitse tarkistettava hakemisto</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="323"/> <location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source> <source>No suitable files found to check!</source>
<translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation> <translation>Tarkistettavaksi sopivia tiedostoja ei löytynyt!</translation>
</message> </message>
@ -570,144 +569,135 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="442"/> <location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1 <source>Found project file: %1
Do you want to load this project file instead?</source> Do you want to load this project file instead?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="464"/> <location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory. <source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source> Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="803"/> <location filename="mainwindow.cpp" line="801"/>
<source>License</source> <source>License</source>
<translation>Lisenssi</translation> <translation>Lisenssi</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="810"/> <location filename="mainwindow.cpp" line="808"/>
<source>Authors</source> <source>Authors</source>
<translation>Tekijät</translation> <translation>Tekijät</translation>
</message> </message>
<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> <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> <oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation> <translation type="unfinished">XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="820"/> <location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source> <source>Save the report file</source>
<translation>Tallenna raportti</translation> <translation>Tallenna raportti</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="672"/> <location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source> <source>XML files (*.xml)</source>
<translation>XML-tiedostot (*xml)</translation> <translation>XML-tiedostot (*xml)</translation>
</message> </message>
<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. <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> 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> <translation type="unfinished"></translation>
</message> </message>
<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> <source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="393"/> <location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source> <source>Select files to check</source>
<translation type="unfinished">Valitse tarkistettavat tiedostot</translation> <translation type="unfinished">Valitse tarkistettavat tiedostot</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="657"/> <location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared. <source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source> Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="674"/> <location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source> <source>Open the report file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="757"/> <location filename="mainwindow.cpp" line="755"/>
<source>Checking is running. <source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source> Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="827"/> <location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source> <source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="831"/> <location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source> <source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="835"/> <location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source> <source>Text files (*.txt)</source>
<translation>Tekstitiedostot (*.txt)</translation> <translation>Tekstitiedostot (*.txt)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="839"/> <location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="883"/> <location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source> <source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation> <translation>Cppcheck - %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="895"/> <location filename="mainwindow.cpp" line="924"/>
<source>Failed to change the user interface language: <location filename="mainwindow.cpp" line="1007"/>
%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"/>
<source>Project files (*.cppcheck);;All files(*.*)</source> <source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="941"/> <location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source> <source>Select Project File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="969"/> <location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1036"/> <location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source> <source>Project:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1024"/> <location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source> <source>Select Project Filename</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1061"/> <location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source> <source>No project file loaded</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1136"/> <location filename="mainwindow.cpp" line="1121"/>
<source>The project file <source>The project file
%1 %1
@ -718,71 +708,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="35"/> <location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source> <source>Finnish</source>
<translation>Suomi</translation> <translation>Suomi</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="34"/> <location filename="translationhandler.cpp" line="35"/>
<source>English</source> <source>English</source>
<translation>Englanti</translation> <translation>Englanti</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="32"/> <location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source> <source>Chinese (Simplified)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="33"/> <location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source> <source>Dutch</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="36"/> <location filename="translationhandler.cpp" line="37"/>
<source>French</source> <source>French</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="38"/> <location filename="translationhandler.cpp" line="39"/>
<source>Italian</source> <source>Italian</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="40"/> <location filename="translationhandler.cpp" line="41"/>
<source>Korean</source> <source>Korean</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="43"/> <location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source> <source>Spanish</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="44"/> <location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source> <source>Swedish</source>
<translation>Ruotsi</translation> <translation>Ruotsi</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="37"/> <location filename="translationhandler.cpp" line="38"/>
<source>German</source> <source>German</source>
<translation>Saksa</translation> <translation>Saksa</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="41"/> <location filename="translationhandler.cpp" line="42"/>
<source>Russian</source> <source>Russian</source>
<translation>Venäjä</translation> <translation>Venäjä</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="39"/> <location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source> <source>Japanese</source>
<oldsource>Japanease</oldsource> <oldsource>Japanease</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="42"/> <location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source> <source>Serbian</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -937,18 +947,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="translationhandler.cpp" line="78"/> <location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source> <source>Unknown language specified!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="90"/> <location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source> <source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource> <oldsource>Language file %1.qm not found!</oldsource>
<translation>Käännöstiedostoa %1 ei löytynyt!</translation> <translation>Käännöstiedostoa %1 ei löytynyt!</translation>
</message> </message>
<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> <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> <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> <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> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <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> 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> <translation type="unfinished"></translation>
</message> </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> <message>
<source>Spanish</source> <source>Spanish</source>
<translation type="unfinished"></translation> <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> <source>Select files to check</source>
<translation type="unfinished">Sélectionner les fichiers à vérifier</translation> <translation type="unfinished">Sélectionner les fichiers à vérifier</translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -1224,6 +1234,21 @@ Pour configurer les erreurs affichées, ouvrez le menu d&apos;affichage.</transl
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

@ -177,17 +177,16 @@ Parametri: -l(line) (file)
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="main.ui" line="26"/> <location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/> <location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="322"/> <location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="378"/> <location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="441"/> <location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="463"/> <location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="656"/> <location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="761"/> <location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="881"/> <location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="901"/> <location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1060"/> <location filename="mainwindow.cpp" line="1126"/>
<location filename="mainwindow.cpp" line="1141"/>
<source>Cppcheck</source> <source>Cppcheck</source>
<translation>Cppcheck</translation> <translation>Cppcheck</translation>
</message> </message>
@ -564,12 +563,12 @@ Parametri: -l(line) (file)
<translation>&amp;Aiuto</translation> <translation>&amp;Aiuto</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="404"/> <location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source> <source>Select directory to check</source>
<translation>Seleziona una cartella da scansionare</translation> <translation>Seleziona una cartella da scansionare</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="323"/> <location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source> <source>No suitable files found to check!</source>
<translation>Nessun file trovato idoneo alla scansione!</translation> <translation>Nessun file trovato idoneo alla scansione!</translation>
</message> </message>
@ -579,7 +578,7 @@ Parametri: -l(line) (file)
<translation>Rapido filtro:</translation> <translation>Rapido filtro:</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="442"/> <location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1 <source>Found project file: %1
Do you want to load this project file instead?</source> 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> Vuoi piuttosto caricare questo file di progetto?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="464"/> <location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory. <source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source> 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> Vuoi procedere alla scansione senza usare qualcuno di questi file di progetto?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="803"/> <location filename="mainwindow.cpp" line="801"/>
<source>License</source> <source>License</source>
<translation>Licenza</translation> <translation>Licenza</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="810"/> <location filename="mainwindow.cpp" line="808"/>
<source>Authors</source> <source>Authors</source>
<translation>Autori</translation> <translation>Autori</translation>
</message> </message>
<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> <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> <translation>File XML Versione 2 (*.xml);;File XML Versione 1 (*.xml);;File di testo (*.txt);;File CSV (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="820"/> <location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source> <source>Save the report file</source>
<translation>Salva il file di rapporto</translation> <translation>Salva il file di rapporto</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="672"/> <location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source> <source>XML files (*.xml)</source>
<translation>File XML (*.xml)</translation> <translation>File XML (*.xml)</translation>
</message> </message>
<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. <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> 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> 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>
<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> <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> <translation>Devi chiudere il file di progetto prima di selezionare nuovi file o cartelle!</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="393"/> <location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source> <source>Select files to check</source>
<translation type="unfinished">Seleziona i file da scansionare</translation> <translation type="unfinished">Seleziona i file da scansionare</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="657"/> <location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared. <source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source> 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> L&apos;apertura di un nuovo file XML ripulirà i risultati correnti. Vuoi procedere?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="674"/> <location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source> <source>Open the report file</source>
<translation>Apri il file di rapporto</translation> <translation>Apri il file di rapporto</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="757"/> <location filename="mainwindow.cpp" line="755"/>
<source>Checking is running. <source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source> 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> Vuoi fermare la scansione ed uscire da Cppcheck?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="827"/> <location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source> <source>XML files version 1 (*.xml)</source>
<translation>Files XML versione 1 (*.xml)</translation> <translation>Files XML versione 1 (*.xml)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="831"/> <location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source> <source>XML files version 2 (*.xml)</source>
<translation>Files XML versione 2 (*.xml)</translation> <translation>Files XML versione 2 (*.xml)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="835"/> <location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source> <source>Text files (*.txt)</source>
<translation>File di testo (*.txt)</translation> <translation>File di testo (*.txt)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="839"/> <location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation>Files CSV (*.csv)</translation> <translation>Files CSV (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="883"/> <location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source> <source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation> <translation>Cppcheck - %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language: <source>Failed to change the user interface language:
%1 %1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source> 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 %1
L&apos;interfaccia utente è stata risettata in Inglese. Apri la finestra di dialogo Preferenze per selezionare una qualunque lingua a disposizione.</translation> L&apos;interfaccia utente è stata risettata in Inglese. Apri la finestra di dialogo Preferenze per selezionare una qualunque lingua a disposizione.</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="939"/> <location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1022"/> <location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source> <source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Files di progetto (*.cppcheck);;Tutti i files(*.*)</translation> <translation>Files di progetto (*.cppcheck);;Tutti i files(*.*)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="941"/> <location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source> <source>Select Project File</source>
<translation>Seleziona il file di progetto</translation> <translation>Seleziona il file di progetto</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="969"/> <location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1036"/> <location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source> <source>Project:</source>
<translation>Progetto:</translation> <translation>Progetto:</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1024"/> <location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source> <source>Select Project Filename</source>
<translation>Seleziona il nome del file di progetto</translation> <translation>Seleziona il nome del file di progetto</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1061"/> <location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source> <source>No project file loaded</source>
<translation>Nessun file di progetto caricato</translation> <translation>Nessun file di progetto caricato</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1136"/> <location filename="mainwindow.cpp" line="1121"/>
<source>The project file <source>The project file
%1 %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> Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="35"/> <location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source> <source>Finnish</source>
<translation>Finnish</translation> <translation>Finnish</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="34"/> <location filename="translationhandler.cpp" line="35"/>
<source>English</source> <source>English</source>
<translation>English</translation> <translation>English</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="32"/> <location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source> <source>Chinese (Simplified)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="33"/> <location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source> <source>Dutch</source>
<translation>Dutch</translation> <translation>Dutch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="36"/> <location filename="translationhandler.cpp" line="37"/>
<source>French</source> <source>French</source>
<translation>French</translation> <translation>French</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="38"/> <location filename="translationhandler.cpp" line="39"/>
<source>Italian</source> <source>Italian</source>
<translation>Italian</translation> <translation>Italian</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="40"/> <location filename="translationhandler.cpp" line="41"/>
<source>Korean</source> <source>Korean</source>
<translation>Korean</translation> <translation>Korean</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="43"/> <location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source> <source>Spanish</source>
<translation>Spanish</translation> <translation>Spanish</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="44"/> <location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source> <source>Swedish</source>
<translation>Swedish</translation> <translation>Swedish</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="37"/> <location filename="translationhandler.cpp" line="38"/>
<source>German</source> <source>German</source>
<translation>German</translation> <translation>German</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="41"/> <location filename="translationhandler.cpp" line="42"/>
<source>Russian</source> <source>Russian</source>
<translation>Russian</translation> <translation>Russian</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="39"/> <location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source> <source>Japanese</source>
<translation>Japanese</translation> <translation>Japanese</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="42"/> <location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source> <source>Serbian</source>
<translation>Serbian</translation> <translation>Serbian</translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -964,17 +982,17 @@ Vuoi rimuovere il file dalla lista dei progetti recentemente usati?</translation
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="translationhandler.cpp" line="78"/> <location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source> <source>Unknown language specified!</source>
<translation>Lingua specificata sconosciuta!</translation> <translation>Lingua specificata sconosciuta!</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="90"/> <location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source> <source>Language file %1 not found!</source>
<translation>Il file di lingua %1 non trovato!</translation> <translation>Il file di lingua %1 non trovato!</translation>
</message> </message>
<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> <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> <translation>Fallito il tentativo di aprire la traduzione per la lingua %1 dal file %2</translation>
</message> </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> <translation>%1 su %2 file scansionati</translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

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

View File

@ -543,7 +543,7 @@ Do you want to stop the checking and exit Cppcheck?.</source>
%1 %1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source> 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 %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> <source>Select files to check</source>
<translation type="unfinished"> </translation> <translation type="unfinished"> </translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -1266,6 +1284,25 @@ To toggle what kind of errors are shown, open view menu.</source>
<translation>%2 %1 </translation> <translation>%2 %1 </translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

@ -168,17 +168,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="main.ui" line="26"/> <location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/> <location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="322"/> <location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="378"/> <location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="441"/> <location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="463"/> <location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="656"/> <location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="761"/> <location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="881"/> <location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="901"/> <location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1060"/> <location filename="mainwindow.cpp" line="1126"/>
<location filename="mainwindow.cpp" line="1141"/>
<source>Cppcheck</source> <source>Cppcheck</source>
<translation>Cppcheck</translation> <translation>Cppcheck</translation>
</message> </message>
@ -555,12 +554,12 @@ Parameters: -l(line) (file)</source>
<translation>&amp;Help</translation> <translation>&amp;Help</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="404"/> <location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source> <source>Select directory to check</source>
<translation>Selecteer een map om te controleren</translation> <translation>Selecteer een map om te controleren</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="323"/> <location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source> <source>No suitable files found to check!</source>
<translation>Geen geschikte bestanden gevonden om te controleren!</translation> <translation>Geen geschikte bestanden gevonden om te controleren!</translation>
</message> </message>
@ -570,144 +569,135 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="442"/> <location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1 <source>Found project file: %1
Do you want to load this project file instead?</source> Do you want to load this project file instead?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="464"/> <location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory. <source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source> Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="803"/> <location filename="mainwindow.cpp" line="801"/>
<source>License</source> <source>License</source>
<translation>Licentie</translation> <translation>Licentie</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="810"/> <location filename="mainwindow.cpp" line="808"/>
<source>Authors</source> <source>Authors</source>
<translation>Auteurs</translation> <translation>Auteurs</translation>
</message> </message>
<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> <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> <oldsource>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</oldsource>
<translation type="unfinished">XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation> <translation type="unfinished">XML bestanden (*.xml);;Tekst bestanden (*.txt);;CSV bestanden (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="820"/> <location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source> <source>Save the report file</source>
<translation>Rapport opslaan </translation> <translation>Rapport opslaan </translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="672"/> <location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source> <source>XML files (*.xml)</source>
<translation>XML bestanden (*.xml)</translation> <translation>XML bestanden (*.xml)</translation>
</message> </message>
<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. <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> 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> <translation type="unfinished"></translation>
</message> </message>
<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> <source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="393"/> <location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source> <source>Select files to check</source>
<translation type="unfinished">Selecteer bestanden om te controleren</translation> <translation type="unfinished">Selecteer bestanden om te controleren</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="657"/> <location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared. <source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source> Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="674"/> <location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source> <source>Open the report file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="757"/> <location filename="mainwindow.cpp" line="755"/>
<source>Checking is running. <source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source> Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="827"/> <location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source> <source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="831"/> <location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source> <source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="835"/> <location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source> <source>Text files (*.txt)</source>
<translation>Tekst bestanden (*.txt)</translation> <translation>Tekst bestanden (*.txt)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="839"/> <location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="883"/> <location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source> <source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation> <translation>Cppcheck - %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="895"/> <location filename="mainwindow.cpp" line="924"/>
<source>Failed to change the user interface language: <location filename="mainwindow.cpp" line="1007"/>
%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"/>
<source>Project files (*.cppcheck);;All files(*.*)</source> <source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="941"/> <location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source> <source>Select Project File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="969"/> <location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1036"/> <location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source> <source>Project:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1024"/> <location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source> <source>Select Project Filename</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1061"/> <location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source> <source>No project file loaded</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1136"/> <location filename="mainwindow.cpp" line="1121"/>
<source>The project file <source>The project file
%1 %1
@ -718,71 +708,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="35"/> <location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source> <source>Finnish</source>
<translation>Fins</translation> <translation>Fins</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="34"/> <location filename="translationhandler.cpp" line="35"/>
<source>English</source> <source>English</source>
<translation>Engels</translation> <translation>Engels</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="32"/> <location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source> <source>Chinese (Simplified)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="33"/> <location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source> <source>Dutch</source>
<translation>Nederlands</translation> <translation>Nederlands</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="36"/> <location filename="translationhandler.cpp" line="37"/>
<source>French</source> <source>French</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="38"/> <location filename="translationhandler.cpp" line="39"/>
<source>Italian</source> <source>Italian</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="40"/> <location filename="translationhandler.cpp" line="41"/>
<source>Korean</source> <source>Korean</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="43"/> <location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source> <source>Spanish</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="44"/> <location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source> <source>Swedish</source>
<translation>Zweeds</translation> <translation>Zweeds</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="37"/> <location filename="translationhandler.cpp" line="38"/>
<source>German</source> <source>German</source>
<translation>Duits</translation> <translation>Duits</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="41"/> <location filename="translationhandler.cpp" line="42"/>
<source>Russian</source> <source>Russian</source>
<translation>Russisch</translation> <translation>Russisch</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="39"/> <location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source> <source>Japanese</source>
<oldsource>Japanease</oldsource> <oldsource>Japanease</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="42"/> <location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source> <source>Serbian</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -937,18 +947,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="translationhandler.cpp" line="78"/> <location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source> <source>Unknown language specified!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="90"/> <location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source> <source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource> <oldsource>Language file %1.qm not found!</oldsource>
<translation>Kon het taalbestand niet vinden: %1!</translation> <translation>Kon het taalbestand niet vinden: %1!</translation>
</message> </message>
<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> <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> <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> <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> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

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

View File

@ -166,17 +166,16 @@ Parameters: -l(line) (file)</source>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="main.ui" line="26"/> <location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/> <location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="322"/> <location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="378"/> <location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="441"/> <location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="463"/> <location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="656"/> <location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="761"/> <location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="881"/> <location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="901"/> <location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1060"/> <location filename="mainwindow.cpp" line="1126"/>
<location filename="mainwindow.cpp" line="1141"/>
<source>Cppcheck</source> <source>Cppcheck</source>
<translation type="unfinished">Cppcheck</translation> <translation type="unfinished">Cppcheck</translation>
</message> </message>
@ -553,12 +552,12 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished">&amp;Help</translation> <translation type="unfinished">&amp;Help</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="404"/> <location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source> <source>Select directory to check</source>
<translation type="unfinished">Select directory to check</translation> <translation type="unfinished">Select directory to check</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="323"/> <location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source> <source>No suitable files found to check!</source>
<translation type="unfinished">No suitable files found to check!</translation> <translation type="unfinished">No suitable files found to check!</translation>
</message> </message>
@ -568,143 +567,134 @@ Parameters: -l(line) (file)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="442"/> <location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1 <source>Found project file: %1
Do you want to load this project file instead?</source> Do you want to load this project file instead?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="464"/> <location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory. <source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source> Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="803"/> <location filename="mainwindow.cpp" line="801"/>
<source>License</source> <source>License</source>
<translation type="unfinished">License</translation> <translation type="unfinished">License</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="810"/> <location filename="mainwindow.cpp" line="808"/>
<source>Authors</source> <source>Authors</source>
<translation type="unfinished">Authors</translation> <translation type="unfinished">Authors</translation>
</message> </message>
<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> <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> <translation type="unfinished">XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="820"/> <location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source> <source>Save the report file</source>
<translation type="unfinished">Save the report file</translation> <translation type="unfinished">Save the report file</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="672"/> <location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source> <source>XML files (*.xml)</source>
<translation type="unfinished">XML files (*.xml)</translation> <translation type="unfinished">XML files (*.xml)</translation>
</message> </message>
<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. <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> 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> <translation type="unfinished"></translation>
</message> </message>
<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> <source>You must close the project file before selecting new files or directories!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="393"/> <location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source> <source>Select files to check</source>
<translation type="unfinished">Select files to check</translation> <translation type="unfinished">Select files to check</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="657"/> <location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared. <source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source> Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="674"/> <location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source> <source>Open the report file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="757"/> <location filename="mainwindow.cpp" line="755"/>
<source>Checking is running. <source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source> Do you want to stop the checking and exit Cppcheck?.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="827"/> <location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source> <source>XML files version 1 (*.xml)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="831"/> <location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source> <source>XML files version 2 (*.xml)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="835"/> <location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source> <source>Text files (*.txt)</source>
<translation type="unfinished">Text files (*.txt)</translation> <translation type="unfinished">Text files (*.txt)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="839"/> <location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="883"/> <location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source> <source>Cppcheck - %1</source>
<translation type="unfinished">Cppcheck - %1</translation> <translation type="unfinished">Cppcheck - %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="895"/> <location filename="mainwindow.cpp" line="924"/>
<source>Failed to change the user interface language: <location filename="mainwindow.cpp" line="1007"/>
%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"/>
<source>Project files (*.cppcheck);;All files(*.*)</source> <source>Project files (*.cppcheck);;All files(*.*)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="941"/> <location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source> <source>Select Project File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="969"/> <location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1036"/> <location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source> <source>Project:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1024"/> <location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source> <source>Select Project Filename</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1061"/> <location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source> <source>No project file loaded</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1136"/> <location filename="mainwindow.cpp" line="1121"/>
<source>The project file <source>The project file
%1 %1
@ -715,70 +705,90 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="35"/> <location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source> <source>Finnish</source>
<translation>Finski</translation> <translation>Finski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="34"/> <location filename="translationhandler.cpp" line="35"/>
<source>English</source> <source>English</source>
<translation>Engleski</translation> <translation>Engleski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="32"/> <location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source> <source>Chinese (Simplified)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="33"/> <location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source> <source>Dutch</source>
<translation>Holandski</translation> <translation>Holandski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="36"/> <location filename="translationhandler.cpp" line="37"/>
<source>French</source> <source>French</source>
<translation>Francuski</translation> <translation>Francuski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="38"/> <location filename="translationhandler.cpp" line="39"/>
<source>Italian</source> <source>Italian</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="40"/> <location filename="translationhandler.cpp" line="41"/>
<source>Korean</source> <source>Korean</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="43"/> <location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source> <source>Spanish</source>
<translation>Španski</translation> <translation>Španski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="44"/> <location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source> <source>Swedish</source>
<translation>Švedski</translation> <translation>Švedski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="37"/> <location filename="translationhandler.cpp" line="38"/>
<source>German</source> <source>German</source>
<translation>Nemački</translation> <translation>Nemački</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="41"/> <location filename="translationhandler.cpp" line="42"/>
<source>Russian</source> <source>Russian</source>
<translation>Ruski</translation> <translation>Ruski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="39"/> <location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source> <source>Japanese</source>
<translation>Japanski</translation> <translation>Japanski</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="42"/> <location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source> <source>Serbian</source>
<translation>Srpski</translation> <translation>Srpski</translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -933,17 +943,17 @@ Do you want to remove the file from the recently used projects -list?</source>
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="translationhandler.cpp" line="78"/> <location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source> <source>Unknown language specified!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="90"/> <location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source> <source>Language file %1 not found!</source>
<translation type="unfinished">Could not find the file: %1!</translation> <translation type="unfinished">Could not find the file: %1!</translation>
</message> </message>
<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> <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> <translation type="unfinished">Failed to load translation for language %1 from file %2</translation>
</message> </message>
@ -1548,6 +1558,23 @@ To toggle what kind of errors are shown, open view menu.</translation>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

@ -182,17 +182,16 @@ Parametrar: -l(line) (file)</translation>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="main.ui" line="26"/> <location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="264"/> <location filename="mainwindow.cpp" line="262"/>
<location filename="mainwindow.cpp" line="322"/> <location filename="mainwindow.cpp" line="320"/>
<location filename="mainwindow.cpp" line="378"/> <location filename="mainwindow.cpp" line="376"/>
<location filename="mainwindow.cpp" line="441"/> <location filename="mainwindow.cpp" line="439"/>
<location filename="mainwindow.cpp" line="463"/> <location filename="mainwindow.cpp" line="461"/>
<location filename="mainwindow.cpp" line="656"/> <location filename="mainwindow.cpp" line="654"/>
<location filename="mainwindow.cpp" line="761"/> <location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="881"/> <location filename="mainwindow.cpp" line="879"/>
<location filename="mainwindow.cpp" line="901"/> <location filename="mainwindow.cpp" line="1045"/>
<location filename="mainwindow.cpp" line="1060"/> <location filename="mainwindow.cpp" line="1126"/>
<location filename="mainwindow.cpp" line="1141"/>
<source>Cppcheck</source> <source>Cppcheck</source>
<translation>Cppcheck</translation> <translation>Cppcheck</translation>
</message> </message>
@ -570,12 +569,12 @@ Parametrar: -l(line) (file)</translation>
<translation>&amp;Hjälp</translation> <translation>&amp;Hjälp</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="404"/> <location filename="mainwindow.cpp" line="402"/>
<source>Select directory to check</source> <source>Select directory to check</source>
<translation>Välj katalog som skall kontrolleras</translation> <translation>Välj katalog som skall kontrolleras</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="323"/> <location filename="mainwindow.cpp" line="321"/>
<source>No suitable files found to check!</source> <source>No suitable files found to check!</source>
<translation>Inga lämpliga filer hittades!</translation> <translation>Inga lämpliga filer hittades!</translation>
</message> </message>
@ -585,47 +584,47 @@ Parametrar: -l(line) (file)</translation>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="442"/> <location filename="mainwindow.cpp" line="440"/>
<source>Found project file: %1 <source>Found project file: %1
Do you want to load this project file instead?</source> Do you want to load this project file instead?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="464"/> <location filename="mainwindow.cpp" line="462"/>
<source>Found project files from the directory. <source>Found project files from the directory.
Do you want to proceed checking without using any of these project files?</source> Do you want to proceed checking without using any of these project files?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="803"/> <location filename="mainwindow.cpp" line="801"/>
<source>License</source> <source>License</source>
<translation>Licens</translation> <translation>Licens</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="810"/> <location filename="mainwindow.cpp" line="808"/>
<source>Authors</source> <source>Authors</source>
<translation>Utvecklare</translation> <translation>Utvecklare</translation>
</message> </message>
<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> <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> <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> <translation>XML filer version 2 (*.xml);;XML filer version 1 (*.xml);;Text filer (*.txt);;CSV filer (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="820"/> <location filename="mainwindow.cpp" line="818"/>
<source>Save the report file</source> <source>Save the report file</source>
<translation>Spara rapport</translation> <translation>Spara rapport</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="672"/> <location filename="mainwindow.cpp" line="670"/>
<source>XML files (*.xml)</source> <source>XML files (*.xml)</source>
<translation>XML filer (*.xml)</translation> <translation>XML filer (*.xml)</translation>
</message> </message>
<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. <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> 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> En trolig orsak är att inställningarna ändrats för olika Cppcheck versioner. Kontrollera programinställningarna.</translation>
</message> </message>
<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> <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> <translation>Du måste stänga projektfilen innan nya filer eller sökvägar kan väljas!</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="393"/> <location filename="mainwindow.cpp" line="391"/>
<source>Select files to check</source> <source>Select files to check</source>
<translation type="unfinished">Välj filer att kontrollera</translation> <translation type="unfinished">Välj filer att kontrollera</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="657"/> <location filename="mainwindow.cpp" line="655"/>
<source>Current results will be cleared. <source>Current results will be cleared.
Opening a new XML file will clear current results.Do you want to proceed?</source> Opening a new XML file will clear current results.Do you want to proceed?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="674"/> <location filename="mainwindow.cpp" line="672"/>
<source>Open the report file</source> <source>Open the report file</source>
<translation>Öppna rapportfilen</translation> <translation>Öppna rapportfilen</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="757"/> <location filename="mainwindow.cpp" line="755"/>
<source>Checking is running. <source>Checking is running.
Do you want to stop the checking and exit Cppcheck?.</source> 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> Vill du stoppa analysen och avsluta Cppcheck?</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="827"/> <location filename="mainwindow.cpp" line="825"/>
<source>XML files version 1 (*.xml)</source> <source>XML files version 1 (*.xml)</source>
<translation>XML filer version 1 (*.xml)</translation> <translation>XML filer version 1 (*.xml)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="831"/> <location filename="mainwindow.cpp" line="829"/>
<source>XML files version 2 (*.xml)</source> <source>XML files version 2 (*.xml)</source>
<translation>XML filer version 2 (*.xml)</translation> <translation>XML filer version 2 (*.xml)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="835"/> <location filename="mainwindow.cpp" line="833"/>
<source>Text files (*.txt)</source> <source>Text files (*.txt)</source>
<translation>Text filer (*.txt)</translation> <translation>Text filer (*.txt)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="839"/> <location filename="mainwindow.cpp" line="837"/>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation>CSV filer (*.csv)</translation> <translation>CSV filer (*.csv)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="883"/> <location filename="mainwindow.cpp" line="881"/>
<source>Cppcheck - %1</source> <source>Cppcheck - %1</source>
<translation>Cppcheck - %1</translation> <translation>Cppcheck - %1</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="895"/>
<source>Failed to change the user interface language: <source>Failed to change the user interface language:
%1 %1
The user interface language has been reset to English. Open the Preferences-dialog to select any of the available languages.</source> 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 %1
Språket har nollställts till Engelska. Öppna Preferences och välj något av de tillgängliga språken.</translation> Språket har nollställts till Engelska. Öppna Preferences och välj något av de tillgängliga språken.</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="939"/> <location filename="mainwindow.cpp" line="924"/>
<location filename="mainwindow.cpp" line="1022"/> <location filename="mainwindow.cpp" line="1007"/>
<source>Project files (*.cppcheck);;All files(*.*)</source> <source>Project files (*.cppcheck);;All files(*.*)</source>
<translation>Projektfiler (*.cppcheck);;Alla filer(*.*)</translation> <translation>Projektfiler (*.cppcheck);;Alla filer(*.*)</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="941"/> <location filename="mainwindow.cpp" line="926"/>
<source>Select Project File</source> <source>Select Project File</source>
<translation>Välj projektfil</translation> <translation>Välj projektfil</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="969"/> <location filename="mainwindow.cpp" line="954"/>
<location filename="mainwindow.cpp" line="1036"/> <location filename="mainwindow.cpp" line="1021"/>
<source>Project:</source> <source>Project:</source>
<translation type="unfinished">Projekt:</translation> <translation type="unfinished">Projekt:</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1024"/> <location filename="mainwindow.cpp" line="1009"/>
<source>Select Project Filename</source> <source>Select Project Filename</source>
<translation>Välj Projektfil</translation> <translation>Välj Projektfil</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1061"/> <location filename="mainwindow.cpp" line="1046"/>
<source>No project file loaded</source> <source>No project file loaded</source>
<translation>Inget projekt laddat</translation> <translation>Inget projekt laddat</translation>
</message> </message>
<message> <message>
<location filename="mainwindow.cpp" line="1136"/> <location filename="mainwindow.cpp" line="1121"/>
<source>The project file <source>The project file
%1 %1
@ -741,71 +739,91 @@ Do you want to remove the file from the recently used projects -list?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="35"/> <location filename="translationhandler.cpp" line="36"/>
<source>Finnish</source> <source>Finnish</source>
<translation>Finska</translation> <translation>Finska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="34"/> <location filename="translationhandler.cpp" line="35"/>
<source>English</source> <source>English</source>
<translation>Engelska</translation> <translation>Engelska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="32"/> <location filename="translationhandler.cpp" line="33"/>
<source>Chinese (Simplified)</source> <source>Chinese (Simplified)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="33"/> <location filename="translationhandler.cpp" line="34"/>
<source>Dutch</source> <source>Dutch</source>
<translation>Nederländska</translation> <translation>Nederländska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="36"/> <location filename="translationhandler.cpp" line="37"/>
<source>French</source> <source>French</source>
<translation>Franska</translation> <translation>Franska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="38"/> <location filename="translationhandler.cpp" line="39"/>
<source>Italian</source> <source>Italian</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="40"/> <location filename="translationhandler.cpp" line="41"/>
<source>Korean</source> <source>Korean</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="43"/> <location filename="translationhandler.cpp" line="44"/>
<source>Spanish</source> <source>Spanish</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="44"/> <location filename="translationhandler.cpp" line="45"/>
<source>Swedish</source> <source>Swedish</source>
<translation>Svenska</translation> <translation>Svenska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="37"/> <location filename="translationhandler.cpp" line="38"/>
<source>German</source> <source>German</source>
<translation>Tyska</translation> <translation>Tyska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="41"/> <location filename="translationhandler.cpp" line="42"/>
<source>Russian</source> <source>Russian</source>
<translation>Ryska</translation> <translation>Ryska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="39"/> <location filename="translationhandler.cpp" line="40"/>
<source>Japanese</source> <source>Japanese</source>
<oldsource>Japanease</oldsource> <oldsource>Japanease</oldsource>
<translation>Japanska</translation> <translation>Japanska</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="42"/> <location filename="translationhandler.cpp" line="43"/>
<source>Serbian</source> <source>Serbian</source>
<translation>Serbiska</translation> <translation>Serbiska</translation>
</message> </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>
<context> <context>
<name>Platforms</name> <name>Platforms</name>
@ -960,18 +978,18 @@ Do you want to remove the file from the recently used projects -list?</source>
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="translationhandler.cpp" line="78"/> <location filename="translationhandler.cpp" line="82"/>
<source>Unknown language specified!</source> <source>Unknown language specified!</source>
<translation>Okänt språk valt!</translation> <translation>Okänt språk valt!</translation>
</message> </message>
<message> <message>
<location filename="translationhandler.cpp" line="90"/> <location filename="translationhandler.cpp" line="94"/>
<source>Language file %1 not found!</source> <source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource> <oldsource>Language file %1.qm not found!</oldsource>
<translation>Språk filen %1 hittades ej!</translation> <translation>Språk filen %1 hittades ej!</translation>
</message> </message>
<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> <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> <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> <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> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>TxtReport</name> <name>TxtReport</name>
<message> <message>

View File

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

View File

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

View File

@ -46,10 +46,10 @@
static const QString OnlineHelpURL("http://cppcheck.sourceforge.net/manual.html"); static const QString OnlineHelpURL("http://cppcheck.sourceforge.net/manual.html");
MainWindow::MainWindow() : MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :
mSettings(new QSettings("Cppcheck", "Cppcheck-GUI", this)), mSettings(settings),
mApplications(new ApplicationList(this)), mApplications(new ApplicationList(this)),
mTranslation(new TranslationHandler(this)), mTranslation(th),
mLogView(NULL), mLogView(NULL),
mScratchPad(NULL), mScratchPad(NULL),
mProject(NULL), mProject(NULL),
@ -252,8 +252,6 @@ void MainWindow::LoadSettings()
mUI.mActionToolBarFilter->setChecked(showFilterToolbar); mUI.mActionToolBarFilter->setChecked(showFilterToolbar);
mUI.mToolBarFilter->setVisible(showFilterToolbar); mUI.mToolBarFilter->setVisible(showFilterToolbar);
SetLanguage(mSettings->value(SETTINGS_LANGUAGE, mTranslation->SuggestLanguage()).toString());
bool succeeded = mApplications->LoadSettings(); bool succeeded = mApplications->LoadSettings();
if (!succeeded) { if (!succeeded) {
const QString msg = tr("There was a problem with loading the editor application settings.\n\n" 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) if (currentLang == code)
return; return;
QString error; if (mTranslation->SetLanguage(code)) {
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 {
//Translate everything that is visible here //Translate everything that is visible here
mUI.retranslateUi(this); mUI.retranslateUi(this);
mUI.mResults->Translate(); mUI.mResults->Translate();

View File

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

View File

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

View File

@ -83,11 +83,10 @@ public:
/** /**
* @brief Set active translation. * @brief Set active translation.
* @param code ISO 639 language code for new selected 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. * @return true if succeeds, false otherwise.
* *
*/ */
bool SetLanguage(const QString &code, QString &error); bool SetLanguage(const QString &code);
/** /**
* @brief Get currently selected translation. * @brief Get currently selected translation.