From 23a730acb053b5dfb212a6a5336219e60c6fe913 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Tue, 20 Nov 2012 09:16:54 +0100 Subject: [PATCH] added traditional and simplified Chinese on language list --- Sankore_3.1.pro | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro index c4c06a65..c7aaef80 100644 --- a/Sankore_3.1.pro +++ b/Sankore_3.1.pro @@ -280,6 +280,18 @@ macx { TRANSLATION_zh.path = "$$RESOURCES_DIR/zh.lproj" QMAKE_BUNDLE_DATA += TRANSLATION_zh } + exists(resources/i18n/sankore_zh_CN.qm) { + TRANSLATION_zh_CN.files = resources/i18n/sankore_zh_CN.qm \ + resources/i18n/Localizable.strings + TRANSLATION_zh_CN.path = "$$RESOURCES_DIR/zh_CN.lproj" + QMAKE_BUNDLE_DATA += TRANSLATION_zh_CN + } + exists(resources/i18n/sankore_zh_TW.qm) { + TRANSLATION_zh_TW.files = resources/i18n/sankore_zh_TW.qm \ + resources/i18n/Localizable.strings + TRANSLATION_zh_TW.path = "$$RESOURCES_DIR/zh_TW.lproj" + QMAKE_BUNDLE_DATA += TRANSLATION_zh_TW + } exists(resources/i18n/sankore_ro.qm) { TRANSLATION_ro.files = resources/i18n/sankore_ro.qm \ resources/i18n/Localizable.strings @@ -404,6 +416,8 @@ TRANSLATIONS = resources/i18n/sankore_en.ts \ resources/i18n/sankore_ja.ts \ resources/i18n/sankore_ko.ts \ resources/i18n/sankore_zh.ts \ + resources/i18n/sankore_zh_CN.ts \ + resources/i18n/sankore_zh_TW.ts \ resources/i18n/sankore_ro.ts \ resources/i18n/sankore_ar.ts \ resources/i18n/sankore_iw.ts \