diff options
| author | Jules Aguillon | 2024-03-24 21:37:41 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-03-24 21:37:41 +0100 |
| commit | f17afba7be0ddf91ae0e67dcfba3c24833c0f6cc (patch) | |
| tree | 7621bb00038ed6249de58736149617f189c25571 /sync_translations.py | |
| parent | 7e9d8c73df91368c78e433335e4d0ae09d6b36cc (diff) | |
| download | unexpected-keyboard-f17afba7be0ddf91ae0e67dcfba3c24833c0f6cc.tar.gz unexpected-keyboard-f17afba7be0ddf91ae0e67dcfba3c24833c0f6cc.zip | |
sync_translations: Fix store descrs not updated
Diffstat (limited to 'sync_translations.py')
| -rw-r--r-- | sync_translations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync_translations.py b/sync_translations.py index 07f6886..8d1eff6 100644 --- a/sync_translations.py +++ b/sync_translations.py @@ -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: |
