diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 4ce2b3440e..dfb96a8681 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -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'; diff --git a/packager/pkggraphexplorer.pas b/packager/pkggraphexplorer.pas index 40634745d4..0c3a20c08d 100644 --- a/packager/pkggraphexplorer.pas +++ b/packager/pkggraphexplorer.pas @@ -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;