[ekiga] [windows] Fix language selection during installation



commit d2186e63c91200501c3e0b761a529838826e7d83
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed May 5 18:17:25 2010 +0200

    [windows] Fix language selection during installation
    
    Also hide the language selection dialog, unuseful now.

 win32/nsisinstaller/ekiga.nsi |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/win32/nsisinstaller/ekiga.nsi b/win32/nsisinstaller/ekiga.nsi
index 3038ba9..8e7d4d5 100644
--- a/win32/nsisinstaller/ekiga.nsi
+++ b/win32/nsisinstaller/ekiga.nsi
@@ -502,11 +502,13 @@ Function .onInit
 
   ${GetParameters} $R0
   ClearErrors
-  ${GetOptions} $R0 "/L=" $LANGUAGE
-  IfErrors 0 skip_lang
+  ; if you wish to start with another language, execute for example:
+  ; ekiga-setup.exe /L=1036
+  ${GetOptions} $R0 "/L=" $R1
+  IfErrors skip_lang
 
-  StrCpy $LANGUAGE ${LANG_ENGLISH}
-  !insertmacro MUI_LANGDLL_DISPLAY
+  StrCpy $LANGUAGE $R1
+  ;!insertmacro MUI_LANGDLL_DISPLAY  ; display the language selection dialog
 
   skip_lang:
     ; If install path was set on the command, use it.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]