Closes #220: Format strings need 's' after the name

This commit is contained in:
Sumner Evans 2020-04-21 07:58:12 -06:00
parent fd08a83124
commit 7e66676ebe
No known key found for this signature in database
GPG key ID: 8904527AB50022FD
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
{% if 'post_stats' in PLUGINS %}
&#8226; {{ _('%(minutes) min read', minutes=article.stats['read_mins']) }}
&#8226; {{ _('%(minutes)s min read', minutes=article.stats['read_mins']) }}
{% endif %}
</p>
</header>

View file

@ -29,7 +29,7 @@
{% endif %}
{% if 'post_stats' in PLUGINS %}
&#8226; {{ _('%(minutes) min read', minutes=article.stats['read_mins']) }}
&#8226; {{ _('%(minutes)s min read', minutes=article.stats['read_mins']) }}
{% endif %}
</p>
</header>