Skip to content

fix: translations not containing string formatting

Mario Oenning requested to merge moson/aurweb:fix-string-formatting into master

In some translations we might be missing replacement placeholders %...
This turns out to be problematic when calling the format function from html templates.

Wrap the jinja2 format function and just return the string un-formatted when % is missing.

Fixes: #341

Edited by Mario Oenning

Merge request reports