Merge pull request #125 from heyuqi/zhcn-trans
GUI add translation for Simplified Chinese.
This commit is contained in:
commit
3bd08552ab
File diff suppressed because it is too large
Load Diff
|
@ -57,7 +57,8 @@ TRANSLATIONS = cppcheck_de.ts \
|
||||||
cppcheck_nl.ts \
|
cppcheck_nl.ts \
|
||||||
cppcheck_ru.ts \
|
cppcheck_ru.ts \
|
||||||
cppcheck_sr.ts \
|
cppcheck_sr.ts \
|
||||||
cppcheck_sv.ts
|
cppcheck_sv.ts \
|
||||||
|
cppcheck_zh_CN.ts
|
||||||
|
|
||||||
# Windows-specific options
|
# Windows-specific options
|
||||||
CONFIG += embed_manifest_exe
|
CONFIG += embed_manifest_exe
|
||||||
|
|
|
@ -29,6 +29,7 @@ TranslationHandler::TranslationHandler(QObject *parent) :
|
||||||
{
|
{
|
||||||
// Add our available languages
|
// Add our available languages
|
||||||
// Keep this list sorted
|
// Keep this list sorted
|
||||||
|
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Chinese (Simplified)"), "cppcheck_zh_CN");
|
||||||
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Dutch"), "cppcheck_nl");
|
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Dutch"), "cppcheck_nl");
|
||||||
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "English"), "cppcheck_en");
|
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "English"), "cppcheck_en");
|
||||||
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Finnish"), "cppcheck_fi");
|
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Finnish"), "cppcheck_fi");
|
||||||
|
|
Loading…
Reference in New Issue