Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
botbahlul authored Nov 7, 2023
1 parent 12f8700 commit 01bd580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions translatesrt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import shutil


VERSION = "0.0.3"
VERSION = "0.0.4"


class Language:
Expand Down Expand Up @@ -1252,7 +1252,7 @@ def is_valid_subtitle_file(subtitle_filepath, error_messages_callback=None):

def main():
parser = argparse.ArgumentParser()
parser.add_argument('subtitle_file_path', help="Subtitle file path you want to translate", nargs='*')
parser.add_argument('subtitle_file_path', help="Subtitle file path you want to translate (use wildcard for multiple files or separate them with a space character e.g. \"file 1.srt\" \"file 2.srt\")", nargs='*')
parser.add_argument('-S', '--src-language', help="Language code of subtitle file you want to translate", default="en")
parser.add_argument('-D', '--dst-language', help="Desired translation language code for the subtitles", default=None)
parser.add_argument('-ll', '--list-languages', help="List all supported languages", action='store_true')
Expand Down

0 comments on commit 01bd580

Please sign in to comment.