From 6c400d0367e63a65cfccd17ab30ab1803111139f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com>
Date: Mon, 24 May 2021 16:28:49 +0200
Subject: [PATCH] Translations and tweaks

---
 helios/templates/election_view.html | 8 ++++----
 settings.py                         | 2 ++
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/helios/templates/election_view.html b/helios/templates/election_view.html
index a4ce72c..0d04aa6 100644
--- a/helios/templates/election_view.html
+++ b/helios/templates/election_view.html
@@ -42,14 +42,14 @@ toto {{election.election_type}} <u>není</u> zobrazeno na titulní stránce.
 
 <br clear="left" />
 
-<div style="margin-bottom: 25px; line-height: 1.3;">
+<div style="margin-bottom: 25px; line-height: 1.3; border: 1px solid #888888; padding: 20px;">
 {{election.description_bleached|safe}}
 </div>
 
 <p>
-{% if election.help_email and admin_p%}Help Email Address: {{election.help_email}}<br />{% endif %}
-{% if election.voting_start_at %}Voting start at {{election.voting_start_at}}<br />{% endif %}
-{% if election.voting_end_at %}Voting end at {{election.voting_end_at}}<br />{% endif %}
+{% if election.help_email and admin_p%}Email pro nápovědu: {{election.help_email}}<br />{% endif %}
+{% if election.voting_start_at %}Hlasování začíná: {{election.voting_start_at}}<br />{% endif %}
+{% if election.voting_end_at %}Hlasování končí: {{election.voting_end_at}}<br />{% endif %}
 </p>
 
 {% if election.election_info_url %}
diff --git a/settings.py b/settings.py
index e925e47..c7c346b 100644
--- a/settings.py
+++ b/settings.py
@@ -293,3 +293,5 @@ DEFAULT_FROM_EMAIL = "helios@pirati.cz"
 DEFAULT_FROM_NAME = "Pirati - Helios Voting"
 WELCOME_MESSAGE = "Vítejte na hlasovacím systému České pirátské strany"
 SITE_TITLE = "Hlasovací systém Helios | Česká piratská strana"
+
+USE_L10N = True
-- 
GitLab