add fr locale to update options

This commit is contained in:
bunnie 2022-10-28 15:23:39 +08:00
parent f7eed18f48
commit fd739c2177
2 changed files with 3 additions and 2 deletions

View file

@ -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'
@ -156,6 +156,7 @@ def main():
"en-tts",
"ja",
"zh",
"fr",
}
language = args.language.lower()
if language not in VALID_LANGUAGES:

View file

@ -7,7 +7,7 @@ with open('README.md') as f:
setup(
name="precursorupdater",
version="0.0.8",
version="0.0.9",
author="bunnie",
description="Precursor USB Updater",
long_description=long_description,