File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Plugins/Flow.Launcher.Plugin.Sys Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,10 @@ private List<Result> Commands()
252252 var result = PInvoke . SHEmptyRecycleBin ( new ( ) , string . Empty , 0 ) ;
253253 if ( result != HRESULT . S_OK && result != HRESULT . E_UNEXPECTED )
254254 {
255- context . API . ShowMsgBox ( $ "Error emptying recycle bin, error code: { result } \n " +
256- "please refer to https://msdn.microsoft.com/en-us/library/windows/desktop/aa378137" ,
255+ context . API . ShowMsgBox ( "Failed to empty the recycle bin. This might happen if:\n " +
256+ "- A file in the recycle bin is in use\n " +
257+ "- You don't have permission to delete some items\n " +
258+ "Please close any applications that might be using these files and try again." ,
257259 "Error" ,
258260 MessageBoxButton . OK , MessageBoxImage . Error ) ;
259261 }
You can’t perform that action at this time.
0 commit comments