Error when trying to Exclude property in Translation Editor

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
emin
Posts: 8
Joined: Thu Apr 24, 2003 7:52 am

Error when trying to Exclude property in Translation Editor

Post by emin »

5.2.2 CLX Delphi 7

In translation editor right click any translation and exclude it.
Then try to exclude additional translations.
Exception: Cannot focus a disabled or invisible window (Unnamed).

Also tested on Kylix3, there is no problem.

Emin
gaivans
Posts: 71
Joined: Fri Nov 29, 2002 4:10 pm

Post by gaivans »

Hello,

Thank you. We will fix this issue in the next release. If you need the fix promptly, please modify the unit "siTransEditor.pas" as follows:

1) In the
constructor TExclActionForm.Create(AOwner: TComponent);
instead the line:
ItemIndex := 0;
write this line:
Items.Text := #13#10#13#10#13#10; // 5.2.3
2) In the
function TExclActionForm.Dialog(const CompName, PropName: string;
Index: integer): TExclActionResult;
replace the block:
with rgpAction.Items do begin ... end
with this one:
// 5.2.3
with rgpAction do
begin
Items[0] := Format('Exclude "%s" property for %s', [PropName, CompName]);
Items[1] := Format('Do not translate all properties of %s', [CompName]);
Items[2] := Format('Exclude "%s" property for all Components', [PropName]);
end;

After that rebuild the package.
Best regards,
Serghei Gaivan
emin
Posts: 8
Joined: Thu Apr 24, 2003 7:52 am

Post by emin »

Thank you
applied the fix, and it is fine now.
Emin
Post Reply