updated langdll calling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1369 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4d7bb39eee
commit
b4d2cbc83b
1 changed files with 21 additions and 4 deletions
|
@ -138,10 +138,27 @@ SectionEnd
|
|||
|
||||
Function .onInit
|
||||
|
||||
LangDLL::LangDialog "Installer Language" "Please select a language." "7F" \
|
||||
"English" "${LANG_ENGLISH}" "French" "${LANG_FRENCH}" "German" "${LANG_GERMAN}" \
|
||||
"Dutch" "${LANG_DUTCH}" "Greek" "${LANG_GREEK}" "Simplified Chinese" "${LANG_SIMPCHINESE}" \
|
||||
"Traditional Chinese" "${LANG_TRADCHINESE}" "8" "Tahoma"
|
||||
Push Tahoma
|
||||
Push 8
|
||||
|
||||
Push ${LANG_ENGLISH}
|
||||
Push English
|
||||
Push ${LANG_FRENCH}
|
||||
Push French
|
||||
Push ${LANG_GERMAN}
|
||||
Push German
|
||||
Push ${LANG_DUTCH}
|
||||
Push Dutch
|
||||
Push ${LANG_GREEK}
|
||||
Push Greek
|
||||
Push ${LANG_TRADCHINESE}
|
||||
Push "Traditional Chinese"
|
||||
Push ${LANG_SIMPCHINESE}
|
||||
Push "Simplified Chinese"
|
||||
|
||||
Push 7F ; 7 is the number of languages, F = change font
|
||||
|
||||
LangDLL::LangDialog "Installer Language" "Please select a language."
|
||||
|
||||
Pop $LANGUAGE
|
||||
StrCmp $LANGUAGE "cancel" 0 +2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue