Page 1 of 1
New Comment ;)
Posted: Wed Feb 11, 2004 8:55 pm
by chouproute
I found another place where you could improve TsiLang
In found string constant, Is there a way to exclude some string when we search string in the project? (Like Translation Editor)
Thanks
marco
Posted: Thu Feb 12, 2004 5:37 am
by isiticov
To exclude some strings in sources from being found when scanning with Expert could be used "ignore" tags: {TSI:IGNORE}, {TSI:IGNORE ON}, and {TSI:IGNORE OFF} (for Delphi). To exclude found string just from Found Strings Form you can just delete it and it won't be replaced.
Is this what is needed?
Posted: Thu Feb 12, 2004 2:20 pm
by chouproute
It seems to work!
Héhé
Thanks for the tips.
Just for my mind: Is there a possibility to exclude directly from the list(From the popup menu)?
Thank you!
Marco
Posted: Thu Feb 12, 2004 2:28 pm
by chouproute
And...
If I have a block of 30 lines and I just Need One Line of them, Can I unlock just this line or I need to Turn ON and Turn OFF?
Procedure....
...
var
sdasd : string;
begin
{TSI:IGNORE ON}
...
{TSI:IGNORE UNLOCK} Caption := 'Test';
...
{TSI:IGNORE OFF}
end;
-->Something like that!?
Posted: Thu Feb 12, 2004 8:07 pm
by isiticov
To exclude directly from list should be used popup menu or Delete button on toolbar.
To include any line for scanning in sources which is inclosed in {TSI: IGNORE ON/OFF} block you should "turn OFF" before this line and "turn ON" after this line. This is the only way for this.
Posted: Thu Feb 12, 2004 8:10 pm
by chouproute
ok