Skip to content

Commit

Permalink
Use Recycle Bin name only on Windows
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hydrogen-mvm authored and shiftkey committed Mar 8, 2021
1 parent 4a0c305 commit 5f4782e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/ui/lib/context-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5f4782e

Please sign in to comment.