Skip to content

Commit

Permalink
Changed wording of "Reveal in Finder", removed "Hide Window" function…
Browse files Browse the repository at this point in the history
… in Windows and Linux
  • Loading branch information
ransome1 committed Nov 26, 2023
1 parent aabae11 commit 727eda9
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Smazat",
"cancel": "Zrušit",
"fileTabs.changeLocation": "Změnit umístění souboru done.txt",
"fileTabs.revealFile": "Zobrazit v Průzkumníku",
"fileTabs.revealFile": "Zobrazit v správci souborů",
"fileTabs.removeFileHeadline": "Odstranit soubor ze sleek?",
"fileTabs.removeFileText": "Nebude smazán z pevného disku.",
"fileTabs.removeFileLabel": "Odstranit",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Löschen",
"cancel": "Abbrechen",
"fileTabs.changeLocation": "Speicherort der done.txt-Datei ändern",
"fileTabs.revealFile": "Im Finder anzeigen",
"fileTabs.revealFile": "Im Dateimanager anzeigen",
"fileTabs.removeFileHeadline": "Datei aus sleek entfernen?",
"fileTabs.removeFileText": "Die Datei wird nicht von Ihrer Festplatte gelöscht.",
"fileTabs.removeFileLabel": "Entfernen",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en-gb.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Delete",
"cancel": "Cancel",
"fileTabs.changeLocation": "Change location of done.txt file",
"fileTabs.revealFile": "Reveal in Finder",
"fileTabs.revealFile": "Reveal in file manager",
"fileTabs.removeFileHeadline": "Remove file from sleek?",
"fileTabs.removeFileText": "It will not be deleted from your hard drive.",
"fileTabs.removeFileLabel": "Remove",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Delete",
"cancel": "Cancel",
"fileTabs.changeLocation": "Change location of done.txt file",
"fileTabs.revealFile": "Reveal in Finder",
"fileTabs.revealFile": "Reveal in file manager",
"fileTabs.removeFileHeadline": "Remove file from sleek?",
"fileTabs.removeFileText": "It will not be deleted from your hard drive.",
"fileTabs.removeFileLabel": "Remove",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Eliminar",
"cancel": "Cancelar",
"fileTabs.changeLocation": "Cambiar la ubicación del archivo done.txt",
"fileTabs.revealFile": "Mostrar en el Finder",
"fileTabs.revealFile": "Mostrar en el administrador de archivos",
"fileTabs.removeFileHeadline": "¿Eliminar archivo de sleek?",
"fileTabs.removeFileText": "No se eliminará de su disco duro.",
"fileTabs.removeFileLabel": "Eliminar",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Supprimer",
"cancel": "Annuler",
"fileTabs.changeLocation": "Changer l'emplacement du fichier done.txt",
"fileTabs.revealFile": "Révéler dans le Finder",
"fileTabs.revealFile": "Révéler dans le gestionnaire de fichiers",
"fileTabs.removeFileHeadline": "Supprimer le fichier de sleek?",
"fileTabs.removeFileText": "Il ne sera pas supprimé de votre disque dur.",
"fileTabs.removeFileLabel": "Supprimer",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "हटाएं",
"cancel": "रद्द करें",
"fileTabs.changeLocation": "done.txt फ़ाइल का स्थान बदलें",
"fileTabs.revealFile": "फ़ाइल में देखें",
"fileTabs.revealFile": "फ़ाइल प्रबंधक में दिखाएँ",
"fileTabs.removeFileHeadline": "sleek से फ़ाइल हटाएं?",
"fileTabs.removeFileText": "यह आपके हार्ड ड्राइव से हटाएं नहीं होगा।",
"fileTabs.removeFileLabel": "हटाएं",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Törlés",
"cancel": "Mégse",
"fileTabs.changeLocation": "Fájl done.txt helyének megváltoztatása",
"fileTabs.revealFile": "Megjelenítés a Finderben",
"fileTabs.revealFile": "Megmutatás a fájlkezelőben",
"fileTabs.removeFileHeadline": "Fájl eltávolítása a sleek?",
"fileTabs.removeFileText": "Nem kerül törlésre a merevlemezről.",
"fileTabs.removeFileLabel": "Eltávolítás",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Elimina",
"cancel": "Annulla",
"fileTabs.changeLocation": "Cambia posizione del file done.txt",
"fileTabs.revealFile": "Mostra nel Finder",
"fileTabs.revealFile": "Mostra nel gestore di file",
"fileTabs.removeFileHeadline": "Rimuovi il file da sleek?",
"fileTabs.removeFileText": "Non verrà eliminato dal tuo disco rigido.",
"fileTabs.removeFileLabel": "Rimuovi",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "削除",
"cancel": "キャンセル",
"fileTabs.changeLocation": "done.txt ファイルの場所を変更",
"fileTabs.revealFile": "Finder で表示",
"fileTabs.revealFile": "ファイルマネージャーで表示",
"fileTabs.removeFileHeadline": "sleek からファイルを削除しますか?",
"fileTabs.removeFileText": "ハードディスクからは削除されません。",
"fileTabs.removeFileLabel": "削除",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "삭제",
"cancel": "취소",
"fileTabs.changeLocation": "done.txt 파일 위치 변경",
"fileTabs.revealFile": "파인더에서 보기",
"fileTabs.revealFile": "파일 매니저에서 보기",
"fileTabs.removeFileHeadline": "sleek에서 파일 삭제?",
"fileTabs.removeFileText": "하드 드라이브에서는 삭제되지 않습니다.",
"fileTabs.removeFileLabel": "삭제",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Usuń",
"cancel": "Anuluj",
"fileTabs.changeLocation": "Zmień lokalizację pliku done.txt",
"fileTabs.revealFile": "Pokaż w Finderze",
"fileTabs.revealFile": "Pokaż w menedżerze plików",
"fileTabs.removeFileHeadline": "Usunąć plik z sleek?",
"fileTabs.removeFileText": "Nie zostanie usunięty z dysku twardego.",
"fileTabs.removeFileLabel": "Usuń",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Eliminar",
"cancel": "Cancelar",
"fileTabs.changeLocation": "Alterar localização do ficheiro done.txt",
"fileTabs.revealFile": "Revelar no Finder",
"fileTabs.revealFile": "Revelar no gerenciador de arquivos",
"fileTabs.removeFileHeadline": "Remover ficheiro do sleek?",
"fileTabs.removeFileText": "Não será eliminado do seu disco rígido.",
"fileTabs.removeFileLabel": "Remover",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Удалить",
"cancel": "Отменить",
"fileTabs.changeLocation": "Изменить местоположение файла done.txt",
"fileTabs.revealFile": "Показать в Finder",
"fileTabs.revealFile": "Показать в файловом менеджере",
"fileTabs.removeFileHeadline": "Удалить файл из sleek?",
"fileTabs.removeFileText": "Он не будет удален с вашего жесткого диска.",
"fileTabs.removeFileLabel": "Удалить",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "Sil",
"cancel": "İptal",
"fileTabs.changeLocation": "done.txt dosyasının konumunu değiştir",
"fileTabs.revealFile": "Finder'da Göster",
"fileTabs.revealFile": "Dosya yöneticisinde göster",
"fileTabs.removeFileHeadline": "Dosyayı sleek'ten kaldırmak istiyor musunuz?",
"fileTabs.removeFileText": "Sabit diskinizden silinmeyecektir.",
"fileTabs.removeFileLabel": "Kaldır",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"delete": "删除",
"cancel": "取消",
"fileTabs.changeLocation": "更改 done.txt 文件位置",
"fileTabs.revealFile": "在资源管理器中显示",
"fileTabs.revealFile": "在文件管理器中显示",
"fileTabs.removeFileHeadline": "从 sleek 中删除文件?",
"fileTabs.removeFileText": "它不会从您的硬盘驱动器中删除。",
"fileTabs.removeFileLabel": "删除",
Expand Down
16 changes: 10 additions & 6 deletions src/main/modules/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ function createMenu(files: File[]) {
mainWindow!.webContents.send('setIsSettingsOpen');
},
},
{ type: 'separator' },
{
label: 'Hide',
accelerator: isMac ? 'Cmd+H' : 'Win+D',
role: 'hide',
},
...(isMac
? [
{ type: 'separator' },
{
label: 'Hide',
accelerator: 'Cmd+H',
role: 'hide',
},
]
: []),
{ type: 'separator' },
{
label: 'Quit',
Expand Down

0 comments on commit 727eda9

Please sign in to comment.