From db4a436ff568c31a38dc0faf03ffb6402b952fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 8 Feb 2018 19:50:15 +0100 Subject: [PATCH] Added the localization files into the bundle --- gpxsee.pro | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gpxsee.pro b/gpxsee.pro index 7914d7e5..607f70d2 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -213,18 +213,24 @@ TRANSLATIONS = lang/gpxsee_cs.ts \ macx { ICON = icons/gpxsee.icns QMAKE_INFO_PLIST = Info.plist - APP_RESOURCES.files = icons/gpx.icns \ + LOCALE.path = Contents/Resources/locale + LOCALE.files = lang/gpxsee_cs.qm \ + lang/gpxsee_de.qm \ + lang/gpxsee_fi.qm \ + lang/gpxsee_fr.qm \ + lang/gpxsee_ru.qm \ + lang/gpxsee_sv.qm + APP_RESOURCES.files = pkg/maps \ icons/tcx.icns \ icons/kml.icns \ icons/fit.icns \ icons/igc.icns \ icons/nmea.icns \ - pkg/maps \ pkg/ellipsoids.csv \ pkg/gcs.csv \ pkg/pcs.csv APP_RESOURCES.path = Contents/Resources - QMAKE_BUNDLE_DATA += APP_RESOURCES + QMAKE_BUNDLE_DATA += APP_RESOURCES LOCALE } win32 { RC_ICONS = icons/gpxsee.ico \