mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
parent
10c1089eba
commit
ffc3fbe288
@ -998,6 +998,7 @@ def insert_localized_app_metadata(apps):
|
|||||||
os.path.join(root, f))
|
os.path.join(root, f))
|
||||||
elif f == 'default.txt':
|
elif f == 'default.txt':
|
||||||
# use "default.txt" changelog entry as fallback.
|
# use "default.txt" changelog entry as fallback.
|
||||||
|
locale = segments[-2]
|
||||||
localized = _get_localized_dict(apps[packageName], locale)
|
localized = _get_localized_dict(apps[packageName], locale)
|
||||||
if not localized.get('whatsNew', ''):
|
if not localized.get('whatsNew', ''):
|
||||||
_set_localized_text_entry(apps[packageName], locale, 'whatsNew',
|
_set_localized_text_entry(apps[packageName], locale, 'whatsNew',
|
||||||
|
Loading…
Reference in New Issue
Block a user