mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +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 import_size_limit and import_limit_reset %}
|
||||
<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>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue