From e8a68d9f071b5af9caedcb04a99b768a27a3c0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Nov=C3=BD?= <github-lnovy@krtek.net> Date: Thu, 3 Sep 2015 11:28:44 +0000 Subject: [PATCH] Translations --- helios/media/static_templates/question.html | 36 ++++++++++----------- helios/templates/_castconfirm_docast.html | 16 ++++----- helios/templates/_castconfirm_password.html | 6 ++-- helios/templates/cast_done.html | 10 +++--- helios/templates/castvote.html | 8 ++--- helios/templates/combine_decryptions.html | 6 ++-- helios/templates/email/info_body.txt | 4 +-- helios/templates/email/info_subject.txt | 2 +- helios/templates/email/result_body.txt | 12 +++---- helios/templates/email/result_subject.txt | 2 +- helios/templates/email/simple_body.txt | 12 +++---- helios/templates/email/vote_body.txt | 28 ++++++++-------- helios/templates/email/vote_subject.txt | 2 +- helios/templates/notification/result.txt | 2 +- server_ui/templates/privacy.html | 16 ++++----- 15 files changed, 81 insertions(+), 81 deletions(-) diff --git a/helios/media/static_templates/question.html b/helios/media/static_templates/question.html index dd5b8c8..c5624ec 100644 --- a/helios/media/static_templates/question.html +++ b/helios/media/static_templates/question.html @@ -21,7 +21,7 @@ </select> --> <input type="hidden" name="choice_type" value="approval" /> -<b>{$T.question$index + 1}.</b> Select between +<b>{$T.question$index + 1}.</b> Zvolte mezi <select name="min"> <option selected>0</option> <option>1</option> @@ -46,7 +46,7 @@ <option>20</option> </select> - and + a <select name="max"> <option>0</option> @@ -74,25 +74,25 @@ </select> -answers. +odpověďmi. -Result Type: +Typ výsledku: <select name="result_type"> - <option selected>absolute</option> - <option>relative</option> + <option selected>absolutní</option> + <option>relativní</option> </select> </p> <table id="answer_table_{$T.question$index}"> <tbody> - <tr><th colspan="2">Question:</th><td><input type="text" name="question" size="70" /></td></tr> + <tr><th colspan="2">Otázka:</th><td><input type="text" name="question" size="70" /></td></tr> <tr><th> </th><th> </th><th> </th></tr> </tbody> <tfoot> - <tr><th colspan="2"></th><th><a href="javascript:add_answers($('#answer_table_{$T.question$index}'),5)">add 5 more answers</a></th></tr> + <tr><th colspan="2"></th><th><a href="javascript:add_answers($('#answer_table_{$T.question$index}'),5)">přidat 5 dalších odpovědí</a></th></tr> <tr><td colspan="3"><input type="submit" value="update question" /> <input type="reset" value="cancel" onclick="question_edit_cancel({$T.question$index});" /></td></tr> </tfoot> @@ -100,11 +100,11 @@ Result Type: </form> </div> {#else} -no questions yet +zatím řádné otázky {#/for} {#if $T.admin_p} -<h4>Add a Question:</h4> +<h4>Přidat otázku:</h4> <form id="question_form" onsubmit="question_add(this); return false;" action="#"> <p> <!-- @@ -114,7 +114,7 @@ no questions yet </select> --> <input type="hidden" name="choice_type" value="approval" /> - Select between + Zvolte mezi <select name="min"> <option selected>0</option> <option>1</option> @@ -139,7 +139,7 @@ no questions yet <option>20</option> </select> - and + a <select name="max"> <option>0</option> @@ -167,21 +167,21 @@ no questions yet </select> -answers. +odpověďmi. -Result Type: +Typ výsledku: <select name="result_type"> - <option selected>absolute</option> - <option>relative</option> + <option selected>absolutní</option> + <option>relativní</option> </select> </p> <table id="answer_table"> <tbody> - <tr><th colspan="2">Question:</th><td><input type="text" name="question" size="70" /></td></tr> + <tr><th colspan="2">Otázka:</th><td><input type="text" name="question" size="70" /></td></tr> <tr><th> </th><th> </th><th> </th></tr> <!-- <tr><th> </th><th>Answer #1:</th><td><input type="text" name="answer_1" size="70" /></td></tr> @@ -196,7 +196,7 @@ Result Type: <tr><th> </th><th>Answer #10:</th><td><input type="text" name="answer_10" size="70" /></td></tr> --> </tbody> <tfoot> - <tr><th colspan="2"></th><th><a href="javascript:add_answers($('#answer_table'), 5)">add 5 more answers</a></th></tr> + <tr><th colspan="2"></th><th><a href="javascript:add_answers($('#answer_table'), 5)">přidat 5 dalších odpovědí</a></th></tr> <tr><td colspan="2"><input type="submit" value="add question" /></td></tr> </tfoot> diff --git a/helios/templates/_castconfirm_docast.html b/helios/templates/_castconfirm_docast.html index fa6b3e7..630cb5b 100644 --- a/helios/templates/_castconfirm_docast.html +++ b/helios/templates/_castconfirm_docast.html @@ -16,16 +16,16 @@ <br /> {% endif %} -You are logged in as <u>{{voter.display_html_big|safe}}</u><br /><br /> +Jste přihlášeni jako <u>{{voter.display_html_big|safe}}</u><br /><br /> - <button type="submit" class="large">CAST this ballot</button> - <span style="font-size:0.8em;"><br />You can cast as many ballots as you want.<br />Only the last one counts.</span> + <button type="submit" class="large">ODEVZDAT tento lístek</button> + <span style="font-size:0.8em;"><br />Můžete odevzdat tolik lístků, kolik chcete.<br />Pouze poslední se počítá.</span> </form> <p> - <button class="tiny" onclick="document.location='./view';">cancel</button><br /> - <span style="font-size:0.8em;">If you cancel now, your ballot will <em>NOT</em> be recorded.<br /> - You can start the voting process over again, of course.</span> + <button class="tiny" onclick="document.location='./view';">zrušit</button><br /> + <span style="font-size:0.8em;">Pokud zrušíte nyní, váš lístek <em>NEBUDE</em> zaznamenán.<br /> + Samozřejmě můžete proces hlasování zopakovat od začátku.</span> </p> <!-- for now, for CSRF protection, no auto-submit just yet (benadida) --> @@ -34,11 +34,11 @@ You are logged in as <u>{{voter.display_html_big|safe}}</u><br /><br /> </div> {% else %} <p style="font-size:1.4em;"> - voting has stopped, sorry. + Hlasování bylo ukončeno, sorry. </p> {% endif %} {% else %} <p style="font-size:1.4em;"> - voting has not yet begun, sorry. + Hlasování ještě nezačalo, sorry. </p> {% endif %} diff --git a/helios/templates/_castconfirm_password.html b/helios/templates/_castconfirm_password.html index 25e31de..a1e3bd6 100644 --- a/helios/templates/_castconfirm_password.html +++ b/helios/templates/_castconfirm_password.html @@ -1,4 +1,4 @@ -Please provide the voter ID and password you received by email.<br /><br /> +Prosím zadejte ID voliče a heslo které jste obdrželi emailem.<br /><br /> <form method="post" action="{% url "helios.views.password_voter_login" election.uuid %}" onsubmit="show_waiting()"> <input type="hidden" name="csrf_token" value="{{csrf_token}}" /> <input type="hidden" name="return_url" value="{{return_url}}" /> @@ -8,12 +8,12 @@ Please provide the voter ID and password you received by email.<br /><br /> </table> {% if bad_voter_login %} <p style="color: red;"> -bad voter ID or password, please try again. +špatné ID voliče nebo heslo, zkuste znovu prosím. </p> {% endif %} {% if cast_ballot == "1" %} <p class="small"> -You may cast as many ballots as you wish:<br />only the last one counts. +Můžete vhodit lístků kolik chcete:<br />pouze poslední se počítá. </p> <input type="submit" class="button" value="cast ballot" /> {% else %} diff --git a/helios/templates/cast_done.html b/helios/templates/cast_done.html index e4ddf4c..05ab85e 100644 --- a/helios/templates/cast_done.html +++ b/helios/templates/cast_done.html @@ -2,14 +2,14 @@ {% block title %}Confirm Vote{% endblock %} {% block content %} -<h1>{{election.name}} — Vote Successfully Cast!</h1> +<h1>{{election.name}} — Hlas úspěšně odeslán!</h1> <p> - Congratulations, your vote has been <b><u>successfully cast</u></b>! + Gratulujeme, váš hlasy byl <b><u>úspěšně odeslán</u></b>! </p> <p> - Your smart ballot tracker is:<br /><br /> + Váš chytrý sledovač lístku je:<br /><br /> <tt style="font-size:1.8em; font-weight: bold; padding-left: 20px;"> {{vote_hash}}</tt> </p> @@ -18,13 +18,13 @@ </p> {% if logout %} -<p><b>For your safety, we have logged you out.</b></p> +<p><b>Pro vaši bezpečnost jsme vás odhlásili.</b></p> <iframe width="0" height="0" border="0" frameborder="0" src="/auth/logout"> </iframe> {% endif %} <p style="font-size: 1.4em;"> -[ <a href="{% url "helios.views.one_election_view" election.uuid %}">return to election info</a> ] +[ <a href="{% url "helios.views.one_election_view" election.uuid %}">vrátit se k informacím o volbě</a> ] </p> {% endblock %} diff --git a/helios/templates/castvote.html b/helios/templates/castvote.html index 1c21d73..ac65982 100644 --- a/helios/templates/castvote.html +++ b/helios/templates/castvote.html @@ -2,9 +2,9 @@ {% block title %}{{cast_vote.vote_tinyhash}} — {{election.name}}{% endblock %} {% block content %} -<h2 class="title">Cast Vote {{cast_vote.vote_tinyhash}}</h2> -cast in <a href="{% url "helios.views.one_election_view" election.uuid %}">{{election.name}}</a><br /> -Fingerprint: <tt>{{cast_vote.vote_hash}}</tt><br /> +<h2 class="title">Odeslat hlas {{cast_vote.vote_tinyhash}}</h2> +hlasovat v <a href="{% url "helios.views.one_election_view" election.uuid %}">{{election.name}}</a><br /> +Otisk: <tt>{{cast_vote.vote_hash}}</tt><br /> by <b><u> {% if the_voter.alias %} {{the_voter.alias}} @@ -13,7 +13,7 @@ by <b><u> {% endif %} </u></b> <br /><br /> -<a href="#" onclick="$('#castvote_content').slideToggle(250); return false;">details</a><br /><br /> +<a href="#" onclick="$('#castvote_content').slideToggle(250); return false;">podrobnosti</a><br /><br /> <div style="display:none;" id="castvote_content"> <textarea cols="100" rows="10"> {{vote_content}} diff --git a/helios/templates/combine_decryptions.html b/helios/templates/combine_decryptions.html index c14c762..5f6ad8d 100644 --- a/helios/templates/combine_decryptions.html +++ b/helios/templates/combine_decryptions.html @@ -1,11 +1,11 @@ {% extends TEMPLATE_BASE %} -{% block title %}Compute Tally — {{election.name}}{% endblock %} +{% block title %}Spočítat výsledek — {{election.name}}{% endblock %} {% block content %} - <h2 class="title">{{election.name}} — Compute Tally <span style="font-size:0.7em;">[<a href="{% url "helios.views.one_election_view" election.uuid %}">cancel</a>]</span></h2> + <h2 class="title">{{election.name}} — Spočítej výsledek <span style="font-size:0.7em;">[<a href="{% url "helios.views.one_election_view" election.uuid %}">zrušit</a>]</span></h2> <p> - You are about to compute the tally for this election. You only will then see the results. + Chystáte se spočítat výsledek pro toto hlasování. Pouze vy pak uvidíte výsledek. </p> <form method="POST" action=""> diff --git a/helios/templates/email/info_body.txt b/helios/templates/email/info_body.txt index e717a8a..2a0b68c 100644 --- a/helios/templates/email/info_body.txt +++ b/helios/templates/email/info_body.txt @@ -1,8 +1,8 @@ -Dear {{voter.name}}, +Vážený {{voter.name}}, {{custom_message|safe}} -Election Link: {{election_vote_url}} +Odkaz na volby: {{election_vote_url}} -- Helios diff --git a/helios/templates/email/info_subject.txt b/helios/templates/email/info_subject.txt index 6b43baf..ea0a888 100644 --- a/helios/templates/email/info_subject.txt +++ b/helios/templates/email/info_subject.txt @@ -1 +1 @@ -Additional Information: {{custom_subject|safe}} +Další informace: {{custom_subject|safe}} diff --git a/helios/templates/email/result_body.txt b/helios/templates/email/result_body.txt index 69fd3da..fc71cc9 100644 --- a/helios/templates/email/result_body.txt +++ b/helios/templates/email/result_body.txt @@ -1,19 +1,19 @@ -Dear {{voter.name}}, +Vážený {{voter.name}}, -The tally for {{election.name}} has been computed and released: +Celkový výsledek pro {{election.name}} byl vypočítán a zveřejněn: {{election_url}} {{custom_message|safe}} -{% if voter.vote_hash %}Your smart ballot tracker in this election was: +{% if voter.vote_hash %}Váš chytry sledovač lístku pro toto hlasování byl: {{voter.vote_hash}} -If you believe this tracker to be in error, please contact us. +Pokud myslíte že tento sledovač je chybný, prosím kontaktuje nás. {% else %} -It appears you did not cast a vote in this election. -Please contact us if you believe you did. +Vyoadá to, že v těchto volbách jste nehlasovali. +Prosím kontaktujte nás, pokud si myslíte, že ano. {% endif %} -- Helios diff --git a/helios/templates/email/result_subject.txt b/helios/templates/email/result_subject.txt index c7ac9f4..3153c63 100644 --- a/helios/templates/email/result_subject.txt +++ b/helios/templates/email/result_subject.txt @@ -1 +1 @@ -Tally Released - {{custom_subject|safe}} +Výsledek zveřejněn - {{custom_subject|safe}} diff --git a/helios/templates/email/simple_body.txt b/helios/templates/email/simple_body.txt index 695fee4..560ff7b 100644 --- a/helios/templates/email/simple_body.txt +++ b/helios/templates/email/simple_body.txt @@ -1,14 +1,14 @@ -Dear {{voter.name}}, +Vážený {{voter.name}}, {{custom_message|safe}} ======== -How to Vote +Jak hlasovat -Election URL: {{election_vote_url}} +URL Hlasování: {{election_vote_url}} {% ifequal voter.voter_type "password" %} -Your voter ID: {{voter.voter_login_id}} -Your password: {{voter.voter_password}} +Vaše ID voliče: {{voter.voter_login_id}} +Vaše heslo: {{voter.voter_password}} {% else %} -Log in with your {{voter.voter_type}} account. +Přihlašte se svým {{voter.voter_type}} účtem. {% endifequal %} diff --git a/helios/templates/email/vote_body.txt b/helios/templates/email/vote_body.txt index 56adfb0..2fc5344 100644 --- a/helios/templates/email/vote_body.txt +++ b/helios/templates/email/vote_body.txt @@ -1,29 +1,29 @@ -Dear {{voter.name}}, +Vážený {{voter.name}}, {{custom_message|safe}} -Election URL: {{election_vote_url}} -Election Fingerprint: {{voter.election.hash}} +URL Hlasování: {{election_vote_url}} +Otisk Hlasování: {{voter.election.hash}} {% ifequal voter.voter_type "password" %} -Your voter ID: {{voter.voter_login_id}} -Your password: {{voter.voter_password}} +Vaše ID voliče: {{voter.voter_login_id}} +Vaše heslo: {{voter.voter_password}} {% else %} -Log in with your {{voter.voter_type}} account. +Přihlašte se svým {{voter.voter_type}} účtem. {% endifequal %}{% if voter.vote_hash %} -We have recorded your vote with smart tracker: +Zaznamenali jsem váš hlas chytrým sledovačem: {{voter.vote_hash}} -You may re-vote if you wish: only your last vote counts. +Můžete kdykoli znovu hlasovat: pouze poslední hlas se počítá. {% endif %}{% if election.use_voter_aliases %} -In order to protect your privacy, this election is configured -to never display your voter login ID, name, or email address to the public. -Instead, the ballot tracking center will only display your alias. +Z důvodů ochrany vašeho soukromí, toto hlasování je nastaveno +aby nikdy nezobrazovalo veřejně Vaše login, ID voliče, jméno, nebo email. +Centrum sledování lístků bude zobrazovat pouze váš alias. -Your voter alias is {{voter.alias}}. +Váš alias voliče je {{voter.alias}}. -IMPORTANTLY, when you are prompted to log in to vote, -please use your *voter ID*, not your alias. +DŮLEŽITÉ; když jste požádání aby jste se přihlásili pro hlasování, +prosím použíjte své *ID voliče*, nikoliv svůj alias. {% endif %} -- Helios diff --git a/helios/templates/email/vote_subject.txt b/helios/templates/email/vote_subject.txt index e048737..786c287 100644 --- a/helios/templates/email/vote_subject.txt +++ b/helios/templates/email/vote_subject.txt @@ -1 +1 @@ -Vote: {{custom_subject|safe}} +Hlasování: {{custom_subject|safe}} diff --git a/helios/templates/notification/result.txt b/helios/templates/notification/result.txt index 2fc3936..bbc84ba 100644 --- a/helios/templates/notification/result.txt +++ b/helios/templates/notification/result.txt @@ -1 +1 @@ -Tally computed for {{voter.election.name}}: {{election_url}} +Výsledek spočítán pro {{voter.election.name}}: {{election_url}} diff --git a/server_ui/templates/privacy.html b/server_ui/templates/privacy.html index f96ba65..1bacb59 100644 --- a/server_ui/templates/privacy.html +++ b/server_ui/templates/privacy.html @@ -1,5 +1,5 @@ {% extends 'server_ui/templates/base.html' %} -{% block title %}{{ settings.SITE_TITLE }} — Privacy{% endblock %} +{% block title %}{{ settings.SITE_TITLE }} — Soukromí{% endblock %} {% block header %} {% endblock %} @@ -8,18 +8,18 @@ <div class="large-12-columns"> -<div class="row"><h2>Privacy</h2></div> +<div class="row"><h2>Soukromí</h2></div> <div class="row"> -<h3>In General</h3> +<h3>Obecně</h3> <ul> -<li> Helios is designed with built-in privacy. If you have any questions or concerns about Helios privacy not covered here, <a href="mailto:help@heliosvoting.org">send us an email</a>.</li> -<li> We collect only the information needed to provide secure, trustworthy elections.</li> -<li> We make certain information available publicly on our web site as part of the process of auditing elections (details below.) Other than that, we do not give away any information we collect.</li> -<li> We do not sell any information.</li> -<li> We do not use external trackers or advertising that could leak information about you, except for Facebook and Twitter share buttons. Even for those, we use origin sandboxing to limit how much Facebook and Twitter can determine about you, and we only use those buttons on the election information page. +<li> Helios je navržen se zabudovaným Soukromím. Pokud máš jakékoliv otázky nebo pochyby o soukromí Heliosu zde nepokryté, <a href="mailto:help@heliosvoting.org">napiš nám email</a>.</li> +<li> Shromažďujeme jen informace nezbytné k zajištění bezpečných, důvěryhodných voleb.</li> +<li> Některé informace činíme veřejnými na našem webu jako součást procedu auditu voleb (detaily níže.) Kromě toho neposkytujeme žádné informace, které sbíráme.</li> +<li> Neprodáváme žádné informace.</li> +<li> Nepouživáme externí trackery nebo reklamu, které by mohlo zapříčínit únik informace o tobě, kromě sdílecích tlačítek Facebooku a twitteru. Dokonce i pro tyto používáme origin sandboxing abychom omezili kolik Facebook a Twitter o tobě mohou určit, a používáme je pouze na stránce informací o volbě. </ul> <p> -- GitLab