diff --git a/translator/__init__.py b/translator/__init__.py index 5e24c23..41a2d58 100644 --- a/translator/__init__.py +++ b/translator/__init__.py @@ -1,6 +1,6 @@ from translator.translate import Translator from translator.language import get_nllb_lang -__version__ = "0.2.4b2" +__version__ = "0.2.5b1" LANGS = get_nllb_lang() diff --git a/translator/main.py b/translator/main.py index d3bba87..f00cbd2 100644 --- a/translator/main.py +++ b/translator/main.py @@ -176,7 +176,7 @@ def main(): # Report translation time_after = time.perf_counter() _td = time_after - time_before - spinner.info(f"All files in {args.directory} have been translated from {args.source} to {args.target}.") + spinner.info(f"All files in {args.directory} have been translated from {_from} to {_to}.") spinner.info(f"Took {_td:.1f} second(s) to translate over {_ut_ds >> 30} GB (~ {float(_ut_ds >> 27)/_td:.1f} Gb/s).") if Path(cache).exists(): os.rmdir(cache)