Build profiles: allow translating strings.

git-svn-id: trunk@27911 -
This commit is contained in:
juha 2010-10-27 22:49:47 +00:00
parent a4db8e39d0
commit 6082d0a0e1
2 changed files with 8 additions and 4 deletions

View File

@ -790,8 +790,8 @@ var
begin
with TAddProfileForm.Create(nil) do
try
Caption:='Add New Profile';
ProfileHeaderLabel.Caption:='Current build options will be saved as:';
Caption:=lisLazBuildNewProf;
ProfileHeaderLabel.Caption:=lisLazBuildNewProfInfo;
if (ShowModal=mrOk) and (NameEdit.Text<>'') then begin
// Update ProfsToManage collection.
NewProfile:=TBuildLazarusProfile.Create(fProfsToManage,NameEdit.Text);
@ -834,8 +834,8 @@ begin
if i<0 then exit;
with TAddProfileForm.Create(nil) do
try
Caption:='Rename Profile';
ProfileHeaderLabel.Caption:='New name for profile:';
Caption:=lisLazBuildRenameProf;
ProfileHeaderLabel.Caption:=lisLazBuildRenameProfInfo;
NameEdit.Text:=ProfilesListbox.Items[i];
if (ShowModal=mrOk) and (NameEdit.Text<>'') then begin
// Update ProfsToManage collection.

View File

@ -2765,8 +2765,12 @@ resourcestring
lisLazBuildConfirmBuild = 'Confirm before rebuilding Lazarus';
lisLazBuildOk = 'Ok';
lisLazBuildAdd = 'Add';
lisLazBuildNewProf = 'Add New Profile';
lisLazBuildNewProfInfo = 'Current build options will be associated with:';
lisLazBuildRemove = 'Remove';
lisLazBuildRename = 'Rename';
lisLazBuildRenameProf = 'Rename Profile';
lisLazBuildRenameProfInfo = 'New name for profile:';
lisCTDTemplates = 'Templates';
lisSaveSettings = 'Save Settings';
lisLazBuildCancel = 'Cancel';