mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-03 19:20:12 +02:00
rewritemeta: do not include empty Summary: or Description:
Since the Summary: and Description: in the metadata file has the highest priority of all the localized texts, adding blank versions means that apps would always have blank Summary and Description even if the app has those fields in the localized sections of fdroiddata and/or in the app's source repo itself. fdroiddata!2262
This commit is contained in:
parent
18c3bfa5fb
commit
30ff777897
@ -1225,8 +1225,8 @@ def write_plaintext_metadata(mf, app, w_comment, w_field, w_build):
|
|||||||
mf.write('\n')
|
mf.write('\n')
|
||||||
w_field_nonempty('Name')
|
w_field_nonempty('Name')
|
||||||
w_field_nonempty('Auto Name')
|
w_field_nonempty('Auto Name')
|
||||||
w_field_always('Summary')
|
w_field_nonempty('Summary')
|
||||||
w_field_always('Description', description_txt(app.Description))
|
w_field_nonempty('Description', description_txt(app.Description))
|
||||||
mf.write('\n')
|
mf.write('\n')
|
||||||
if app.RequiresRoot:
|
if app.RequiresRoot:
|
||||||
w_field_always('Requires Root', 'yes')
|
w_field_always('Requires Root', 'yes')
|
||||||
|
Loading…
Reference in New Issue
Block a user