IDE: localized 'Unneeded dependencies' menu item caption in package graph explorer

git-svn-id: trunk@40787 -
This commit is contained in:
maxim 2013-04-10 21:37:58 +00:00
parent 1fd0efa2e4
commit 7c9e3bef61
2 changed files with 2 additions and 0 deletions

View File

@ -4307,6 +4307,7 @@ resourcestring
// package explorer (package graph)
lisMenuPackageGraph = 'Package Graph';
lisPckExplUninstallPackage = 'Uninstall package %s';
lisPckShowUnneededDependencies = 'Show unneeded dependencies';
lisPckExplPackageNotFound = 'Package %s not found';
lisPckExplState = '%sState: ';
lisPckExplAutoCreated = 'AutoCreated';

View File

@ -223,6 +223,7 @@ begin
UninstallMenuItem.Visible:=(Pkg<>nil) and (Pkg.AutoInstall<>pitNope);
if UninstallMenuItem.Visible then
UninstallMenuItem.Caption:=Format(lisPckExplUninstallPackage, [Pkg.IDAsString]);
CleanPkgDepsMenuItem.Caption:=lisPckShowUnneededDependencies;
end;
procedure TPkgGraphExplorerDlg.InfoMemoKeyDown(Sender: TObject;