Add --disable-files-translation flag

This commit is contained in:
Sébastien Thuret 2021-10-25 17:00:44 +02:00
parent 9e272cb80c
commit 5bb8ed7375
No known key found for this signature in database
GPG key ID: 4742E2D66933BB08
2 changed files with 8 additions and 0 deletions

View file

@ -115,6 +115,11 @@ _default_options_objects = [
'name': 'SUGGESTIONS',
'default_value': False,
'value_type': 'bool'
},
{
'name': 'DISABLE_FILES_TRANSLATION',
'default_value': False,
'value_type': 'bool'
}
]

View file

@ -105,6 +105,9 @@ def main():
parser.add_argument(
"--suggestions", default=DEFARGS['SUGGESTIONS'], action="store_true", help="Allow user suggestions"
)
parser.add_argument(
"--disable-files-translation", default=DEFARGS['DISABLE_FILES_TRANSLATION'], action="store_true", help="Disable files translation"
)
args = parser.parse_args()
app = create_app(args)