Added a Polish translation file.

Also added some missing Finnish and English translations.
This commit is contained in:
Vesa Pikki 2009-08-09 23:11:13 +03:00
parent 3331cb834f
commit 0db35229cb
8 changed files with 673 additions and 38 deletions

View File

@ -18,7 +18,7 @@
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<message>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation type="unfinished"></translation>
@ -382,22 +382,27 @@ Stop the checking before exiting.</source>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<source>Polish</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="88"/>
<location filename="translationhandler.cpp" line="90"/>
<source>Incorrect language specified!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="98"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="104"/>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation type="unfinished"></translation>

View File

@ -18,7 +18,7 @@
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - A tool for static C/C++ code analysis.</translation>
</message>
<message utf8="true">
<message>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</translation>
@ -259,7 +259,7 @@ kate -l(line) (file)</translation>
<message>
<location filename="main.ui" line="279"/>
<source>Show possible style errors</source>
<translation type="unfinished"></translation>
<translation>Show possible style errors</translation>
</message>
<message>
<location filename="main.ui" line="287"/>
@ -338,7 +338,7 @@ Stop the checking before exiting.</translation>
<message>
<location filename="mainwindow.cpp" line="528"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
<translation>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="530"/>
@ -353,7 +353,7 @@ Stop the checking before exiting.</translation>
<message>
<location filename="mainwindow.cpp" line="544"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
<translation>Text files (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="576"/>
@ -399,22 +399,27 @@ Stop the checking before exiting.</translation>
<source>Russian</source>
<translation>Russian</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<source>Polish</source>
<translation>Polish</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="88"/>
<location filename="translationhandler.cpp" line="90"/>
<source>Incorrect language specified!</source>
<translation>Incorrect language specified!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="98"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Could not find the file: %1!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="104"/>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Failed to load translation for language %1 from file %2</translation>
@ -484,7 +489,7 @@ Please check the application path and parameters are correct.</translation>
<message>
<location filename="resultstree.cpp" line="613"/>
<source>possible error</source>
<translation type="unfinished"></translation>
<translation>possible error</translation>
</message>
<message>
<location filename="resultstree.cpp" line="617"/>
@ -494,7 +499,7 @@ Please check the application path and parameters are correct.</translation>
<message>
<location filename="resultstree.cpp" line="621"/>
<source>possible style</source>
<translation type="unfinished"></translation>
<translation>possible style</translation>
</message>
<message>
<location filename="resultstree.cpp" line="625"/>
@ -525,13 +530,13 @@ To toggle what kind of errors are shown, open view menu.</translation>
<message>
<location filename="resultsview.cpp" line="139"/>
<source>No errors found, nothing to save.</source>
<translation type="unfinished"></translation>
<translation>No errors found, nothing to save.</translation>
</message>
<message>
<location filename="resultsview.cpp" line="166"/>
<location filename="resultsview.cpp" line="176"/>
<source>Failed to save the report.</source>
<translation type="unfinished"></translation>
<translation>Failed to save the report.</translation>
</message>
<message>
<location filename="resultsview.ui" line="26"/>
@ -544,7 +549,7 @@ To toggle what kind of errors are shown, open view menu.</translation>
<message>
<location filename="settings.ui" line="14"/>
<source>Preferences</source>
<translation type="unfinished"></translation>
<translation>Preferences</translation>
</message>
<message>
<location filename="settings.ui" line="24"/>

View File

@ -18,7 +18,7 @@
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - Työkalu C/C++ koodin staattiseen analysointiin.</translation>
</message>
<message utf8="true">
<message>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation>Copyright (C) 2007-2009 Daniel Marjamäki ja cppcheck tiimi.</translation>
@ -261,7 +261,7 @@ kate -l(line) (file)
<message>
<location filename="main.ui" line="279"/>
<source>Show possible style errors</source>
<translation type="unfinished"></translation>
<translation>Näytä mahdolliset tyylivirheet</translation>
</message>
<message>
<location filename="main.ui" line="287"/>
@ -340,7 +340,7 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
<message>
<location filename="mainwindow.cpp" line="528"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
<translation>XML-tiedostot (*.xml);;Tekstitiedostot (*.txt);;CSV-tiedostot (*.csv)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="530"/>
@ -355,7 +355,7 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
<message>
<location filename="mainwindow.cpp" line="544"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
<translation>Tekstitiedostot (*.txt)</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="576"/>
@ -403,22 +403,27 @@ Lopeta tarkistus ennen ohjelman sammuttamista.</translation>
<source>Russian</source>
<translation>Venäjä</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<source>Polish</source>
<translation>Puola</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="88"/>
<location filename="translationhandler.cpp" line="90"/>
<source>Incorrect language specified!</source>
<translation>Virheellinen kieli valittu!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="98"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Käännöstiedostoa %1 ei löytynyt!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="104"/>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Käänöksen lataaminen kielelle %1 tiedostosta %2 epäonnistui</translation>
@ -488,7 +493,7 @@ Tarkista että ohjelman polku ja parametrit ovat oikeat.</translation>
<message>
<location filename="resultstree.cpp" line="613"/>
<source>possible error</source>
<translation type="unfinished"></translation>
<translation>mahdollinen virhe</translation>
</message>
<message>
<location filename="resultstree.cpp" line="617"/>
@ -498,7 +503,7 @@ Tarkista että ohjelman polku ja parametrit ovat oikeat.</translation>
<message>
<location filename="resultstree.cpp" line="621"/>
<source>possible style</source>
<translation type="unfinished"></translation>
<translation>tyylivirhe</translation>
</message>
<message>
<location filename="resultstree.cpp" line="625"/>
@ -529,13 +534,13 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
<message>
<location filename="resultsview.cpp" line="139"/>
<source>No errors found, nothing to save.</source>
<translation type="unfinished"></translation>
<translation>Virheitä ei löytynyt, ei mitään tallennettavaa.</translation>
</message>
<message>
<location filename="resultsview.cpp" line="166"/>
<location filename="resultsview.cpp" line="176"/>
<source>Failed to save the report.</source>
<translation type="unfinished"></translation>
<translation>Raportin tallentaminen epäonnistui.</translation>
</message>
<message>
<location filename="resultsview.ui" line="26"/>
@ -548,7 +553,7 @@ Määrittääksesi minkä tyyppisiä virheitä näytetään, avaa näkymä valik
<message>
<location filename="settings.ui" line="14"/>
<source>Preferences</source>
<translation type="unfinished"></translation>
<translation>Asetukset</translation>
</message>
<message>
<location filename="settings.ui" line="24"/>

607
gui/cppcheck_pl.ts Normal file
View File

@ -0,0 +1,607 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>About</name>
<message>
<location filename="about.ui" line="14"/>
<source>About Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="64"/>
<source>Version %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="71"/>
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="91"/>
<source>This program is licensed under the terms
of the GNU General Public License version 3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="about.ui" line="102"/>
<source>Visit Cppcheck homepage at %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ApplicationDialog</name>
<message>
<location filename="application.ui" line="14"/>
<source>Add an application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="application.ui" line="20"/>
<source>Here you can add applications that can open error files.
Specify a name for the application and the application to execute.
The following texts are replaced with appriproate values when application is executed:
(file) - Filename containing the error
(line) - Line number containing the error
(message) - Error message
(severity) - Error severity
Example opening a file with Kate and make Kate scroll to the correct line:
kate -l(line) (file)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="application.ui" line="39"/>
<source>Application&apos;s name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="application.ui" line="46"/>
<source>Application to execute</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="application.ui" line="59"/>
<source>Browse</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="applicationdialog.cpp" line="57"/>
<source>Executable files (*.exe);;All files(*.*)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="applicationdialog.cpp" line="60"/>
<source>Select viewer application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="applicationdialog.cpp" line="97"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="applicationdialog.cpp" line="98"/>
<source>You must specify a name and a path for the application!</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FileViewDialog</name>
<message>
<location filename="fileviewdialog.cpp" line="47"/>
<source>Could not find the file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="fileviewdialog.cpp" line="51"/>
<location filename="fileviewdialog.cpp" line="66"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="fileviewdialog.cpp" line="62"/>
<source>Could not read the file: %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="main.ui" line="26"/>
<location filename="mainwindow.cpp" line="220"/>
<location filename="mainwindow.cpp" line="471"/>
<location filename="mainwindow.cpp" line="574"/>
<location filename="mainwindow.cpp" line="592"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="77"/>
<source>&amp;File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="84"/>
<source>&amp;View</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="100"/>
<source>&amp;Language</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="105"/>
<source>&amp;Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="113"/>
<source>&amp;Check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="122"/>
<source>&amp;Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="136"/>
<source>Standard</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="154"/>
<source>&amp;License...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="159"/>
<source>A&amp;uthors...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="168"/>
<source>&amp;About...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="173"/>
<source>&amp;Files...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="176"/>
<source>Ctrl+F</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="185"/>
<source>&amp;Directory...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="188"/>
<source>Ctrl+D</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="197"/>
<source>&amp;Recheck files</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="200"/>
<source>Ctrl+R</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="209"/>
<source>&amp;Stop</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="212"/>
<source>Esc</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="221"/>
<source>&amp;Save results to file...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="224"/>
<source>Ctrl+S</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="229"/>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="238"/>
<source>&amp;Clear results</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="247"/>
<source>&amp;Preferences</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="255"/>
<source>Show possible false positives</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="263"/>
<source>Show security errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="271"/>
<source>Show style errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="279"/>
<source>Show possible style errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="287"/>
<source>Show common errors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="292"/>
<source>&amp;Check all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="297"/>
<source>&amp;Uncheck all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="302"/>
<source>Collapse &amp;all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="307"/>
<source>&amp;Expand all</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.ui" line="315"/>
<source>&amp;Toolbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="221"/>
<source>No suitable files found to check!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="254"/>
<source>Select files to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="263"/>
<source>Select directory to check</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="467"/>
<source>Cannot exit while checking.
Stop the checking before exiting.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="513"/>
<source>License</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="520"/>
<source>Authors</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="528"/>
<source>XML files (*.xml);;Text files (*.txt);;CSV files (*.csv)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="530"/>
<source>Save the report file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="538"/>
<source>XML files (*.xml)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="544"/>
<source>Text files (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="576"/>
<source>Cppcheck - %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="593"/>
<source>Failed to change the language:
%1
</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="31"/>
<source>English</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="32"/>
<source>Finnish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="33"/>
<source>Swedish</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="34"/>
<source>German</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="35"/>
<source>Russian</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<source>Polish</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="90"/>
<source>Incorrect language specified!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="100"/>
<source>Language file %1 not found!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to load translation for language %1 from file %2</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResultsTree</name>
<message>
<location filename="resultstree.cpp" line="39"/>
<location filename="resultstree.cpp" line="755"/>
<source>File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="39"/>
<location filename="resultstree.cpp" line="755"/>
<source>Severity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="39"/>
<location filename="resultstree.cpp" line="755"/>
<source>Line</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="39"/>
<location filename="resultstree.cpp" line="755"/>
<source>Message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="85"/>
<source>Undefined file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="388"/>
<source>Copy filename</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="389"/>
<source>Copy full path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="425"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="426"/>
<source>Configure the text file viewer program in Cppcheck preferences/Applications.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="471"/>
<source>Could not start %1
Please check the application path and parameters are correct.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="613"/>
<source>possible error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="617"/>
<source>style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="621"/>
<source>possible style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultstree.cpp" line="625"/>
<source>error</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ResultsView</name>
<message>
<location filename="resultsview.cpp" line="79"/>
<location filename="resultsview.cpp" line="91"/>
<source>Cppcheck</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultsview.cpp" line="80"/>
<source>No errors found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultsview.cpp" line="88"/>
<source>Errors were found, but they are configured to be hidden.
To toggle what kind of errors are shown, open view menu.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultsview.cpp" line="139"/>
<source>No errors found, nothing to save.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultsview.cpp" line="166"/>
<location filename="resultsview.cpp" line="176"/>
<source>Failed to save the report.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="resultsview.ui" line="26"/>
<source>Results</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
<message>
<location filename="settings.ui" line="14"/>
<source>Preferences</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="24"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="34"/>
<source>Number of threads: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="46"/>
<source>Check all #ifdef configurations</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="53"/>
<source>Show full path of files</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="60"/>
<source>Show &quot;No errors found&quot; message when no errors found</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="83"/>
<source>Applications</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="92"/>
<source>Add application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="99"/>
<source>Delete application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="106"/>
<source>Modify application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="113"/>
<source>Set as default application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="121"/>
<source>Reports</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="127"/>
<source>Save all errors when creating report</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settings.ui" line="134"/>
<source>Save full path to files in reports</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="settingsdialog.cpp" line="132"/>
<source>Add a new application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="settingsdialog.cpp" line="165"/>
<source>Modify an application</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -18,7 +18,7 @@
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - программа для статического анализа кода на языках С/С++</translation>
</message>
<message utf8="true">
<message>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<oldsource>Copyright (C) 2007-2009 Daniel Marjam??ki and cppcheck team.</oldsource>
@ -390,22 +390,27 @@ Stop the checking before exiting.</source>
<source>Russian</source>
<translation>Русский</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<source>Polish</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="88"/>
<location filename="translationhandler.cpp" line="90"/>
<source>Incorrect language specified!</source>
<translation>Выбран неверный язык!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="98"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="translationhandler.cpp" line="104"/>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Ошибка загрузки переводов для языка %1 из файла %2</translation>

View File

@ -18,7 +18,7 @@
<source>Cppcheck - A tool for static C/C++ code analysis.</source>
<translation>Cppcheck - Ett verktyg för statisk analys av C/C++ kod.</translation>
</message>
<message utf8="true">
<message>
<location filename="about.ui" line="81"/>
<source>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</source>
<translation>Copyright (C) 2007-2009 Daniel Marjamäki and cppcheck team.</translation>
@ -400,22 +400,27 @@ Stop the checking before exiting.</source>
<source>Russian</source>
<translation>Ryska</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="36"/>
<source>Polish</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="translationhandler.cpp" line="88"/>
<location filename="translationhandler.cpp" line="90"/>
<source>Incorrect language specified!</source>
<translation>valt språk är ej korrekt!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="98"/>
<location filename="translationhandler.cpp" line="100"/>
<source>Language file %1 not found!</source>
<oldsource>Language file %1.qm not found!</oldsource>
<translation>Språk filen %1 hittades ej!</translation>
</message>
<message>
<location filename="translationhandler.cpp" line="104"/>
<location filename="translationhandler.cpp" line="106"/>
<source>Failed to load translation for language %1 from file %2</source>
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
<translation>Misslyckades med att ladda översättningen för %1 från filen %2</translation>

View File

@ -23,6 +23,7 @@ TRANSLATIONS = cppcheck_fi.ts \
cppcheck_en.ts \
cppcheck_se.ts \
cppcheck_de.ts \
cppcheck_pl.ts \
cppcheck_ru.ts
# Windows-specific options

View File

@ -32,13 +32,15 @@ TranslationHandler::TranslationHandler(QObject *parent) :
<< QT_TRANSLATE_NOOP("MainWindow", "Finnish")
<< QT_TRANSLATE_NOOP("MainWindow", "Swedish")
<< QT_TRANSLATE_NOOP("MainWindow", "German")
<< QT_TRANSLATE_NOOP("MainWindow", "Russian");
<< QT_TRANSLATE_NOOP("MainWindow", "Russian")
<< QT_TRANSLATE_NOOP("MainWindow", "Polish");
mFiles << "cppcheck_en"
<< "cppcheck_fi"
<< "cppcheck_se"
<< "cppcheck_de"
<< "cppcheck_ru";
<< "cppcheck_ru"
<< "cppcheck_pl";
//Load english as a fallback language
QTranslator *english = new QTranslator();