Skip to content

Commit

Permalink
getFiles() needs rework
Browse files Browse the repository at this point in the history
giordanidev committed Nov 27, 2023
1 parent db64ddf commit 756d81f
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion config/lang/en_US.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,8 @@
"app_return_label_verifying": "Verifying files, please wait!",
"app_return_label_uptodate": "There are no new files to update.",
"app_return_label_update": "Update available.",
"app_return_label_install": "Success! Files have been installed.",
"app_return_label_install": "Files are ready to be installed.",
"app_return_label_success": "Success! Files have been installed.",
"app_return_label_download": "Files are ready to be downloaded.",
"app_return_label_deleted": "Success! Files deleted.",
"app_return_label_launcher_found": "Game launcher is open.",
3 changes: 2 additions & 1 deletion config/lang/pt_BR.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,8 @@
"app_return_label_verifying": "Verificando arquivos... Por favor, aguarde!",
"app_return_label_uptodate": "Não há novos arquivos para atualizar.",
"app_return_label_update": "Atualização disponível.",
"app_return_label_install": "Successo! Arquivos instalados.",
"app_return_label_install": "Arquivos estão prontos para ser instalados.",
"app_return_label_success": "Successo! Arquivos instalados.",
"app_return_label_download": "Arquivos estão prontos para ser baixados.",
"app_return_label_deleted": "Successo! Arquivos excluídos.",
"app_return_label_launcher_found": "Launcher do jogo está aberto.",
3 changes: 2 additions & 1 deletion functions.py
Original file line number Diff line number Diff line change
@@ -290,7 +290,7 @@ def copyFilesThreaded():
return False
elif copy_files_return == True:
if copy_delete == "copy":
return_label.configure(text=translateText("app_return_label_install"), text_color=text_color_success)
return_label.configure(text=translateText("app_return_label_success"), text_color=text_color_success)
return_button.configure(text=translateText("app_button_update"), state="enabled", font=font_regular_bold)
delete_button.configure(state="normal", font=font_regular_bold)
elif copy_delete == "delete":
@@ -695,6 +695,7 @@ def copyDeleteFiles(game_file_type, copy_delete, return_label):
and deletes files.
"""
try:
#TODO >> REDO getFiles()
files_path = getFilePath(game_file_type)
copy_delete_files = getFiles(files_path[0], files_path[1], files_path[2]) # assets path | game files path)

0 comments on commit 756d81f

Please sign in to comment.