Thanks!
Now I understand it.
Matti

Am 26.07.2010 22:31, schrieb Benoît Minisini:
>> Hi List,
>>
>> I don't understand this:
>> If I have a string like
>> IF Message.Warning("The file " & aFiles[i] & " will be deleted.", "OK",
>> "Cancel") = 2 THEN RETURN
>> How should I mark it to be translated?
>> If I use
>> IF Message.Warning(("The file ") & aFiles[i] & (" will be deleted."), "OK",
>> ("Cancel")) = 2 THEN RETURN
>> there are two strings to be translated, and the togetherness is lost.
>>
>> Thanks
>> Matti
>>
> 
> You *must* use the Subst() function, and write:
> 
>       If Message.Warning(Subst(("The file &1 will be deleted."), aFiles[i]),
>               ("OK"), ("Cancel")) = 2 Then Return
> 
> Because the grammar changes with the language.
> 
> Regards,
> 

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to