mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 04:51:11 +00:00
Merge pull request #2631 from rritik772/pluralization-error
fixed singularisation/pluralisation
This commit is contained in:
commit
815e788245
1 changed files with 12 additions and 1 deletions
|
@ -17,7 +17,18 @@
|
||||||
{% if site.imports_enabled %}
|
{% if site.imports_enabled %}
|
||||||
{% if import_size_limit and import_limit_reset %}
|
{% if import_size_limit and import_limit_reset %}
|
||||||
<div class="notification">
|
<div class="notification">
|
||||||
<p>{% blocktrans %}Currently you are allowed to import {{ import_size_limit }} books every {{ import_limit_reset }} days.{% endblocktrans %}</p>
|
<p>
|
||||||
|
{% blocktrans count books=import_size_limit%}
|
||||||
|
Currently you are allowed to import {{ import_size_limit }} book
|
||||||
|
{% plural %}
|
||||||
|
Currently you are allowed to import {{ import_size_limit }} books
|
||||||
|
{% endblocktrans %}
|
||||||
|
{% blocktrans count days=import_limit_reset%}
|
||||||
|
every {{ import_limit_reset }} day.
|
||||||
|
{% plural %}
|
||||||
|
every {{ import_limit_reset }} days.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
<p>{% blocktrans %}You have {{ allowed_imports }} left.{% endblocktrans %}</p>
|
<p>{% blocktrans %}You have {{ allowed_imports }} left.{% endblocktrans %}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue