![]() |
#1 |
Senior Member
|
LangString doesn't work in onInit event
I got a problem : the message $(DESC_SpadNotFound) is always shown in french even when I choose english in the language combobox.
code: Lorsqu'on s'occupe d'informatique il faut faire comme les canards... Paraître calme en surface et pédaler comme un forcené par en dessous |
![]() |
![]() |
![]() |
#2 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Search the forum for "oninit langstring" and find:
http://forums.winamp.com/showthread....nit+langstring http://forums.winamp.com/showthread....nit+langstring http://forums.winamp.com/showthread....nit+langstring http://forums.winamp.com/showthread....nit+langstring NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
#3 |
Senior Member
|
Thank you. The language problem is corrected.
But how can I abort the setup if I'm in a custom page and not in the .onInit function anymore? Lorsqu'on s'occupe d'informatique il faut faire comme les canards... Paraître calme en surface et pédaler comme un forcené par en dessous |
![]() |
![]() |
![]() |
#4 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Using Quit.
Don't forget the custom page won't show in silent mode. You should add a check for that in .onInit. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
#5 |
Senior Member
|
Thank you very much. Finally, I replaced my LangString lines by tests. It's simpler as I only have one message string:
code: Lorsqu'on s'occupe d'informatique il faut faire comme les canards... Paraître calme en surface et pédaler comme un forcené par en dessous |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|