|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2006
Location: A Game company in Edmonton
Posts: 11
|
ifdef and langstrings
Hi All,
Is there a way to tell if a string has been defined for a language? I'm trying to to something like: test.nsh: code: main.nsi code: but anything I've come up with so far only results in either a warning message in the compiler of: LangString "..." set multiple times for 1033, wasting space (...) when I test it out, it seems to work as long as I put the message I want before the include (since it ignores the second one)... but I would rather not see the warning. I've looked through the source for NSIS and through the examples, and plugins, etc... but haven't really found anything like this... Thanks! Owen Borstad (long time lurker and quite adept, but currently stumped on this) |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I'm pretty sure that isn't possible. You just need to !define a constant of the same name when using LangString.
-Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|