Reference/LicenseLangString: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
Line 5: Line 5:
Does the same as [[Reference/LangString|LangString]] only it loads the string from a text/RTF file and defines a special [[Reference/LangString|LangString]] that can be used only by [[Reference/LicenseData|LicenseData]].
Does the same as [[Reference/LangString|LangString]] only it loads the string from a text/RTF file and defines a special [[Reference/LangString|LangString]] that can be used only by [[Reference/LicenseData|LicenseData]].


LicenseLangString license ${LANG_ENGLISH} license-english.txt
<highlight-nsis>LicenseLangString license ${LANG_ENGLISH} license-english.txt
LicenseLangString license ${LANG_FRENCH} license-french.txt
LicenseLangString license ${LANG_FRENCH} license-french.txt
LicenseLangString license ${LANG_GERMAN} license-german.txt
LicenseLangString license ${LANG_GERMAN} license-german.txt
LicenseData $(license)
LicenseData $(license)</highlight-nsis>

Revision as of 21:57, 29 November 2011

LicenseLangString

name language_id license_path

Does the same as LangString only it loads the string from a text/RTF file and defines a special LangString that can be used only by LicenseData.

LicenseLangString license ${LANG_ENGLISH} license-english.txt
LicenseLangString license ${LANG_FRENCH} license-french.txt
LicenseLangString license ${LANG_GERMAN} license-german.txt
LicenseData $(license)