mirror of
https://github.com/YunoHost/yunodevtools.git
synced 2024-09-03 20:16:19 +02:00
Make sure 'ask' key exists
This commit is contained in:
parent
dbb821ea0b
commit
df37578eef
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ def include_translations_in_manifest(manifest):
|
|||
for question in questions:
|
||||
key = "%s_manifest_arguments_%s_%s" % (app_name, category, question["name"])
|
||||
# don't overwrite already existing translation in manifests for now
|
||||
if translations.get(key) and not current_lang not in question["ask"]:
|
||||
if translations.get(key) and "ask" in question and not current_lang not in question["ask"]:
|
||||
#print("[ask]", current_lang, key)
|
||||
question["ask"][current_lang] = translations[key]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue