--- a/guifications-installer.nsi Thu Jul 26 01:04:24 2007 -0400
+++ b/guifications-installer.nsi Thu Jul 26 01:19:28 2007 -0400
@@ -7,6 +7,11 @@
+!insertmacro GetParameters ;--------------------------------
Name "Pidgin Guifications ${GUIFICATIONS_VERSION}"
@@ -25,11 +30,13 @@
SetCompressor /SOLID lzma
+;Reserve files used in .onInit for faster start-up +!insertmacro MUI_RESERVEFILE_LANGDLL !define GUIFICATIONS_UNINST_EXE "pidgin-guifications-uninst.exe"
!define GUIFICATIONS_DLL "guifications.dll"
!define GUIFICATIONS_UNINSTALL_LNK "Guifications Uninstall.lnk"
;--------------------------------
!define GUIFICATIONS_REG_KEY "SOFTWARE\pidgin-guifications"
@@ -47,8 +54,11 @@
!define MUI_HEADERIMAGE_BITMAP "nsis\header.bmp"
!define MUI_CUSTOMFUNCTION_GUIINIT gf_checkPidginVersion
- !define MUI_ABORTWARNING
+ !define MUI_ABORTWARNING + !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" + !define MUI_LANGDLL_REGISTRY_KEY ${GUIFICATIONS_REG_KEY} + !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" ;--------------------------------
@@ -78,11 +88,13 @@
;--------------------------------
!insertmacro MUI_LANGUAGE "English"
+ !insertmacro MUI_LANGUAGE "French" !insertmacro MUI_LANGUAGE "Italian"
!insertmacro MUI_LANGUAGE "Spanish"
!include "nsis\translations\english.nsh"
+ !include "nsis\translations\french.nsh" !include "nsis\translations\italian.nsh"
!include "nsis\translations\spanish.nsh"
@@ -227,8 +239,8 @@
File /oname=guifications.mo po\no.gmo
SetOutPath "$INSTDIR\locale\pt\LC_MESSAGES"
File /oname=guifications.mo po\pt.gmo
- SetOutPath "$INSTDIR\locale\sk\LC_MESSAGES"
- file /oname=guifications.mo po\sk.gmo
+ SetOutPath "$INSTDIR\locale\sk\LC_MESSAGES" + File /oname=guifications.mo po\sk.gmo SetOutPath "$INSTDIR\locale\sv\LC_MESSAGES"
File /oname=guifications.mo po\sv.gmo
SetOutPath "$INSTDIR\locale\zh_CN\LC_MESSAGES"
@@ -319,6 +331,28 @@