Archive: multiple MUI_LANGUAGE again <grpmf>


multiple MUI_LANGUAGE again <grpmf>
I am a little bit out of date :(

code:

!define MUI_ABORTWARNING_TEXT "Sind Sie sicher, dass Sie ${PRODUCT} abbrechen wollen?"
!insertmacro MUI_LANGUAGE "German"

!define MUI_ABORTWARNING_TEXT "Are you sure you want to quit ${PRODUCT}?"
!insertmacro MUI_LANGUAGE "English"

!define MUI_ABORTWARNING_TEXT "Êtes-vous sûr de vouloir quitter ${PRODUCT} ?"
!insertmacro MUI_LANGUAGE "French"

Message:
!define: "MUI_ABORTWARNING_TEXT" already defined!

something with the language string (langstring) or so?


You should always use language strings:

!define MUI_ABORTWARNING_TEXT "$(MYLANGSTRINGNAME)"

See the NSIS Users Manual for details about LangString.

MUI_ABORTWARNING_TEXT is an interface setting, so it should be set before the pages.


yes - i remember something about this...

LangString message ${LANG_GERMAN} "message"

huh that was weeks ago. i put that message list on my to-do-list but did not executed it yet.