55using System . Threading . Tasks ;
66using System . Windows ;
77using Wox . Infrastructure . Logger ;
8+ using Wox . Infrastructure . Image ;
89using Wox . Plugin . SharedCommands ;
910
1011namespace Wox . Plugin . Folder
@@ -33,8 +34,8 @@ public List<Result> LoadContextMenus(Result selectedResult)
3334 var fileOrFolder = ( record . Type == ResultType . File ) ? "file" : "folder" ;
3435 contextMenus . Add ( new Result
3536 {
36- Title = "Copy Path " ,
37- SubTitle = $ "Copy the path of { fileOrFolder } into the clipboard",
37+ Title = "Copy path " ,
38+ SubTitle = $ "Copy the current { fileOrFolder } path to clipboard",
3839 Action = ( context ) =>
3940 {
4041 try
@@ -50,13 +51,13 @@ public List<Result> LoadContextMenus(Result selectedResult)
5051 return false ;
5152 }
5253 } ,
53- IcoPath = icoPath
54+ IcoPath = Main . CopyImagePath
5455 } ) ;
5556
5657 contextMenus . Add ( new Result
5758 {
58- Title = "Copy" ,
59- SubTitle = $ "Copy the { fileOrFolder } to the clipboard",
59+ Title = $ "Copy { fileOrFolder } ",
60+ SubTitle = $ "Copy the { fileOrFolder } to clipboard",
6061 Action = ( context ) =>
6162 {
6263 try
@@ -79,7 +80,8 @@ public List<Result> LoadContextMenus(Result selectedResult)
7980 if ( record . Type == ResultType . File || record . Type == ResultType . Folder )
8081 contextMenus . Add ( new Result
8182 {
82- Title = "Delete" ,
83+ Title = $ "Delete { fileOrFolder } ",
84+ SubTitle = $ "Delete the selected { fileOrFolder } ",
8385 Action = ( context ) =>
8486 {
8587 try
@@ -99,7 +101,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
99101
100102 return true ;
101103 } ,
102- IcoPath = icoPath
104+ IcoPath = Main . DeleteFileFolderImagePath
103105 } ) ;
104106
105107 if ( record . Type == ResultType . File && CanRunAsDifferentUser ( record . FullPath ) )
0 commit comments