Page 1 of 1

Skipped lines in need of translation

Posted: Mon Mar 12, 2007 9:49 pm
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.

Posted: Tue Mar 13, 2007 4:40 am
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.