Skipped lines in need of translation

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
DavidD
Posts: 17
Joined: Wed Mar 07, 2007 9:19 pm
Location: United States

Skipped lines in need of translation

Post by DavidD »

The following line of Delphi code is not recognized as needing a GetTextorDefault:
self.OrdCustomerAddress2.Hint:= 'Bill to: '#13+dmOrder.OrdCustomerAddrBlock.AsString + tern(AppSettings.Admin.Misc.ShowMapIt,#13'Click to locate address on internet','');
Tern (bool,string,string) is a function returning a string.
Even when broken into lines:
self.OrdCustomerAddress2.Hint:= 'Bill to: '
+ #13+dmOrder.OrdCustomerAddrBlock.AsString
+ #13 + tern(AppSettings.Admin.Misc.ShowMapIt,
'Click to locate address on internet','');;
only the first line ('Bill to:') is recognized.
Tools | Options menu option, Exclude & Skip tab does not have anything that would prevent.
I had three almost identical lines and all were skipped.

Any ideas?

Also, I am guessing you are already aware that multi-line comments are not skipped by the File | Source | With Form option.

Thanks - I post these things but am really pleased with the everything so far.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

This code works just fine on our side. And both strings recognized by expert. :?
Yes, experts doesn't recognize multiline comments. In case this makes any troubles for you can additionally mark comments to skip with TSI tags.
Best regards,
Igor Siticov.
Post Reply