GUI: Add Spanish translation.

Patch to add loading Spanish translation to GUI.

Ticket #2545 (cppcheck translated in spanish language)
This commit is contained in:
Lauri Nurmi 2011-04-06 09:49:17 +03:00 committed by Kimmo Varis
parent c95ff88272
commit 8a4507cc55
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,8 @@ FORMS = about.ui \
settings.ui \
stats.ui
TRANSLATIONS = cppcheck_fi.ts \
TRANSLATIONS = cppcheck_es.ts \
cppcheck_fi.ts \
cppcheck_fr.ts \
cppcheck_nl.ts \
cppcheck_en.ts \

View File

@ -38,6 +38,7 @@ TranslationHandler::TranslationHandler(QObject *parent) :
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Polish"), "cppcheck_pl");
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Russian"), "cppcheck_ru");
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Serbian"), "cppcheck_sr");
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Spanish"), "cppcheck_es");
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Swedish"), "cppcheck_sv");
//Load English as a fallback language