LangDLL now accepts A too. A for auto count, it looks for the first empty string ("") pushed.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2260 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
84cf81e764
commit
496874b242
3 changed files with 22 additions and 39 deletions
|
@ -95,6 +95,7 @@ Section "Section number two"
|
|||
SectionEnd
|
||||
|
||||
Function .onInit
|
||||
Push ""
|
||||
Push ${LANG_ENGLISH}
|
||||
Push English
|
||||
Push ${LANG_DUTCH}
|
||||
|
@ -117,7 +118,8 @@ Function .onInit
|
|||
Push "Simplified Chinese"
|
||||
Push ${LANG_SLOVAK}
|
||||
Push Slovak
|
||||
Push 11 ; 11 is the number of languages
|
||||
Push A ; A means auto count languages
|
||||
; for the auto count to work the first empty push (Push "") must remain
|
||||
LangDLL::LangDialog "Installer Language" "Please select the language of the installer"
|
||||
|
||||
Pop $LANGUAGE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue