Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 20th November 2002, 21:52   #1
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Feature request and bug report :)

Ok. Feature request is very simple: please do something for easy use of MultiLanguage Product names (for MUI . It could be done by using some variable ($6 for ex.) as MUI_PRODUCT and initializing it at onInit + by redefining MUI_INNERTEXT_DIRECTORY_TOP, but ...

Ok, now some spotted bugs (or [un]known features (forgive me if they are known, please)).

1. Look for NAME constant (script attached, sorry for big size). And look at the result (line "!define w ${NAME}") after including the language files. Build log shows:

!define: "w"="MUI_UNINNERTEXT_INTRO"
should be
!define: "w"="LIdea Competitions"

Something with constant buffer I think, but I'm too tired to look for it thru sources...

2. Default rountine is to pop $LANGUAGE after LangDLL at .onInit. It will be nice if we will be able to use that defined language at once (at the same .onInit). Yes, the right variable available as const ($LANGUAGE), but not for LangStr defined strings. $(name) returns here last defined value for name for any language.
Attached Files
File Type: txt competition.txt (14.6 KB, 63 views)
brainsucker is offline   Reply With Quote
Old 20th November 2002, 22:02   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
* You can easily change the product name for in the strings a certain language by redefining MUI_PRODUCT before inserting a language file. Using global variables is not a good idea.

* In .onGUIInit, you can use the LangStrings.

* NAME is a define used as parameter in the Modern UI macro's. NSIS does not seem to restore the original situation after inserting a macro. I'll ask kichik.
Joost Verburg is offline   Reply With Quote
Old 20th November 2002, 22:26   #3
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
Cool.
It seems my brain was sucked away...

ok. and what about custom readme-s?
brainsucker is offline   Reply With Quote
Old 21st November 2002, 10:21   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Custom Readme's? What do you mean?

You can configure the 'Show Readme' checkbox on the finish page by defining MUI_FINISHPAGE_SHOWREADME "Filename"
Joost Verburg is offline   Reply With Quote
Old 21st November 2002, 19:35   #5
brainsucker
Senior Member
 
brainsucker's Avatar
 
Join Date: Sep 2002
Location: Minsk, Belarus
Posts: 190
Send a message via ICQ to brainsucker
I mean different readmes for different languages
The same request goes to Default StartMenu Folder

Thanks...
brainsucker is offline   Reply With Quote
Old 21st November 2002, 19:42   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Make it a LangString, it should work.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd November 2002, 12:22   #7
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
That define bug has been fixed.
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump