summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-12-14 16:33:28 +0000
committerMichael Meeks <michael.meeks@novell.com>2010-12-14 16:35:11 +0000
commit1ad80c04caf67e38531fa0d1ebc67b2fe93924c8 (patch)
tree2e8f39bf699a66ca907825fff674e6ab1b08fbb6
parenta38b8231241285c1d26474f53ab81bfdb096fefd (diff)
Use BrOffice branding on Windows keyed to locale/country-code not exename
-rw-r--r--setup_native/source/win32/nsis/downloadtemplate.nsi7
1 files changed, 3 insertions, 4 deletions
diff --git a/setup_native/source/win32/nsis/downloadtemplate.nsi b/setup_native/source/win32/nsis/downloadtemplate.nsi
index 30ee215038af..226c3cacf5ba 100644
--- a/setup_native/source/win32/nsis/downloadtemplate.nsi
+++ b/setup_native/source/win32/nsis/downloadtemplate.nsi
@@ -278,10 +278,9 @@ Function SetupBranding
File "/oname=$PLUGINSDIR\modern-wizard.bmp" WELCOMEBMPPLACEHOLDER
File "/oname=$PLUGINSDIR\modern-wizard-br.bmp" WELCOMEBMPPLACEHOLDER_BR
- ; use broffice specific branding if executable name begins BrOffice
- StrCpy $0 $EXEFILE 8
-; messageBox MB_OK "ExeName: $0 - chopped $EXEFILE"
- StrCmp $0 "BrOffice" BrOfficeSplash DefaultSplash
+ ; use broffice specific branding if we are in Brazil
+; messageBox MB_OK "Language: $LANGUAGE"
+ StrCmp $LANGUAGE "1046" BrOfficeSplash DefaultSplash
DefaultSplash:
; messageBox MB_OK "LibreOffice"
SetBrandingImage /IMGID=1046 "$PLUGINSDIR\modern-header.bmp"