1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Merge pull request #1525 from YunoHost/Tagadda-patch-1

This commit is contained in:
tituspijean 2022-10-06 23:34:08 +02:00 committed by GitHub
commit ae6c2203c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,11 +72,11 @@ def generate_READMEs(app_path: str):
# TODO: Add url to the documentation... and actually create that documentation :D # TODO: Add url to the documentation... and actually create that documentation :D
antifeatures = { a: antifeatures_list[a] for a in from_catalog.get('antifeatures', [])} antifeatures = { a: antifeatures_list[a] for a in from_catalog.get('antifeatures', [])}
for k, v in antifeatures.items(): for k, v in antifeatures.items():
antifeatures[k]['title'] = value_for_lang(v['title'], lang_suffix) antifeatures[k]['title'] = value_for_lang(v['title'], lang)
if manifest.get("antifeatures", {}).get(k, None): if manifest.get("antifeatures", {}).get(k, None):
antifeatures[k]['description'] = value_for_lang(manifest.get("antifeatures", {}).get(k, None), lang_suffix) antifeatures[k]['description'] = value_for_lang(manifest.get("antifeatures", {}).get(k, None), lang)
else: else:
antifeatures[k]['description'] = value_for_lang(antifeatures[k]['description'], lang_suffix) antifeatures[k]['description'] = value_for_lang(antifeatures[k]['description'], lang)
out = template.render( out = template.render(
lang=lang, lang=lang,