From d3156058a07507328e524ae9b0509fd95ec98f72 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 9 Jan 2003 12:49:59 +0000 Subject: [PATCH] LangStrings update and other stuff that didn't get uploaded git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2046 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/langs.but | 4 +++- Docs/src/var.but | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Docs/src/langs.but b/Docs/src/langs.but index da791254..e19c6d74 100644 --- a/Docs/src/langs.but +++ b/Docs/src/langs.but @@ -12,7 +12,9 @@ For ease of use LoadLanguageFile defines $\{LANG_language_file\} as the language \c [un.]name language_id string -Defines a multilingual string and spares the comparing of $LANGUAGE to every possible string you have. This also allows you to make section names and install types multilingual. To use in the uninstaller make sure you define the string with the un. prefix before its name. When you used an uninstaller string you don't need to use the un. prefix, you only have to use it when you define the string. +Defines a multilingual string and spares the comparing of $LANGUAGE to every possible string you have. This also allows you to make section names and install types multilingual. To use in the uninstaller make sure you define the string with the un. prefix before its name. + +LangStrings can you only be used on their own. You can't include them in other strings. "look at my $(string)! isn't it beautiful?" will be seen exactly as written, $(string) will not be expended. For example, instead of: diff --git a/Docs/src/var.but b/Docs/src/var.but index 66504f7b..a71805a2 100644 --- a/Docs/src/var.but +++ b/Docs/src/var.but @@ -1,6 +1,6 @@ \H{var} Variables -\S1{var1} Modifiable variables used in Instructions +\S1{var1} Modifiable Variables Used in Instructions \e{$INSTDIR} @@ -28,7 +28,7 @@ The command line of the installer. The format of the command line can be one of The identifier of the language that is currently used. For example, English is 1033. You can change this variable in .onInit. -\S1{var2} Constant Variables used in Instructions and InstallDir +\S1{var2} Constant Variables Used in Instructions and InstallDir \e{$PROGRAMFILES} @@ -86,7 +86,7 @@ The path to a temporary folder created upon the first usage of a plugin or a cal Use to represent $. -\S1{var3} Variables used Strings +\S1{var3} Variables Used in Strings \e{$\\r}