From 8ff21b5b375bf6fd209846c07ff4ca05ab979baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 17 Apr 2018 22:52:47 +0200 Subject: [PATCH] Added the Polish translation into the builds --- gpxsee.pro | 6 ++++-- pkg/gpxsee.nsi | 5 +++++ pkg/gpxsee64.nsi | 7 ++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gpxsee.pro b/gpxsee.pro index 94fd28cb..dd3b048f 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -226,7 +226,8 @@ TRANSLATIONS = lang/gpxsee_cs.ts \ lang/gpxsee_de.ts \ lang/gpxsee_ru.ts \ lang/gpxsee_fi.ts \ - lang/gpxsee_fr.ts + lang/gpxsee_fr.ts \ + lang/gpxsee_pl.ts macx { ICON = icons/gpxsee.icns QMAKE_INFO_PLIST = pkg/Info.plist @@ -236,7 +237,8 @@ macx { lang/gpxsee_fi.qm \ lang/gpxsee_fr.qm \ lang/gpxsee_ru.qm \ - lang/gpxsee_sv.qm + lang/gpxsee_sv.qm \ + lang/gpxsee_pl.qm CSV.path = Contents/Resources CSV.files = pkg/csv MAPS.path = Contents/Resources diff --git a/pkg/gpxsee.nsi b/pkg/gpxsee.nsi index ab26ae94..f5276fcc 100644 --- a/pkg/gpxsee.nsi +++ b/pkg/gpxsee.nsi @@ -230,6 +230,11 @@ SectionGroup "Localization" SEC_LOCALIZATION File /oname=translations\gpxsee_de.qm translations\gpxsee_de.qm File /oname=translations\qt_de.qm translations\qt_de.qm SectionEnd + Section "Polish" + CreateDirectory "$INSTDIR\translations" + File /oname=translations\gpxsee_pl.qm translations\gpxsee_pl.qm + File /oname=translations\qt_pl.qm translations\qt_pl.qm + SectionEnd Section "Russian" CreateDirectory "$INSTDIR\translations" File /oname=translations\gpxsee_ru.qm translations\gpxsee_ru.qm diff --git a/pkg/gpxsee64.nsi b/pkg/gpxsee64.nsi index 1bfd66d1..db1396fa 100644 --- a/pkg/gpxsee64.nsi +++ b/pkg/gpxsee64.nsi @@ -232,6 +232,11 @@ SectionGroup "Localization" SEC_LOCALIZATION File /oname=translations\gpxsee_de.qm translations\gpxsee_de.qm File /oname=translations\qt_de.qm translations\qt_de.qm SectionEnd + Section "Polish" + CreateDirectory "$INSTDIR\translations" + File /oname=translations\gpxsee_pl.qm translations\gpxsee_pl.qm + File /oname=translations\qt_pl.qm translations\qt_pl.qm + SectionEnd Section "Russian" CreateDirectory "$INSTDIR\translations" File /oname=translations\gpxsee_ru.qm translations\gpxsee_ru.qm @@ -312,4 +317,4 @@ LangString DESC_LOCALIZATION ${LANG_ENGLISH} \ !insertmacro MUI_DESCRIPTION_TEXT ${SEC_MSVC} $(DESC_MSVC) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_APP} $(DESC_APP) !insertmacro MUI_DESCRIPTION_TEXT ${SEC_LOCALIZATION} $(DESC_LOCALIZATION) -!insertmacro MUI_FUNCTION_DESCRIPTION_END \ No newline at end of file +!insertmacro MUI_FUNCTION_DESCRIPTION_END