1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-02 07:20:37 +02:00

handle default.txt changelog in fdroid metadata/

fixup !1240
This commit is contained in:
Hans-Christoph Steiner 2022-10-31 12:50:06 +01:00
parent 10c1089eba
commit ffc3fbe288
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -998,6 +998,7 @@ def insert_localized_app_metadata(apps):
os.path.join(root, f))
elif f == 'default.txt':
# use "default.txt" changelog entry as fallback.
locale = segments[-2]
localized = _get_localized_dict(apps[packageName], locale)
if not localized.get('whatsNew', ''):
_set_localized_text_entry(apps[packageName], locale, 'whatsNew',