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
Error when trying to Exclude property in Translation Editor
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.
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
Serghei Gaivan