Import template pages: Link to wiki page.

This commit is contained in:
Emanuel Schuetze 2012-04-15 10:07:45 +02:00
parent 8149686a04
commit b1c86d4c19
4 changed files with 38 additions and 20 deletions

View File

@ -8,7 +8,14 @@
<h1>{%trans "Import applications" %}</h1> <h1>{%trans "Import applications" %}</h1>
<p>{% trans 'Select a CSV file to import applications!' %}</p> <p>{% trans 'Select a CSV file to import applications!' %}</p>
<p>{% trans '(Required comma separated values: <code>number, title, text, reason, first_name, last_name</code> - <code>number</code> and <code>reason</code> are optional and may be empty)' %} </p> <p>{% trans 'Required comma separated values: <code>{number, title, text, reason, first_name, last_name}</code> (<code>number</code> and <code>reason</code> are optional and may be empty)' %}
<br>
{% trans 'Required CSV file encoding: UTF-8 (Unicode).' %}
</p>
<p><a href="http://dev.openslides.org/wiki/CSVImport" target="_blank">{% trans 'A CSV example file is available in OpenSlides Wiki.' %}</a>
</p>
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %} <form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<button class="button" type="submit"> <button class="button" type="submit">

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-04-15 09:45+0200\n" "POT-Creation-Date: 2012-04-15 10:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -165,7 +165,7 @@ msgstr "Speichern"
#: agenda/templates/agenda/config.html:17 agenda/templates/agenda/edit.html:19 #: agenda/templates/agenda/config.html:17 agenda/templates/agenda/edit.html:19
#: application/templates/application/config.html:17 #: application/templates/application/config.html:17
#: application/templates/application/edit.html:28 #: application/templates/application/edit.html:28
#: application/templates/application/import.html:19 #: application/templates/application/import.html:26
#: application/templates/application/poll_view.html:56 #: application/templates/application/poll_view.html:56
#: assignment/templates/assignment/config.html:17 #: assignment/templates/assignment/config.html:17
#: assignment/templates/assignment/edit.html:24 #: assignment/templates/assignment/edit.html:24
@ -174,7 +174,7 @@ msgstr "Speichern"
#: config/templates/config/general.html:17 #: config/templates/config/general.html:17
#: participant/templates/participant/edit.html:28 #: participant/templates/participant/edit.html:28
#: participant/templates/participant/group_edit.html:24 #: participant/templates/participant/group_edit.html:24
#: participant/templates/participant/import.html:21 #: participant/templates/participant/import.html:26
#: participant/templates/participant/settings.html:22 #: participant/templates/participant/settings.html:22
#: projector/templates/projector/new.html:20 #: projector/templates/projector/new.html:20
msgid "Cancel" msgid "Cancel"
@ -744,16 +744,26 @@ msgstr "Wählen Sie eine CSV-Datei zum Importieren von Anträgen aus!"
#: application/templates/application/import.html:11 #: application/templates/application/import.html:11
msgid "" msgid ""
"(Required comma separated values: <code>number, title, text, reason, " "Required comma separated values: <code>{number, title, text, reason, "
"first_name, last_name</code> - <code>number</code> and <code>reason</code> " "first_name, last_name}</code> (<code>number</code> and <code>reason</code> "
"are optional and may be empty)" "are optional and may be empty)"
msgstr "" msgstr ""
"(Erfordert kommaseparierte Werte: <code>Nummer, Titel, Text, Begründung, " "Erforderliche kommaseparierte Werte: <code>{Nummer, Titel, Text, Begründung, "
"Vorname, Nachname</code> - <code>Nummer</code> und <code>Begründung</code> " "Vorname, Nachname}</code> (<code>Nummer</code> und <code>Begründung</code> "
"sind optional und können auch leer sein)" "sind optional und können auch leer sein)"
#: application/templates/application/import.html:15 #: application/templates/application/import.html:13
#: participant/templates/participant/import.html:17 #: participant/templates/participant/import.html:13
msgid "Required CSV file encoding: UTF-8 (Unicode)."
msgstr "Erforderliches CSV-Datei-Encoding: UTF-8 (Unicode)."
#: application/templates/application/import.html:16
#: participant/templates/participant/import.html:16
msgid "A CSV example file is available in OpenSlides Wiki."
msgstr "Eine CSV-Beispiel-Datei gibt es im OpenSlides Wiki."
#: application/templates/application/import.html:22
#: participant/templates/participant/import.html:22
msgid "Import" msgid "Import"
msgstr "Importieren" msgstr "Importieren"
@ -1676,15 +1686,11 @@ msgstr "Wählen Sie eine CSV-Datei zum Importieren von Teilnehmer/innen aus!"
#: participant/templates/participant/import.html:11 #: participant/templates/participant/import.html:11
msgid "" msgid ""
"Required comma separated values: <code>first_name, last_name, gender, group, " "Required comma separated values: <code>{first_name, last_name, gender, "
"type, committee, comment</code>" "group, type, committee, comment}</code>"
msgstr "" msgstr ""
"(Erfordert kommaseparierte Werte: <code>Vorname, Nachname, Geschlecht, " "Erforderliche kommaseparierte Werte: <code>{Vorname, Nachname, Geschlecht, "
"Gruppe, Typ, Amt, Kommentar</code>)" "Gruppe, Typ, Amt, Kommentar}</code>"
#: participant/templates/participant/import.html:12
msgid "CSV file encoding: UTF-8 (Unicode)."
msgstr "CSV-Datei-Encoding: UTF-8 (Unicode)."
#: participant/templates/participant/login.html:8 #: participant/templates/participant/login.html:8
#: participant/templates/participant/login.html:16 #: participant/templates/participant/login.html:16

View File

@ -8,9 +8,14 @@
<h1>{% trans 'Import participants' %}</h1> <h1>{% trans 'Import participants' %}</h1>
<p>{% trans 'Select a CSV file to import participants!' %}</p> <p>{% trans 'Select a CSV file to import participants!' %}</p>
<p>{% trans 'Required comma separated values: <code>first_name, last_name, gender, group, type, committee, comment</code>' %}<br> <p>{% trans 'Required comma separated values: <code>{first_name, last_name, gender, group, type, committee, comment}</code>' %}
{% trans 'CSV file encoding: UTF-8 (Unicode).' %} <br>
{% trans 'Required CSV file encoding: UTF-8 (Unicode).' %}
</p> </p>
<p><a href="http://dev.openslides.org/wiki/CSVImport" target="_blank">{% trans 'A CSV example file is available in OpenSlides Wiki.' %}</a>
</p>
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %} <form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<button class="button" type="submit"> <button class="button" type="submit">