Update the chinese translation.

This commit is contained in:
He Yuqi 2012-12-19 00:23:41 +08:00
parent d89a4cfd8a
commit df2523f956
3 changed files with 195 additions and 199 deletions

File diff suppressed because it is too large Load Diff

View File

@ -57,7 +57,8 @@ TRANSLATIONS = cppcheck_de.ts \
cppcheck_nl.ts \
cppcheck_ru.ts \
cppcheck_sr.ts \
cppcheck_sv.ts
cppcheck_sv.ts \
cppcheck_zh_CN.ts
# Windows-specific options
CONFIG += embed_manifest_exe

View File

@ -29,6 +29,7 @@ TranslationHandler::TranslationHandler(QObject *parent) :
{
// Add our available languages
// 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", "English"), "cppcheck_en");
AddTranslation(QT_TRANSLATE_NOOP("MainWindow", "Finnish"), "cppcheck_fi");