Skip to content

Commit

Permalink
add fr locale to update options
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Oct 28, 2022
1 parent f7eed18 commit fd739c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tools/updater/precursorupdater/precursorupdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def main():
"-b", "--bleeding-edge", required=False, help="Update to bleeding-edge CI build", action='store_true'
)
parser.add_argument(
"-l", "--language", help="Select Xous language [en|ja|zh|en-tts]", required=False, type=str, default="en"
"-l", "--language", help="Select Xous language [en|ja|zh|fr|en-tts]", required=False, type=str, default="en"
)
parser.add_argument(
"--factory-reset", required=False, help="Delete passwords and do a factory reset", action='store_true'
Expand Down Expand Up @@ -156,6 +156,7 @@ def main():
"en-tts",
"ja",
"zh",
"fr",
}
language = args.language.lower()
if language not in VALID_LANGUAGES:
Expand Down
2 changes: 1 addition & 1 deletion tools/updater/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="precursorupdater",
version="0.0.8",
version="0.0.9",
author="bunnie",
description="Precursor USB Updater",
long_description=long_description,
Expand Down

0 comments on commit fd739c2

Please sign in to comment.