Skip to content

Commit 78029ae

Browse files
REFACTOR: Improving console outputs from the Subtitles Translation with DeepL Python Project
1 parent fd3ba88 commit 78029ae

File tree

1 file changed

+1
-1
lines changed
  • Subtitles Translation with DeepL

1 file changed

+1
-1
lines changed

Subtitles Translation with DeepL/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def main():
382382
print(f"No .srt files found in directory: {INPUT_DIR}") # Output message
383383
return # Exit the program
384384

385-
with tqdm(srt_files, desc=f"{BackgroundColors.GREEN}Translating SRT files", unit="file") as progress_bar: # Progress bar for SRT files
385+
with tqdm(srt_files, desc=f"{BackgroundColors.GREEN}Translating {BackgroundColors.CYAN}SRT{BackgroundColors.GREEN} files", unit="file") as progress_bar: # Progress bar for SRT files
386386
for srt_file in progress_bar: # Iterate through each SRT file
387387
progress_bar.set_description(f"{BackgroundColors.GREEN}Processing: {BackgroundColors.CYAN}{srt_file.name}{BackgroundColors.GREEN}")
388388

0 commit comments

Comments
 (0)