From 5f4782e800557b73b6e79e749c47e8fb274503fb Mon Sep 17 00:00:00 2001 From: hydrogen-mvm Date: Sun, 13 Dec 2020 12:26:10 -0500 Subject: [PATCH] Use Recycle Bin name only on Windows On Linux Mint I see "Recycle Bin" on the dialog box when it should be "Trash." This PR changes the label such that "Recycle Bin" only appears on Windows and "Trash" appears for everything else. I haven't tested if this will actually fix the problem since I don't have the ability to build this, so feel free to decline the pull request if it's an inappropriate fix. Thanks. --- app/src/ui/lib/context-menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/ui/lib/context-menu.ts b/app/src/ui/lib/context-menu.ts index 73025712724..42f4ba5bf14 100644 --- a/app/src/ui/lib/context-menu.ts +++ b/app/src/ui/lib/context-menu.ts @@ -13,7 +13,7 @@ export const RevealInFileManagerLabel = __DARWIN__ ? 'Show in Explorer' : 'Show in your File Manager' -export const TrashNameLabel = __DARWIN__ ? 'Trash' : 'Recycle Bin' +export const TrashNameLabel = __WIN32__ ? 'Recycle Bin' : 'Trash' export const OpenWithDefaultProgramLabel = __DARWIN__ ? 'Open with Default Program'