mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 08:36:32 +00:00
Formats large numbers
This commit is contained in:
parent
fbb6c41035
commit
6778046906
1 changed files with 4 additions and 4 deletions
|
@ -18,13 +18,13 @@
|
||||||
{% if import_size_limit and import_limit_reset %}
|
{% if import_size_limit and import_limit_reset %}
|
||||||
<div class="notification">
|
<div class="notification">
|
||||||
<p>
|
<p>
|
||||||
{% blocktrans count days=import_limit_reset%}
|
{% blocktrans count days=import_limit_reset with display_size=import_size_limit|intcomma %}
|
||||||
Currently you are allowed to import {{ import_size_limit }} books every {{ import_limit_reset }} day.
|
Currently, you are allowed to import {{ display_size }} books every {{ import_limit_reset }} day.
|
||||||
{% plural %}
|
{% plural %}
|
||||||
Currently you are allowed to import {{ import_size_limit }} books every {{ import_limit_reset }} days.
|
Currently, you are allowed to import {{ import_size_limit }} books every {{ import_limit_reset }} days.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
<p>{% blocktrans %}You have {{ allowed_imports }} left.{% endblocktrans %}</p>
|
<p>{% blocktrans with display_left=allowed_imports|intcomma %}You have {{ display_left }} left.{% endblocktrans %}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if recent_avg_hours or recent_avg_minutes %}
|
{% if recent_avg_hours or recent_avg_minutes %}
|
||||||
|
|
Loading…
Reference in a new issue