Merge branch 'badge' into 'master'

Fix 1-translate-svg

See merge request fdroid/artwork!50
This commit is contained in:
Michael Pöhn 2024-03-06 08:30:23 +00:00
commit 9f06645ccf
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ for f in d.glob("src/*/strings.yml"):
locale = f.parent.name
with open(f) as fp:
strings = yaml.safe_load(fp)
top = strings.get("above F-Droid").strip()
bottom = strings.get("below F-Droid").strip()
top = strings.get("above F-Droid", "").strip()
bottom = strings.get("below F-Droid", "").strip()
if top and bottom:
name = "top_and_bottom"
elif top: