SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Skipped lines in need of translation

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
DavidD



Joined: 07 Mar 2007
Posts: 17
Location: United States

PostPosted: Mon Mar 12, 2007 9:49 pm    Post subject: Skipped lines in need of translation Reply with quote

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.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Tue Mar 13, 2007 4:40 am    Post subject: Reply with quote

This code works just fine on our side. And both strings recognized by expert. Confused
Yes, experts doesn't recognize multiline comments. In case this makes any troubles for you can additionally mark comments to skip with TSI tags.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group