[geany/geany-plugins] 7512c1: Windows installer: Install dependency translations only if selected

Enrico Tröger git-noreply at xxxxx
Mon Apr 22 20:36:34 UTC 2019


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Mon, 22 Apr 2019 20:36:34 UTC
Commit:      7512c13434089318f564d5b9f25d466929e366b1
             https://github.com/geany/geany-plugins/commit/7512c13434089318f564d5b9f25d466929e366b1

Log Message:
-----------
Windows installer: Install dependency translations only if selected

Related to https://github.com/geany/geany/issues/2090.


Modified Paths:
--------------
    build/geany-plugins.nsi

Modified: build/geany-plugins.nsi
5 lines changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -119,6 +119,9 @@ Section "Language Files" SEC02
 	SectionIn 1
 	SetOutPath "$INSTDIR\share\locale"
 	File /r "${RESOURCEDIR}\share\locale\*"
+	; dependency translations
+	SetOutPath "$INSTDIR\share\locale"
+	File /r "contrib\share\locale\*"
 SectionEnd
 
 Section "Documentation" SEC03
@@ -132,7 +135,7 @@ Section "Dependencies" SEC04
 	SectionIn 1
 	SetOverwrite ifnewer
 	SetOutPath "$INSTDIR"
-	File /r "contrib\"
+	File /r /x "*.mo" "contrib\"
 SectionEnd
 
 Section -Post



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list