mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 22:16:17 +02:00
put versionstring into a string constant
git-svn-id: trunk@7890 -
This commit is contained in:
parent
f041e62ee3
commit
d3b0afb5d7
@ -56,6 +56,8 @@ type
|
||||
|
||||
function ShowAboutForm: TModalResult;
|
||||
|
||||
const
|
||||
LazarusVersionStr= '0.9.10';
|
||||
var
|
||||
LazarusRevisionStr: string;
|
||||
|
||||
@ -130,7 +132,8 @@ begin
|
||||
FPixmap := TPixmap.Create;
|
||||
FPixmap.LoadFromLazarusResource('lazarus_about_logo');
|
||||
Caption:=lisAboutLazarus;
|
||||
VersionLabel.Caption := lisVersion+' #: '+lisLazarusVersionString;
|
||||
VersionLabel.Caption := lisVersion+' #: '+
|
||||
format(lisLazarusVersionString,[LazarusVersionStr]);
|
||||
RevisionLabel.Caption := lisSVNRevision+GetLazarusRevision;
|
||||
|
||||
RevisionLabel.Visible:=false; // deactivated
|
||||
|
@ -58,7 +58,6 @@ uses
|
||||
{$ENDIF}
|
||||
MainBase;
|
||||
|
||||
const LazarusVersionStr = '0.9.10';
|
||||
const RevisionStr={$I revision.inc}
|
||||
|
||||
begin
|
||||
|
@ -43,7 +43,7 @@ uses
|
||||
resourcestring
|
||||
lisEnterTransla = 'Enter translation language';
|
||||
// version
|
||||
lisLazarusVersionString = '0.9.9 beta';
|
||||
lisLazarusVersionString = '%s beta'; // %s is the versionstring (eg. 0.9.10)
|
||||
lisLeaveEmptyFo = 'Leave empty for default .po file';
|
||||
lisMenuCollectPoFil = 'Collect .po files';
|
||||
lisMenuCreatePoFile = 'Create .po files';
|
||||
|
Loading…
Reference in New Issue
Block a user