GUI Add Japanese translation.
The translation was contributed by cjohnk7@sourceforge.net. Ticket #2276.
This commit is contained in:
parent
383df58e7e
commit
675cb5b5a2
File diff suppressed because it is too large
Load Diff
|
@ -39,7 +39,8 @@ TRANSLATIONS = cppcheck_fi.ts \
|
||||||
cppcheck_se.ts \
|
cppcheck_se.ts \
|
||||||
cppcheck_de.ts \
|
cppcheck_de.ts \
|
||||||
cppcheck_pl.ts \
|
cppcheck_pl.ts \
|
||||||
cppcheck_ru.ts
|
cppcheck_ru.ts \
|
||||||
|
cppcheck_ja.ts
|
||||||
|
|
||||||
# Windows-specific options
|
# Windows-specific options
|
||||||
CONFIG += embed_manifest_exe
|
CONFIG += embed_manifest_exe
|
||||||
|
|
|
@ -35,7 +35,8 @@ TranslationHandler::TranslationHandler(QObject *parent) :
|
||||||
<< QT_TRANSLATE_NOOP("MainWindow", "Swedish")
|
<< QT_TRANSLATE_NOOP("MainWindow", "Swedish")
|
||||||
<< QT_TRANSLATE_NOOP("MainWindow", "German")
|
<< QT_TRANSLATE_NOOP("MainWindow", "German")
|
||||||
<< QT_TRANSLATE_NOOP("MainWindow", "Russian")
|
<< QT_TRANSLATE_NOOP("MainWindow", "Russian")
|
||||||
<< QT_TRANSLATE_NOOP("MainWindow", "Polish");
|
<< QT_TRANSLATE_NOOP("MainWindow", "Polish")
|
||||||
|
<< QT_TRANSLATE_NOOP("MainWindow", "Japanease");
|
||||||
|
|
||||||
mFiles << "cppcheck_en"
|
mFiles << "cppcheck_en"
|
||||||
<< "cppcheck_nl"
|
<< "cppcheck_nl"
|
||||||
|
@ -43,7 +44,8 @@ TranslationHandler::TranslationHandler(QObject *parent) :
|
||||||
<< "cppcheck_se"
|
<< "cppcheck_se"
|
||||||
<< "cppcheck_de"
|
<< "cppcheck_de"
|
||||||
<< "cppcheck_ru"
|
<< "cppcheck_ru"
|
||||||
<< "cppcheck_pl";
|
<< "cppcheck_pl"
|
||||||
|
<< "cppcheck_ja";
|
||||||
|
|
||||||
//Load english as a fallback language
|
//Load english as a fallback language
|
||||||
QTranslator *english = new QTranslator();
|
QTranslator *english = new QTranslator();
|
||||||
|
|
Loading…
Reference in New Issue