--- a/guifications-installer.nsi Thu Jul 26 01:19:28 2007 -0400
+++ b/guifications-installer.nsi Thu Jul 26 02:03:42 2007 -0400
@@ -165,6 +165,10 @@
+ SetOutPath "$INSTDIR\locale\${LANG}\LC_MESSAGES" + File /oname=guifications.mo po\${LANG}.gmo Call CheckUserInstallRights
@@ -217,36 +221,31 @@
File "themes\Penguins\penguin.png"
; translations - if there is a way to automate this, i can't find it
- SetOutPath "$INSTDIR\locale\de\LC_MESSAGES"
- File /oname=guifications.mo po\de.gmo
- SetOutPath "$INSTDIR\locale\en_AU\LC_MESSAGES"
- File /oname=guifications.mo po\en_AU.gmo
- SetOutPath "$INSTDIR\locale\en_GB\LC_MESSAGES"
- File /oname=guifications.mo po\en_GB.gmo
- SetOutPath "$INSTDIR\locale\es\LC_MESSAGES"
- File /oname=guifications.mo po\es.gmo
- SetOutPath "$INSTDIR\locale\fr\LC_MESSAGES"
- File /oname=guifications.mo po\fr.gmo
- SetOutPath "$INSTDIR\locale\he\LC_MESSAGES"
- File /oname=guifications.mo po\he.gmo
- SetOutPath "$INSTDIR\locale\it\LC_MESSAGES"
- File /oname=guifications.mo po\it.gmo
- SetOutPath "$INSTDIR\locale\ja\LC_MESSAGES"
- File /oname=guifications.mo po\ja.gmo
- SetOutPath "$INSTDIR\locale\nl\LC_MESSAGES"
- File /oname=guifications.mo po\nl.gmo
- SetOutPath "$INSTDIR\locale\no\LC_MESSAGES"
- 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\sv\LC_MESSAGES"
- File /oname=guifications.mo po\sv.gmo
- SetOutPath "$INSTDIR\locale\zh_CN\LC_MESSAGES"
- File /oname=guifications.mo po\zh_CN.gmo
- SetOutPath "$INSTDIR\locale\zh_TW\LC_MESSAGES"
- File /oname=guifications.mo po\zh_TW.gmo
+ !insertmacro INSTALL_GMO "bn" + !insertmacro INSTALL_GMO "cs" + !insertmacro INSTALL_GMO "de" + !insertmacro INSTALL_GMO "en_AU" + !insertmacro INSTALL_GMO "en_GB" + !insertmacro INSTALL_GMO "es" + !insertmacro INSTALL_GMO "fr" + !insertmacro INSTALL_GMO "gl" + !insertmacro INSTALL_GMO "he" + !insertmacro INSTALL_GMO "hu" + !insertmacro INSTALL_GMO "it" + !insertmacro INSTALL_GMO "ja" + !insertmacro INSTALL_GMO "mk" + !insertmacro INSTALL_GMO "nl" + !insertmacro INSTALL_GMO "no" + !insertmacro INSTALL_GMO "pt" + !insertmacro INSTALL_GMO "pt_BR" + !insertmacro INSTALL_GMO "ru" + !insertmacro INSTALL_GMO "sk" + !insertmacro INSTALL_GMO "sr" + !insertmacro INSTALL_GMO "sr@Latn" + !insertmacro INSTALL_GMO "sv" + !insertmacro INSTALL_GMO "uk" + !insertmacro INSTALL_GMO "zh_CN" + !insertmacro INSTALL_GMO "zh_TW" CreateShortCut "$SMPROGRAMS\Pidgin\${GUIFICATIONS_UNINSTALL_LNK}" "$INSTDIR\${GUIFICATIONS_UNINST_EXE}"
@@ -352,7 +351,6 @@
; Check that the selected installation dir contains pidgin.exe
Function .onVerifyInstDir
IfFileExists $INSTDIR\pidgin.exe +2