mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add fr locale to update options
This commit is contained in:
parent
f7eed18f48
commit
fd739c2177
2 changed files with 3 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ def main():
|
||||||
"-b", "--bleeding-edge", required=False, help="Update to bleeding-edge CI build", action='store_true'
|
"-b", "--bleeding-edge", required=False, help="Update to bleeding-edge CI build", action='store_true'
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
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(
|
parser.add_argument(
|
||||||
"--factory-reset", required=False, help="Delete passwords and do a factory reset", action='store_true'
|
"--factory-reset", required=False, help="Delete passwords and do a factory reset", action='store_true'
|
||||||
|
|
@ -156,6 +156,7 @@ def main():
|
||||||
"en-tts",
|
"en-tts",
|
||||||
"ja",
|
"ja",
|
||||||
"zh",
|
"zh",
|
||||||
|
"fr",
|
||||||
}
|
}
|
||||||
language = args.language.lower()
|
language = args.language.lower()
|
||||||
if language not in VALID_LANGUAGES:
|
if language not in VALID_LANGUAGES:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ with open('README.md') as f:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="precursorupdater",
|
name="precursorupdater",
|
||||||
version="0.0.8",
|
version="0.0.9",
|
||||||
author="bunnie",
|
author="bunnie",
|
||||||
description="Precursor USB Updater",
|
description="Precursor USB Updater",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue