Merge pull request #539 from eventcally/issues/538

Existing place and organizer hint #538
This commit is contained in:
Daniel Grams 2023-08-30 20:52:49 +02:00 committed by GitHub
commit 4d11d0795d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 699 additions and 443 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-08-17 14:09+0200\n" "POT-Creation-Date: 2023-08-29 23:52+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"
@ -206,24 +206,24 @@ msgstr ""
msgid "You have received an invitation" msgid "You have received an invitation"
msgstr "" msgstr ""
#: project/forms/admin.py:11 project/templates/layout.html:337 #: project/forms/admin.py:11 project/templates/layout.html:342
#: project/views/root.py:55 #: project/views/root.py:55
msgid "Terms of service" msgid "Terms of service"
msgstr "" msgstr ""
#: project/forms/admin.py:12 project/templates/layout.html:342 #: project/forms/admin.py:12 project/templates/layout.html:347
#: project/views/root.py:67 #: project/views/root.py:67
msgid "Legal notice" msgid "Legal notice"
msgstr "" msgstr ""
#: project/forms/admin.py:13 project/templates/_macros.html:1487 #: project/forms/admin.py:13 project/templates/_macros.html:1490
#: project/templates/layout.html:346 #: project/templates/layout.html:351
#: project/templates/widget/event_suggestion/create.html:204 #: project/templates/widget/event_suggestion/create.html:204
#: project/views/admin_unit.py:84 project/views/root.py:75 #: project/views/admin_unit.py:84 project/views/root.py:75
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#: project/forms/admin.py:14 project/templates/layout.html:350 #: project/forms/admin.py:14 project/templates/layout.html:355
#: project/views/root.py:83 #: project/views/root.py:83
msgid "Privacy" msgid "Privacy"
msgstr "" msgstr ""
@ -264,7 +264,7 @@ msgstr ""
#: project/forms/admin_unit_member.py:30 project/forms/event.py:112 #: project/forms/admin_unit_member.py:30 project/forms/event.py:112
#: project/forms/event_suggestion.py:38 project/forms/organizer.py:33 #: project/forms/event_suggestion.py:38 project/forms/organizer.py:33
#: project/forms/user.py:18 project/forms/user.py:23 #: project/forms/user.py:18 project/forms/user.py:23
#: project/templates/_macros.html:246 project/templates/_macros.html:1583 #: project/templates/_macros.html:246 project/templates/_macros.html:1586
#: project/templates/admin/admin.html:27 project/templates/admin/email.html:4 #: project/templates/admin/admin.html:27 project/templates/admin/email.html:4
#: project/templates/admin/email.html:66 project/templates/admin/users.html:19 #: project/templates/admin/email.html:66 project/templates/admin/users.html:19
#: project/templates/manage/organizers.html:21 #: project/templates/manage/organizers.html:21
@ -411,7 +411,7 @@ msgstr ""
msgid "The short name is used to create a unique identifier for your events" msgid "The short name is used to create a unique identifier for your events"
msgstr "" msgstr ""
#: project/forms/admin_unit.py:46 project/templates/_macros.html:1625 #: project/forms/admin_unit.py:46 project/templates/_macros.html:1690
msgid "Short name must contain only letters numbers or underscore" msgid "Short name must contain only letters numbers or underscore"
msgstr "" msgstr ""
@ -523,7 +523,7 @@ msgstr ""
msgid "Cancel deletion" msgid "Cancel deletion"
msgstr "" msgstr ""
#: project/forms/admin_unit.py:156 project/templates/layout.html:308 #: project/forms/admin_unit.py:156 project/templates/layout.html:313
#: project/templates/manage/delete_membership.html:6 #: project/templates/manage/delete_membership.html:6
msgid "Leave organization" msgid "Leave organization"
msgstr "" msgstr ""
@ -661,17 +661,17 @@ msgstr ""
msgid "All-day" msgid "All-day"
msgstr "" msgstr ""
#: project/forms/event.py:59 project/templates/_macros.html:948 #: project/forms/event.py:59 project/templates/_macros.html:951
#: project/templates/_macros.html:1795 #: project/templates/_macros.html:1860
#: project/templates/widget/event_suggestion/create.html:240 #: project/templates/widget/event_suggestion/create.html:240
msgid "Recurring event" msgid "Recurring event"
msgstr "" msgstr ""
#: project/forms/event.py:66 project/templates/_macros.html:1344 #: project/forms/event.py:66 project/templates/_macros.html:1347
msgid "The start must be before the end." msgid "The start must be before the end."
msgstr "" msgstr ""
#: project/forms/event.py:72 project/templates/_macros.html:1361 #: project/forms/event.py:72 project/templates/_macros.html:1364
msgid "An event can last a maximum of 14 days." msgid "An event can last a maximum of 14 days."
msgstr "" msgstr ""
@ -752,7 +752,7 @@ msgid "If the participants needs to register for the event."
msgstr "" msgstr ""
#: project/forms/event.py:175 project/templates/_macros.html:260 #: project/forms/event.py:175 project/templates/_macros.html:260
#: project/templates/layout.html:118 #: project/templates/layout.html:123
msgid "Booked up" msgid "Booked up"
msgstr "" msgstr ""
@ -808,11 +808,11 @@ msgstr ""
msgid "EventAttendanceMode.offline" msgid "EventAttendanceMode.offline"
msgstr "" msgstr ""
#: project/forms/event.py:222 project/templates/layout.html:106 #: project/forms/event.py:222 project/templates/layout.html:111
msgid "EventAttendanceMode.online" msgid "EventAttendanceMode.online"
msgstr "" msgstr ""
#: project/forms/event.py:224 project/templates/layout.html:109 #: project/forms/event.py:224 project/templates/layout.html:114
msgid "EventAttendanceMode.mixed" msgid "EventAttendanceMode.mixed"
msgstr "" msgstr ""
@ -854,7 +854,7 @@ msgstr ""
#: project/forms/event.py:260 project/forms/reference.py:14 #: project/forms/event.py:260 project/forms/reference.py:14
#: project/forms/reference.py:27 project/forms/reference_request.py:76 #: project/forms/reference.py:27 project/forms/reference_request.py:76
#: project/templates/event/create.html:363 #: project/templates/event/create.html:387
#: project/templates/event/update.html:220 #: project/templates/event/update.html:220
msgid "Rating" msgid "Rating"
msgstr "" msgstr ""
@ -883,11 +883,11 @@ msgstr ""
#: project/forms/event.py:291 project/forms/event.py:300 #: project/forms/event.py:291 project/forms/event.py:300
#: project/forms/event.py:382 project/forms/event.py:459 #: project/forms/event.py:382 project/forms/event.py:459
#: project/forms/event_suggestion.py:50 project/templates/_macros.html:464 #: project/forms/event_suggestion.py:50 project/templates/_macros.html:464
#: project/templates/_macros.html:630 project/templates/event/create.html:288 #: project/templates/_macros.html:630 project/templates/event/create.html:312
#: project/templates/event/update.html:170 #: project/templates/event/update.html:170
#: project/templates/event_place/create.html:31 #: project/templates/event_place/create.html:32
#: project/templates/event_place/delete.html:13 #: project/templates/event_place/delete.html:13
#: project/templates/event_place/update.html:31 #: project/templates/event_place/update.html:32
#: project/templates/manage/events.html:109 #: project/templates/manage/events.html:109
msgid "Place" msgid "Place"
msgstr "" msgstr ""
@ -904,12 +904,12 @@ msgstr ""
#: project/forms/event.py:390 project/forms/event.py:456 #: project/forms/event.py:390 project/forms/event.py:456
#: project/forms/event_date.py:40 project/forms/event_suggestion.py:60 #: project/forms/event_date.py:40 project/forms/event_suggestion.py:60
#: project/templates/_macros.html:501 project/templates/_macros.html:673 #: project/templates/_macros.html:501 project/templates/_macros.html:673
#: project/templates/_macros.html:951 project/templates/event/create.html:257 #: project/templates/_macros.html:954 project/templates/event/create.html:281
#: project/templates/event/update.html:160 #: project/templates/event/update.html:160
#: project/templates/manage/events.html:108 #: project/templates/manage/events.html:108
#: project/templates/organizer/create.html:27 #: project/templates/organizer/create.html:28
#: project/templates/organizer/delete.html:13 #: project/templates/organizer/delete.html:13
#: project/templates/organizer/update.html:27 #: project/templates/organizer/update.html:28
msgid "Organizer" msgid "Organizer"
msgstr "" msgstr ""
@ -922,7 +922,7 @@ msgid "Enter new organizer"
msgstr "" msgstr ""
#: project/forms/event.py:323 project/templates/_macros.html:738 #: project/forms/event.py:323 project/templates/_macros.html:738
#: project/templates/event/create.html:374 #: project/templates/event/create.html:398
#: project/templates/manage/reference_requests_incoming.html:5 #: project/templates/manage/reference_requests_incoming.html:5
#: project/templates/manage/reference_requests_outgoing.html:5 #: project/templates/manage/reference_requests_outgoing.html:5
msgid "Reference requests" msgid "Reference requests"
@ -969,23 +969,23 @@ msgstr ""
msgid "EventStatus.scheduled" msgid "EventStatus.scheduled"
msgstr "" msgstr ""
#: project/forms/event.py:403 project/templates/layout.html:72 #: project/forms/event.py:403 project/templates/layout.html:77
#: project/templates/layout.html:87 #: project/templates/layout.html:92
msgid "EventStatus.cancelled" msgid "EventStatus.cancelled"
msgstr "" msgstr ""
#: project/forms/event.py:404 project/templates/layout.html:75 #: project/forms/event.py:404 project/templates/layout.html:80
#: project/templates/layout.html:90 #: project/templates/layout.html:95
msgid "EventStatus.movedOnline" msgid "EventStatus.movedOnline"
msgstr "" msgstr ""
#: project/forms/event.py:405 project/templates/layout.html:78 #: project/forms/event.py:405 project/templates/layout.html:83
#: project/templates/layout.html:93 #: project/templates/layout.html:98
msgid "EventStatus.postponed" msgid "EventStatus.postponed"
msgstr "" msgstr ""
#: project/forms/event.py:406 project/templates/layout.html:81 #: project/forms/event.py:406 project/templates/layout.html:86
#: project/templates/layout.html:96 #: project/templates/layout.html:101
msgid "EventStatus.rescheduled" msgid "EventStatus.rescheduled"
msgstr "" msgstr ""
@ -1009,7 +1009,7 @@ msgstr ""
msgid "PublicStatus.draft" msgid "PublicStatus.draft"
msgstr "" msgstr ""
#: project/forms/event.py:419 project/templates/event/create.html:386 #: project/forms/event.py:419 project/templates/event/create.html:410
msgid "Planned events appear in the scheduling view, but not on public calendars." msgid "Planned events appear in the scheduling view, but not on public calendars."
msgstr "" msgstr ""
@ -1018,7 +1018,7 @@ msgstr ""
msgid "Update event" msgid "Update event"
msgstr "" msgstr ""
#: project/forms/event.py:440 project/templates/_macros.html:1301 #: project/forms/event.py:440 project/templates/_macros.html:1304
#: project/templates/event/actions.html:66 #: project/templates/event/actions.html:66
#: project/templates/event/delete.html:6 #: project/templates/event/delete.html:6
msgid "Delete event" msgid "Delete event"
@ -1049,12 +1049,12 @@ msgstr ""
#: project/forms/planning.py:27 project/templates/_macros.html:324 #: project/forms/planning.py:27 project/templates/_macros.html:324
#: project/templates/admin_unit/create.html:38 #: project/templates/admin_unit/create.html:38
#: project/templates/admin_unit/update.html:47 #: project/templates/admin_unit/update.html:47
#: project/templates/event_place/create.html:40 #: project/templates/event_place/create.html:41
#: project/templates/event_place/update.html:40 #: project/templates/event_place/update.html:41
#: project/templates/manage/organizers.html:19 #: project/templates/manage/organizers.html:19
#: project/templates/manage/places.html:19 #: project/templates/manage/places.html:19
#: project/templates/organizer/create.html:36 #: project/templates/organizer/create.html:37
#: project/templates/organizer/update.html:36 #: project/templates/organizer/update.html:37
msgid "Location" msgid "Location"
msgstr "" msgstr ""
@ -1090,13 +1090,13 @@ msgstr ""
#: project/forms/event_date.py:35 project/forms/reference.py:11 #: project/forms/event_date.py:35 project/forms/reference.py:11
#: project/forms/reference_request.py:16 project/templates/_macros.html:517 #: project/forms/reference_request.py:16 project/templates/_macros.html:517
#: project/templates/_macros.html:690 project/templates/_macros.html:950 #: project/templates/_macros.html:690 project/templates/_macros.html:953
#: project/templates/admin/delete_admin_unit.html:13 #: project/templates/admin/delete_admin_unit.html:13
#: project/templates/admin_unit/cancel_deletion.html:13 #: project/templates/admin_unit/cancel_deletion.html:13
#: project/templates/admin_unit/create.html:27 #: project/templates/admin_unit/create.html:27
#: project/templates/admin_unit/request_deletion.html:15 #: project/templates/admin_unit/request_deletion.html:15
#: project/templates/admin_unit/update.html:36 #: project/templates/admin_unit/update.html:36
#: project/templates/layout.html:260 #: project/templates/layout.html:265
#: project/templates/manage/delete_membership.html:13 #: project/templates/manage/delete_membership.html:13
#: project/templates/verification_request/delete.html:13 #: project/templates/verification_request/delete.html:13
#: project/templates/verification_request/review.html:28 #: project/templates/verification_request/review.html:28
@ -1113,14 +1113,14 @@ msgid "Find"
msgstr "" msgstr ""
#: project/forms/event_place.py:47 project/templates/event_place/create.html:5 #: project/forms/event_place.py:47 project/templates/event_place/create.html:5
#: project/templates/event_place/create.html:21 #: project/templates/event_place/create.html:22
#: project/templates/event_place/list.html:11 #: project/templates/event_place/list.html:11
#: project/templates/manage/places.html:11 #: project/templates/manage/places.html:11
msgid "Create place" msgid "Create place"
msgstr "" msgstr ""
#: project/forms/event_place.py:51 project/templates/event_place/update.html:5 #: project/forms/event_place.py:51 project/templates/event_place/update.html:5
#: project/templates/event_place/update.html:21 #: project/templates/event_place/update.html:22
msgid "Update place" msgid "Update place"
msgstr "" msgstr ""
@ -1148,13 +1148,13 @@ msgstr ""
msgid "I would like to be notified by email after the review" msgid "I would like to be notified by email after the review"
msgstr "" msgstr ""
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:293 #: project/forms/event_suggestion.py:52 project/templates/event/create.html:317
msgid "" msgid ""
"Choose where the event takes place. If the venue is not yet in the list, " "Choose where the event takes place. If the venue is not yet in the list, "
"just enter it." "just enter it."
msgstr "" msgstr ""
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:261 #: project/forms/event_suggestion.py:62 project/templates/event/create.html:285
msgid "" msgid ""
"Select the organizer. If the organizer is not yet on the list, just enter" "Select the organizer. If the organizer is not yet on the list, just enter"
" it." " it."
@ -1219,12 +1219,12 @@ msgstr ""
#: project/forms/organizer.py:49 project/templates/manage/organizers.html:11 #: project/forms/organizer.py:49 project/templates/manage/organizers.html:11
#: project/templates/organizer/create.html:5 #: project/templates/organizer/create.html:5
#: project/templates/organizer/create.html:21 #: project/templates/organizer/create.html:22
msgid "Create organizer" msgid "Create organizer"
msgstr "" msgstr ""
#: project/forms/organizer.py:53 project/templates/organizer/update.html:5 #: project/forms/organizer.py:53 project/templates/organizer/update.html:5
#: project/templates/organizer/update.html:21 #: project/templates/organizer/update.html:22
msgid "Update organizer" msgid "Update organizer"
msgstr "" msgstr ""
@ -1269,7 +1269,7 @@ msgid "Delete request"
msgstr "" msgstr ""
#: project/forms/reference_request.py:28 #: project/forms/reference_request.py:28
#: project/forms/verification_request.py:24 project/templates/_macros.html:1499 #: project/forms/verification_request.py:24 project/templates/_macros.html:1502
#: project/templates/event_suggestion/review_status.html:18 #: project/templates/event_suggestion/review_status.html:18
#: project/templates/reference_request/review_status.html:12 #: project/templates/reference_request/review_status.html:12
#: project/templates/verification_request/review_status.html:4 #: project/templates/verification_request/review_status.html:4
@ -1438,24 +1438,24 @@ msgstr ""
#: project/templates/_macros.html:413 project/templates/_macros.html:583 #: project/templates/_macros.html:413 project/templates/_macros.html:583
#: project/templates/event/actions.html:25 #: project/templates/event/actions.html:25
#: project/templates/event/create.html:234 #: project/templates/event/create.html:258
#: project/templates/event/update.html:126 #: project/templates/event/update.html:126
#: project/templates/manage/events.html:107 #: project/templates/manage/events.html:107
#: project/templates/widget/event_suggestion/create.html:229 #: project/templates/widget/event_suggestion/create.html:229
msgid "Event" msgid "Event"
msgstr "" msgstr ""
#: project/templates/_macros.html:419 project/templates/_macros.html:1020 #: project/templates/_macros.html:419 project/templates/_macros.html:1023
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: project/templates/_macros.html:446 project/templates/_macros.html:605 #: project/templates/_macros.html:446 project/templates/_macros.html:605
#: project/templates/_macros.html:1568 project/templates/event/actions.html:51 #: project/templates/_macros.html:1571 project/templates/event/actions.html:51
msgid "Share" msgid "Share"
msgstr "" msgstr ""
#: project/templates/_macros.html:450 project/templates/_macros.html:609 #: project/templates/_macros.html:450 project/templates/_macros.html:609
#: project/templates/_macros.html:1598 #: project/templates/_macros.html:1601
msgid "Add to calendar" msgid "Add to calendar"
msgstr "" msgstr ""
@ -1476,7 +1476,7 @@ msgstr ""
msgid "The event takes place both offline and online." msgid "The event takes place both offline and online."
msgstr "" msgstr ""
#: project/templates/_macros.html:613 project/templates/layout.html:186 #: project/templates/_macros.html:613 project/templates/layout.html:191
#: project/templates/user/favorite_events.html:4 #: project/templates/user/favorite_events.html:4
msgid "Favorite events" msgid "Favorite events"
msgstr "" msgstr ""
@ -1499,7 +1499,7 @@ msgstr ""
msgid "Referenced by" msgid "Referenced by"
msgstr "" msgstr ""
#: project/templates/_macros.html:729 project/templates/_macros.html:1311 #: project/templates/_macros.html:729 project/templates/_macros.html:1314
#: project/templates/event/actions.html:38 #: project/templates/event/actions.html:38
#: project/templates/event_date/list.html:251 #: project/templates/event_date/list.html:251
#: project/templates/manage/events.html:129 #: project/templates/manage/events.html:129
@ -1507,34 +1507,34 @@ msgstr ""
msgid "Reference event" msgid "Reference event"
msgstr "" msgstr ""
#: project/templates/_macros.html:749 project/templates/_macros.html:1308 #: project/templates/_macros.html:749 project/templates/_macros.html:1311
#: project/templates/event/actions.html:32 #: project/templates/event/actions.html:32
#: project/templates/manage/events.html:127 #: project/templates/manage/events.html:127
msgid "Request reference" msgid "Request reference"
msgstr "" msgstr ""
#: project/templates/_macros.html:757 project/templates/event_date/list.html:6 #: project/templates/_macros.html:757 project/templates/event_date/list.html:6
#: project/templates/event_date/list.html:461 #: project/templates/event_date/list.html:463
#: project/templates/reference_request/review.html:32 #: project/templates/reference_request/review.html:32
msgid "Event Dates" msgid "Event Dates"
msgstr "" msgstr ""
#: project/templates/_macros.html:855 #: project/templates/_macros.html:858
msgid "Search location on Google" msgid "Search location on Google"
msgstr "" msgstr ""
#: project/templates/_macros.html:925 #: project/templates/_macros.html:928
#, python-format #, python-format
msgid "%(count)d event dates" msgid "%(count)d event dates"
msgstr "" msgstr ""
#: project/templates/_macros.html:961 project/templates/_macros.html:963 #: project/templates/_macros.html:964 project/templates/_macros.html:966
#: project/templates/event_date/list.html:515 #: project/templates/event_date/list.html:516
msgid "First" msgid "First"
msgstr "" msgstr ""
#: project/templates/_macros.html:966 project/templates/_macros.html:968 #: project/templates/_macros.html:969 project/templates/_macros.html:971
#: project/templates/event_date/list.html:516 #: project/templates/event_date/list.html:517
#: project/templates/widget/event_suggestion/create.html:193 #: project/templates/widget/event_suggestion/create.html:193
#: project/templates/widget/event_suggestion/create.html:218 #: project/templates/widget/event_suggestion/create.html:218
#: project/templates/widget/event_suggestion/create.html:247 #: project/templates/widget/event_suggestion/create.html:247
@ -1544,13 +1544,13 @@ msgstr ""
msgid "Previous" msgid "Previous"
msgstr "" msgstr ""
#: project/templates/_macros.html:970 #: project/templates/_macros.html:973
#, python-format #, python-format
msgid "Page %(page)d of %(pages)d (%(total)d total)" msgid "Page %(page)d of %(pages)d (%(total)d total)"
msgstr "" msgstr ""
#: project/templates/_macros.html:972 project/templates/_macros.html:974 #: project/templates/_macros.html:975 project/templates/_macros.html:977
#: project/templates/event_date/list.html:518 #: project/templates/event_date/list.html:519
#: project/templates/widget/event_suggestion/create.html:194 #: project/templates/widget/event_suggestion/create.html:194
#: project/templates/widget/event_suggestion/create.html:219 #: project/templates/widget/event_suggestion/create.html:219
#: project/templates/widget/event_suggestion/create.html:248 #: project/templates/widget/event_suggestion/create.html:248
@ -1559,98 +1559,98 @@ msgstr ""
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: project/templates/_macros.html:977 project/templates/_macros.html:979 #: project/templates/_macros.html:980 project/templates/_macros.html:982
#: project/templates/event_date/list.html:519 #: project/templates/event_date/list.html:520
msgid "Last" msgid "Last"
msgstr "" msgstr ""
#: project/templates/_macros.html:1048 #: project/templates/_macros.html:1051
msgid "Radius" msgid "Radius"
msgstr "" msgstr ""
#: project/templates/_macros.html:1230 #: project/templates/_macros.html:1233
msgid "Edit image" msgid "Edit image"
msgstr "" msgstr ""
#: project/templates/_macros.html:1251 project/templates/planning/list.html:97 #: project/templates/_macros.html:1254 project/templates/planning/list.html:97
msgid "Close" msgid "Close"
msgstr "" msgstr ""
#: project/templates/_macros.html:1252 #: project/templates/_macros.html:1255
msgid "Okay" msgid "Okay"
msgstr "" msgstr ""
#: project/templates/_macros.html:1264 #: project/templates/_macros.html:1267
msgid "Choose image file" msgid "Choose image file"
msgstr "" msgstr ""
#: project/templates/_macros.html:1300 project/templates/event/actions.html:65 #: project/templates/_macros.html:1303 project/templates/event/actions.html:65
#: project/templates/event/delete.html:12 #: project/templates/event/delete.html:12
msgid "Edit event" msgid "Edit event"
msgstr "" msgstr ""
#: project/templates/_macros.html:1304 project/templates/event/actions.html:58 #: project/templates/_macros.html:1307 project/templates/event/actions.html:58
msgid "Duplicate event" msgid "Duplicate event"
msgstr "" msgstr ""
#: project/templates/_macros.html:1315 project/templates/event/actions.html:44 #: project/templates/_macros.html:1318 project/templates/event/actions.html:44
#: project/templates/manage/events.html:133 #: project/templates/manage/events.html:133
msgid "Add to list" msgid "Add to list"
msgstr "" msgstr ""
#: project/templates/_macros.html:1318 project/templates/manage/events.html:136 #: project/templates/_macros.html:1321 project/templates/manage/events.html:136
msgid "More" msgid "More"
msgstr "" msgstr ""
#: project/templates/_macros.html:1365 #: project/templates/_macros.html:1368
msgid "Please enter a valid time, between 00:00 and 23:59." msgid "Please enter a valid time, between 00:00 and 23:59."
msgstr "" msgstr ""
#: project/templates/_macros.html:1393 #: project/templates/_macros.html:1396
#, python-format #, python-format
msgid "Just use %(term)s" msgid "Just use %(term)s"
msgstr "" msgstr ""
#: project/templates/_macros.html:1459 #: project/templates/_macros.html:1462
msgid "Event suggestion" msgid "Event suggestion"
msgstr "" msgstr ""
#: project/templates/_macros.html:1577 #: project/templates/_macros.html:1580
msgid "Link copied" msgid "Link copied"
msgstr "" msgstr ""
#: project/templates/_macros.html:1577 #: project/templates/_macros.html:1580
msgid "Copy link" msgid "Copy link"
msgstr "" msgstr ""
#: project/templates/_macros.html:1607 #: project/templates/_macros.html:1610
msgid "Google calendar" msgid "Google calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1609 #: project/templates/_macros.html:1612
msgid "Apple calendar" msgid "Apple calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1610 #: project/templates/_macros.html:1613
msgid "Yahoo calendar" msgid "Yahoo calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1611 #: project/templates/_macros.html:1614
msgid "Other calendar" msgid "Other calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1796 #: project/templates/_macros.html:1861
msgid "Remove event date" msgid "Remove event date"
msgstr "" msgstr ""
#: project/templates/_macros.html:1829 project/templates/event/create.html:180 #: project/templates/_macros.html:1894 project/templates/event/create.html:204
#: project/templates/event/update.html:103 #: project/templates/event/update.html:103
#: project/templates/event_date/list.html:446 #: project/templates/event_date/list.html:448
#: project/templates/widget/event_suggestion/create.html:129 #: project/templates/widget/event_suggestion/create.html:129
msgid "Enter organizer" msgid "Enter organizer"
msgstr "" msgstr ""
#: project/templates/_macros.html:1857 #: project/templates/_macros.html:1922
msgid "Enter list name" msgid "Enter list name"
msgstr "" msgstr ""
@ -1658,7 +1658,7 @@ msgstr ""
msgid "Manage" msgid "Manage"
msgstr "" msgstr ""
#: project/templates/home.html:37 project/templates/layout.html:176 #: project/templates/home.html:37 project/templates/layout.html:181
#: project/templates/manage/admin_units.html:28 #: project/templates/manage/admin_units.html:28
#: project/templates/manage/verification_requests_outgoing.html:13 #: project/templates/manage/verification_requests_outgoing.html:13
#: project/templates/manage/verification_requests_outgoing_create_select.html:13 #: project/templates/manage/verification_requests_outgoing_create_select.html:13
@ -1672,7 +1672,7 @@ msgstr ""
msgid "Features" msgid "Features"
msgstr "" msgstr ""
#: project/templates/layout.html:170 project/templates/layout.html:218 #: project/templates/layout.html:175 project/templates/layout.html:223
#: project/templates/manage/events.html:6 #: project/templates/manage/events.html:6
#: project/templates/manage/events.html:54 #: project/templates/manage/events.html:54
#: project/templates/manage/events_vue.html:4 #: project/templates/manage/events_vue.html:4
@ -1682,18 +1682,18 @@ msgstr ""
#: project/templates/admin/admin.html:19 #: project/templates/admin/admin.html:19
#: project/templates/admin/admin_units.html:4 #: project/templates/admin/admin_units.html:4
#: project/templates/admin/admin_units.html:11 #: project/templates/admin/admin_units.html:11
#: project/templates/layout.html:171 project/templates/layout.html:184 #: project/templates/layout.html:176 project/templates/layout.html:189
#: project/templates/manage/admin_units.html:3 #: project/templates/manage/admin_units.html:3
#: project/templates/manage/admin_units.html:26 #: project/templates/manage/admin_units.html:26
#: project/templates/organization/main.html:4 #: project/templates/organization/main.html:4
msgid "Organizations" msgid "Organizations"
msgstr "" msgstr ""
#: project/templates/layout.html:172 #: project/templates/layout.html:177
msgid "Planning" msgid "Planning"
msgstr "" msgstr ""
#: project/templates/layout.html:185 project/templates/layout.html:297 #: project/templates/layout.html:190 project/templates/layout.html:302
#: project/templates/oauth2_client/list.html:10 #: project/templates/oauth2_client/list.html:10
#: project/templates/oauth2_client/read.html:10 #: project/templates/oauth2_client/read.html:10
#: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4 #: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4
@ -1706,100 +1706,100 @@ msgstr ""
#: project/templates/admin/email.html:65 #: project/templates/admin/email.html:65
#: project/templates/admin/newsletter.html:92 #: project/templates/admin/newsletter.html:92
#: project/templates/admin/settings.html:10 #: project/templates/admin/settings.html:10
#: project/templates/admin/users.html:10 project/templates/layout.html:189 #: project/templates/admin/users.html:10 project/templates/layout.html:194
msgid "Admin" msgid "Admin"
msgstr "" msgstr ""
#: project/templates/layout.html:193 #: project/templates/layout.html:198
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
#: project/templates/layout.html:224 #: project/templates/layout.html:229
msgid "Show events" msgid "Show events"
msgstr "" msgstr ""
#: project/templates/event/create.html:5 #: project/templates/event/create.html:5
#: project/templates/event/create.html:225 project/templates/layout.html:225 #: project/templates/event/create.html:249 project/templates/layout.html:230
#: project/templates/manage/events.html:55 #: project/templates/manage/events.html:55
#: project/templates/manage/organizers.html:38 #: project/templates/manage/organizers.html:38
msgid "Create event" msgid "Create event"
msgstr "" msgstr ""
#: project/templates/layout.html:226 #: project/templates/layout.html:231
msgid "Import event" msgid "Import event"
msgstr "" msgstr ""
#: project/templates/layout.html:228 #: project/templates/layout.html:233
#: project/templates/manage/event_lists.html:4 #: project/templates/manage/event_lists.html:4
msgid "Event lists" msgid "Event lists"
msgstr "" msgstr ""
#: project/templates/layout.html:231 #: project/templates/layout.html:236
msgid "Review suggestions" msgid "Review suggestions"
msgstr "" msgstr ""
#: project/templates/layout.html:241 #: project/templates/layout.html:246
#: project/templates/manage/references_incoming.html:5 #: project/templates/manage/references_incoming.html:5
#: project/templates/manage/references_outgoing.html:5 #: project/templates/manage/references_outgoing.html:5
msgid "References" msgid "References"
msgstr "" msgstr ""
#: project/templates/layout.html:247 #: project/templates/layout.html:252
#: project/templates/manage/references_incoming.html:9 #: project/templates/manage/references_incoming.html:9
msgid "Incoming references" msgid "Incoming references"
msgstr "" msgstr ""
#: project/templates/layout.html:248 #: project/templates/layout.html:253
#: project/templates/manage/references_outgoing.html:9 #: project/templates/manage/references_outgoing.html:9
msgid "Outgoing references" msgid "Outgoing references"
msgstr "" msgstr ""
#: project/templates/layout.html:250 #: project/templates/layout.html:255
#: project/templates/manage/reference_requests_incoming.html:9 #: project/templates/manage/reference_requests_incoming.html:9
msgid "Incoming reference requests" msgid "Incoming reference requests"
msgstr "" msgstr ""
#: project/templates/layout.html:255 #: project/templates/layout.html:260
#: project/templates/manage/reference_requests_outgoing.html:9 #: project/templates/manage/reference_requests_outgoing.html:9
msgid "Outgoing reference requests" msgid "Outgoing reference requests"
msgstr "" msgstr ""
#: project/templates/layout.html:267 #: project/templates/layout.html:272
#: project/templates/manage/verification_requests_outgoing.html:5 #: project/templates/manage/verification_requests_outgoing.html:5
#: project/templates/manage/verification_requests_outgoing.html:10 #: project/templates/manage/verification_requests_outgoing.html:10
msgid "Outgoing verification requests" msgid "Outgoing verification requests"
msgstr "" msgstr ""
#: project/templates/layout.html:271 project/templates/manage/organizers.html:5 #: project/templates/layout.html:276 project/templates/manage/organizers.html:5
#: project/templates/manage/organizers.html:10 #: project/templates/manage/organizers.html:10
#: project/templates/organizer/main.html:4 #: project/templates/organizer/main.html:4
msgid "Organizers" msgid "Organizers"
msgstr "" msgstr ""
#: project/templates/event_place/list.html:3 #: project/templates/event_place/list.html:3
#: project/templates/event_place/list.html:7 project/templates/layout.html:272 #: project/templates/event_place/list.html:7 project/templates/layout.html:277
#: project/templates/manage/places.html:5 #: project/templates/manage/places.html:5
#: project/templates/manage/places.html:10 #: project/templates/manage/places.html:10
msgid "Places" msgid "Places"
msgstr "" msgstr ""
#: project/templates/layout.html:274 project/templates/manage/members.html:5 #: project/templates/layout.html:279 project/templates/manage/members.html:5
#: project/templates/manage/members.html:28 #: project/templates/manage/members.html:28
#: project/templates/verification_request/review.html:54 #: project/templates/verification_request/review.html:54
msgid "Members" msgid "Members"
msgstr "" msgstr ""
#: project/templates/layout.html:275 project/templates/manage/relations.html:4 #: project/templates/layout.html:280 project/templates/manage/relations.html:4
msgid "Relations" msgid "Relations"
msgstr "" msgstr ""
#: project/templates/layout.html:279 #: project/templates/layout.html:284
#: project/templates/manage/verification_requests_incoming.html:5 #: project/templates/manage/verification_requests_incoming.html:5
#: project/templates/manage/verification_requests_incoming.html:9 #: project/templates/manage/verification_requests_incoming.html:9
msgid "Incoming verification requests" msgid "Incoming verification requests"
msgstr "" msgstr ""
#: project/templates/layout.html:287 #: project/templates/layout.html:292
#: project/templates/manage/admin_units.html:17 #: project/templates/manage/admin_units.html:17
#: project/templates/manage/organization_invitations.html:4 #: project/templates/manage/organization_invitations.html:4
#: project/templates/user/organization_invitations.html:4 #: project/templates/user/organization_invitations.html:4
@ -1811,33 +1811,33 @@ msgstr ""
#: project/templates/admin/settings.html:11 #: project/templates/admin/settings.html:11
#: project/templates/admin_unit/update.html:6 #: project/templates/admin_unit/update.html:6
#: project/templates/admin_unit/update.html:30 #: project/templates/admin_unit/update.html:30
#: project/templates/layout.html:291 project/templates/manage/widgets.html:11 #: project/templates/layout.html:296 project/templates/manage/widgets.html:11
#: project/templates/manage/widgets.html:15 project/templates/profile.html:32 #: project/templates/manage/widgets.html:15 project/templates/profile.html:32
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: project/templates/layout.html:292 project/templates/manage/export.html:3 #: project/templates/layout.html:297 project/templates/manage/export.html:3
#: project/templates/manage/export.html:63 #: project/templates/manage/export.html:63
msgid "Export" msgid "Export"
msgstr "" msgstr ""
#: project/templates/layout.html:294 #: project/templates/layout.html:299
#: project/templates/manage/custom_widgets.html:13 #: project/templates/manage/custom_widgets.html:13
msgid "Custom widgets" msgid "Custom widgets"
msgstr "" msgstr ""
#: project/templates/layout.html:295 project/templates/manage/reviews.html:10 #: project/templates/layout.html:300 project/templates/manage/reviews.html:10
#: project/templates/manage/widgets.html:5 #: project/templates/manage/widgets.html:5
#: project/templates/manage/widgets.html:9 #: project/templates/manage/widgets.html:9
msgid "Widgets" msgid "Widgets"
msgstr "" msgstr ""
#: project/templates/layout.html:307 #: project/templates/layout.html:312
msgid "Switch organization" msgid "Switch organization"
msgstr "" msgstr ""
#: project/templates/developer/read.html:4 #: project/templates/developer/read.html:4
#: project/templates/developer/read.html:8 project/templates/layout.html:354 #: project/templates/developer/read.html:8 project/templates/layout.html:359
#: project/templates/profile.html:45 #: project/templates/profile.html:45
msgid "Developer" msgid "Developer"
msgstr "" msgstr ""
@ -1925,12 +1925,12 @@ msgstr ""
#: project/templates/admin_unit/create.html:51 #: project/templates/admin_unit/create.html:51
#: project/templates/admin_unit/update.html:67 #: project/templates/admin_unit/update.html:67
#: project/templates/event/create.html:351 #: project/templates/event/create.html:375
#: project/templates/event/update.html:208 #: project/templates/event/update.html:208
#: project/templates/event_place/create.html:57 #: project/templates/event_place/create.html:58
#: project/templates/event_place/update.html:57 #: project/templates/event_place/update.html:58
#: project/templates/organizer/create.html:56 #: project/templates/organizer/create.html:57
#: project/templates/organizer/update.html:56 #: project/templates/organizer/update.html:57
msgid "Additional information" msgid "Additional information"
msgstr "" msgstr ""
@ -2191,45 +2191,45 @@ msgstr ""
msgid "Add event to list" msgid "Add event to list"
msgstr "" msgstr ""
#: project/templates/event/create.html:90 #: project/templates/event/create.html:114
#: project/templates/event/update.html:76 #: project/templates/event/update.html:76
#: project/templates/widget/event_suggestion/create.html:104 #: project/templates/widget/event_suggestion/create.html:104
msgid "Enter place or address" msgid "Enter place or address"
msgstr "" msgstr ""
#: project/templates/event/create.html:244 #: project/templates/event/create.html:268
#: project/templates/event/update.html:136 #: project/templates/event/update.html:136
msgid "Event dates" msgid "Event dates"
msgstr "" msgstr ""
#: project/templates/event/create.html:251 #: project/templates/event/create.html:275
#: project/templates/event/update.html:143 #: project/templates/event/update.html:143
msgid "Add event date" msgid "Add event date"
msgstr "" msgstr ""
#: project/templates/event/create.html:278 #: project/templates/event/create.html:302
msgid "Switch to organizer search" msgid "Switch to organizer search"
msgstr "" msgstr ""
#: project/templates/event/create.html:313 #: project/templates/event/create.html:337
msgid "Switch to place search" msgid "Switch to place search"
msgstr "" msgstr ""
#: project/templates/event/create.html:324 #: project/templates/event/create.html:348
#: project/templates/event/update.html:181 #: project/templates/event/update.html:181
msgid "Access" msgid "Access"
msgstr "" msgstr ""
#: project/templates/event/create.html:338 #: project/templates/event/create.html:362
#: project/templates/event/update.html:195 #: project/templates/event/update.html:195
msgid "Target group" msgid "Target group"
msgstr "" msgstr ""
#: project/templates/event/create.html:378 #: project/templates/event/create.html:402
msgid "References are important for the visibility of your events." msgid "References are important for the visibility of your events."
msgstr "" msgstr ""
#: project/templates/event/create.html:379 #: project/templates/event/create.html:403
msgid "Select organizations to display your event on their calendars." msgid "Select organizations to display your event on their calendars."
msgstr "" msgstr ""
@ -2245,7 +2245,7 @@ msgid "Reference event \"%(name)s\""
msgstr "" msgstr ""
#: project/templates/event/reference_request.html:47 #: project/templates/event/reference_request.html:47
#: project/templates/event_date/list.html:416 #: project/templates/event_date/list.html:418
msgid "Enter organization" msgid "Enter organization"
msgstr "" msgstr ""
@ -2270,17 +2270,17 @@ msgstr ""
msgid "Referenced" msgid "Referenced"
msgstr "" msgstr ""
#: project/templates/event_date/list.html:483 #: project/templates/event_date/list.html:485
#: project/templates/manage/events.html:87 #: project/templates/manage/events.html:87
msgid "Created at" msgid "Created at"
msgstr "" msgstr ""
#: project/templates/event_date/list.html:497 #: project/templates/event_date/list.html:498
#: project/templates/manage/events.html:97 #: project/templates/manage/events.html:97
msgid "More filters" msgid "More filters"
msgstr "" msgstr ""
#: project/templates/event_date/list.html:498 #: project/templates/event_date/list.html:499
msgid "Map view" msgid "Map view"
msgstr "" msgstr ""
@ -2733,23 +2733,31 @@ msgstr ""
msgid "Event review status updated" msgid "Event review status updated"
msgstr "" msgstr ""
#: project/views/js.py:30 #: project/views/js.py:33
msgid "Short name is already taken" msgid "Short name is already taken"
msgstr "" msgstr ""
#: project/views/js.py:47 #: project/views/js.py:52
msgid "Name is already taken" msgid "Name is already taken"
msgstr "" msgstr ""
#: project/views/js.py:61 #: project/views/js.py:76
msgid "A place already exists with this name."
msgstr ""
#: project/views/js.py:100
msgid "An organizer already exists with this name."
msgstr ""
#: project/views/js.py:114
msgid "An account already exists with this email." msgid "An account already exists with this email."
msgstr "" msgstr ""
#: project/views/js.py:105 #: project/views/js.py:158
msgid "Places of organization" msgid "Places of organization"
msgstr "" msgstr ""
#: project/views/js.py:113 #: project/views/js.py:166
msgid "Places of Google Maps" msgid "Places of Google Maps"
msgstr "" msgstr ""

View File

@ -314,6 +314,10 @@ function fill_place_form_with_gmaps_place(
if (!location_only) { if (!location_only) {
$("#" + prefix + "name").val(place.name); $("#" + prefix + "name").val(place.name);
if ($.isFunction($("#" + prefix + "name").valid)) {
$("#" + prefix + "name").valid();
}
if (place.website) { if (place.website) {
$("#" + prefix + "url").val(place.website); $("#" + prefix + "url").val(place.website);
} }

View File

@ -824,6 +824,9 @@
} else { } else {
reset_place_form(); reset_place_form();
$('#place-name').val(data.main_text); $('#place-name').val(data.main_text);
if ($('#place-name').length > 0 && $.isFunction($('#place-name').valid)) {
$('#place-name').valid();
}
} }
get_gmaps_place_details(data.gmaps_id, location_only); get_gmaps_place_details(data.gmaps_id, location_only);
@ -1616,6 +1619,70 @@ $('#allday').on('change', function() {
</div> </div>
{% endmacro %} {% endmacro %}
{% macro render_event_place_form_script(admin_unit, event_place=None) %}
<script>
$( function() {
var form = $("#main-form");
form.validate({
rules: {
name: {
required: true,
remote: {
url: "{{ url_for('js_check_event_place_name') }}",
type: "post",
async: false,
data: {
admin_unit_id: function() {
return "{{ admin_unit.id }}";
}
{% if event_place %}
,event_place_id: function() {
return "{{ event_place.id }}";
}
{% endif %}
}
}
}
}
});
});
</script>
{% endmacro %}
{% macro render_organizer_form_script(admin_unit, organizer=None) %}
<script>
$( function() {
var form = $("#main-form");
form.validate({
rules: {
name: {
required: true,
remote: {
url: "{{ url_for('js_check_organizer_name') }}",
type: "post",
async: false,
data: {
admin_unit_id: function() {
return "{{ admin_unit.id }}";
}
{% if organizer %}
,organizer_id: function() {
return "{{ organizer.id }}";
}
{% endif %}
}
}
}
}
});
});
</script>
{% endmacro %}
{% macro render_admin_unit_form_script(admin_unit=None) %} {% macro render_admin_unit_form_script(admin_unit=None) %}
<script> <script>

View File

@ -35,6 +35,18 @@ $( function() {
depends: function(element) { depends: function(element) {
return $('input[type=radio][name=event_place_choice]:checked').val() == "2"; return $('input[type=radio][name=event_place_choice]:checked').val() == "2";
} }
},
remote: {
url: "{{ url_for('js_check_event_place_name') }}",
type: "post",
data: {
admin_unit_id: function() {
return "{{ current_admin_unit.id }}";
},
name: function() {
return $("#new_event_place-name").val();
}
}
} }
}, },
organizer_id: { organizer_id: {
@ -51,6 +63,18 @@ $( function() {
depends: function(element) { depends: function(element) {
return $('input[type=radio][name=organizer_choice]:checked').val() == "2"; return $('input[type=radio][name=organizer_choice]:checked').val() == "2";
} }
},
remote: {
url: "{{ url_for('js_check_organizer_name') }}",
type: "post",
data: {
admin_unit_id: function() {
return "{{ current_admin_unit.id }}";
},
name: function() {
return $("#new_organizer-name").val();
}
}
} }
} }
} }

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% from "_macros.html" import render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %} {% from "_macros.html" import render_event_place_form_script, render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %}
{%- block title -%} {%- block title -%}
{{ _('Create place') }} {{ _('Create place') }}
@ -13,13 +13,14 @@
{{ render_manage_form_scripts() }} {{ render_manage_form_scripts() }}
{{ render_jquery_steps_header() }} {{ render_jquery_steps_header() }}
{{ render_google_place_autocomplete_header() }} {{ render_google_place_autocomplete_header() }}
{{ render_event_place_form_script(current_admin_unit) }}
{{ render_cropper_block() }} {{ render_cropper_block() }}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1>{{ _('Create place') }}</h1> <h1>{{ _('Create place') }}</h1>
<form action="" method="POST" enctype="multipart/form-data"> <form id="main-form" action="" method="POST" enctype="multipart/form-data">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<div class="my-5"> <div class="my-5">

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% from "_macros.html" import render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %} {% from "_macros.html" import render_event_place_form_script, render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %}
{%- block title -%} {%- block title -%}
{{ _('Update place') }} {{ _('Update place') }}
@ -13,13 +13,14 @@
{{ render_manage_form_scripts() }} {{ render_manage_form_scripts() }}
{{ render_jquery_steps_header() }} {{ render_jquery_steps_header() }}
{{ render_google_place_autocomplete_header() }} {{ render_google_place_autocomplete_header() }}
{{ render_event_place_form_script(current_admin_unit, place) }}
{{ render_cropper_block() }} {{ render_cropper_block() }}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1>{{ _('Update place') }}</h1> <h1>{{ _('Update place') }}</h1>
<form action="" method="POST" enctype="multipart/form-data"> <form id="main-form" action="" method="POST" enctype="multipart/form-data">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<div class="my-5"> <div class="my-5">

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% from "_macros.html" import render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_logo_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %} {% from "_macros.html" import render_organizer_form_script, render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_logo_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %}
{%- block title -%} {%- block title -%}
{{ _('Create organizer') }} {{ _('Create organizer') }}
@ -13,13 +13,14 @@
{{ render_manage_form_scripts() }} {{ render_manage_form_scripts() }}
{{ render_jquery_steps_header() }} {{ render_jquery_steps_header() }}
{{ render_google_place_autocomplete_header() }} {{ render_google_place_autocomplete_header() }}
{{ render_organizer_form_script(current_admin_unit) }}
{{ render_cropper_logo_block() }} {{ render_cropper_logo_block() }}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1>{{ _('Create organizer') }}</h1> <h1>{{ _('Create organizer') }}</h1>
<form action="" method="POST" enctype="multipart/form-data"> <form id="main-form" action="" method="POST" enctype="multipart/form-data">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<div class="card mb-4"> <div class="card mb-4">

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %} {% extends "layout.html" %}
{% from "_macros.html" import render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_logo_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %} {% from "_macros.html" import render_organizer_form_script, render_manage_form_styles, render_manage_form_scripts, render_jquery_steps_header, render_cropper_logo_block, render_crop_image_form_section, render_google_place_autocomplete_header, render_google_place_autocomplete_field, render_field_with_errors, render_field %}
{%- block title -%} {%- block title -%}
{{ _('Update organizer') }} {{ _('Update organizer') }}
@ -13,13 +13,14 @@
{{ render_manage_form_scripts() }} {{ render_manage_form_scripts() }}
{{ render_jquery_steps_header() }} {{ render_jquery_steps_header() }}
{{ render_google_place_autocomplete_header() }} {{ render_google_place_autocomplete_header() }}
{{ render_organizer_form_script(current_admin_unit, organizer) }}
{{ render_cropper_logo_block() }} {{ render_cropper_logo_block() }}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h1>{{ _('Update organizer') }}</h1> <h1>{{ _('Update organizer') }}</h1>
<form action="{{ url_for('organizer_update', id=organizer.id) }}" method="POST" enctype="multipart/form-data"> <form id="main-form" action="{{ url_for('organizer_update', id=organizer.id) }}" method="POST" enctype="multipart/form-data">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<div class="card mb-4"> <div class="card mb-4">

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-08-17 14:09+0200\n" "POT-Creation-Date: 2023-08-29 23:52+0200\n"
"PO-Revision-Date: 2020-06-07 18:51+0200\n" "PO-Revision-Date: 2020-06-07 18:51+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n" "Language: de\n"
@ -207,24 +207,24 @@ msgstr "message"
msgid "You have received an invitation" msgid "You have received an invitation"
msgstr "Du hast eine Einladung erhalten" msgstr "Du hast eine Einladung erhalten"
#: project/forms/admin.py:11 project/templates/layout.html:337 #: project/forms/admin.py:11 project/templates/layout.html:342
#: project/views/root.py:55 #: project/views/root.py:55
msgid "Terms of service" msgid "Terms of service"
msgstr "Nutzungsbedingungen" msgstr "Nutzungsbedingungen"
#: project/forms/admin.py:12 project/templates/layout.html:342 #: project/forms/admin.py:12 project/templates/layout.html:347
#: project/views/root.py:67 #: project/views/root.py:67
msgid "Legal notice" msgid "Legal notice"
msgstr "Impressum" msgstr "Impressum"
#: project/forms/admin.py:13 project/templates/_macros.html:1487 #: project/forms/admin.py:13 project/templates/_macros.html:1490
#: project/templates/layout.html:346 #: project/templates/layout.html:351
#: project/templates/widget/event_suggestion/create.html:204 #: project/templates/widget/event_suggestion/create.html:204
#: project/views/admin_unit.py:84 project/views/root.py:75 #: project/views/admin_unit.py:84 project/views/root.py:75
msgid "Contact" msgid "Contact"
msgstr "Kontakt" msgstr "Kontakt"
#: project/forms/admin.py:14 project/templates/layout.html:350 #: project/forms/admin.py:14 project/templates/layout.html:355
#: project/views/root.py:83 #: project/views/root.py:83
msgid "Privacy" msgid "Privacy"
msgstr "Datenschutz" msgstr "Datenschutz"
@ -265,7 +265,7 @@ msgstr "Nutzer löschen"
#: project/forms/admin_unit_member.py:30 project/forms/event.py:112 #: project/forms/admin_unit_member.py:30 project/forms/event.py:112
#: project/forms/event_suggestion.py:38 project/forms/organizer.py:33 #: project/forms/event_suggestion.py:38 project/forms/organizer.py:33
#: project/forms/user.py:18 project/forms/user.py:23 #: project/forms/user.py:18 project/forms/user.py:23
#: project/templates/_macros.html:246 project/templates/_macros.html:1583 #: project/templates/_macros.html:246 project/templates/_macros.html:1586
#: project/templates/admin/admin.html:27 project/templates/admin/email.html:4 #: project/templates/admin/admin.html:27 project/templates/admin/email.html:4
#: project/templates/admin/email.html:66 project/templates/admin/users.html:19 #: project/templates/admin/email.html:66 project/templates/admin/users.html:19
#: project/templates/manage/organizers.html:21 #: project/templates/manage/organizers.html:21
@ -423,7 +423,7 @@ msgstr ""
"eindeutig zu identifizieren. Der Kurzname darf nur Buchstaben, Nummern " "eindeutig zu identifizieren. Der Kurzname darf nur Buchstaben, Nummern "
"und Unterstriche enthalten." "und Unterstriche enthalten."
#: project/forms/admin_unit.py:46 project/templates/_macros.html:1625 #: project/forms/admin_unit.py:46 project/templates/_macros.html:1690
msgid "Short name must contain only letters numbers or underscore" msgid "Short name must contain only letters numbers or underscore"
msgstr "Der Kurzname darf nur Buchstaben, Nummern und Unterstriche enthalten" msgstr "Der Kurzname darf nur Buchstaben, Nummern und Unterstriche enthalten"
@ -543,7 +543,7 @@ msgstr "Löschung beantragen"
msgid "Cancel deletion" msgid "Cancel deletion"
msgstr "Löschen abbrechen" msgstr "Löschen abbrechen"
#: project/forms/admin_unit.py:156 project/templates/layout.html:308 #: project/forms/admin_unit.py:156 project/templates/layout.html:313
#: project/templates/manage/delete_membership.html:6 #: project/templates/manage/delete_membership.html:6
msgid "Leave organization" msgid "Leave organization"
msgstr "Organisation verlassen" msgstr "Organisation verlassen"
@ -686,17 +686,17 @@ msgstr "Gib an, wann der Termin endet. Ein Termin darf maximal 14 Tage dauern."
msgid "All-day" msgid "All-day"
msgstr "Ganztägig" msgstr "Ganztägig"
#: project/forms/event.py:59 project/templates/_macros.html:948 #: project/forms/event.py:59 project/templates/_macros.html:951
#: project/templates/_macros.html:1795 #: project/templates/_macros.html:1860
#: project/templates/widget/event_suggestion/create.html:240 #: project/templates/widget/event_suggestion/create.html:240
msgid "Recurring event" msgid "Recurring event"
msgstr "Serientermin" msgstr "Serientermin"
#: project/forms/event.py:66 project/templates/_macros.html:1344 #: project/forms/event.py:66 project/templates/_macros.html:1347
msgid "The start must be before the end." msgid "The start must be before the end."
msgstr "Der Start muss vor dem Ende sein." msgstr "Der Start muss vor dem Ende sein."
#: project/forms/event.py:72 project/templates/_macros.html:1361 #: project/forms/event.py:72 project/templates/_macros.html:1364
msgid "An event can last a maximum of 14 days." msgid "An event can last a maximum of 14 days."
msgstr "Eine Veranstaltung darf maximal 14 Tage dauern." msgstr "Eine Veranstaltung darf maximal 14 Tage dauern."
@ -782,7 +782,7 @@ msgid "If the participants needs to register for the event."
msgstr "Wenn sich die Teilnehmer für die Veranstaltung anmelden müssen." msgstr "Wenn sich die Teilnehmer für die Veranstaltung anmelden müssen."
#: project/forms/event.py:175 project/templates/_macros.html:260 #: project/forms/event.py:175 project/templates/_macros.html:260
#: project/templates/layout.html:118 #: project/templates/layout.html:123
msgid "Booked up" msgid "Booked up"
msgstr "Ausgebucht" msgstr "Ausgebucht"
@ -842,11 +842,11 @@ msgstr "Teilnahme"
msgid "EventAttendanceMode.offline" msgid "EventAttendanceMode.offline"
msgstr "Präsenzveranstaltung" msgstr "Präsenzveranstaltung"
#: project/forms/event.py:222 project/templates/layout.html:106 #: project/forms/event.py:222 project/templates/layout.html:111
msgid "EventAttendanceMode.online" msgid "EventAttendanceMode.online"
msgstr "Online" msgstr "Online"
#: project/forms/event.py:224 project/templates/layout.html:109 #: project/forms/event.py:224 project/templates/layout.html:114
msgid "EventAttendanceMode.mixed" msgid "EventAttendanceMode.mixed"
msgstr "Präsenzveranstaltung und online" msgstr "Präsenzveranstaltung und online"
@ -892,7 +892,7 @@ msgstr "Wähle Kategorien, die zur Veranstaltung passen."
#: project/forms/event.py:260 project/forms/reference.py:14 #: project/forms/event.py:260 project/forms/reference.py:14
#: project/forms/reference.py:27 project/forms/reference_request.py:76 #: project/forms/reference.py:27 project/forms/reference_request.py:76
#: project/templates/event/create.html:363 #: project/templates/event/create.html:387
#: project/templates/event/update.html:220 #: project/templates/event/update.html:220
msgid "Rating" msgid "Rating"
msgstr "Bewertung" msgstr "Bewertung"
@ -925,11 +925,11 @@ msgstr "Ungültiger Mitveranstalter."
#: project/forms/event.py:291 project/forms/event.py:300 #: project/forms/event.py:291 project/forms/event.py:300
#: project/forms/event.py:382 project/forms/event.py:459 #: project/forms/event.py:382 project/forms/event.py:459
#: project/forms/event_suggestion.py:50 project/templates/_macros.html:464 #: project/forms/event_suggestion.py:50 project/templates/_macros.html:464
#: project/templates/_macros.html:630 project/templates/event/create.html:288 #: project/templates/_macros.html:630 project/templates/event/create.html:312
#: project/templates/event/update.html:170 #: project/templates/event/update.html:170
#: project/templates/event_place/create.html:31 #: project/templates/event_place/create.html:32
#: project/templates/event_place/delete.html:13 #: project/templates/event_place/delete.html:13
#: project/templates/event_place/update.html:31 #: project/templates/event_place/update.html:32
#: project/templates/manage/events.html:109 #: project/templates/manage/events.html:109
msgid "Place" msgid "Place"
msgstr "Ort" msgstr "Ort"
@ -946,12 +946,12 @@ msgstr "Neuen Ort eingeben"
#: project/forms/event.py:390 project/forms/event.py:456 #: project/forms/event.py:390 project/forms/event.py:456
#: project/forms/event_date.py:40 project/forms/event_suggestion.py:60 #: project/forms/event_date.py:40 project/forms/event_suggestion.py:60
#: project/templates/_macros.html:501 project/templates/_macros.html:673 #: project/templates/_macros.html:501 project/templates/_macros.html:673
#: project/templates/_macros.html:951 project/templates/event/create.html:257 #: project/templates/_macros.html:954 project/templates/event/create.html:281
#: project/templates/event/update.html:160 #: project/templates/event/update.html:160
#: project/templates/manage/events.html:108 #: project/templates/manage/events.html:108
#: project/templates/organizer/create.html:27 #: project/templates/organizer/create.html:28
#: project/templates/organizer/delete.html:13 #: project/templates/organizer/delete.html:13
#: project/templates/organizer/update.html:27 #: project/templates/organizer/update.html:28
msgid "Organizer" msgid "Organizer"
msgstr "Veranstalter" msgstr "Veranstalter"
@ -964,7 +964,7 @@ msgid "Enter new organizer"
msgstr "Neuen Veranstalter eingeben" msgstr "Neuen Veranstalter eingeben"
#: project/forms/event.py:323 project/templates/_macros.html:738 #: project/forms/event.py:323 project/templates/_macros.html:738
#: project/templates/event/create.html:374 #: project/templates/event/create.html:398
#: project/templates/manage/reference_requests_incoming.html:5 #: project/templates/manage/reference_requests_incoming.html:5
#: project/templates/manage/reference_requests_outgoing.html:5 #: project/templates/manage/reference_requests_outgoing.html:5
msgid "Reference requests" msgid "Reference requests"
@ -1015,23 +1015,23 @@ msgstr "Status"
msgid "EventStatus.scheduled" msgid "EventStatus.scheduled"
msgstr "Geplant" msgstr "Geplant"
#: project/forms/event.py:403 project/templates/layout.html:72 #: project/forms/event.py:403 project/templates/layout.html:77
#: project/templates/layout.html:87 #: project/templates/layout.html:92
msgid "EventStatus.cancelled" msgid "EventStatus.cancelled"
msgstr "Abgesagt" msgstr "Abgesagt"
#: project/forms/event.py:404 project/templates/layout.html:75 #: project/forms/event.py:404 project/templates/layout.html:80
#: project/templates/layout.html:90 #: project/templates/layout.html:95
msgid "EventStatus.movedOnline" msgid "EventStatus.movedOnline"
msgstr "Online verschoben" msgstr "Online verschoben"
#: project/forms/event.py:405 project/templates/layout.html:78 #: project/forms/event.py:405 project/templates/layout.html:83
#: project/templates/layout.html:93 #: project/templates/layout.html:98
msgid "EventStatus.postponed" msgid "EventStatus.postponed"
msgstr "Verschoben" msgstr "Verschoben"
#: project/forms/event.py:406 project/templates/layout.html:81 #: project/forms/event.py:406 project/templates/layout.html:86
#: project/templates/layout.html:96 #: project/templates/layout.html:101
msgid "EventStatus.rescheduled" msgid "EventStatus.rescheduled"
msgstr "Neu angesetzt" msgstr "Neu angesetzt"
@ -1055,7 +1055,7 @@ msgstr "In Planung"
msgid "PublicStatus.draft" msgid "PublicStatus.draft"
msgstr "Entwurf" msgstr "Entwurf"
#: project/forms/event.py:419 project/templates/event/create.html:386 #: project/forms/event.py:419 project/templates/event/create.html:410
msgid "Planned events appear in the scheduling view, but not on public calendars." msgid "Planned events appear in the scheduling view, but not on public calendars."
msgstr "" msgstr ""
"Geplante Veranstaltungen werden in der Planungsansicht angezeigt, aber " "Geplante Veranstaltungen werden in der Planungsansicht angezeigt, aber "
@ -1066,7 +1066,7 @@ msgstr ""
msgid "Update event" msgid "Update event"
msgstr "Veranstaltung aktualisieren" msgstr "Veranstaltung aktualisieren"
#: project/forms/event.py:440 project/templates/_macros.html:1301 #: project/forms/event.py:440 project/templates/_macros.html:1304
#: project/templates/event/actions.html:66 #: project/templates/event/actions.html:66
#: project/templates/event/delete.html:6 #: project/templates/event/delete.html:6
msgid "Delete event" msgid "Delete event"
@ -1097,12 +1097,12 @@ msgstr "Kategorie"
#: project/forms/planning.py:27 project/templates/_macros.html:324 #: project/forms/planning.py:27 project/templates/_macros.html:324
#: project/templates/admin_unit/create.html:38 #: project/templates/admin_unit/create.html:38
#: project/templates/admin_unit/update.html:47 #: project/templates/admin_unit/update.html:47
#: project/templates/event_place/create.html:40 #: project/templates/event_place/create.html:41
#: project/templates/event_place/update.html:40 #: project/templates/event_place/update.html:41
#: project/templates/manage/organizers.html:19 #: project/templates/manage/organizers.html:19
#: project/templates/manage/places.html:19 #: project/templates/manage/places.html:19
#: project/templates/organizer/create.html:36 #: project/templates/organizer/create.html:37
#: project/templates/organizer/update.html:36 #: project/templates/organizer/update.html:37
msgid "Location" msgid "Location"
msgstr "Standort" msgstr "Standort"
@ -1138,13 +1138,13 @@ msgstr "Veranstaltungen finden"
#: project/forms/event_date.py:35 project/forms/reference.py:11 #: project/forms/event_date.py:35 project/forms/reference.py:11
#: project/forms/reference_request.py:16 project/templates/_macros.html:517 #: project/forms/reference_request.py:16 project/templates/_macros.html:517
#: project/templates/_macros.html:690 project/templates/_macros.html:950 #: project/templates/_macros.html:690 project/templates/_macros.html:953
#: project/templates/admin/delete_admin_unit.html:13 #: project/templates/admin/delete_admin_unit.html:13
#: project/templates/admin_unit/cancel_deletion.html:13 #: project/templates/admin_unit/cancel_deletion.html:13
#: project/templates/admin_unit/create.html:27 #: project/templates/admin_unit/create.html:27
#: project/templates/admin_unit/request_deletion.html:15 #: project/templates/admin_unit/request_deletion.html:15
#: project/templates/admin_unit/update.html:36 #: project/templates/admin_unit/update.html:36
#: project/templates/layout.html:260 #: project/templates/layout.html:265
#: project/templates/manage/delete_membership.html:13 #: project/templates/manage/delete_membership.html:13
#: project/templates/verification_request/delete.html:13 #: project/templates/verification_request/delete.html:13
#: project/templates/verification_request/review.html:28 #: project/templates/verification_request/review.html:28
@ -1161,14 +1161,14 @@ msgid "Find"
msgstr "Finden" msgstr "Finden"
#: project/forms/event_place.py:47 project/templates/event_place/create.html:5 #: project/forms/event_place.py:47 project/templates/event_place/create.html:5
#: project/templates/event_place/create.html:21 #: project/templates/event_place/create.html:22
#: project/templates/event_place/list.html:11 #: project/templates/event_place/list.html:11
#: project/templates/manage/places.html:11 #: project/templates/manage/places.html:11
msgid "Create place" msgid "Create place"
msgstr "Ort hinzufügen" msgstr "Ort hinzufügen"
#: project/forms/event_place.py:51 project/templates/event_place/update.html:5 #: project/forms/event_place.py:51 project/templates/event_place/update.html:5
#: project/templates/event_place/update.html:21 #: project/templates/event_place/update.html:22
msgid "Update place" msgid "Update place"
msgstr "Ort aktualisieren" msgstr "Ort aktualisieren"
@ -1196,7 +1196,7 @@ msgstr "Bitte gib deine Email-Adresse oder deine Telefonnummer für die Prüfung
msgid "I would like to be notified by email after the review" msgid "I would like to be notified by email after the review"
msgstr "Ich möchte per Email benachrichtigt werden nach der Prüfung" msgstr "Ich möchte per Email benachrichtigt werden nach der Prüfung"
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:293 #: project/forms/event_suggestion.py:52 project/templates/event/create.html:317
msgid "" msgid ""
"Choose where the event takes place. If the venue is not yet in the list, " "Choose where the event takes place. If the venue is not yet in the list, "
"just enter it." "just enter it."
@ -1204,7 +1204,7 @@ msgstr ""
"Wähle aus, wo die Veranstaltung stattfindet. Ist der Veranstaltungsort " "Wähle aus, wo die Veranstaltung stattfindet. Ist der Veranstaltungsort "
"noch nicht in der Liste, trage ihn einfach ein." "noch nicht in der Liste, trage ihn einfach ein."
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:261 #: project/forms/event_suggestion.py:62 project/templates/event/create.html:285
msgid "" msgid ""
"Select the organizer. If the organizer is not yet on the list, just enter" "Select the organizer. If the organizer is not yet on the list, just enter"
" it." " it."
@ -1271,12 +1271,12 @@ msgstr "OAuth2 Token widerrufen"
#: project/forms/organizer.py:49 project/templates/manage/organizers.html:11 #: project/forms/organizer.py:49 project/templates/manage/organizers.html:11
#: project/templates/organizer/create.html:5 #: project/templates/organizer/create.html:5
#: project/templates/organizer/create.html:21 #: project/templates/organizer/create.html:22
msgid "Create organizer" msgid "Create organizer"
msgstr "Veranstalter hinzufügen" msgstr "Veranstalter hinzufügen"
#: project/forms/organizer.py:53 project/templates/organizer/update.html:5 #: project/forms/organizer.py:53 project/templates/organizer/update.html:5
#: project/templates/organizer/update.html:21 #: project/templates/organizer/update.html:22
msgid "Update organizer" msgid "Update organizer"
msgstr "Veranstalter aktualisieren" msgstr "Veranstalter aktualisieren"
@ -1321,7 +1321,7 @@ msgid "Delete request"
msgstr "Anfrage löschen" msgstr "Anfrage löschen"
#: project/forms/reference_request.py:28 #: project/forms/reference_request.py:28
#: project/forms/verification_request.py:24 project/templates/_macros.html:1499 #: project/forms/verification_request.py:24 project/templates/_macros.html:1502
#: project/templates/event_suggestion/review_status.html:18 #: project/templates/event_suggestion/review_status.html:18
#: project/templates/reference_request/review_status.html:12 #: project/templates/reference_request/review_status.html:12
#: project/templates/verification_request/review_status.html:4 #: project/templates/verification_request/review_status.html:4
@ -1497,24 +1497,24 @@ msgstr "Zuletzt aktualisiert am %(updated_at)s."
#: project/templates/_macros.html:413 project/templates/_macros.html:583 #: project/templates/_macros.html:413 project/templates/_macros.html:583
#: project/templates/event/actions.html:25 #: project/templates/event/actions.html:25
#: project/templates/event/create.html:234 #: project/templates/event/create.html:258
#: project/templates/event/update.html:126 #: project/templates/event/update.html:126
#: project/templates/manage/events.html:107 #: project/templates/manage/events.html:107
#: project/templates/widget/event_suggestion/create.html:229 #: project/templates/widget/event_suggestion/create.html:229
msgid "Event" msgid "Event"
msgstr "Veranstaltung" msgstr "Veranstaltung"
#: project/templates/_macros.html:419 project/templates/_macros.html:1020 #: project/templates/_macros.html:419 project/templates/_macros.html:1023
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
#: project/templates/_macros.html:446 project/templates/_macros.html:605 #: project/templates/_macros.html:446 project/templates/_macros.html:605
#: project/templates/_macros.html:1568 project/templates/event/actions.html:51 #: project/templates/_macros.html:1571 project/templates/event/actions.html:51
msgid "Share" msgid "Share"
msgstr "Teilen" msgstr "Teilen"
#: project/templates/_macros.html:450 project/templates/_macros.html:609 #: project/templates/_macros.html:450 project/templates/_macros.html:609
#: project/templates/_macros.html:1598 #: project/templates/_macros.html:1601
msgid "Add to calendar" msgid "Add to calendar"
msgstr "Zum Kalender" msgstr "Zum Kalender"
@ -1537,7 +1537,7 @@ msgstr ""
"Die Veranstaltung findet sowohl als Präsenzveranstaltung als auch online " "Die Veranstaltung findet sowohl als Präsenzveranstaltung als auch online "
"statt." "statt."
#: project/templates/_macros.html:613 project/templates/layout.html:186 #: project/templates/_macros.html:613 project/templates/layout.html:191
#: project/templates/user/favorite_events.html:4 #: project/templates/user/favorite_events.html:4
msgid "Favorite events" msgid "Favorite events"
msgstr "Merkzettel" msgstr "Merkzettel"
@ -1560,7 +1560,7 @@ msgstr "Bearbeiten"
msgid "Referenced by" msgid "Referenced by"
msgstr "Empfohlen von" msgstr "Empfohlen von"
#: project/templates/_macros.html:729 project/templates/_macros.html:1311 #: project/templates/_macros.html:729 project/templates/_macros.html:1314
#: project/templates/event/actions.html:38 #: project/templates/event/actions.html:38
#: project/templates/event_date/list.html:251 #: project/templates/event_date/list.html:251
#: project/templates/manage/events.html:129 #: project/templates/manage/events.html:129
@ -1568,34 +1568,34 @@ msgstr "Empfohlen von"
msgid "Reference event" msgid "Reference event"
msgstr "Veranstaltung empfehlen" msgstr "Veranstaltung empfehlen"
#: project/templates/_macros.html:749 project/templates/_macros.html:1308 #: project/templates/_macros.html:749 project/templates/_macros.html:1311
#: project/templates/event/actions.html:32 #: project/templates/event/actions.html:32
#: project/templates/manage/events.html:127 #: project/templates/manage/events.html:127
msgid "Request reference" msgid "Request reference"
msgstr "Empfehlung anfragen" msgstr "Empfehlung anfragen"
#: project/templates/_macros.html:757 project/templates/event_date/list.html:6 #: project/templates/_macros.html:757 project/templates/event_date/list.html:6
#: project/templates/event_date/list.html:461 #: project/templates/event_date/list.html:463
#: project/templates/reference_request/review.html:32 #: project/templates/reference_request/review.html:32
msgid "Event Dates" msgid "Event Dates"
msgstr "Termine" msgstr "Termine"
#: project/templates/_macros.html:855 #: project/templates/_macros.html:858
msgid "Search location on Google" msgid "Search location on Google"
msgstr "Ort bei Google suchen" msgstr "Ort bei Google suchen"
#: project/templates/_macros.html:925 #: project/templates/_macros.html:928
#, python-format #, python-format
msgid "%(count)d event dates" msgid "%(count)d event dates"
msgstr "%(count)d Termine" msgstr "%(count)d Termine"
#: project/templates/_macros.html:961 project/templates/_macros.html:963 #: project/templates/_macros.html:964 project/templates/_macros.html:966
#: project/templates/event_date/list.html:515 #: project/templates/event_date/list.html:516
msgid "First" msgid "First"
msgstr "Erste" msgstr "Erste"
#: project/templates/_macros.html:966 project/templates/_macros.html:968 #: project/templates/_macros.html:969 project/templates/_macros.html:971
#: project/templates/event_date/list.html:516 #: project/templates/event_date/list.html:517
#: project/templates/widget/event_suggestion/create.html:193 #: project/templates/widget/event_suggestion/create.html:193
#: project/templates/widget/event_suggestion/create.html:218 #: project/templates/widget/event_suggestion/create.html:218
#: project/templates/widget/event_suggestion/create.html:247 #: project/templates/widget/event_suggestion/create.html:247
@ -1605,13 +1605,13 @@ msgstr "Erste"
msgid "Previous" msgid "Previous"
msgstr "Zurück" msgstr "Zurück"
#: project/templates/_macros.html:970 #: project/templates/_macros.html:973
#, python-format #, python-format
msgid "Page %(page)d of %(pages)d (%(total)d total)" msgid "Page %(page)d of %(pages)d (%(total)d total)"
msgstr "Seite %(page)d von %(pages)d (%(total)d insgesamt)" msgstr "Seite %(page)d von %(pages)d (%(total)d insgesamt)"
#: project/templates/_macros.html:972 project/templates/_macros.html:974 #: project/templates/_macros.html:975 project/templates/_macros.html:977
#: project/templates/event_date/list.html:518 #: project/templates/event_date/list.html:519
#: project/templates/widget/event_suggestion/create.html:194 #: project/templates/widget/event_suggestion/create.html:194
#: project/templates/widget/event_suggestion/create.html:219 #: project/templates/widget/event_suggestion/create.html:219
#: project/templates/widget/event_suggestion/create.html:248 #: project/templates/widget/event_suggestion/create.html:248
@ -1620,98 +1620,98 @@ msgstr "Seite %(page)d von %(pages)d (%(total)d insgesamt)"
msgid "Next" msgid "Next"
msgstr "Weiter" msgstr "Weiter"
#: project/templates/_macros.html:977 project/templates/_macros.html:979 #: project/templates/_macros.html:980 project/templates/_macros.html:982
#: project/templates/event_date/list.html:519 #: project/templates/event_date/list.html:520
msgid "Last" msgid "Last"
msgstr "Letzte" msgstr "Letzte"
#: project/templates/_macros.html:1048 #: project/templates/_macros.html:1051
msgid "Radius" msgid "Radius"
msgstr "Umkreis" msgstr "Umkreis"
#: project/templates/_macros.html:1230 #: project/templates/_macros.html:1233
msgid "Edit image" msgid "Edit image"
msgstr "Bild bearbeiten" msgstr "Bild bearbeiten"
#: project/templates/_macros.html:1251 project/templates/planning/list.html:97 #: project/templates/_macros.html:1254 project/templates/planning/list.html:97
msgid "Close" msgid "Close"
msgstr "Schließen" msgstr "Schließen"
#: project/templates/_macros.html:1252 #: project/templates/_macros.html:1255
msgid "Okay" msgid "Okay"
msgstr "OK" msgstr "OK"
#: project/templates/_macros.html:1264 #: project/templates/_macros.html:1267
msgid "Choose image file" msgid "Choose image file"
msgstr "Bild-Datei auswählen" msgstr "Bild-Datei auswählen"
#: project/templates/_macros.html:1300 project/templates/event/actions.html:65 #: project/templates/_macros.html:1303 project/templates/event/actions.html:65
#: project/templates/event/delete.html:12 #: project/templates/event/delete.html:12
msgid "Edit event" msgid "Edit event"
msgstr "Veranstaltung bearbeiten" msgstr "Veranstaltung bearbeiten"
#: project/templates/_macros.html:1304 project/templates/event/actions.html:58 #: project/templates/_macros.html:1307 project/templates/event/actions.html:58
msgid "Duplicate event" msgid "Duplicate event"
msgstr "Veranstaltung duplizieren" msgstr "Veranstaltung duplizieren"
#: project/templates/_macros.html:1315 project/templates/event/actions.html:44 #: project/templates/_macros.html:1318 project/templates/event/actions.html:44
#: project/templates/manage/events.html:133 #: project/templates/manage/events.html:133
msgid "Add to list" msgid "Add to list"
msgstr "Zu Liste hinzufügen" msgstr "Zu Liste hinzufügen"
#: project/templates/_macros.html:1318 project/templates/manage/events.html:136 #: project/templates/_macros.html:1321 project/templates/manage/events.html:136
msgid "More" msgid "More"
msgstr "Mehr" msgstr "Mehr"
#: project/templates/_macros.html:1365 #: project/templates/_macros.html:1368
msgid "Please enter a valid time, between 00:00 and 23:59." msgid "Please enter a valid time, between 00:00 and 23:59."
msgstr "Bitte gib eine gültige Uhrzeit zwischen 00:00 und 23:59 ein." msgstr "Bitte gib eine gültige Uhrzeit zwischen 00:00 und 23:59 ein."
#: project/templates/_macros.html:1393 #: project/templates/_macros.html:1396
#, python-format #, python-format
msgid "Just use %(term)s" msgid "Just use %(term)s"
msgstr "Verwende einfach %(term)s" msgstr "Verwende einfach %(term)s"
#: project/templates/_macros.html:1459 #: project/templates/_macros.html:1462
msgid "Event suggestion" msgid "Event suggestion"
msgstr "Veranstaltungsvorschlag" msgstr "Veranstaltungsvorschlag"
#: project/templates/_macros.html:1577 #: project/templates/_macros.html:1580
msgid "Link copied" msgid "Link copied"
msgstr "Link kopiert" msgstr "Link kopiert"
#: project/templates/_macros.html:1577 #: project/templates/_macros.html:1580
msgid "Copy link" msgid "Copy link"
msgstr "Link kopieren" msgstr "Link kopieren"
#: project/templates/_macros.html:1607 #: project/templates/_macros.html:1610
msgid "Google calendar" msgid "Google calendar"
msgstr "Google Kalender" msgstr "Google Kalender"
#: project/templates/_macros.html:1609 #: project/templates/_macros.html:1612
msgid "Apple calendar" msgid "Apple calendar"
msgstr "Apple Kalender" msgstr "Apple Kalender"
#: project/templates/_macros.html:1610 #: project/templates/_macros.html:1613
msgid "Yahoo calendar" msgid "Yahoo calendar"
msgstr "Yahoo Kalender" msgstr "Yahoo Kalender"
#: project/templates/_macros.html:1611 #: project/templates/_macros.html:1614
msgid "Other calendar" msgid "Other calendar"
msgstr "Anderer Kalender" msgstr "Anderer Kalender"
#: project/templates/_macros.html:1796 #: project/templates/_macros.html:1861
msgid "Remove event date" msgid "Remove event date"
msgstr "Termin entfernen" msgstr "Termin entfernen"
#: project/templates/_macros.html:1829 project/templates/event/create.html:180 #: project/templates/_macros.html:1894 project/templates/event/create.html:204
#: project/templates/event/update.html:103 #: project/templates/event/update.html:103
#: project/templates/event_date/list.html:446 #: project/templates/event_date/list.html:448
#: project/templates/widget/event_suggestion/create.html:129 #: project/templates/widget/event_suggestion/create.html:129
msgid "Enter organizer" msgid "Enter organizer"
msgstr "Veranstalter eingeben" msgstr "Veranstalter eingeben"
#: project/templates/_macros.html:1857 #: project/templates/_macros.html:1922
msgid "Enter list name" msgid "Enter list name"
msgstr "Listenname eingeben" msgstr "Listenname eingeben"
@ -1719,7 +1719,7 @@ msgstr "Listenname eingeben"
msgid "Manage" msgid "Manage"
msgstr "Verwaltung" msgstr "Verwaltung"
#: project/templates/home.html:37 project/templates/layout.html:176 #: project/templates/home.html:37 project/templates/layout.html:181
#: project/templates/manage/admin_units.html:28 #: project/templates/manage/admin_units.html:28
#: project/templates/manage/verification_requests_outgoing.html:13 #: project/templates/manage/verification_requests_outgoing.html:13
#: project/templates/manage/verification_requests_outgoing_create_select.html:13 #: project/templates/manage/verification_requests_outgoing_create_select.html:13
@ -1733,7 +1733,7 @@ msgstr "Doku"
msgid "Features" msgid "Features"
msgstr "Features" msgstr "Features"
#: project/templates/layout.html:170 project/templates/layout.html:218 #: project/templates/layout.html:175 project/templates/layout.html:223
#: project/templates/manage/events.html:6 #: project/templates/manage/events.html:6
#: project/templates/manage/events.html:54 #: project/templates/manage/events.html:54
#: project/templates/manage/events_vue.html:4 #: project/templates/manage/events_vue.html:4
@ -1743,18 +1743,18 @@ msgstr "Veranstaltungen"
#: project/templates/admin/admin.html:19 #: project/templates/admin/admin.html:19
#: project/templates/admin/admin_units.html:4 #: project/templates/admin/admin_units.html:4
#: project/templates/admin/admin_units.html:11 #: project/templates/admin/admin_units.html:11
#: project/templates/layout.html:171 project/templates/layout.html:184 #: project/templates/layout.html:176 project/templates/layout.html:189
#: project/templates/manage/admin_units.html:3 #: project/templates/manage/admin_units.html:3
#: project/templates/manage/admin_units.html:26 #: project/templates/manage/admin_units.html:26
#: project/templates/organization/main.html:4 #: project/templates/organization/main.html:4
msgid "Organizations" msgid "Organizations"
msgstr "Organisationen" msgstr "Organisationen"
#: project/templates/layout.html:172 #: project/templates/layout.html:177
msgid "Planning" msgid "Planning"
msgstr "Planung" msgstr "Planung"
#: project/templates/layout.html:185 project/templates/layout.html:297 #: project/templates/layout.html:190 project/templates/layout.html:302
#: project/templates/oauth2_client/list.html:10 #: project/templates/oauth2_client/list.html:10
#: project/templates/oauth2_client/read.html:10 #: project/templates/oauth2_client/read.html:10
#: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4 #: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4
@ -1767,100 +1767,100 @@ msgstr "Profil"
#: project/templates/admin/email.html:65 #: project/templates/admin/email.html:65
#: project/templates/admin/newsletter.html:92 #: project/templates/admin/newsletter.html:92
#: project/templates/admin/settings.html:10 #: project/templates/admin/settings.html:10
#: project/templates/admin/users.html:10 project/templates/layout.html:189 #: project/templates/admin/users.html:10 project/templates/layout.html:194
msgid "Admin" msgid "Admin"
msgstr "Administration" msgstr "Administration"
#: project/templates/layout.html:193 #: project/templates/layout.html:198
msgid "Logout" msgid "Logout"
msgstr "Ausloggen" msgstr "Ausloggen"
#: project/templates/layout.html:224 #: project/templates/layout.html:229
msgid "Show events" msgid "Show events"
msgstr "Veranstaltungen anzeigen" msgstr "Veranstaltungen anzeigen"
#: project/templates/event/create.html:5 #: project/templates/event/create.html:5
#: project/templates/event/create.html:225 project/templates/layout.html:225 #: project/templates/event/create.html:249 project/templates/layout.html:230
#: project/templates/manage/events.html:55 #: project/templates/manage/events.html:55
#: project/templates/manage/organizers.html:38 #: project/templates/manage/organizers.html:38
msgid "Create event" msgid "Create event"
msgstr "Veranstaltung erstellen" msgstr "Veranstaltung erstellen"
#: project/templates/layout.html:226 #: project/templates/layout.html:231
msgid "Import event" msgid "Import event"
msgstr "Veranstaltung importieren" msgstr "Veranstaltung importieren"
#: project/templates/layout.html:228 #: project/templates/layout.html:233
#: project/templates/manage/event_lists.html:4 #: project/templates/manage/event_lists.html:4
msgid "Event lists" msgid "Event lists"
msgstr "Veranstaltungslisten" msgstr "Veranstaltungslisten"
#: project/templates/layout.html:231 #: project/templates/layout.html:236
msgid "Review suggestions" msgid "Review suggestions"
msgstr "Vorschläge prüfen" msgstr "Vorschläge prüfen"
#: project/templates/layout.html:241 #: project/templates/layout.html:246
#: project/templates/manage/references_incoming.html:5 #: project/templates/manage/references_incoming.html:5
#: project/templates/manage/references_outgoing.html:5 #: project/templates/manage/references_outgoing.html:5
msgid "References" msgid "References"
msgstr "Empfehlungen" msgstr "Empfehlungen"
#: project/templates/layout.html:247 #: project/templates/layout.html:252
#: project/templates/manage/references_incoming.html:9 #: project/templates/manage/references_incoming.html:9
msgid "Incoming references" msgid "Incoming references"
msgstr "Eingehende Empfehlungen" msgstr "Eingehende Empfehlungen"
#: project/templates/layout.html:248 #: project/templates/layout.html:253
#: project/templates/manage/references_outgoing.html:9 #: project/templates/manage/references_outgoing.html:9
msgid "Outgoing references" msgid "Outgoing references"
msgstr "Ausgehende Empfehlungen" msgstr "Ausgehende Empfehlungen"
#: project/templates/layout.html:250 #: project/templates/layout.html:255
#: project/templates/manage/reference_requests_incoming.html:9 #: project/templates/manage/reference_requests_incoming.html:9
msgid "Incoming reference requests" msgid "Incoming reference requests"
msgstr "Eingehende Empfehlungsanfragen" msgstr "Eingehende Empfehlungsanfragen"
#: project/templates/layout.html:255 #: project/templates/layout.html:260
#: project/templates/manage/reference_requests_outgoing.html:9 #: project/templates/manage/reference_requests_outgoing.html:9
msgid "Outgoing reference requests" msgid "Outgoing reference requests"
msgstr "Ausgehende Empfehlungsanfragen" msgstr "Ausgehende Empfehlungsanfragen"
#: project/templates/layout.html:267 #: project/templates/layout.html:272
#: project/templates/manage/verification_requests_outgoing.html:5 #: project/templates/manage/verification_requests_outgoing.html:5
#: project/templates/manage/verification_requests_outgoing.html:10 #: project/templates/manage/verification_requests_outgoing.html:10
msgid "Outgoing verification requests" msgid "Outgoing verification requests"
msgstr "Ausgehende Verifizierungsanfragen" msgstr "Ausgehende Verifizierungsanfragen"
#: project/templates/layout.html:271 project/templates/manage/organizers.html:5 #: project/templates/layout.html:276 project/templates/manage/organizers.html:5
#: project/templates/manage/organizers.html:10 #: project/templates/manage/organizers.html:10
#: project/templates/organizer/main.html:4 #: project/templates/organizer/main.html:4
msgid "Organizers" msgid "Organizers"
msgstr "Veranstalter" msgstr "Veranstalter"
#: project/templates/event_place/list.html:3 #: project/templates/event_place/list.html:3
#: project/templates/event_place/list.html:7 project/templates/layout.html:272 #: project/templates/event_place/list.html:7 project/templates/layout.html:277
#: project/templates/manage/places.html:5 #: project/templates/manage/places.html:5
#: project/templates/manage/places.html:10 #: project/templates/manage/places.html:10
msgid "Places" msgid "Places"
msgstr "Orte" msgstr "Orte"
#: project/templates/layout.html:274 project/templates/manage/members.html:5 #: project/templates/layout.html:279 project/templates/manage/members.html:5
#: project/templates/manage/members.html:28 #: project/templates/manage/members.html:28
#: project/templates/verification_request/review.html:54 #: project/templates/verification_request/review.html:54
msgid "Members" msgid "Members"
msgstr "Mitglieder" msgstr "Mitglieder"
#: project/templates/layout.html:275 project/templates/manage/relations.html:4 #: project/templates/layout.html:280 project/templates/manage/relations.html:4
msgid "Relations" msgid "Relations"
msgstr "Beziehungen" msgstr "Beziehungen"
#: project/templates/layout.html:279 #: project/templates/layout.html:284
#: project/templates/manage/verification_requests_incoming.html:5 #: project/templates/manage/verification_requests_incoming.html:5
#: project/templates/manage/verification_requests_incoming.html:9 #: project/templates/manage/verification_requests_incoming.html:9
msgid "Incoming verification requests" msgid "Incoming verification requests"
msgstr "Eingehende Verifizierungsanfragen" msgstr "Eingehende Verifizierungsanfragen"
#: project/templates/layout.html:287 #: project/templates/layout.html:292
#: project/templates/manage/admin_units.html:17 #: project/templates/manage/admin_units.html:17
#: project/templates/manage/organization_invitations.html:4 #: project/templates/manage/organization_invitations.html:4
#: project/templates/user/organization_invitations.html:4 #: project/templates/user/organization_invitations.html:4
@ -1872,33 +1872,33 @@ msgstr "Organisationseinladungen"
#: project/templates/admin/settings.html:11 #: project/templates/admin/settings.html:11
#: project/templates/admin_unit/update.html:6 #: project/templates/admin_unit/update.html:6
#: project/templates/admin_unit/update.html:30 #: project/templates/admin_unit/update.html:30
#: project/templates/layout.html:291 project/templates/manage/widgets.html:11 #: project/templates/layout.html:296 project/templates/manage/widgets.html:11
#: project/templates/manage/widgets.html:15 project/templates/profile.html:32 #: project/templates/manage/widgets.html:15 project/templates/profile.html:32
msgid "Settings" msgid "Settings"
msgstr "Einstellungen" msgstr "Einstellungen"
#: project/templates/layout.html:292 project/templates/manage/export.html:3 #: project/templates/layout.html:297 project/templates/manage/export.html:3
#: project/templates/manage/export.html:63 #: project/templates/manage/export.html:63
msgid "Export" msgid "Export"
msgstr "Export" msgstr "Export"
#: project/templates/layout.html:294 #: project/templates/layout.html:299
#: project/templates/manage/custom_widgets.html:13 #: project/templates/manage/custom_widgets.html:13
msgid "Custom widgets" msgid "Custom widgets"
msgstr "Custom widgets" msgstr "Custom widgets"
#: project/templates/layout.html:295 project/templates/manage/reviews.html:10 #: project/templates/layout.html:300 project/templates/manage/reviews.html:10
#: project/templates/manage/widgets.html:5 #: project/templates/manage/widgets.html:5
#: project/templates/manage/widgets.html:9 #: project/templates/manage/widgets.html:9
msgid "Widgets" msgid "Widgets"
msgstr "Widgets" msgstr "Widgets"
#: project/templates/layout.html:307 #: project/templates/layout.html:312
msgid "Switch organization" msgid "Switch organization"
msgstr "Organisation wechseln" msgstr "Organisation wechseln"
#: project/templates/developer/read.html:4 #: project/templates/developer/read.html:4
#: project/templates/developer/read.html:8 project/templates/layout.html:354 #: project/templates/developer/read.html:8 project/templates/layout.html:359
#: project/templates/profile.html:45 #: project/templates/profile.html:45
msgid "Developer" msgid "Developer"
msgstr "Entwickler" msgstr "Entwickler"
@ -1986,12 +1986,12 @@ msgstr "Akzeptanz der Nutzungsbedingungen und des Datenschutzes zurücksetzen"
#: project/templates/admin_unit/create.html:51 #: project/templates/admin_unit/create.html:51
#: project/templates/admin_unit/update.html:67 #: project/templates/admin_unit/update.html:67
#: project/templates/event/create.html:351 #: project/templates/event/create.html:375
#: project/templates/event/update.html:208 #: project/templates/event/update.html:208
#: project/templates/event_place/create.html:57 #: project/templates/event_place/create.html:58
#: project/templates/event_place/update.html:57 #: project/templates/event_place/update.html:58
#: project/templates/organizer/create.html:56 #: project/templates/organizer/create.html:57
#: project/templates/organizer/update.html:56 #: project/templates/organizer/update.html:57
msgid "Additional information" msgid "Additional information"
msgstr "Zusätzliche Informationen" msgstr "Zusätzliche Informationen"
@ -2258,45 +2258,45 @@ msgstr "Zeige alle Veranstaltungen von %(admin_unit_name)s"
msgid "Add event to list" msgid "Add event to list"
msgstr "Veranstaltung zu Liste hinzufügen" msgstr "Veranstaltung zu Liste hinzufügen"
#: project/templates/event/create.html:90 #: project/templates/event/create.html:114
#: project/templates/event/update.html:76 #: project/templates/event/update.html:76
#: project/templates/widget/event_suggestion/create.html:104 #: project/templates/widget/event_suggestion/create.html:104
msgid "Enter place or address" msgid "Enter place or address"
msgstr "Orte oder Adresse eingeben" msgstr "Orte oder Adresse eingeben"
#: project/templates/event/create.html:244 #: project/templates/event/create.html:268
#: project/templates/event/update.html:136 #: project/templates/event/update.html:136
msgid "Event dates" msgid "Event dates"
msgstr "Termine" msgstr "Termine"
#: project/templates/event/create.html:251 #: project/templates/event/create.html:275
#: project/templates/event/update.html:143 #: project/templates/event/update.html:143
msgid "Add event date" msgid "Add event date"
msgstr "Termin hinzufügen" msgstr "Termin hinzufügen"
#: project/templates/event/create.html:278 #: project/templates/event/create.html:302
msgid "Switch to organizer search" msgid "Switch to organizer search"
msgstr "Zur Veranstaltersuche wechseln" msgstr "Zur Veranstaltersuche wechseln"
#: project/templates/event/create.html:313 #: project/templates/event/create.html:337
msgid "Switch to place search" msgid "Switch to place search"
msgstr "Zur Ortssuche wechseln" msgstr "Zur Ortssuche wechseln"
#: project/templates/event/create.html:324 #: project/templates/event/create.html:348
#: project/templates/event/update.html:181 #: project/templates/event/update.html:181
msgid "Access" msgid "Access"
msgstr "Zugang" msgstr "Zugang"
#: project/templates/event/create.html:338 #: project/templates/event/create.html:362
#: project/templates/event/update.html:195 #: project/templates/event/update.html:195
msgid "Target group" msgid "Target group"
msgstr "Zielgruppe" msgstr "Zielgruppe"
#: project/templates/event/create.html:378 #: project/templates/event/create.html:402
msgid "References are important for the visibility of your events." msgid "References are important for the visibility of your events."
msgstr "Empfehlungen sind wichtig für die Sichtbarkeit deiner Veranstaltungen." msgstr "Empfehlungen sind wichtig für die Sichtbarkeit deiner Veranstaltungen."
#: project/templates/event/create.html:379 #: project/templates/event/create.html:403
msgid "Select organizations to display your event on their calendars." msgid "Select organizations to display your event on their calendars."
msgstr "" msgstr ""
"Wähle Organisationen aus, die deine Veranstaltung in ihren Kalendern " "Wähle Organisationen aus, die deine Veranstaltung in ihren Kalendern "
@ -2317,7 +2317,7 @@ msgid "Reference event \"%(name)s\""
msgstr "Veranstaltung \"%(name)s\" empfehlen" msgstr "Veranstaltung \"%(name)s\" empfehlen"
#: project/templates/event/reference_request.html:47 #: project/templates/event/reference_request.html:47
#: project/templates/event_date/list.html:416 #: project/templates/event_date/list.html:418
msgid "Enter organization" msgid "Enter organization"
msgstr "Organisation eingeben" msgstr "Organisation eingeben"
@ -2342,17 +2342,17 @@ msgstr "Nicht empfohlen"
msgid "Referenced" msgid "Referenced"
msgstr "Empfohlen" msgstr "Empfohlen"
#: project/templates/event_date/list.html:483 #: project/templates/event_date/list.html:485
#: project/templates/manage/events.html:87 #: project/templates/manage/events.html:87
msgid "Created at" msgid "Created at"
msgstr "Erstellt am" msgstr "Erstellt am"
#: project/templates/event_date/list.html:497 #: project/templates/event_date/list.html:498
#: project/templates/manage/events.html:97 #: project/templates/manage/events.html:97
msgid "More filters" msgid "More filters"
msgstr "Weitere Filter" msgstr "Weitere Filter"
#: project/templates/event_date/list.html:498 #: project/templates/event_date/list.html:499
msgid "Map view" msgid "Map view"
msgstr "Kartenansicht" msgstr "Kartenansicht"
@ -2814,23 +2814,31 @@ msgstr "Veranstaltungsvorschlag erfolgreich abgelehnt"
msgid "Event review status updated" msgid "Event review status updated"
msgstr "Prüfungsstatus aktualisiert" msgstr "Prüfungsstatus aktualisiert"
#: project/views/js.py:30 #: project/views/js.py:33
msgid "Short name is already taken" msgid "Short name is already taken"
msgstr "Der Kurzname ist bereits vergeben" msgstr "Der Kurzname ist bereits vergeben"
#: project/views/js.py:47 #: project/views/js.py:52
msgid "Name is already taken" msgid "Name is already taken"
msgstr "Der Name ist bereits vergeben" msgstr "Der Name ist bereits vergeben"
#: project/views/js.py:61 #: project/views/js.py:76
msgid "A place already exists with this name."
msgstr "Mit diesem Namen existiert bereits ein Ort."
#: project/views/js.py:100
msgid "An organizer already exists with this name."
msgstr "Mit diesem Namen existiert bereits ein Veranstalter."
#: project/views/js.py:114
msgid "An account already exists with this email." msgid "An account already exists with this email."
msgstr "Mit dieser E-Mail existiert bereits ein Account." msgstr "Mit dieser E-Mail existiert bereits ein Account."
#: project/views/js.py:105 #: project/views/js.py:158
msgid "Places of organization" msgid "Places of organization"
msgstr "Orte der Organisation" msgstr "Orte der Organisation"
#: project/views/js.py:113 #: project/views/js.py:166
msgid "Places of Google Maps" msgid "Places of Google Maps"
msgstr "Orte von Google Maps" msgstr "Orte von Google Maps"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-08-17 14:09+0200\n" "POT-Creation-Date: 2023-08-29 23:52+0200\n"
"PO-Revision-Date: 2021-04-30 15:04+0200\n" "PO-Revision-Date: 2021-04-30 15:04+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n" "Language: en\n"
@ -207,24 +207,24 @@ msgstr ""
msgid "You have received an invitation" msgid "You have received an invitation"
msgstr "" msgstr ""
#: project/forms/admin.py:11 project/templates/layout.html:337 #: project/forms/admin.py:11 project/templates/layout.html:342
#: project/views/root.py:55 #: project/views/root.py:55
msgid "Terms of service" msgid "Terms of service"
msgstr "" msgstr ""
#: project/forms/admin.py:12 project/templates/layout.html:342 #: project/forms/admin.py:12 project/templates/layout.html:347
#: project/views/root.py:67 #: project/views/root.py:67
msgid "Legal notice" msgid "Legal notice"
msgstr "" msgstr ""
#: project/forms/admin.py:13 project/templates/_macros.html:1487 #: project/forms/admin.py:13 project/templates/_macros.html:1490
#: project/templates/layout.html:346 #: project/templates/layout.html:351
#: project/templates/widget/event_suggestion/create.html:204 #: project/templates/widget/event_suggestion/create.html:204
#: project/views/admin_unit.py:84 project/views/root.py:75 #: project/views/admin_unit.py:84 project/views/root.py:75
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
#: project/forms/admin.py:14 project/templates/layout.html:350 #: project/forms/admin.py:14 project/templates/layout.html:355
#: project/views/root.py:83 #: project/views/root.py:83
msgid "Privacy" msgid "Privacy"
msgstr "" msgstr ""
@ -265,7 +265,7 @@ msgstr ""
#: project/forms/admin_unit_member.py:30 project/forms/event.py:112 #: project/forms/admin_unit_member.py:30 project/forms/event.py:112
#: project/forms/event_suggestion.py:38 project/forms/organizer.py:33 #: project/forms/event_suggestion.py:38 project/forms/organizer.py:33
#: project/forms/user.py:18 project/forms/user.py:23 #: project/forms/user.py:18 project/forms/user.py:23
#: project/templates/_macros.html:246 project/templates/_macros.html:1583 #: project/templates/_macros.html:246 project/templates/_macros.html:1586
#: project/templates/admin/admin.html:27 project/templates/admin/email.html:4 #: project/templates/admin/admin.html:27 project/templates/admin/email.html:4
#: project/templates/admin/email.html:66 project/templates/admin/users.html:19 #: project/templates/admin/email.html:66 project/templates/admin/users.html:19
#: project/templates/manage/organizers.html:21 #: project/templates/manage/organizers.html:21
@ -412,7 +412,7 @@ msgstr ""
msgid "The short name is used to create a unique identifier for your events" msgid "The short name is used to create a unique identifier for your events"
msgstr "" msgstr ""
#: project/forms/admin_unit.py:46 project/templates/_macros.html:1625 #: project/forms/admin_unit.py:46 project/templates/_macros.html:1690
msgid "Short name must contain only letters numbers or underscore" msgid "Short name must contain only letters numbers or underscore"
msgstr "" msgstr ""
@ -524,7 +524,7 @@ msgstr ""
msgid "Cancel deletion" msgid "Cancel deletion"
msgstr "" msgstr ""
#: project/forms/admin_unit.py:156 project/templates/layout.html:308 #: project/forms/admin_unit.py:156 project/templates/layout.html:313
#: project/templates/manage/delete_membership.html:6 #: project/templates/manage/delete_membership.html:6
msgid "Leave organization" msgid "Leave organization"
msgstr "" msgstr ""
@ -662,17 +662,17 @@ msgstr ""
msgid "All-day" msgid "All-day"
msgstr "" msgstr ""
#: project/forms/event.py:59 project/templates/_macros.html:948 #: project/forms/event.py:59 project/templates/_macros.html:951
#: project/templates/_macros.html:1795 #: project/templates/_macros.html:1860
#: project/templates/widget/event_suggestion/create.html:240 #: project/templates/widget/event_suggestion/create.html:240
msgid "Recurring event" msgid "Recurring event"
msgstr "" msgstr ""
#: project/forms/event.py:66 project/templates/_macros.html:1344 #: project/forms/event.py:66 project/templates/_macros.html:1347
msgid "The start must be before the end." msgid "The start must be before the end."
msgstr "" msgstr ""
#: project/forms/event.py:72 project/templates/_macros.html:1361 #: project/forms/event.py:72 project/templates/_macros.html:1364
msgid "An event can last a maximum of 14 days." msgid "An event can last a maximum of 14 days."
msgstr "" msgstr ""
@ -753,7 +753,7 @@ msgid "If the participants needs to register for the event."
msgstr "" msgstr ""
#: project/forms/event.py:175 project/templates/_macros.html:260 #: project/forms/event.py:175 project/templates/_macros.html:260
#: project/templates/layout.html:118 #: project/templates/layout.html:123
msgid "Booked up" msgid "Booked up"
msgstr "" msgstr ""
@ -809,11 +809,11 @@ msgstr ""
msgid "EventAttendanceMode.offline" msgid "EventAttendanceMode.offline"
msgstr "Normal (Offline)" msgstr "Normal (Offline)"
#: project/forms/event.py:222 project/templates/layout.html:106 #: project/forms/event.py:222 project/templates/layout.html:111
msgid "EventAttendanceMode.online" msgid "EventAttendanceMode.online"
msgstr "Online" msgstr "Online"
#: project/forms/event.py:224 project/templates/layout.html:109 #: project/forms/event.py:224 project/templates/layout.html:114
msgid "EventAttendanceMode.mixed" msgid "EventAttendanceMode.mixed"
msgstr "Online and offline" msgstr "Online and offline"
@ -855,7 +855,7 @@ msgstr ""
#: project/forms/event.py:260 project/forms/reference.py:14 #: project/forms/event.py:260 project/forms/reference.py:14
#: project/forms/reference.py:27 project/forms/reference_request.py:76 #: project/forms/reference.py:27 project/forms/reference_request.py:76
#: project/templates/event/create.html:363 #: project/templates/event/create.html:387
#: project/templates/event/update.html:220 #: project/templates/event/update.html:220
msgid "Rating" msgid "Rating"
msgstr "" msgstr ""
@ -884,11 +884,11 @@ msgstr ""
#: project/forms/event.py:291 project/forms/event.py:300 #: project/forms/event.py:291 project/forms/event.py:300
#: project/forms/event.py:382 project/forms/event.py:459 #: project/forms/event.py:382 project/forms/event.py:459
#: project/forms/event_suggestion.py:50 project/templates/_macros.html:464 #: project/forms/event_suggestion.py:50 project/templates/_macros.html:464
#: project/templates/_macros.html:630 project/templates/event/create.html:288 #: project/templates/_macros.html:630 project/templates/event/create.html:312
#: project/templates/event/update.html:170 #: project/templates/event/update.html:170
#: project/templates/event_place/create.html:31 #: project/templates/event_place/create.html:32
#: project/templates/event_place/delete.html:13 #: project/templates/event_place/delete.html:13
#: project/templates/event_place/update.html:31 #: project/templates/event_place/update.html:32
#: project/templates/manage/events.html:109 #: project/templates/manage/events.html:109
msgid "Place" msgid "Place"
msgstr "" msgstr ""
@ -905,12 +905,12 @@ msgstr ""
#: project/forms/event.py:390 project/forms/event.py:456 #: project/forms/event.py:390 project/forms/event.py:456
#: project/forms/event_date.py:40 project/forms/event_suggestion.py:60 #: project/forms/event_date.py:40 project/forms/event_suggestion.py:60
#: project/templates/_macros.html:501 project/templates/_macros.html:673 #: project/templates/_macros.html:501 project/templates/_macros.html:673
#: project/templates/_macros.html:951 project/templates/event/create.html:257 #: project/templates/_macros.html:954 project/templates/event/create.html:281
#: project/templates/event/update.html:160 #: project/templates/event/update.html:160
#: project/templates/manage/events.html:108 #: project/templates/manage/events.html:108
#: project/templates/organizer/create.html:27 #: project/templates/organizer/create.html:28
#: project/templates/organizer/delete.html:13 #: project/templates/organizer/delete.html:13
#: project/templates/organizer/update.html:27 #: project/templates/organizer/update.html:28
msgid "Organizer" msgid "Organizer"
msgstr "" msgstr ""
@ -923,7 +923,7 @@ msgid "Enter new organizer"
msgstr "" msgstr ""
#: project/forms/event.py:323 project/templates/_macros.html:738 #: project/forms/event.py:323 project/templates/_macros.html:738
#: project/templates/event/create.html:374 #: project/templates/event/create.html:398
#: project/templates/manage/reference_requests_incoming.html:5 #: project/templates/manage/reference_requests_incoming.html:5
#: project/templates/manage/reference_requests_outgoing.html:5 #: project/templates/manage/reference_requests_outgoing.html:5
msgid "Reference requests" msgid "Reference requests"
@ -970,23 +970,23 @@ msgstr ""
msgid "EventStatus.scheduled" msgid "EventStatus.scheduled"
msgstr "Scheduled" msgstr "Scheduled"
#: project/forms/event.py:403 project/templates/layout.html:72 #: project/forms/event.py:403 project/templates/layout.html:77
#: project/templates/layout.html:87 #: project/templates/layout.html:92
msgid "EventStatus.cancelled" msgid "EventStatus.cancelled"
msgstr "Cancelled" msgstr "Cancelled"
#: project/forms/event.py:404 project/templates/layout.html:75 #: project/forms/event.py:404 project/templates/layout.html:80
#: project/templates/layout.html:90 #: project/templates/layout.html:95
msgid "EventStatus.movedOnline" msgid "EventStatus.movedOnline"
msgstr "Moved online" msgstr "Moved online"
#: project/forms/event.py:405 project/templates/layout.html:78 #: project/forms/event.py:405 project/templates/layout.html:83
#: project/templates/layout.html:93 #: project/templates/layout.html:98
msgid "EventStatus.postponed" msgid "EventStatus.postponed"
msgstr "Postponed" msgstr "Postponed"
#: project/forms/event.py:406 project/templates/layout.html:81 #: project/forms/event.py:406 project/templates/layout.html:86
#: project/templates/layout.html:96 #: project/templates/layout.html:101
msgid "EventStatus.rescheduled" msgid "EventStatus.rescheduled"
msgstr "Rescheduled" msgstr "Rescheduled"
@ -1010,7 +1010,7 @@ msgstr "Planned"
msgid "PublicStatus.draft" msgid "PublicStatus.draft"
msgstr "Draft" msgstr "Draft"
#: project/forms/event.py:419 project/templates/event/create.html:386 #: project/forms/event.py:419 project/templates/event/create.html:410
msgid "Planned events appear in the scheduling view, but not on public calendars." msgid "Planned events appear in the scheduling view, but not on public calendars."
msgstr "" msgstr ""
@ -1019,7 +1019,7 @@ msgstr ""
msgid "Update event" msgid "Update event"
msgstr "" msgstr ""
#: project/forms/event.py:440 project/templates/_macros.html:1301 #: project/forms/event.py:440 project/templates/_macros.html:1304
#: project/templates/event/actions.html:66 #: project/templates/event/actions.html:66
#: project/templates/event/delete.html:6 #: project/templates/event/delete.html:6
msgid "Delete event" msgid "Delete event"
@ -1050,12 +1050,12 @@ msgstr ""
#: project/forms/planning.py:27 project/templates/_macros.html:324 #: project/forms/planning.py:27 project/templates/_macros.html:324
#: project/templates/admin_unit/create.html:38 #: project/templates/admin_unit/create.html:38
#: project/templates/admin_unit/update.html:47 #: project/templates/admin_unit/update.html:47
#: project/templates/event_place/create.html:40 #: project/templates/event_place/create.html:41
#: project/templates/event_place/update.html:40 #: project/templates/event_place/update.html:41
#: project/templates/manage/organizers.html:19 #: project/templates/manage/organizers.html:19
#: project/templates/manage/places.html:19 #: project/templates/manage/places.html:19
#: project/templates/organizer/create.html:36 #: project/templates/organizer/create.html:37
#: project/templates/organizer/update.html:36 #: project/templates/organizer/update.html:37
msgid "Location" msgid "Location"
msgstr "" msgstr ""
@ -1091,13 +1091,13 @@ msgstr ""
#: project/forms/event_date.py:35 project/forms/reference.py:11 #: project/forms/event_date.py:35 project/forms/reference.py:11
#: project/forms/reference_request.py:16 project/templates/_macros.html:517 #: project/forms/reference_request.py:16 project/templates/_macros.html:517
#: project/templates/_macros.html:690 project/templates/_macros.html:950 #: project/templates/_macros.html:690 project/templates/_macros.html:953
#: project/templates/admin/delete_admin_unit.html:13 #: project/templates/admin/delete_admin_unit.html:13
#: project/templates/admin_unit/cancel_deletion.html:13 #: project/templates/admin_unit/cancel_deletion.html:13
#: project/templates/admin_unit/create.html:27 #: project/templates/admin_unit/create.html:27
#: project/templates/admin_unit/request_deletion.html:15 #: project/templates/admin_unit/request_deletion.html:15
#: project/templates/admin_unit/update.html:36 #: project/templates/admin_unit/update.html:36
#: project/templates/layout.html:260 #: project/templates/layout.html:265
#: project/templates/manage/delete_membership.html:13 #: project/templates/manage/delete_membership.html:13
#: project/templates/verification_request/delete.html:13 #: project/templates/verification_request/delete.html:13
#: project/templates/verification_request/review.html:28 #: project/templates/verification_request/review.html:28
@ -1114,14 +1114,14 @@ msgid "Find"
msgstr "" msgstr ""
#: project/forms/event_place.py:47 project/templates/event_place/create.html:5 #: project/forms/event_place.py:47 project/templates/event_place/create.html:5
#: project/templates/event_place/create.html:21 #: project/templates/event_place/create.html:22
#: project/templates/event_place/list.html:11 #: project/templates/event_place/list.html:11
#: project/templates/manage/places.html:11 #: project/templates/manage/places.html:11
msgid "Create place" msgid "Create place"
msgstr "" msgstr ""
#: project/forms/event_place.py:51 project/templates/event_place/update.html:5 #: project/forms/event_place.py:51 project/templates/event_place/update.html:5
#: project/templates/event_place/update.html:21 #: project/templates/event_place/update.html:22
msgid "Update place" msgid "Update place"
msgstr "" msgstr ""
@ -1149,13 +1149,13 @@ msgstr ""
msgid "I would like to be notified by email after the review" msgid "I would like to be notified by email after the review"
msgstr "" msgstr ""
#: project/forms/event_suggestion.py:52 project/templates/event/create.html:293 #: project/forms/event_suggestion.py:52 project/templates/event/create.html:317
msgid "" msgid ""
"Choose where the event takes place. If the venue is not yet in the list, " "Choose where the event takes place. If the venue is not yet in the list, "
"just enter it." "just enter it."
msgstr "" msgstr ""
#: project/forms/event_suggestion.py:62 project/templates/event/create.html:261 #: project/forms/event_suggestion.py:62 project/templates/event/create.html:285
msgid "" msgid ""
"Select the organizer. If the organizer is not yet on the list, just enter" "Select the organizer. If the organizer is not yet on the list, just enter"
" it." " it."
@ -1220,12 +1220,12 @@ msgstr ""
#: project/forms/organizer.py:49 project/templates/manage/organizers.html:11 #: project/forms/organizer.py:49 project/templates/manage/organizers.html:11
#: project/templates/organizer/create.html:5 #: project/templates/organizer/create.html:5
#: project/templates/organizer/create.html:21 #: project/templates/organizer/create.html:22
msgid "Create organizer" msgid "Create organizer"
msgstr "" msgstr ""
#: project/forms/organizer.py:53 project/templates/organizer/update.html:5 #: project/forms/organizer.py:53 project/templates/organizer/update.html:5
#: project/templates/organizer/update.html:21 #: project/templates/organizer/update.html:22
msgid "Update organizer" msgid "Update organizer"
msgstr "" msgstr ""
@ -1270,7 +1270,7 @@ msgid "Delete request"
msgstr "" msgstr ""
#: project/forms/reference_request.py:28 #: project/forms/reference_request.py:28
#: project/forms/verification_request.py:24 project/templates/_macros.html:1499 #: project/forms/verification_request.py:24 project/templates/_macros.html:1502
#: project/templates/event_suggestion/review_status.html:18 #: project/templates/event_suggestion/review_status.html:18
#: project/templates/reference_request/review_status.html:12 #: project/templates/reference_request/review_status.html:12
#: project/templates/verification_request/review_status.html:4 #: project/templates/verification_request/review_status.html:4
@ -1446,24 +1446,24 @@ msgstr ""
#: project/templates/_macros.html:413 project/templates/_macros.html:583 #: project/templates/_macros.html:413 project/templates/_macros.html:583
#: project/templates/event/actions.html:25 #: project/templates/event/actions.html:25
#: project/templates/event/create.html:234 #: project/templates/event/create.html:258
#: project/templates/event/update.html:126 #: project/templates/event/update.html:126
#: project/templates/manage/events.html:107 #: project/templates/manage/events.html:107
#: project/templates/widget/event_suggestion/create.html:229 #: project/templates/widget/event_suggestion/create.html:229
msgid "Event" msgid "Event"
msgstr "" msgstr ""
#: project/templates/_macros.html:419 project/templates/_macros.html:1020 #: project/templates/_macros.html:419 project/templates/_macros.html:1023
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: project/templates/_macros.html:446 project/templates/_macros.html:605 #: project/templates/_macros.html:446 project/templates/_macros.html:605
#: project/templates/_macros.html:1568 project/templates/event/actions.html:51 #: project/templates/_macros.html:1571 project/templates/event/actions.html:51
msgid "Share" msgid "Share"
msgstr "" msgstr ""
#: project/templates/_macros.html:450 project/templates/_macros.html:609 #: project/templates/_macros.html:450 project/templates/_macros.html:609
#: project/templates/_macros.html:1598 #: project/templates/_macros.html:1601
msgid "Add to calendar" msgid "Add to calendar"
msgstr "" msgstr ""
@ -1484,7 +1484,7 @@ msgstr ""
msgid "The event takes place both offline and online." msgid "The event takes place both offline and online."
msgstr "" msgstr ""
#: project/templates/_macros.html:613 project/templates/layout.html:186 #: project/templates/_macros.html:613 project/templates/layout.html:191
#: project/templates/user/favorite_events.html:4 #: project/templates/user/favorite_events.html:4
msgid "Favorite events" msgid "Favorite events"
msgstr "" msgstr ""
@ -1507,7 +1507,7 @@ msgstr ""
msgid "Referenced by" msgid "Referenced by"
msgstr "" msgstr ""
#: project/templates/_macros.html:729 project/templates/_macros.html:1311 #: project/templates/_macros.html:729 project/templates/_macros.html:1314
#: project/templates/event/actions.html:38 #: project/templates/event/actions.html:38
#: project/templates/event_date/list.html:251 #: project/templates/event_date/list.html:251
#: project/templates/manage/events.html:129 #: project/templates/manage/events.html:129
@ -1515,34 +1515,34 @@ msgstr ""
msgid "Reference event" msgid "Reference event"
msgstr "" msgstr ""
#: project/templates/_macros.html:749 project/templates/_macros.html:1308 #: project/templates/_macros.html:749 project/templates/_macros.html:1311
#: project/templates/event/actions.html:32 #: project/templates/event/actions.html:32
#: project/templates/manage/events.html:127 #: project/templates/manage/events.html:127
msgid "Request reference" msgid "Request reference"
msgstr "" msgstr ""
#: project/templates/_macros.html:757 project/templates/event_date/list.html:6 #: project/templates/_macros.html:757 project/templates/event_date/list.html:6
#: project/templates/event_date/list.html:461 #: project/templates/event_date/list.html:463
#: project/templates/reference_request/review.html:32 #: project/templates/reference_request/review.html:32
msgid "Event Dates" msgid "Event Dates"
msgstr "" msgstr ""
#: project/templates/_macros.html:855 #: project/templates/_macros.html:858
msgid "Search location on Google" msgid "Search location on Google"
msgstr "" msgstr ""
#: project/templates/_macros.html:925 #: project/templates/_macros.html:928
#, python-format #, python-format
msgid "%(count)d event dates" msgid "%(count)d event dates"
msgstr "" msgstr ""
#: project/templates/_macros.html:961 project/templates/_macros.html:963 #: project/templates/_macros.html:964 project/templates/_macros.html:966
#: project/templates/event_date/list.html:515 #: project/templates/event_date/list.html:516
msgid "First" msgid "First"
msgstr "" msgstr ""
#: project/templates/_macros.html:966 project/templates/_macros.html:968 #: project/templates/_macros.html:969 project/templates/_macros.html:971
#: project/templates/event_date/list.html:516 #: project/templates/event_date/list.html:517
#: project/templates/widget/event_suggestion/create.html:193 #: project/templates/widget/event_suggestion/create.html:193
#: project/templates/widget/event_suggestion/create.html:218 #: project/templates/widget/event_suggestion/create.html:218
#: project/templates/widget/event_suggestion/create.html:247 #: project/templates/widget/event_suggestion/create.html:247
@ -1552,13 +1552,13 @@ msgstr ""
msgid "Previous" msgid "Previous"
msgstr "" msgstr ""
#: project/templates/_macros.html:970 #: project/templates/_macros.html:973
#, python-format #, python-format
msgid "Page %(page)d of %(pages)d (%(total)d total)" msgid "Page %(page)d of %(pages)d (%(total)d total)"
msgstr "" msgstr ""
#: project/templates/_macros.html:972 project/templates/_macros.html:974 #: project/templates/_macros.html:975 project/templates/_macros.html:977
#: project/templates/event_date/list.html:518 #: project/templates/event_date/list.html:519
#: project/templates/widget/event_suggestion/create.html:194 #: project/templates/widget/event_suggestion/create.html:194
#: project/templates/widget/event_suggestion/create.html:219 #: project/templates/widget/event_suggestion/create.html:219
#: project/templates/widget/event_suggestion/create.html:248 #: project/templates/widget/event_suggestion/create.html:248
@ -1567,98 +1567,98 @@ msgstr ""
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: project/templates/_macros.html:977 project/templates/_macros.html:979 #: project/templates/_macros.html:980 project/templates/_macros.html:982
#: project/templates/event_date/list.html:519 #: project/templates/event_date/list.html:520
msgid "Last" msgid "Last"
msgstr "" msgstr ""
#: project/templates/_macros.html:1048 #: project/templates/_macros.html:1051
msgid "Radius" msgid "Radius"
msgstr "" msgstr ""
#: project/templates/_macros.html:1230 #: project/templates/_macros.html:1233
msgid "Edit image" msgid "Edit image"
msgstr "" msgstr ""
#: project/templates/_macros.html:1251 project/templates/planning/list.html:97 #: project/templates/_macros.html:1254 project/templates/planning/list.html:97
msgid "Close" msgid "Close"
msgstr "" msgstr ""
#: project/templates/_macros.html:1252 #: project/templates/_macros.html:1255
msgid "Okay" msgid "Okay"
msgstr "" msgstr ""
#: project/templates/_macros.html:1264 #: project/templates/_macros.html:1267
msgid "Choose image file" msgid "Choose image file"
msgstr "" msgstr ""
#: project/templates/_macros.html:1300 project/templates/event/actions.html:65 #: project/templates/_macros.html:1303 project/templates/event/actions.html:65
#: project/templates/event/delete.html:12 #: project/templates/event/delete.html:12
msgid "Edit event" msgid "Edit event"
msgstr "" msgstr ""
#: project/templates/_macros.html:1304 project/templates/event/actions.html:58 #: project/templates/_macros.html:1307 project/templates/event/actions.html:58
msgid "Duplicate event" msgid "Duplicate event"
msgstr "" msgstr ""
#: project/templates/_macros.html:1315 project/templates/event/actions.html:44 #: project/templates/_macros.html:1318 project/templates/event/actions.html:44
#: project/templates/manage/events.html:133 #: project/templates/manage/events.html:133
msgid "Add to list" msgid "Add to list"
msgstr "" msgstr ""
#: project/templates/_macros.html:1318 project/templates/manage/events.html:136 #: project/templates/_macros.html:1321 project/templates/manage/events.html:136
msgid "More" msgid "More"
msgstr "" msgstr ""
#: project/templates/_macros.html:1365 #: project/templates/_macros.html:1368
msgid "Please enter a valid time, between 00:00 and 23:59." msgid "Please enter a valid time, between 00:00 and 23:59."
msgstr "" msgstr ""
#: project/templates/_macros.html:1393 #: project/templates/_macros.html:1396
#, python-format #, python-format
msgid "Just use %(term)s" msgid "Just use %(term)s"
msgstr "" msgstr ""
#: project/templates/_macros.html:1459 #: project/templates/_macros.html:1462
msgid "Event suggestion" msgid "Event suggestion"
msgstr "" msgstr ""
#: project/templates/_macros.html:1577 #: project/templates/_macros.html:1580
msgid "Link copied" msgid "Link copied"
msgstr "" msgstr ""
#: project/templates/_macros.html:1577 #: project/templates/_macros.html:1580
msgid "Copy link" msgid "Copy link"
msgstr "" msgstr ""
#: project/templates/_macros.html:1607 #: project/templates/_macros.html:1610
msgid "Google calendar" msgid "Google calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1609 #: project/templates/_macros.html:1612
msgid "Apple calendar" msgid "Apple calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1610 #: project/templates/_macros.html:1613
msgid "Yahoo calendar" msgid "Yahoo calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1611 #: project/templates/_macros.html:1614
msgid "Other calendar" msgid "Other calendar"
msgstr "" msgstr ""
#: project/templates/_macros.html:1796 #: project/templates/_macros.html:1861
msgid "Remove event date" msgid "Remove event date"
msgstr "" msgstr ""
#: project/templates/_macros.html:1829 project/templates/event/create.html:180 #: project/templates/_macros.html:1894 project/templates/event/create.html:204
#: project/templates/event/update.html:103 #: project/templates/event/update.html:103
#: project/templates/event_date/list.html:446 #: project/templates/event_date/list.html:448
#: project/templates/widget/event_suggestion/create.html:129 #: project/templates/widget/event_suggestion/create.html:129
msgid "Enter organizer" msgid "Enter organizer"
msgstr "" msgstr ""
#: project/templates/_macros.html:1857 #: project/templates/_macros.html:1922
msgid "Enter list name" msgid "Enter list name"
msgstr "" msgstr ""
@ -1666,7 +1666,7 @@ msgstr ""
msgid "Manage" msgid "Manage"
msgstr "" msgstr ""
#: project/templates/home.html:37 project/templates/layout.html:176 #: project/templates/home.html:37 project/templates/layout.html:181
#: project/templates/manage/admin_units.html:28 #: project/templates/manage/admin_units.html:28
#: project/templates/manage/verification_requests_outgoing.html:13 #: project/templates/manage/verification_requests_outgoing.html:13
#: project/templates/manage/verification_requests_outgoing_create_select.html:13 #: project/templates/manage/verification_requests_outgoing_create_select.html:13
@ -1680,7 +1680,7 @@ msgstr ""
msgid "Features" msgid "Features"
msgstr "" msgstr ""
#: project/templates/layout.html:170 project/templates/layout.html:218 #: project/templates/layout.html:175 project/templates/layout.html:223
#: project/templates/manage/events.html:6 #: project/templates/manage/events.html:6
#: project/templates/manage/events.html:54 #: project/templates/manage/events.html:54
#: project/templates/manage/events_vue.html:4 #: project/templates/manage/events_vue.html:4
@ -1690,18 +1690,18 @@ msgstr ""
#: project/templates/admin/admin.html:19 #: project/templates/admin/admin.html:19
#: project/templates/admin/admin_units.html:4 #: project/templates/admin/admin_units.html:4
#: project/templates/admin/admin_units.html:11 #: project/templates/admin/admin_units.html:11
#: project/templates/layout.html:171 project/templates/layout.html:184 #: project/templates/layout.html:176 project/templates/layout.html:189
#: project/templates/manage/admin_units.html:3 #: project/templates/manage/admin_units.html:3
#: project/templates/manage/admin_units.html:26 #: project/templates/manage/admin_units.html:26
#: project/templates/organization/main.html:4 #: project/templates/organization/main.html:4
msgid "Organizations" msgid "Organizations"
msgstr "" msgstr ""
#: project/templates/layout.html:172 #: project/templates/layout.html:177
msgid "Planning" msgid "Planning"
msgstr "" msgstr ""
#: project/templates/layout.html:185 project/templates/layout.html:297 #: project/templates/layout.html:190 project/templates/layout.html:302
#: project/templates/oauth2_client/list.html:10 #: project/templates/oauth2_client/list.html:10
#: project/templates/oauth2_client/read.html:10 #: project/templates/oauth2_client/read.html:10
#: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4 #: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4
@ -1714,100 +1714,100 @@ msgstr ""
#: project/templates/admin/email.html:65 #: project/templates/admin/email.html:65
#: project/templates/admin/newsletter.html:92 #: project/templates/admin/newsletter.html:92
#: project/templates/admin/settings.html:10 #: project/templates/admin/settings.html:10
#: project/templates/admin/users.html:10 project/templates/layout.html:189 #: project/templates/admin/users.html:10 project/templates/layout.html:194
msgid "Admin" msgid "Admin"
msgstr "" msgstr ""
#: project/templates/layout.html:193 #: project/templates/layout.html:198
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
#: project/templates/layout.html:224 #: project/templates/layout.html:229
msgid "Show events" msgid "Show events"
msgstr "" msgstr ""
#: project/templates/event/create.html:5 #: project/templates/event/create.html:5
#: project/templates/event/create.html:225 project/templates/layout.html:225 #: project/templates/event/create.html:249 project/templates/layout.html:230
#: project/templates/manage/events.html:55 #: project/templates/manage/events.html:55
#: project/templates/manage/organizers.html:38 #: project/templates/manage/organizers.html:38
msgid "Create event" msgid "Create event"
msgstr "" msgstr ""
#: project/templates/layout.html:226 #: project/templates/layout.html:231
msgid "Import event" msgid "Import event"
msgstr "" msgstr ""
#: project/templates/layout.html:228 #: project/templates/layout.html:233
#: project/templates/manage/event_lists.html:4 #: project/templates/manage/event_lists.html:4
msgid "Event lists" msgid "Event lists"
msgstr "" msgstr ""
#: project/templates/layout.html:231 #: project/templates/layout.html:236
msgid "Review suggestions" msgid "Review suggestions"
msgstr "" msgstr ""
#: project/templates/layout.html:241 #: project/templates/layout.html:246
#: project/templates/manage/references_incoming.html:5 #: project/templates/manage/references_incoming.html:5
#: project/templates/manage/references_outgoing.html:5 #: project/templates/manage/references_outgoing.html:5
msgid "References" msgid "References"
msgstr "" msgstr ""
#: project/templates/layout.html:247 #: project/templates/layout.html:252
#: project/templates/manage/references_incoming.html:9 #: project/templates/manage/references_incoming.html:9
msgid "Incoming references" msgid "Incoming references"
msgstr "" msgstr ""
#: project/templates/layout.html:248 #: project/templates/layout.html:253
#: project/templates/manage/references_outgoing.html:9 #: project/templates/manage/references_outgoing.html:9
msgid "Outgoing references" msgid "Outgoing references"
msgstr "" msgstr ""
#: project/templates/layout.html:250 #: project/templates/layout.html:255
#: project/templates/manage/reference_requests_incoming.html:9 #: project/templates/manage/reference_requests_incoming.html:9
msgid "Incoming reference requests" msgid "Incoming reference requests"
msgstr "" msgstr ""
#: project/templates/layout.html:255 #: project/templates/layout.html:260
#: project/templates/manage/reference_requests_outgoing.html:9 #: project/templates/manage/reference_requests_outgoing.html:9
msgid "Outgoing reference requests" msgid "Outgoing reference requests"
msgstr "" msgstr ""
#: project/templates/layout.html:267 #: project/templates/layout.html:272
#: project/templates/manage/verification_requests_outgoing.html:5 #: project/templates/manage/verification_requests_outgoing.html:5
#: project/templates/manage/verification_requests_outgoing.html:10 #: project/templates/manage/verification_requests_outgoing.html:10
msgid "Outgoing verification requests" msgid "Outgoing verification requests"
msgstr "" msgstr ""
#: project/templates/layout.html:271 project/templates/manage/organizers.html:5 #: project/templates/layout.html:276 project/templates/manage/organizers.html:5
#: project/templates/manage/organizers.html:10 #: project/templates/manage/organizers.html:10
#: project/templates/organizer/main.html:4 #: project/templates/organizer/main.html:4
msgid "Organizers" msgid "Organizers"
msgstr "" msgstr ""
#: project/templates/event_place/list.html:3 #: project/templates/event_place/list.html:3
#: project/templates/event_place/list.html:7 project/templates/layout.html:272 #: project/templates/event_place/list.html:7 project/templates/layout.html:277
#: project/templates/manage/places.html:5 #: project/templates/manage/places.html:5
#: project/templates/manage/places.html:10 #: project/templates/manage/places.html:10
msgid "Places" msgid "Places"
msgstr "" msgstr ""
#: project/templates/layout.html:274 project/templates/manage/members.html:5 #: project/templates/layout.html:279 project/templates/manage/members.html:5
#: project/templates/manage/members.html:28 #: project/templates/manage/members.html:28
#: project/templates/verification_request/review.html:54 #: project/templates/verification_request/review.html:54
msgid "Members" msgid "Members"
msgstr "" msgstr ""
#: project/templates/layout.html:275 project/templates/manage/relations.html:4 #: project/templates/layout.html:280 project/templates/manage/relations.html:4
msgid "Relations" msgid "Relations"
msgstr "" msgstr ""
#: project/templates/layout.html:279 #: project/templates/layout.html:284
#: project/templates/manage/verification_requests_incoming.html:5 #: project/templates/manage/verification_requests_incoming.html:5
#: project/templates/manage/verification_requests_incoming.html:9 #: project/templates/manage/verification_requests_incoming.html:9
msgid "Incoming verification requests" msgid "Incoming verification requests"
msgstr "" msgstr ""
#: project/templates/layout.html:287 #: project/templates/layout.html:292
#: project/templates/manage/admin_units.html:17 #: project/templates/manage/admin_units.html:17
#: project/templates/manage/organization_invitations.html:4 #: project/templates/manage/organization_invitations.html:4
#: project/templates/user/organization_invitations.html:4 #: project/templates/user/organization_invitations.html:4
@ -1819,33 +1819,33 @@ msgstr ""
#: project/templates/admin/settings.html:11 #: project/templates/admin/settings.html:11
#: project/templates/admin_unit/update.html:6 #: project/templates/admin_unit/update.html:6
#: project/templates/admin_unit/update.html:30 #: project/templates/admin_unit/update.html:30
#: project/templates/layout.html:291 project/templates/manage/widgets.html:11 #: project/templates/layout.html:296 project/templates/manage/widgets.html:11
#: project/templates/manage/widgets.html:15 project/templates/profile.html:32 #: project/templates/manage/widgets.html:15 project/templates/profile.html:32
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: project/templates/layout.html:292 project/templates/manage/export.html:3 #: project/templates/layout.html:297 project/templates/manage/export.html:3
#: project/templates/manage/export.html:63 #: project/templates/manage/export.html:63
msgid "Export" msgid "Export"
msgstr "" msgstr ""
#: project/templates/layout.html:294 #: project/templates/layout.html:299
#: project/templates/manage/custom_widgets.html:13 #: project/templates/manage/custom_widgets.html:13
msgid "Custom widgets" msgid "Custom widgets"
msgstr "" msgstr ""
#: project/templates/layout.html:295 project/templates/manage/reviews.html:10 #: project/templates/layout.html:300 project/templates/manage/reviews.html:10
#: project/templates/manage/widgets.html:5 #: project/templates/manage/widgets.html:5
#: project/templates/manage/widgets.html:9 #: project/templates/manage/widgets.html:9
msgid "Widgets" msgid "Widgets"
msgstr "" msgstr ""
#: project/templates/layout.html:307 #: project/templates/layout.html:312
msgid "Switch organization" msgid "Switch organization"
msgstr "" msgstr ""
#: project/templates/developer/read.html:4 #: project/templates/developer/read.html:4
#: project/templates/developer/read.html:8 project/templates/layout.html:354 #: project/templates/developer/read.html:8 project/templates/layout.html:359
#: project/templates/profile.html:45 #: project/templates/profile.html:45
msgid "Developer" msgid "Developer"
msgstr "" msgstr ""
@ -1933,12 +1933,12 @@ msgstr ""
#: project/templates/admin_unit/create.html:51 #: project/templates/admin_unit/create.html:51
#: project/templates/admin_unit/update.html:67 #: project/templates/admin_unit/update.html:67
#: project/templates/event/create.html:351 #: project/templates/event/create.html:375
#: project/templates/event/update.html:208 #: project/templates/event/update.html:208
#: project/templates/event_place/create.html:57 #: project/templates/event_place/create.html:58
#: project/templates/event_place/update.html:57 #: project/templates/event_place/update.html:58
#: project/templates/organizer/create.html:56 #: project/templates/organizer/create.html:57
#: project/templates/organizer/update.html:56 #: project/templates/organizer/update.html:57
msgid "Additional information" msgid "Additional information"
msgstr "" msgstr ""
@ -2199,45 +2199,45 @@ msgstr ""
msgid "Add event to list" msgid "Add event to list"
msgstr "" msgstr ""
#: project/templates/event/create.html:90 #: project/templates/event/create.html:114
#: project/templates/event/update.html:76 #: project/templates/event/update.html:76
#: project/templates/widget/event_suggestion/create.html:104 #: project/templates/widget/event_suggestion/create.html:104
msgid "Enter place or address" msgid "Enter place or address"
msgstr "" msgstr ""
#: project/templates/event/create.html:244 #: project/templates/event/create.html:268
#: project/templates/event/update.html:136 #: project/templates/event/update.html:136
msgid "Event dates" msgid "Event dates"
msgstr "" msgstr ""
#: project/templates/event/create.html:251 #: project/templates/event/create.html:275
#: project/templates/event/update.html:143 #: project/templates/event/update.html:143
msgid "Add event date" msgid "Add event date"
msgstr "" msgstr ""
#: project/templates/event/create.html:278 #: project/templates/event/create.html:302
msgid "Switch to organizer search" msgid "Switch to organizer search"
msgstr "" msgstr ""
#: project/templates/event/create.html:313 #: project/templates/event/create.html:337
msgid "Switch to place search" msgid "Switch to place search"
msgstr "" msgstr ""
#: project/templates/event/create.html:324 #: project/templates/event/create.html:348
#: project/templates/event/update.html:181 #: project/templates/event/update.html:181
msgid "Access" msgid "Access"
msgstr "" msgstr ""
#: project/templates/event/create.html:338 #: project/templates/event/create.html:362
#: project/templates/event/update.html:195 #: project/templates/event/update.html:195
msgid "Target group" msgid "Target group"
msgstr "" msgstr ""
#: project/templates/event/create.html:378 #: project/templates/event/create.html:402
msgid "References are important for the visibility of your events." msgid "References are important for the visibility of your events."
msgstr "" msgstr ""
#: project/templates/event/create.html:379 #: project/templates/event/create.html:403
msgid "Select organizations to display your event on their calendars." msgid "Select organizations to display your event on their calendars."
msgstr "" msgstr ""
@ -2253,7 +2253,7 @@ msgid "Reference event \"%(name)s\""
msgstr "" msgstr ""
#: project/templates/event/reference_request.html:47 #: project/templates/event/reference_request.html:47
#: project/templates/event_date/list.html:416 #: project/templates/event_date/list.html:418
msgid "Enter organization" msgid "Enter organization"
msgstr "" msgstr ""
@ -2278,17 +2278,17 @@ msgstr ""
msgid "Referenced" msgid "Referenced"
msgstr "" msgstr ""
#: project/templates/event_date/list.html:483 #: project/templates/event_date/list.html:485
#: project/templates/manage/events.html:87 #: project/templates/manage/events.html:87
msgid "Created at" msgid "Created at"
msgstr "" msgstr ""
#: project/templates/event_date/list.html:497 #: project/templates/event_date/list.html:498
#: project/templates/manage/events.html:97 #: project/templates/manage/events.html:97
msgid "More filters" msgid "More filters"
msgstr "" msgstr ""
#: project/templates/event_date/list.html:498 #: project/templates/event_date/list.html:499
msgid "Map view" msgid "Map view"
msgstr "" msgstr ""
@ -2741,23 +2741,31 @@ msgstr ""
msgid "Event review status updated" msgid "Event review status updated"
msgstr "" msgstr ""
#: project/views/js.py:30 #: project/views/js.py:33
msgid "Short name is already taken" msgid "Short name is already taken"
msgstr "" msgstr ""
#: project/views/js.py:47 #: project/views/js.py:52
msgid "Name is already taken" msgid "Name is already taken"
msgstr "" msgstr ""
#: project/views/js.py:61 #: project/views/js.py:76
msgid "A place already exists with this name."
msgstr ""
#: project/views/js.py:100
msgid "An organizer already exists with this name."
msgstr ""
#: project/views/js.py:114
msgid "An account already exists with this email." msgid "An account already exists with this email."
msgstr "" msgstr ""
#: project/views/js.py:105 #: project/views/js.py:158
msgid "Places of organization" msgid "Places of organization"
msgstr "" msgstr ""
#: project/views/js.py:113 #: project/views/js.py:166
msgid "Places of Google Maps" msgid "Places of Google Maps"
msgstr "" msgstr ""

View File

@ -4,11 +4,12 @@ from flask_babel import gettext
from flask_cors import cross_origin from flask_cors import cross_origin
from flask_security import url_for_security from flask_security import url_for_security
from flask_security.utils import localize_callback from flask_security.utils import localize_callback
from sqlalchemy import func
from project import app, csrf from project import app, csrf
from project.api.custom_widget.schemas import CustomWidgetSchema from project.api.custom_widget.schemas import CustomWidgetSchema
from project.maputils import find_gmaps_places, get_gmaps_place from project.maputils import find_gmaps_places, get_gmaps_place
from project.models import AdminUnit, CustomWidget from project.models import AdminUnit, CustomWidget, EventOrganizer, EventPlace
from project.services.place import get_event_places from project.services.place import get_event_places
from project.services.user import find_user_by_email from project.services.user import find_user_by_email
from project.utils import get_place_str from project.utils import get_place_str
@ -22,7 +23,9 @@ def js_check_org_short_name():
admin_unit_id = ( admin_unit_id = (
int(request.form["admin_unit_id"]) if "admin_unit_id" in request.form else -1 int(request.form["admin_unit_id"]) if "admin_unit_id" in request.form else -1
) )
organization = AdminUnit.query.filter(AdminUnit.short_name == short_name).first() organization = AdminUnit.query.filter(
func.lower(AdminUnit.short_name) == short_name.lower()
).first()
if not organization or organization.id == admin_unit_id: if not organization or organization.id == admin_unit_id:
return jsonify(True) return jsonify(True)
@ -39,7 +42,9 @@ def js_check_org_name():
admin_unit_id = ( admin_unit_id = (
int(request.form["admin_unit_id"]) if "admin_unit_id" in request.form else -1 int(request.form["admin_unit_id"]) if "admin_unit_id" in request.form else -1
) )
organization = AdminUnit.query.filter(AdminUnit.name == name).first() organization = AdminUnit.query.filter(
func.lower(AdminUnit.name) == name.lower()
).first()
if not organization or organization.id == admin_unit_id: if not organization or organization.id == admin_unit_id:
return jsonify(True) return jsonify(True)
@ -48,6 +53,54 @@ def js_check_org_name():
return jsonify(error) return jsonify(error)
@app.route("/js/check/event_place/name", methods=["POST"])
def js_check_event_place_name():
csrf.protect()
name = request.form["name"]
admin_unit_id = (
int(request.form["admin_unit_id"]) if "admin_unit_id" in request.form else -1
)
event_place_id = (
int(request.form["event_place_id"]) if "event_place_id" in request.form else -1
)
event_place = (
EventPlace.query.filter(EventPlace.admin_unit_id == admin_unit_id)
.filter(func.lower(EventPlace.name) == name.lower())
.first()
)
if not event_place or event_place.id == event_place_id:
return jsonify(True)
error = gettext("A place already exists with this name.")
return jsonify(error)
@app.route("/js/check/organizer/name", methods=["POST"])
def js_check_organizer_name():
csrf.protect()
name = request.form["name"]
admin_unit_id = (
int(request.form["admin_unit_id"]) if "admin_unit_id" in request.form else -1
)
organizer_id = (
int(request.form["organizer_id"]) if "organizer_id" in request.form else -1
)
organizer = (
EventOrganizer.query.filter(EventOrganizer.admin_unit_id == admin_unit_id)
.filter(func.lower(EventOrganizer.name) == name.lower())
.first()
)
if not organizer or organizer.id == organizer_id:
return jsonify(True)
error = gettext("An organizer already exists with this name.")
return jsonify(error)
@app.route("/js/check/register/email", methods=["POST"]) @app.route("/js/check/register/email", methods=["POST"])
def js_check_register_email(): def js_check_register_email():
csrf.protect() csrf.protect()

View File

@ -2,7 +2,7 @@ from tests.seeder import Seeder
from tests.utils import UtilActions from tests.utils import UtilActions
def test_js_check_org_short_name(client, seeder, utils: UtilActions): def test_js_check_org_short_name(client, seeder: Seeder, utils: UtilActions):
seeder.create_user(admin=True) seeder.create_user(admin=True)
utils.login() utils.login()
@ -18,10 +18,10 @@ def test_js_check_org_short_name(client, seeder, utils: UtilActions):
}, },
) )
utils.assert_response_ok(response) utils.assert_response_ok(response)
assert response.json assert response.json is True
def test_js_check_org_short_name_exists(client, seeder, utils): def test_js_check_org_short_name_exists(client, seeder: Seeder, utils: UtilActions):
seeder.create_user(admin=True) seeder.create_user(admin=True)
user_id = utils.login() user_id = utils.login()
seeder.create_admin_unit(user_id, "Meine Crew") seeder.create_admin_unit(user_id, "Meine Crew")
@ -41,7 +41,7 @@ def test_js_check_org_short_name_exists(client, seeder, utils):
assert response.json == "Der Kurzname ist bereits vergeben" assert response.json == "Der Kurzname ist bereits vergeben"
def test_js_check_org_name(client, seeder, utils): def test_js_check_org_name(client, seeder: Seeder, utils: UtilActions):
seeder.create_user(admin=True) seeder.create_user(admin=True)
utils.login() utils.login()
@ -57,10 +57,10 @@ def test_js_check_org_name(client, seeder, utils):
}, },
) )
utils.assert_response_ok(response) utils.assert_response_ok(response)
assert response.json assert response.json is True
def test_js_check_org_name_exists(client, seeder, utils): def test_js_check_org_name_exists(client, seeder: Seeder, utils: UtilActions):
seeder.create_user(admin=True) seeder.create_user(admin=True)
user_id = utils.login() user_id = utils.login()
seeder.create_admin_unit(user_id, "Meine Crew") seeder.create_admin_unit(user_id, "Meine Crew")
@ -80,7 +80,87 @@ def test_js_check_org_name_exists(client, seeder, utils):
assert response.json == "Der Name ist bereits vergeben" assert response.json == "Der Name ist bereits vergeben"
def test_js_js_check_register_email(client, seeder, utils): def test_js_check_event_place_name(client, seeder: Seeder, utils: UtilActions):
user_id, admin_unit_id = seeder.setup_base(admin=True)
seeder.upsert_default_event_place(admin_unit_id)
url = utils.get_url("manage_admin_unit_places_create", id=admin_unit_id)
response = utils.get(url)
with client:
url = utils.get_url("js_check_event_place_name")
response = utils.post_form_data(
url,
{
"admin_unit_id": admin_unit_id,
"name": "Meine Crew 2",
},
)
utils.assert_response_ok(response)
assert response.json is True
def test_js_check_event_place_name_exists(client, seeder: Seeder, utils: UtilActions):
user_id, admin_unit_id = seeder.setup_base(admin=True)
seeder.upsert_default_event_place(admin_unit_id)
url = utils.get_url("manage_admin_unit_places_create", id=admin_unit_id)
response = utils.get(url)
with client:
url = utils.get_url("js_check_event_place_name")
response = utils.post_form_data(
url,
{
"admin_unit_id": admin_unit_id,
"name": "Meine Crew",
},
)
utils.assert_response_ok(response)
assert response.json == "Mit diesem Namen existiert bereits ein Ort."
def test_js_check_organizer_name(client, seeder: Seeder, utils: UtilActions):
user_id, admin_unit_id = seeder.setup_base(admin=True)
seeder.upsert_default_event_place(admin_unit_id)
url = utils.get_url("manage_admin_unit_organizer_create", id=admin_unit_id)
response = utils.get(url)
with client:
url = utils.get_url("js_check_organizer_name")
response = utils.post_form_data(
url,
{
"admin_unit_id": admin_unit_id,
"name": "Meine Crew 2",
},
)
utils.assert_response_ok(response)
assert response.json is True
def test_js_check_organizer_name_exists(client, seeder: Seeder, utils: UtilActions):
user_id, admin_unit_id = seeder.setup_base(admin=True)
seeder.upsert_default_event_place(admin_unit_id)
url = utils.get_url("manage_admin_unit_organizer_create", id=admin_unit_id)
response = utils.get(url)
with client:
url = utils.get_url("js_check_organizer_name")
response = utils.post_form_data(
url,
{
"admin_unit_id": admin_unit_id,
"name": "Meine Crew",
},
)
utils.assert_response_ok(response)
assert response.json == "Mit diesem Namen existiert bereits ein Veranstalter."
def test_js_js_check_register_email(client, seeder: Seeder, utils: UtilActions):
url = utils.get_url("security.register") url = utils.get_url("security.register")
response = utils.get(url) response = utils.get(url)
@ -93,10 +173,10 @@ def test_js_js_check_register_email(client, seeder, utils):
}, },
) )
utils.assert_response_ok(response) utils.assert_response_ok(response)
assert response.json assert response.json is True
def test_js_js_check_register_email_exists(client, seeder, utils): def test_js_js_check_register_email_exists(client, seeder: Seeder, utils: UtilActions):
seeder.create_user() seeder.create_user()
url = utils.get_url("security.register") url = utils.get_url("security.register")
response = utils.get(url) response = utils.get(url)