From 6778046906bc3749bf2850c9527405c9d628d774 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 17 Jul 2023 05:53:23 -0700 Subject: [PATCH] Formats large numbers --- bookwyrm/templates/import/import.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/import/import.html b/bookwyrm/templates/import/import.html index a00f3c100..394606c53 100644 --- a/bookwyrm/templates/import/import.html +++ b/bookwyrm/templates/import/import.html @@ -18,13 +18,13 @@ {% if import_size_limit and import_limit_reset %}

- {% blocktrans count days=import_limit_reset%} - Currently you are allowed to import {{ import_size_limit }} books every {{ import_limit_reset }} day. + {% blocktrans count days=import_limit_reset with display_size=import_size_limit|intcomma %} + Currently, you are allowed to import {{ display_size }} books every {{ import_limit_reset }} day. {% 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 %}

-

{% blocktrans %}You have {{ allowed_imports }} left.{% endblocktrans %}

+

{% blocktrans with display_left=allowed_imports|intcomma %}You have {{ display_left }} left.{% endblocktrans %}

{% endif %} {% if recent_avg_hours or recent_avg_minutes %}