Fix #647 -- Add translation for export forms (#652)

This commit is contained in:
Jakob Schnell
2017-10-27 00:51:49 +02:00
committed by Raphael Michel
parent d63cc80507
commit 6207662ca5
3 changed files with 14 additions and 6 deletions

View File

@@ -215,6 +215,14 @@ msgstr[0] ""
msgstr[1] ""
"Die Produkte in Ihrem Warenkorb sind noch {num} Minuten für Sie reserviert."
#: pretix/static/pretixcontrol/js/ui/main.js:329
msgid "All"
msgstr "Alle"
#: pretix/static/pretixcontrol/js/ui/main.js:330
msgid "None"
msgstr "Keine"
#~ msgid "Sample product"
#~ msgstr "Beispielprodukt"

View File

@@ -188,12 +188,12 @@ msgid "Unknown error."
msgstr "Unbekannter Fehler."
#: pretix/static/pretixcontrol/js/ui/main.js:329
msgid "Alle"
msgstr ""
msgid "All"
msgstr "Alle"
#: pretix/static/pretixcontrol/js/ui/main.js:330
msgid "Keine"
msgstr ""
msgid "None"
msgstr "Keine"
#: pretix/static/pretixcontrol/js/ui/question.js:41
msgid "Others"

View File

@@ -326,8 +326,8 @@ $(function () {
$(".scrolling-multiple-choice").each(function () {
var $small = $("<small>");
var $a_all = $("<a>").addClass("choice-options-all").attr("href", "#").text(gettext("Alle"));
var $a_none = $("<a>").addClass("choice-options-none").attr("href", "#").text(gettext("Keine"));
var $a_all = $("<a>").addClass("choice-options-all").attr("href", "#").text(gettext("All"));
var $a_none = $("<a>").addClass("choice-options-none").attr("href", "#").text(gettext("None"));
$(this).prepend($small.append($a_all).append(" / ").append($a_none));
$(this).find(".choice-options-none").click(function (e) {