Fixes and shieet
This commit is contained in:
@ -85,7 +85,7 @@ with open('original.csv', 'r', encoding='utf-8') as input_file, \
|
||||
# Calculate the estimated time remaining to translate the whole file
|
||||
time_remaining = avrg(times) * (length - i)
|
||||
|
||||
print(f'{Fore.RED}Original: {Fore.RESET}{row[0]} | {Fore.GREEN}Translation: {Fore.RESET}{translation}{" "*10}\n{Fore.CYAN}Estimated time remaining: {str(time_remaining).split(".")[0]}', end="\r")
|
||||
print(f'{Fore.RED}Original: {Fore.RESET}{row[0]} | {Fore.GREEN}Translation: {Fore.RESET}{translation}{" "*10}\n{Fore.CYAN}Estimated time remaining: {str(time_remaining).split(".")[0]} {Fore.YELLOW}({i}/{length})', end="\r")
|
||||
|
||||
writer.writerow([row[0], translation])
|
||||
|
||||
|
Reference in New Issue
Block a user