diff --git a/froide_govplan/templates/froide_govplan/plugins/time_used.html b/froide_govplan/templates/froide_govplan/plugins/time_used.html index 1e8ef3f..605316a 100644 --- a/froide_govplan/templates/froide_govplan/plugins/time_used.html +++ b/froide_govplan/templates/froide_govplan/plugins/time_used.html @@ -1,9 +1,13 @@ {% load govplan %} +{% load i18n %} +
{% with gov=instance.government %}
- {{ gov.days_left }} Tage übrig + + {% blocktranslate count days=gov.days_left %}One day left{% plural %}{{ days }} days left{% endblocktranslate %} +
diff --git a/froide_govplan/templates/froide_govplan/section.html b/froide_govplan/templates/froide_govplan/section.html index 9c50f92..5bd319f 100644 --- a/froide_govplan/templates/froide_govplan/section.html +++ b/froide_govplan/templates/froide_govplan/section.html @@ -36,14 +36,14 @@

{% blocktranslate with section=object.title %} - Here you can find all plans of the section "{{section}}", which the coalition constituted in their agreement. On the curresponding detail pages, you'll get more information, stay up to date with news or submit changes. + Here you can find all plans of the section “{{ section }}”, which the coalition constituted in their agreement. On the curresponding detail pages, you'll get more information, stay up to date with news or submit changes. {% endblocktranslate %}

- {% include "froide_govplan/plugins/progress.html" with object_list=plans %} + {% include "froide_govplan/plugins/progress_row.html" with object_list=plans %}

 nicht begonnen  begonnen @@ -51,6 +51,7 @@  umgesetzt  verschoben

+ {% include "froide_govplan/plugins/time_used.html" with instance=object %}