Merge pull request #41 from emanuelschuetze/master

Fixed translations of widget names.
This commit is contained in:
Oskar Hahn 2012-11-08 00:46:59 -08:00
commit 6d5e9d7d61
6 changed files with 38 additions and 37 deletions

View File

@ -226,6 +226,7 @@ def get_widgets(request):
return [ return [
Widget( Widget(
name='agenda', name='agenda',
display_name=_('Agenda'),
template='agenda/widget.html', template='agenda/widget.html',
context={ context={
'agenda': SLIDE['agenda'], 'agenda': SLIDE['agenda'],

View File

@ -674,7 +674,8 @@ def register_tab(request):
def get_widgets(request): def get_widgets(request):
return [ return [
Widget( Widget(
name=_('Assignments'), name='assignments',
display_name=_('Elections'),
template='assignment/widget.html', template='assignment/widget.html',
context={'assignments': Assignment.objects.all()}, context={'assignments': Assignment.objects.all()},
permission_required='assignment.can_manage_assignment')] permission_required='assignment.can_manage_assignment')]

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: OpenSlides 1.x\n" "Project-Id-Version: OpenSlides 1.x\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-07 22:33+0100\n" "POT-Creation-Date: 2012-11-08 09:41+0100\n"
"PO-Revision-Date: 2012-07-28 11:07+0200\n" "PO-Revision-Date: 2012-07-28 11:07+0200\n"
"Last-Translator: Emanuel Schuetze <emanuel@intevation.de>\n" "Last-Translator: Emanuel Schuetze <emanuel@intevation.de>\n"
"Language-Team: support@openslides.de\n" "Language-Team: support@openslides.de\n"
@ -45,7 +45,7 @@ msgid "Text"
msgstr "Text" msgstr "Text"
#: agenda/models.py:44 agenda/templates/agenda/overview.html:65 #: agenda/models.py:44 agenda/templates/agenda/overview.html:65
#: agenda/templates/agenda/view.html:13 participant/models.py:56 #: agenda/templates/agenda/view.html:13 participant/models.py:59
#: participant/templates/participant/overview.html:72 #: participant/templates/participant/overview.html:72
#: participant/templates/participant/user_detail.html:45 #: participant/templates/participant/user_detail.html:45
msgid "Comment" msgid "Comment"
@ -69,7 +69,7 @@ msgid "Can manage agenda"
msgstr "Darf die Tagesordung verwalten" msgstr "Darf die Tagesordung verwalten"
#: agenda/models.py:189 agenda/slides.py:20 agenda/views.py:194 #: agenda/models.py:189 agenda/slides.py:20 agenda/views.py:194
#: agenda/views.py:195 agenda/views.py:214 #: agenda/views.py:195 agenda/views.py:214 agenda/views.py:229
#: agenda/templates/agenda/base_agenda.html:10 #: agenda/templates/agenda/base_agenda.html:10
#: agenda/templates/agenda/overview.html:8 #: agenda/templates/agenda/overview.html:8
#: agenda/templates/agenda/overview.html:52 #: agenda/templates/agenda/overview.html:52
@ -396,7 +396,7 @@ msgstr "Abgeschlossen"
msgid "Name" msgid "Name"
msgstr "Name" msgstr "Name"
#: assignment/models.py:55 participant/models.py:120 #: assignment/models.py:55 participant/models.py:133
msgid "Description" msgid "Description"
msgstr "Beschreibung" msgstr "Beschreibung"
@ -463,6 +463,7 @@ msgid "Ballot %d"
msgstr "Wahlgang %d" msgstr "Wahlgang %d"
#: assignment/models.py:331 assignment/views.py:340 assignment/views.py:664 #: assignment/models.py:331 assignment/views.py:340 assignment/views.py:664
#: assignment/views.py:678
#: assignment/templates/assignment/base_assignment.html:14 #: assignment/templates/assignment/base_assignment.html:14
#: assignment/templates/assignment/overview.html:6 #: assignment/templates/assignment/overview.html:6
#: assignment/templates/assignment/overview.html:9 #: assignment/templates/assignment/overview.html:9
@ -670,10 +671,6 @@ msgstr "Enthaltung"
msgid "Election settings successfully saved." msgid "Election settings successfully saved."
msgstr "Wahl-Einstellungen wurden erfolgreich gespeichert." msgstr "Wahl-Einstellungen wurden erfolgreich gespeichert."
#: assignment/views.py:677
msgid "Assignments"
msgstr "Wahlen"
#: assignment/templates/assignment/base_assignment.html:16 #: assignment/templates/assignment/base_assignment.html:16
msgid "All elections" msgid "All elections"
msgstr "Alle Wahlen" msgstr "Alle Wahlen"
@ -1195,7 +1192,7 @@ msgid "The assembly may decide,"
msgstr "Die Versammlung möge beschließen," msgstr "Die Versammlung möge beschließen,"
#: motion/models.py:604 motion/views.py:692 motion/views.py:917 #: motion/models.py:604 motion/views.py:692 motion/views.py:917
#: motion/templates/motion/base_motion.html:9 #: motion/views.py:928 motion/templates/motion/base_motion.html:9
#: motion/templates/motion/overview.html:7 #: motion/templates/motion/overview.html:7
#: motion/templates/motion/overview.html:10 #: motion/templates/motion/overview.html:10
msgid "Motions" msgid "Motions"
@ -1713,6 +1710,7 @@ msgstr "Teilnehmer"
#: participant/templates/participant/group_overview.html:7 #: participant/templates/participant/group_overview.html:7
#: participant/templates/participant/group_overview.html:10 #: participant/templates/participant/group_overview.html:10
#: participant/templates/participant/user_detail.html:14 #: participant/templates/participant/user_detail.html:14
#: participant/templates/projector/UserSlide.html:12
msgid "Groups" msgid "Groups"
msgstr "Gruppen" msgstr "Gruppen"
@ -1720,7 +1718,7 @@ msgstr "Gruppen"
msgid "Permissions" msgid "Permissions"
msgstr "Rechte" msgstr "Rechte"
#: participant/forms.py:47 participant/views.py:530 #: participant/forms.py:47 participant/views.py:530 participant/views.py:576
#: participant/templates/participant/base_participant.html:12 #: participant/templates/participant/base_participant.html:12
#: participant/templates/participant/overview.html:7 #: participant/templates/participant/overview.html:7
#: participant/templates/participant/overview.html:18 #: participant/templates/participant/overview.html:18
@ -1753,93 +1751,95 @@ msgstr "Teilnehmer/innen nach Vornamen sortieren"
msgid "Disable for sorting by last name" msgid "Disable for sorting by last name"
msgstr "Deaktivieren für Sortierung nach Nachnamen" msgstr "Deaktivieren für Sortierung nach Nachnamen"
#: participant/models.py:29 participant/templates/participant/overview.html:25 #: participant/models.py:32 participant/templates/participant/overview.html:25
msgid "Male" msgid "Male"
msgstr "Männlich" msgstr "Männlich"
#: participant/models.py:30 participant/templates/participant/overview.html:26 #: participant/models.py:33 participant/templates/participant/overview.html:26
msgid "Female" msgid "Female"
msgstr "Weiblich" msgstr "Weiblich"
#: participant/models.py:33 participant/templates/participant/overview.html:38 #: participant/models.py:36 participant/templates/participant/overview.html:38
msgid "Delegate" msgid "Delegate"
msgstr "Delegierter" msgstr "Delegierter"
#: participant/models.py:34 participant/templates/participant/overview.html:39 #: participant/models.py:37 participant/templates/participant/overview.html:39
msgid "Observer" msgid "Observer"
msgstr "Beobachter" msgstr "Beobachter"
#: participant/models.py:35 participant/templates/participant/overview.html:40 #: participant/models.py:38 participant/templates/participant/overview.html:40
msgid "Staff" msgid "Staff"
msgstr "Mitarbeiter" msgstr "Mitarbeiter"
#: participant/models.py:36 participant/templates/participant/overview.html:41 #: participant/models.py:39 participant/templates/participant/overview.html:41
msgid "Guest" msgid "Guest"
msgstr "Gast" msgstr "Gast"
#: participant/models.py:41 participant/templates/participant/overview.html:30 #: participant/models.py:44 participant/templates/participant/overview.html:30
#: participant/templates/participant/overview.html:68 #: participant/templates/participant/overview.html:68
msgid "Detail" msgid "Detail"
msgstr "Detail" msgstr "Detail"
#: participant/models.py:42 #: participant/models.py:45
msgid "Will be shown after the name." msgid "Will be shown after the name."
msgstr "Wird nach dem Namen angezeigt." msgstr "Wird nach dem Namen angezeigt."
#: participant/models.py:45 participant/templates/participant/overview.html:24 #: participant/models.py:48 participant/templates/participant/overview.html:24
#: participant/templates/participant/user_detail.html:24 #: participant/templates/participant/user_detail.html:24
#: participant/templates/projector/UserSlide.html:20
msgid "Gender" msgid "Gender"
msgstr "Geschlecht" msgstr "Geschlecht"
#: participant/models.py:45 participant/models.py:48 participant/models.py:51 #: participant/models.py:48 participant/models.py:51 participant/models.py:54
msgid "Only for filtering the participant list." msgid "Only for filtering the participant list."
msgstr "Nur zum Filtern der Teilnehmerliste." msgstr "Nur zum Filtern der Teilnehmerliste."
#: participant/models.py:48 #: participant/models.py:51
msgid "Typ" msgid "Typ"
msgstr "Typ" msgstr "Typ"
#: participant/models.py:50 participant/views.py:245 #: participant/models.py:53 participant/views.py:245
#: participant/templates/participant/overview.html:45 #: participant/templates/participant/overview.html:45
#: participant/templates/participant/overview.html:70 #: participant/templates/participant/overview.html:70
#: participant/templates/participant/user_detail.html:34 #: participant/templates/participant/user_detail.html:34
#: participant/templates/projector/UserSlide.html:28
msgid "Committee" msgid "Committee"
msgstr "Amt" msgstr "Amt"
#: participant/models.py:53 #: participant/models.py:56
#: participant/templates/participant/user_detail.html:39 #: participant/templates/participant/user_detail.html:39
msgid "About me" msgid "About me"
msgstr "Über mich" msgstr "Über mich"
#: participant/models.py:54 #: participant/models.py:57
msgid "Your profile text" msgid "Your profile text"
msgstr "Ihr Profiltext" msgstr "Ihr Profiltext"
#: participant/models.py:57 #: participant/models.py:60
msgid "Only for notes." msgid "Only for notes."
msgstr "Nur für Notizen." msgstr "Nur für Notizen."
#: participant/models.py:60 #: participant/models.py:63
msgid "Default password" msgid "Default password"
msgstr "Vorgegebenes Passwort" msgstr "Vorgegebenes Passwort"
#: participant/models.py:108 #: participant/models.py:111
msgid "Can see participant" msgid "Can see participant"
msgstr "Darf die Teilnehmer/inen sehen" msgstr "Darf die Teilnehmer/inen sehen"
#: participant/models.py:110 #: participant/models.py:113
msgid "Can manage participant" msgid "Can manage participant"
msgstr "Darf die Teilnehmer/inen verwalten" msgstr "Darf die Teilnehmer/inen verwalten"
#: participant/models.py:119 #: participant/models.py:132
msgid "Use this group as participant" msgid "Use this group as participant"
msgstr "Verwende diese Gruppe als Teilnehmer/in" msgstr "Verwende diese Gruppe als Teilnehmer/in"
#: participant/models.py:119 #: participant/models.py:132
msgid "For example as submitter of a motion." msgid "For example as submitter of a motion."
msgstr "Zum Beispiel als Antragsteller." msgstr "Zum Beispiel als Antragsteller."
#: participant/models.py:201 #: participant/models.py:214
msgid "Welcome to OpenSlides!" msgid "Welcome to OpenSlides!"
msgstr "Willkommen bei OpenSlides!" msgstr "Willkommen bei OpenSlides!"
@ -1867,6 +1867,7 @@ msgstr "Gruppe"
#: participant/views.py:244 participant/templates/participant/overview.html:37 #: participant/views.py:244 participant/templates/participant/overview.html:37
#: participant/templates/participant/overview.html:69 #: participant/templates/participant/overview.html:69
#: participant/templates/participant/user_detail.html:29 #: participant/templates/participant/user_detail.html:29
#: participant/templates/projector/UserSlide.html:24
msgid "Type" msgid "Type"
msgstr "Typ" msgstr "Typ"
@ -1941,10 +1942,6 @@ msgstr "Passwort wurde erfolgreich geändert."
msgid "My motions and elections" msgid "My motions and elections"
msgstr "Meine Anträge und Wahlen" msgstr "Meine Anträge und Wahlen"
#: participant/views.py:576
msgid "Users"
msgstr "Benutzer"
#: participant/templates/participant/base_participant.html:15 #: participant/templates/participant/base_participant.html:15
msgid "All participants" msgid "All participants"
msgstr "Alle Teilnehmer/innen" msgstr "Alle Teilnehmer/innen"
@ -2146,6 +2143,7 @@ msgid "I am candidate for the following elections:"
msgstr "Ich bin Kandidat/in bei folgenden Wahlen:" msgstr "Ich bin Kandidat/in bei folgenden Wahlen:"
#: participant/templates/participant/user_detail.html:19 #: participant/templates/participant/user_detail.html:19
#: participant/templates/projector/UserSlide.html:16
msgid "The participant is not member of any group." msgid "The participant is not member of any group."
msgstr "Teilnehmer/in ist kein Mitglied einer Gruppe." msgstr "Teilnehmer/in ist kein Mitglied einer Gruppe."

View File

@ -925,6 +925,7 @@ def get_widgets(request):
return [ return [
Widget( Widget(
name='motions', name='motions',
display_name=_('Motions'),
template='motion/widget.html', template='motion/widget.html',
context={'motions': Motion.objects.all()}, context={'motions': Motion.objects.all()},
permission_required='motion.can_manage_motion')] permission_required='motion.can_manage_motion')]

View File

@ -573,7 +573,7 @@ def get_user_widget(request):
""" """
return Widget( return Widget(
name='user', name='user',
display_name=_('Users'), display_name=_('Participants'),
template='participant/user_widget.html', template='participant/user_widget.html',
context={'users': User.objects.all(),}, context={'users': User.objects.all(),},
permission_required='projector.can_manage_projector', permission_required='projector.can_manage_projector',