You've already forked lazarus-ccr
tvplanit: Translatable caption of the print format editor form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -10,7 +10,6 @@ object frmPrnFormat: TfrmPrnFormat
|
|||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnShow = FormShow
|
OnShow = FormShow
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '2.3.0.0'
|
|
||||||
object LblFormats: TLabel
|
object LblFormats: TLabel
|
||||||
AnchorSideLeft.Control = Owner
|
AnchorSideLeft.Control = Owner
|
||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
|
@ -47,8 +47,6 @@ uses
|
|||||||
VpPrtFmt, VpBase, VpBaseDS, VpPrtPrv, VpException, VpSR;
|
VpPrtFmt, VpBase, VpBaseDS, VpPrtPrv, VpException, VpSR;
|
||||||
|
|
||||||
const
|
const
|
||||||
BaseCaption = 'Print Format Designer';
|
|
||||||
FileCaption = BaseCaption + ' - %s';
|
|
||||||
UnnamedFile = '<Unnamed>';
|
UnnamedFile = '<Unnamed>';
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -774,7 +772,7 @@ end;
|
|||||||
|
|
||||||
procedure TfrmPrnFormat.UpdateCaption;
|
procedure TfrmPrnFormat.UpdateCaption;
|
||||||
begin
|
begin
|
||||||
Caption := Format(FileCaption, [FormatFileName]);
|
Caption := RSPrintFormatDesigner + ' - ' + FormatFileName;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrmPrnFormat.UpdateFormats;
|
procedure TfrmPrnFormat.UpdateFormats;
|
||||||
|
Reference in New Issue
Block a user