From 38dc1cde0d8ff6c52c39ec71be14a98946f04bad Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Fri, 1 Nov 2024 17:34:33 +0100 Subject: localize file sizes --- src/jwebmail/templates/_folders.html | 2 +- src/jwebmail/templates/_main_table.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jwebmail/templates') diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html index 7b8f85d..7bee2a2 100644 --- a/src/jwebmail/templates/_folders.html +++ b/src/jwebmail/templates/_folders.html @@ -44,7 +44,7 @@ {% if total_size %} {% trans %}mailbox size: {% endtrans %} - {{ total_size|filesizeformat }} + {{ total_size|filesizeformat|num_localize }} {% endif %} diff --git a/src/jwebmail/templates/_main_table.html b/src/jwebmail/templates/_main_table.html index b6493fb..cc22da4 100644 --- a/src/jwebmail/templates/_main_table.html +++ b/src/jwebmail/templates/_main_table.html @@ -33,7 +33,7 @@
- {{ msg.byte_size|filesizeformat }} + {{ msg.byte_size|filesizeformat|num_localize }}
-- cgit v1.2.3