diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index f55702b1..a3699563 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -101,15 +101,14 @@ "open_screenshot": "Open screenshot {{number}}", "download_settings": "Download settings", "downloader": "Downloader", - "select_executable": "Select executable", + "select_executable": "Select", "no_executable_selected": "No executable selected", "open_folder": "Open folder", - "open_download_location": "Abrir local de download", - "create_shortcut": "Create shortcut", + "open_download_location": "See downloaded files", + "create_shortcut": "Create desktop shortcut", "remove_files": "Remove files", "remove_from_library_title": "Are you sure?", "remove_from_library_description": "This will remove {{game}} from your library", - "downloaded_files": "Downloaded files", "executable_section_title": "Executable", "executable_section_description": "Path of the file that will be executed when \"Play\" is clicked", "downloads_secion_title": "Downloads", diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json index 702dc791..ed5fb0b5 100644 --- a/src/locales/pt/translation.json +++ b/src/locales/pt/translation.json @@ -98,15 +98,14 @@ "open_screenshot": "Ver captura de tela {{number}}", "download_settings": "Ajustes do download", "downloader": "Downloader", - "select_executable": "Selecionar executável", + "select_executable": "Selecionar", "no_executable_selected": "Nenhum executável selecionado", "open_folder": "Abrir pasta", - "open_download_location": "Abrir local de download", - "create_shortcut": "Criar atalho", + "open_download_location": "Ver arquivos baixados", + "create_shortcut": "Criar atalho na área de trabalho", "remove_files": "Remover arquivos", "remove_from_library_description": "Isso irá remover {{game}} da sua biblioteca", "remove_from_library_title": "Tem certeza?", - "downloaded_files": "Arquivos baixados", "executable_section_title": "Executável", "executable_section_description": "O caminho do arquivo que sera executado ao clicar em \"Jogar\"", "downloads_secion_title": "Downloads", diff --git a/src/renderer/src/pages/game-details/modals/game-options-modal.tsx b/src/renderer/src/pages/game-details/modals/game-options-modal.tsx index acb2afdb..f335e448 100644 --- a/src/renderer/src/pages/game-details/modals/game-options-modal.tsx +++ b/src/renderer/src/pages/game-details/modals/game-options-modal.tsx @@ -92,20 +92,6 @@ export function GameOptionsModal({ />
-
-

{t("downloaded_files")}

-
-
- -
-

{t("executable_section_title")}

@@ -123,32 +109,32 @@ export function GameOptionsModal({ -

-
- -
+ {game.executablePath && ( +
+ + +
+ )} +

{t("downloads_secion_title")}

@@ -163,6 +149,15 @@ export function GameOptionsModal({ > {t("open_download_options")} + {game.downloadPath && ( + + )}

{t("danger_zone_section_title")}

@@ -173,7 +168,6 @@ export function GameOptionsModal({