From 776104a9fa9565f82473f22acf351b5939916c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 20 Oct 2024 19:15:01 +0200 Subject: [PATCH] Add missing English localization to the NSIS installer Add missing English localization to the NSIS installer and rename the "zh" translation file to "zh_CN" due to Taiwan having it's own language variant (available as QT core translation). The existence (copy during install) of the "en" translation file should hopefully fix #569. --- gpxsee.pro | 2 +- lang/{gpxsee_zh.ts => gpxsee_zh_CN.ts} | 0 pkg/windows/gpxsee64.nsi | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) rename lang/{gpxsee_zh.ts => gpxsee_zh_CN.ts} (100%) diff --git a/gpxsee.pro b/gpxsee.pro index 63faf0af..a0167230 100644 --- a/gpxsee.pro +++ b/gpxsee.pro @@ -494,7 +494,7 @@ TRANSLATIONS = lang/gpxsee_en.ts \ lang/gpxsee_hu.ts \ lang/gpxsee_it.ts \ lang/gpxsee_eo.ts \ - lang/gpxsee_zh.ts \ + lang/gpxsee_zh_CN.ts \ lang/gpxsee_ca.ts \ lang/gpxsee_ko.ts diff --git a/lang/gpxsee_zh.ts b/lang/gpxsee_zh_CN.ts similarity index 100% rename from lang/gpxsee_zh.ts rename to lang/gpxsee_zh_CN.ts diff --git a/pkg/windows/gpxsee64.nsi b/pkg/windows/gpxsee64.nsi index ea9ea99c..70f83dd6 100644 --- a/pkg/windows/gpxsee64.nsi +++ b/pkg/windows/gpxsee64.nsi @@ -342,9 +342,10 @@ SectionEnd SectionGroup "Localization" SEC_LOCALIZATION !insertmacro LOCALIZATION "Catalan" "ca" - !insertmacro LOCALIZATION "Chinese (Simplified)" "zh" + !insertmacro LOCALIZATION "Chinese (Simplified)" "zh_CN" !insertmacro LOCALIZATION "Czech" "cs" !insertmacro LOCALIZATION "Danish" "da" + !insertmacro LOCALIZATION "English" "en" !insertmacro LOCALIZATION "Esperanto" "eo" !insertmacro LOCALIZATION "Finnish" "fi" !insertmacro LOCALIZATION "French" "fr"