New Modern UI Text System
I have finished the new Modern UI text system. All texts can now be set for every individual page.
This means that you should not define strings before the MUI_LANGUAGE macros anymore, but use the new text settings. You can find 'em all in the Modern UI Readme.
For multilingual installers, use language strings.
All interface settings have to be set before inserting the page macros
Modern UI Updates
12 posts
Not sure what u mean...
i have
!define MUI_TEXT_ABORTWARNING "Sind Sie sicher, dass Sie ${PRODUCT} abbrechen wollen?"
!insertmacro MUI_LANGUAGE "German"
if i comment out first !define - my script is compiled - but abort-text is wrong.
how can i use now my own text there?
i have
!define MUI_TEXT_ABORTWARNING "Sind Sie sicher, dass Sie ${PRODUCT} abbrechen wollen?"
!insertmacro MUI_LANGUAGE "German"
if i comment out first !define - my script is compiled - but abort-text is wrong.
how can i use now my own text there?
As you can find in the Readme, you should define MUI_ABORTWARNING_TEXT. For multilingual installers, define a language string.
hmm
i found this:
but this doesn' work here (latest cvs 27/9/13:44)
I always get "MUI_TEXT_ABORTWARNING" (not the var - the text in it)
language is german.
Code:
!define MUI_ABORTWARNING_TEXTG "Sind Sie sicher, dass Sie ${PRODUCT} abbrechen wollen?"
!insertmacro MUI_LANGUAGE "German"
###
OMG - i found it 🙄
--> MUI_ABORTWARNING_TEXTG
strip that "G" and all is fine.
i am sitting now for hours on this code and diddn't get it. 🧟
THX
i found this:
in system.nsh (MUI)!macro MUI_ABORTWARNING
!ifdef MUI_ABORTWARNING_TEXT
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_ABORTWARNING_TEXT}" IDYES mui.quit
!else
MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(MUI_TEXT_ABORTWARNING)" IDYES mui.quit
!endif
Abort
mui.quit:
!macroend
but this doesn' work here (latest cvs 27/9/13:44)
I always get "MUI_TEXT_ABORTWARNING" (not the var - the text in it)
language is german.
Code:
!define MUI_ABORTWARNING_TEXTG "Sind Sie sicher, dass Sie ${PRODUCT} abbrechen wollen?"
!insertmacro MUI_LANGUAGE "German"
###
OMG - i found it 🙄
--> MUI_ABORTWARNING_TEXTG
strip that "G" and all is fine.
i am sitting now for hours on this code and diddn't get it. 🧟
THX
Seems there is an issue in latest 2 dev snapshots:
!insertmacro: MUI_LANGUAGE
File: "c:\program files\nsis2\Contrib\Icons\modern-header.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] filespec [...]|/oname=outfile one_file_only)
Error in macro MUI_HEADERBITMAP_INIT on macroline 4
Error in macro MUI_GUIINIT on macroline 3
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 12
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
!include: error in script: "c:\program files\nsis2\Contrib\Modern UI\Language files\English.nsh" on
line 9
Error in macro MUI_LANGUAGE on macroline 5
I think only the english.nsh is the problem?
Cheers,
Andi
!insertmacro: MUI_LANGUAGE
File: "c:\program files\nsis2\Contrib\Icons\modern-header.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] filespec [...]|/oname=outfile one_file_only)
Error in macro MUI_HEADERBITMAP_INIT on macroline 4
Error in macro MUI_GUIINIT on macroline 3
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 12
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
!include: error in script: "c:\program files\nsis2\Contrib\Modern UI\Language files\English.nsh" on
line 9
Error in macro MUI_LANGUAGE on macroline 5
I think only the english.nsh is the problem?
Cheers,
Andi
My mistake, sorry, fixed. It just seemed that the two errors where not related..
Cheers,
ANdreas
Cheers,
ANdreas
ioSpecial.ini change
Why was the 3 line title on the Welcome page removed in the October 12th version of ioSpecial.ini?
[edit]Never mind, I saw the other thread on this subject.[/edit]
Why was the 3 line title on the Welcome page removed in the October 12th version of ioSpecial.ini?
[edit]Never mind, I saw the other thread on this subject.[/edit]
The Welcome page has never supported 3 lines. It might have worked before with the standard DPI setting, but not with other settings.
If you want to add an extra line, use a customized INI file.
If you want to add an extra line, use a customized INI file.
The Welcome page has never supported 3 lines.See the comment in version 1.5 of ioSpecial.ini which you checked into CVS on March 10, 2003. (reproduced below from WinCVS)
No biggie, I created a custom ini file and all is ok.
Revision : 1.5
Date : 2003/3/10 19:20:22
Author : 'joostverburg'
State : 'Exp'
Lines : +2 -2
Description :
3 lines title on Welcome page
I increased the space a bit in this 1.5 revision, but I think 3 lines never worked with custom DPI settings, or it must have been with an old font.
I'll add an option for 3 lines.
I'll add an option for 3 lines.