[ekiga/gnome-2-26] [windows] Fix language selection during installation



commit c3fd6ef1c0e3bfd5be8ab125d9289b7e51eb7a5a
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 8e931f9..1d86448 100644
--- a/win32/nsisinstaller/ekiga.nsi
+++ b/win32/nsisinstaller/ekiga.nsi
@@ -503,11 +503,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]