Credits and multiple languages added

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1745 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-11-15 19:34:29 +00:00
parent 4e78a351d6
commit 44062037fb
3 changed files with 49 additions and 7 deletions

View file

@ -1,4 +1,4 @@
bin\halibut.exe config.but intro.but usage.but script.but functions.but callback.but var.but labels.but pages.but attributes.but compilerflags.but sections.but usection.but basic.but registry.but generalpurpose.but flowcontrol.but file.but misc.but string.but stack.but int.but reboot.but log.but sec.but ui.but plugin.but compiler.but defines.but history.but modernui.but usefulfunc.but license.but
bin\halibut.exe config.but intro.but usage.but script.but functions.but callback.but var.but labels.but pages.but attributes.but compilerflags.but sections.but usection.but basic.but registry.but generalpurpose.but flowcontrol.but file.but misc.but string.but stack.but int.but reboot.but log.but sec.but ui.but langs.but plugin.but compiler.but defines.but history.but modernui.but usefulfunc.but credits.but license.but
@copy Contents.html index.html
@copy index.html IndexPage.html
@copy *.html ..\\

View file

@ -69,3 +69,45 @@
\e{Nikos Adamamas}
\b The new modern icons
\H{translators} Translators
\e{asdfuae@msn.com} - Arabic
\e{Hendri Adriaens & Joost Verburg} - Dutch
\e{The French NSIS team <veekee@winampfr.com> - http://www.winampfr.com/nsis. Updated by Sébastien Delahaye <seb@delahaye.net>.} - French
\e{L.King} - German
\e{Makidis N. Mike} - Greek
\e{Amir Szekely (aka KiCHiK)} - Hebrew
\e{Soft-Trans Bt.} - Hungarian
\e{Orfanik - http://www.orfanik.hu} - Italian
\e{Dnanako} - Japanese
\e{dTomoyo <dtomoyo@empal.com> - http://user.chol.com/~ckgfx} - Korean
\e{Piotr Murawski & Rafa³ Lampe <ppiter@skrzynka.pl> - www.lomsel.prv.pl} - Polish
\e{DragonSoull <dragonsoull@madalien.tk> version 0.91} - Portuguese
\e{Layout do Brasil www.layoutdobrasil.com} - PortugueseBR
\e{Sergey `Timon` Kusnetsov <tmn@hotbox.ru>} - Russian
\e{Kii Ali <kiiali@cpatch.org>} - SimpChinese
\e{trace} - Slovak
\e{MoNKi} - Spanish
\e{Peter Gustafsson <sm5tri@passagen.se>} - Swedish
\e{Kii Ali <kiiali@cpatch.org>} - TradChinese
\e{Yuri Holubow, Our Soft <http://www.ns.lviv.ua>} - Ukrainian

View file

@ -1,10 +1,10 @@
\C{langs} Multiple Languages
\S0{langs} Multiple Languages
As of version 2 NSIS fully supports multiple languages. An installer can have more than one language. Each string in the installer can be easily translated, and so can script strings such as messages in a message box.
For an example of usage see \W{../Examples/languages.nsi}{languages.nsi}.
\H{langselection} Language Selection
\S1{langselection} Language Selection
When the installer starts up it goes through these stages to select the interface language:
@ -16,7 +16,7 @@ When the installer starts up it goes through these stages to select the interfac
\n If $LANGUAGE (\K{var1}) has changed during .onInit, go through steps 1 to 3 with the language inside $LANGUAGE instead of the default user language.
\H{loadlanguagefile} LoadLanguageFile
\S1{loadlanguagefile} LoadLanguageFile
\c language_file.nlf
@ -24,7 +24,7 @@ Loads a language file for the construction of a language table. All of the langu
For ease of use LoadLanguageFile defines $\{LANG_language_file\} as the language id. Use it with /LANG, LangString, LangStringUP, and LangDLL.
\H{/lang} The /LANG Parameter
\S1{/lang} The /LANG Parameter
All of the installer (and uninstaller) attributes setting commands have an optional parameter /LANG. This parameter tells the script compiler in which language table to put the specified string.
@ -47,7 +47,7 @@ If no /LANG parameter is specified, the compiler will assume the last used langu
\c ComponentText "English components text"
\c ComponentText /LANG=${LANG_GERMAN} "German components text"
\H{langstring} LangString and LangStringUP
\S1{langstring} LangString and LangStringUP
\c [un.]name language_id string
@ -72,7 +72,7 @@ Use:
\\<b\\>Note:\\</b\\> If you see squares between letters in the string when you use LangString use LangStringUP (LangString for unprocessed string such as InstType)
\H{langdll} LangDLL Plug-in
\S1{langdll} LangDLL Plug-in
The LangDLL plug-in lets you give the user the option to choose the language of the installer. Just push the language id ($\{LANG_*\}) and its name for every language in your installer, then the number of languages pushed, the caption, and the text that tells the user to select the language, call the plug-in function named LangDialog, pop the returned value into $LANGUAGE and you're good to go. If the user click on the cancel button the return value will be "cancel".