From 7434d6e771d2a37bce3082354c703ef91f0314d9 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Tue, 21 Aug 2012 11:23:59 +0200 Subject: [PATCH] added a new language Malagasy --- Sankore_3.1.pro | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro index 0815e394..d6530001 100644 --- a/Sankore_3.1.pro +++ b/Sankore_3.1.pro @@ -341,10 +341,17 @@ macx { QMAKE_BUNDLE_DATA += TRANSLATION_tr } exists(resources/i18n/sankore_cs.qm) { - TRANSLATION_cs.files = resources/i18n/sankore_cs.qm \ - resources/i18n/Localizable.strings - TRANSLATION_cs.path = "$$RESOURCES_DIR/cs.lproj" - QMAKE_BUNDLE_DATA += TRANSLATION_cs + translation_cs.files = resources/i18n/sankore_cs.qm \ + resources/i18n/localizable.strings + translation_cs.path = "$$resources_dir/cs.lproj" + qmake_bundle_data += translation_cs + } + + exists(resources/i18n/sankore_mg.qm) { + translation_mg.files = resources/i18n/sankore_mg.qm \ + resources/i18n/localizable.strings + translation_mg.path = "$$resources_dir/mg.lproj" + qmake_bundle_data += translation_mg } QMAKE_BUNDLE_DATA += UB_ETC \ @@ -413,7 +420,8 @@ TRANSLATIONS = resources/i18n/sankore_en.ts \ resources/i18n/sankore_ca.ts \ resources/i18n/sankore_el.ts \ resources/i18n/sankore_tr.ts \ - resources/i18n/sankore_cs.ts + resources/i18n/sankore_cs.ts \ + resources/i18n/sankore_mg.ts INSTALLS = UB_ETC \ UB_I18N \