GUI Add Japanese translation.

The translation was contributed by cjohnk7@sourceforge.net.
Ticket #2276.
This commit is contained in:
Kimmo Varis 2010-12-08 11:16:48 +02:00
parent 383df58e7e
commit 675cb5b5a2
3 changed files with 1175 additions and 3 deletions

1169
gui/cppcheck_ja.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,8 @@ TRANSLATIONS = cppcheck_fi.ts \
cppcheck_se.ts \
cppcheck_de.ts \
cppcheck_pl.ts \
cppcheck_ru.ts
cppcheck_ru.ts \
cppcheck_ja.ts
# Windows-specific options
CONFIG += embed_manifest_exe

View File

@ -35,7 +35,8 @@ TranslationHandler::TranslationHandler(QObject *parent) :
<< QT_TRANSLATE_NOOP("MainWindow", "Swedish")
<< QT_TRANSLATE_NOOP("MainWindow", "German")
<< QT_TRANSLATE_NOOP("MainWindow", "Russian")
<< QT_TRANSLATE_NOOP("MainWindow", "Polish");
<< QT_TRANSLATE_NOOP("MainWindow", "Polish")
<< QT_TRANSLATE_NOOP("MainWindow", "Japanease");
mFiles << "cppcheck_en"
<< "cppcheck_nl"
@ -43,7 +44,8 @@ TranslationHandler::TranslationHandler(QObject *parent) :
<< "cppcheck_se"
<< "cppcheck_de"
<< "cppcheck_ru"
<< "cppcheck_pl";
<< "cppcheck_pl"
<< "cppcheck_ja";
//Load english as a fallback language
QTranslator *english = new QTranslator();