|
|
#1 |
|
Guest
Posts: n/a
|
Yes/No buttons
When using another language the confirmation message boxes appears with the button texts in English (Yes/No) not in the selected language. What should I do to fix this?
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
As far as I remember the Yes/No texts are set by Windows, not by NSIS.
-Stu |
|
|
|
|
|
#3 |
|
Junior Member
|
What can I do to modify them?
|
|
|
|
|
|
#5 |
|
Junior Member
|
Exit confirmation message
What about the exit confirmation message box?
|
|
|
|
|
|
#6 |
|
Join Date: Sep 2003
Posts: 27,873
|
that plugin would need to be altered or a new one made which will work on the messageboxes that the installer directly shows by itself. the main issue is that the operating system is very inflexible when it comes to the dealing with message boxes and so extreme hacks (like the plugin i linked to) have to be done
as time permits between my other Winamp projects i'll be updating that plugin and i'll see what i can get done for the handling of the built in messageboxes-daz |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Apr 2004
Posts: 130
|
Another option at least for the MUI_ABORTWARNING dialog is to remove the "!define MUI_ABORTWARNING" and add "!define MUI_CUSTOMFUNCTION_ABORT UserAbort" instead. Then create a function like such:
Function UserAbort messagebox::show 0 2 MB_YESNO|MB_ICONEXCLAMATION 0 0 "$(TEXT_ABORTWARNING_MSG)" "$(TEXT_CAPTION_MSG)" "/but1 $(TEXT_YES_MSG)" "/but2 $(TEXT_NO_MSG)" Pop $0 StrCmp $0 "2" 0 +2 Abort FunctionEnd I use an older version of DrO's excellent plugin but it would work the same you'd just need to rework the arguments to the messagebox::show. I also use his plugin to show message boxes in the correct language. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|