|
|
#1 |
|
Junior Member
Join Date: Mar 2005
Posts: 5
|
Hi!
I am desperately trying to figure out how to make a Section name multilingual (English and French). This is a section that allows the user to put or not to put a shortcut on the Desktop. Here's what I have: ;-------------------------------- ;Desktop Shortcut Section LangString SecDeskShortcut ${LANG_ENGLISH} "Desktop Shortcut" LangString SecDeskShortcut ${LANG_FRENCH} "Raccourci bureau" SectionIn 1 2 3 CreateShortCut "$DESKTOP\ReserveIT.lnk" "$INSTDIR\ReserveIT.exe" SectionEnd ;-------------------------------- And here's the error: Error: command LangString not valid in section Error in script "C:\Program Files\NSIS\Examples\Modern UI\ReserveIT.nsi" on line 134 -- aborting creation process Is there a macro that I should be using instead of a direct LangString call to name a section? Version: NSIS 2.06 Type: MUI Thanks, Ian |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Shouldn't it be like this...?
code: -Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2005
Posts: 5
|
Wow! It actually worked!
Great stuff! Thanks so much! Sincerely, Ian |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|