From d0fac12b694a7c63072af32a268004da9b2eecf9 Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 18 Jul 2014 23:48:43 +0000 Subject: [PATCH] IDE: improved package manager and project inspector localization git-svn-id: trunk@45919 - --- ide/lazarusidestrconsts.pas | 5 +++-- ide/projectinspector.pas | 2 +- packager/packageeditor.pas | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 9e539d5d0e..86522ee39b 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -426,6 +426,7 @@ resourcestring lisMenuPublishProject = 'Publish Project ...'; lisPublishProject = 'Publish Project'; lisMenuProjectInspector = 'Project Inspector'; + lisProject3 = 'project'; lisKMRemoveActiveFileFromProject = 'Remove Active File from Project'; lisKMViewProjectSource = 'View Project Source'; lisMenuAddToProject = 'Add Editor File to Project'; @@ -4275,8 +4276,8 @@ resourcestring lisTargetIsReadOnly = 'Target is read only'; lisTheTargetIsNotWritable = 'The target %s is not writable.'; lisMoveOrCopyFileSFromToTheDirectoryOfPackage = 'Move or copy %s file' - +'(s) from %s to the directory%s%s%sof %s.'; - lisMoveFileSFromToTheDirectoryOf = 'Move %s file(s) from %s to the directory%s%s%sof %s.'; + +'(s) from %s to the directory%s%s%sof %s?'; + lisMoveFileSFromToTheDirectoryOf = 'Move %s file(s) from %s to the directory%s%s%sof %s?'; lisMove = 'Move'; lisPkgEditDoYouReallyWantToForgetAllChangesToPackageAnd = 'Do you really ' +'want to forget all changes to package %s and reload it from file?'; diff --git a/ide/projectinspector.pas b/ide/projectinspector.pas index 2accf20bb0..d4df399ef4 100644 --- a/ide/projectinspector.pas +++ b/ide/projectinspector.pas @@ -1197,7 +1197,7 @@ end; function TProjectInspectorForm.FilesOwnerName: string; begin - Result:='project'; + Result:=lisProject3; end; function TProjectInspectorForm.FilesOwnerReadOnly: boolean; diff --git a/packager/packageeditor.pas b/packager/packageeditor.pas index c325ab96a9..23f55b382c 100644 --- a/packager/packageeditor.pas +++ b/packager/packageeditor.pas @@ -2957,7 +2957,7 @@ end; function TPackageEditorForm.FilesOwnerName: string; begin - Result:='package '+LazPackage.Name; + Result:=Format(lisPackage2, [LazPackage.Name]); end; function TPackageEditorForm.TVNodeFiles: TTreeNode;