mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2025-06-29 17:51:08 +02:00
Adapt verbosity of some scripts
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
@ -19,7 +19,8 @@ class Command(BaseCommand):
|
||||
for code, _ in settings.LANGUAGES:
|
||||
if code == settings.LANGUAGE_CODE:
|
||||
continue
|
||||
self.stdout.write(f"Generate {code} javascript localization file")
|
||||
if kwargs["verbosity"] > 0:
|
||||
self.stdout.write(f"Generate {code} javascript localization file")
|
||||
with translation.override(code):
|
||||
resp = JavaScriptCatalog().get(None, packages="member+note")
|
||||
if not os.path.isdir(kwargs["out"] + "/js/jsi18n"):
|
||||
|
Reference in New Issue
Block a user