GUI: Initial addition of Serbian localization using clean English template.
This commit is contained in:
parent
9c81695c12
commit
ccaa5c2c17
|
@ -651,6 +651,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -726,18 +731,18 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation>Falsche Sprache angegeben!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<source>Language file %1 not found!</source>
|
||||
<oldsource>Language file %1.qm not found!</oldsource>
|
||||
<translation>Sprachdatei %1 nicht gefunden!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<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>Die Übersetzungen der Sprache %1 konnten nicht aus der Datei %2 geladen werden</translation>
|
||||
|
@ -1139,3 +1144,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -651,6 +651,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation>Serbian</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -726,18 +731,18 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation>Incorrect language specified!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<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="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<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>
|
||||
|
@ -1139,3 +1144,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -655,6 +655,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -730,18 +735,18 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation>Virheellinen kieli valittu!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<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="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<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>
|
||||
|
@ -1143,3 +1148,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -642,6 +642,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -717,17 +722,17 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<source>Language file %1 not found!</source>
|
||||
<translation>言語ファイル %1 が見つかりません!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<source>Failed to load translation for language %1 from file %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1164,3 +1169,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -651,6 +651,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -726,18 +731,18 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation>Ongeldige taal gespecifieerd!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<source>Language file %1 not found!</source>
|
||||
<oldsource>Language file %1.qm not found!</oldsource>
|
||||
<translation>Kon het taalbestand niet vinden: %1!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<source>Failed to load translation for language %1 from file %2</source>
|
||||
<oldsource>Failed to load translation for language %1 from file %2.qm</oldsource>
|
||||
<translation>Kon de vertaling voor taal %1 in bestand %2 niet laden</translation>
|
||||
|
@ -1139,3 +1144,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -633,6 +633,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -708,17 +713,17 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<source>Language file %1 not found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<source>Failed to load translation for language %1 from file %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1115,3 +1120,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -643,6 +643,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -718,18 +723,18 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation>Выбран неверный язык!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<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="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<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>
|
||||
|
@ -1128,3 +1133,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
|
@ -654,6 +654,11 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<source>Japanease</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="40"/>
|
||||
<source>Serbian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Project</name>
|
||||
|
@ -729,18 +734,18 @@ Do you want to stop the checking and exit Cppcheck?.</source>
|
|||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="95"/>
|
||||
<location filename="translationhandler.cpp" line="97"/>
|
||||
<source>Incorrect language specified!</source>
|
||||
<translation>valt språk är ej korrekt!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="translationhandler.cpp" line="105"/>
|
||||
<location filename="translationhandler.cpp" line="107"/>
|
||||
<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="111"/>
|
||||
<location filename="translationhandler.cpp" line="113"/>
|
||||
<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>
|
||||
|
@ -1142,3 +1147,4 @@ Statistics
|
|||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -40,7 +40,8 @@ TRANSLATIONS = cppcheck_fi.ts \
|
|||
cppcheck_de.ts \
|
||||
cppcheck_pl.ts \
|
||||
cppcheck_ru.ts \
|
||||
cppcheck_ja.ts
|
||||
cppcheck_ja.ts \
|
||||
cppcheck_sr.ts
|
||||
|
||||
# Windows-specific options
|
||||
CONFIG += embed_manifest_exe
|
||||
|
|
|
@ -36,7 +36,8 @@ TranslationHandler::TranslationHandler(QObject *parent) :
|
|||
<< QT_TRANSLATE_NOOP("MainWindow", "German")
|
||||
<< QT_TRANSLATE_NOOP("MainWindow", "Russian")
|
||||
<< QT_TRANSLATE_NOOP("MainWindow", "Polish")
|
||||
<< QT_TRANSLATE_NOOP("MainWindow", "Japanese");
|
||||
<< QT_TRANSLATE_NOOP("MainWindow", "Japanese")
|
||||
<< QT_TRANSLATE_NOOP("MainWindow", "Serbian");
|
||||
|
||||
mFiles << "cppcheck_en"
|
||||
<< "cppcheck_nl"
|
||||
|
@ -45,7 +46,8 @@ TranslationHandler::TranslationHandler(QObject *parent) :
|
|||
<< "cppcheck_de"
|
||||
<< "cppcheck_ru"
|
||||
<< "cppcheck_pl"
|
||||
<< "cppcheck_ja";
|
||||
<< "cppcheck_ja"
|
||||
<< "cppcheck_sr";
|
||||
|
||||
//Load english as a fallback language
|
||||
QTranslator *english = new QTranslator();
|
||||
|
@ -153,3 +155,4 @@ int TranslationHandler::SuggestLanguage() const
|
|||
|
||||
return index;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue