sync_translations: Fix store descrs not updated

This commit is contained in:
Jules Aguillon
2024-03-24 21:37:41 +01:00
parent 7e9d8c73df
commit f17afba7be
4 changed files with 12 additions and 36 deletions

View File

@ -60,7 +60,7 @@ def sync(baseline, strings):
for key, base_string in baseline.items() ]
def sync_metadata(value_dir, strings):
if "short_description" not in strings:
if ("short_description", None) not in strings:
return # Short description is mandatory, do nothing without it.
locale = os.path.basename(value_dir).removeprefix("values-")
if not locale in VALUE_DIR_TO_METADATA: