From 0e9709f3040249f4bd25aaa89dbe6b751def2985 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 1 Aug 2021 17:09:29 +0200 Subject: [PATCH] Make Book-No. of book-range to translatable text --- cps/templates/detail.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 76a5a87d..fe19cb6f 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -122,7 +122,8 @@ {% endif %} {% if entry.series|length > 0 %} -

{{_('Book')}} {{entry.series_index|formatfloat(2)}} {{_('of')}} {{entry.series[0].name}}

+

{{_("Book %(index)s of %(range)s", index=entry.series_index|formatfloat(2), range=("" + entry.series[0].name + "")|safe) }}

+ {% endif %} {% if entry.languages.__len__() > 0 %}