From 3e5f62fecb0706b95cb58c6a5e3cdd36bdae3152 Mon Sep 17 00:00:00 2001 From: Daniel Grams Date: Sat, 10 Feb 2024 18:09:19 +0100 Subject: [PATCH] Set max event date range to 180 days #571 --- messages.pot | 258 +++++++++-------- project/api/event_date_definition/schemas.py | 2 +- project/forms/event.py | 6 +- project/models/event_date.py | 4 +- project/templates/_macros.html | 4 +- .../templates/admin/delete_admin_unit.html | 2 +- .../templates/admin_unit/cancel_deletion.html | 2 +- project/templates/admin_unit/create.html | 2 +- .../admin_unit/request_deletion.html | 2 +- project/templates/admin_unit/update.html | 2 +- project/templates/event/create.html | 2 +- project/templates/event/update.html | 2 +- project/templates/event_place/create.html | 2 +- project/templates/event_place/delete.html | 2 +- project/templates/event_place/update.html | 2 +- .../templates/manage/delete_membership.html | 2 +- project/templates/oauth2_client/delete.html | 2 +- project/templates/organizer/create.html | 2 +- project/templates/organizer/delete.html | 2 +- project/templates/organizer/update.html | 2 +- .../verification_request/delete.html | 2 +- .../widget/event_suggestion/create.html | 4 +- .../translations/de/LC_MESSAGES/messages.mo | Bin 47162 -> 47218 bytes .../translations/de/LC_MESSAGES/messages.po | 266 ++++++++++-------- .../translations/en/LC_MESSAGES/messages.mo | Bin 4214 -> 4214 bytes .../translations/en/LC_MESSAGES/messages.po | 262 +++++++++-------- tests/api/test_event.py | 2 +- tests/views/test_event.py | 4 +- 28 files changed, 443 insertions(+), 401 deletions(-) diff --git a/messages.pot b/messages.pot index cdef2cc..7389fb6 100644 --- a/messages.pot +++ b/messages.pot @@ -1,14 +1,14 @@ # Translations template for PROJECT. -# Copyright (C) 2023 ORGANIZATION +# Copyright (C) 2024 ORGANIZATION # This file is distributed under the same license as the PROJECT project. -# FIRST AUTHOR , 2023. +# FIRST AUTHOR , 2024. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-11-13 17:25+0100\n" +"POT-Creation-Date: 2024-02-10 17:55+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,183 +17,183 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.12.1\n" -#: project/i10n.py:32 +#: project/i10n.py:36 msgid "Event_Art" msgstr "" -#: project/i10n.py:33 +#: project/i10n.py:37 msgid "Event_Book" msgstr "" -#: project/i10n.py:34 +#: project/i10n.py:38 msgid "Event_Movie" msgstr "" -#: project/i10n.py:35 +#: project/i10n.py:39 msgid "Event_Family" msgstr "" -#: project/i10n.py:36 +#: project/i10n.py:40 msgid "Event_Festival" msgstr "" -#: project/i10n.py:37 +#: project/i10n.py:41 msgid "Event_Religious" msgstr "" -#: project/i10n.py:38 +#: project/i10n.py:42 msgid "Event_Shopping" msgstr "" -#: project/i10n.py:39 +#: project/i10n.py:43 msgid "Event_Comedy" msgstr "" -#: project/i10n.py:40 +#: project/i10n.py:44 msgid "Event_Music" msgstr "" -#: project/i10n.py:41 +#: project/i10n.py:45 msgid "Event_Dance" msgstr "" -#: project/i10n.py:42 +#: project/i10n.py:46 msgid "Event_Nightlife" msgstr "" -#: project/i10n.py:43 +#: project/i10n.py:47 msgid "Event_Theater" msgstr "" -#: project/i10n.py:44 +#: project/i10n.py:48 msgid "Event_Dining" msgstr "" -#: project/i10n.py:45 +#: project/i10n.py:49 msgid "Event_Conference" msgstr "" -#: project/i10n.py:46 +#: project/i10n.py:50 msgid "Event_Meetup" msgstr "" -#: project/i10n.py:47 +#: project/i10n.py:51 msgid "Event_Fitness" msgstr "" -#: project/i10n.py:48 +#: project/i10n.py:52 msgid "Event_Sports" msgstr "" -#: project/i10n.py:49 +#: project/i10n.py:53 msgid "Event_Other" msgstr "" -#: project/i10n.py:50 +#: project/i10n.py:54 msgid "Event_Exhibition" msgstr "" -#: project/i10n.py:51 +#: project/i10n.py:55 msgid "Event_Culture" msgstr "" -#: project/i10n.py:52 +#: project/i10n.py:56 msgid "Event_Tour" msgstr "" -#: project/i10n.py:53 +#: project/i10n.py:57 msgid "Event_OpenAir" msgstr "" -#: project/i10n.py:54 +#: project/i10n.py:58 msgid "Event_Stage" msgstr "" -#: project/i10n.py:55 +#: project/i10n.py:59 msgid "Event_Lecture" msgstr "" -#: project/i10n.py:56 +#: project/i10n.py:60 msgid "Typical Age range" msgstr "" -#: project/i10n.py:57 +#: project/i10n.py:61 msgid "Administrator" msgstr "" -#: project/i10n.py:58 +#: project/i10n.py:62 msgid "Event expert" msgstr "" -#: project/i10n.py:59 +#: project/i10n.py:63 msgid "EventReviewStatus.inbox" msgstr "" -#: project/i10n.py:60 +#: project/i10n.py:64 msgid "EventReviewStatus.verified" msgstr "" -#: project/i10n.py:61 +#: project/i10n.py:65 msgid "EventReviewStatus.rejected" msgstr "" -#: project/i10n.py:62 +#: project/i10n.py:66 msgid "Scope_openid" msgstr "" -#: project/i10n.py:63 +#: project/i10n.py:67 msgid "Scope_profile" msgstr "" -#: project/i10n.py:64 +#: project/i10n.py:68 msgid "Scope_user:read" msgstr "" -#: project/i10n.py:65 +#: project/i10n.py:69 msgid "Scope_user:write" msgstr "" -#: project/i10n.py:66 +#: project/i10n.py:70 msgid "Scope_organizer:write" msgstr "" -#: project/i10n.py:67 +#: project/i10n.py:71 msgid "Scope_place:write" msgstr "" -#: project/i10n.py:68 +#: project/i10n.py:72 msgid "Scope_event:write" msgstr "" -#: project/i10n.py:69 +#: project/i10n.py:73 msgid "Scope_eventlist:write" msgstr "" -#: project/i10n.py:70 +#: project/i10n.py:74 msgid "Scope_eventreference:write" msgstr "" -#: project/i10n.py:71 +#: project/i10n.py:75 msgid "Scope_organization:read" msgstr "" -#: project/i10n.py:72 +#: project/i10n.py:76 msgid "Scope_organization:write" msgstr "" -#: project/i10n.py:73 +#: project/i10n.py:77 msgid "Scope_customwidget:write" msgstr "" -#: project/i10n.py:74 +#: project/i10n.py:78 msgid "There must be no self-reference." msgstr "" -#: project/utils.py:19 +#: project/utils.py:20 msgid "Event_" msgstr "" -#: project/utils.py:23 +#: project/utils.py:24 msgid "." msgstr "" @@ -201,64 +201,69 @@ msgstr "" msgid "message" msgstr "" -#: project/forms/admin.py:11 project/templates/layout.html:344 +#: project/forms/admin.py:13 project/templates/layout.html:344 #: project/views/root.py:55 msgid "Terms of service" msgstr "" -#: project/forms/admin.py:12 project/templates/layout.html:349 +#: project/forms/admin.py:14 project/templates/layout.html:349 #: project/views/root.py:67 msgid "Legal notice" msgstr "" -#: project/forms/admin.py:13 project/templates/_macros.html:1490 +#: project/forms/admin.py:15 project/templates/_macros.html:1490 #: project/templates/layout.html:353 #: project/templates/widget/event_suggestion/create.html:204 -#: project/views/admin_unit.py:84 project/views/root.py:75 +#: project/views/admin_unit.py:83 project/views/root.py:75 msgid "Contact" msgstr "" -#: project/forms/admin.py:14 project/templates/layout.html:357 +#: project/forms/admin.py:16 project/templates/layout.html:357 #: project/views/root.py:83 msgid "Privacy" msgstr "" -#: project/forms/admin.py:15 +#: project/forms/admin.py:17 msgid "Start page" msgstr "" -#: project/forms/admin.py:16 +#: project/forms/admin.py:18 msgid "Announcement" msgstr "" -#: project/forms/admin.py:18 project/forms/oauth2_client.py:24 -#: project/forms/user.py:18 project/forms/user.py:32 +#: project/forms/admin.py:20 project/forms/admin.py:28 +#: project/forms/oauth2_client.py:24 project/forms/user.py:18 +#: project/forms/user.py:32 msgid "Save" msgstr "" -#: project/forms/admin.py:23 +#: project/forms/admin.py:25 +msgid "External calendars" +msgstr "" + +#: project/forms/admin.py:49 msgid "Reset for all users" msgstr "" -#: project/forms/admin.py:25 +#: project/forms/admin.py:51 msgid "Reset" msgstr "" -#: project/forms/admin.py:29 project/forms/admin_unit_member.py:14 +#: project/forms/admin.py:55 project/forms/admin_unit_member.py:14 #: project/forms/admin_unit_member.py:34 msgid "Roles" msgstr "" -#: project/forms/admin.py:30 project/templates/admin/update_user.html:4 +#: project/forms/admin.py:56 project/templates/admin/update_user.html:4 #: project/templates/admin/update_user.html:8 msgid "Update user" msgstr "" -#: project/forms/admin.py:34 project/templates/admin/delete_user.html:6 +#: project/forms/admin.py:60 project/templates/admin/delete_user.html:6 msgid "Delete user" msgstr "" -#: project/forms/admin.py:35 project/forms/admin_unit.py:67 +#: project/forms/admin.py:61 project/forms/admin_unit.py:67 #: project/forms/admin_unit_member.py:12 project/forms/admin_unit_member.py:25 #: project/forms/admin_unit_member.py:30 project/forms/event.py:112 #: project/forms/event_suggestion.py:38 project/forms/organizer.py:33 @@ -270,60 +275,60 @@ msgstr "" msgid "Email" msgstr "" -#: project/forms/admin.py:40 +#: project/forms/admin.py:66 msgid "Incoming reference requests allowed" msgstr "" -#: project/forms/admin.py:41 +#: project/forms/admin.py:67 msgid "" "If set, other organizations can ask this organization to reference their " "event." msgstr "" -#: project/forms/admin.py:47 +#: project/forms/admin.py:73 msgid "Suggestions enabled" msgstr "" -#: project/forms/admin.py:48 +#: project/forms/admin.py:74 msgid "If set, the organization can work with suggestions." msgstr "" -#: project/forms/admin.py:52 +#: project/forms/admin.py:78 msgid "Create other organizations" msgstr "" -#: project/forms/admin.py:53 +#: project/forms/admin.py:79 msgid "If set, members of the organization can create other organizations." msgstr "" -#: project/forms/admin.py:59 +#: project/forms/admin.py:85 msgid "Invite other organizations" msgstr "" -#: project/forms/admin.py:60 +#: project/forms/admin.py:86 msgid "If set, members of the organization can invite other organizations." msgstr "" -#: project/forms/admin.py:66 +#: project/forms/admin.py:92 msgid "Verify other organizations" msgstr "" -#: project/forms/admin.py:67 +#: project/forms/admin.py:93 msgid "If set, members of the organization can verify other organizations." msgstr "" -#: project/forms/admin.py:72 project/templates/admin/update_admin_unit.html:4 +#: project/forms/admin.py:98 project/templates/admin/update_admin_unit.html:4 #: project/templates/admin/update_admin_unit.html:8 msgid "Update organization" msgstr "" -#: project/forms/admin.py:76 project/templates/admin/delete_admin_unit.html:6 +#: project/forms/admin.py:102 project/templates/admin/delete_admin_unit.html:6 #: project/templates/admin_unit/request_deletion.html:6 #: project/templates/admin_unit/update.html:113 msgid "Delete organization" msgstr "" -#: project/forms/admin.py:77 project/forms/admin_unit.py:166 +#: project/forms/admin.py:103 project/forms/admin_unit.py:166 #: project/forms/admin_unit.py:171 project/forms/admin_unit.py:176 #: project/forms/event.py:90 project/forms/event.py:119 #: project/forms/event_place.py:30 project/forms/event_place.py:56 @@ -339,27 +344,27 @@ msgstr "" msgid "Name" msgstr "" -#: project/forms/admin.py:81 project/forms/admin.py:88 +#: project/forms/admin.py:107 project/forms/admin.py:114 msgid "Recipient" msgstr "" -#: project/forms/admin.py:83 +#: project/forms/admin.py:109 msgid "Send test mail synchronously" msgstr "" -#: project/forms/admin.py:90 project/forms/admin.py:96 +#: project/forms/admin.py:116 project/forms/admin.py:122 msgid "Test recipient" msgstr "" -#: project/forms/admin.py:91 +#: project/forms/admin.py:117 msgid "All users with enabled newsletter setting" msgstr "" -#: project/forms/admin.py:97 +#: project/forms/admin.py:123 msgid "Message" msgstr "" -#: project/forms/admin.py:98 +#: project/forms/admin.py:124 msgid "Send newsletter" msgstr "" @@ -660,8 +665,8 @@ msgstr "" #: project/forms/event.py:50 msgid "" -"Indicate when the event date will end. An event can last a maximum of 14 " -"days." +"Indicate when the event date will end. An event can last a maximum of 180" +" days." msgstr "" #: project/forms/event.py:55 @@ -679,7 +684,7 @@ msgid "The start must be before the end." msgstr "" #: 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 180 days." msgstr "" #: project/forms/event.py:108 @@ -1247,7 +1252,7 @@ msgstr "" msgid "Min. expected number of participants" msgstr "" -#: project/forms/planning.py:50 project/templates/planning/list.html:98 +#: project/forms/planning.py:50 project/templates/planning/list.html:102 msgid "Refresh" msgstr "" @@ -1587,7 +1592,7 @@ msgstr "" msgid "Edit image" msgstr "" -#: project/templates/_macros.html:1254 project/templates/planning/list.html:97 +#: project/templates/_macros.html:1254 project/templates/planning/list.html:101 msgid "Close" msgstr "" @@ -1677,7 +1682,7 @@ msgstr "" #: project/templates/manage/admin_units.html:28 #: project/templates/manage/verification_requests_outgoing.html:13 #: project/templates/manage/verification_requests_outgoing_create_select.html:13 -#: project/templates/planning/list.html:68 +#: project/templates/planning/list.html:72 #: project/templates/security/login_user.html:21 #: project/templates/security/register_user.html:43 msgid "Docs" @@ -1704,7 +1709,9 @@ msgstr "" msgid "Organizations" msgstr "" -#: project/templates/layout.html:177 +#: project/templates/admin/admin.html:35 +#: project/templates/admin/planning.html:4 +#: project/templates/admin/planning.html:11 project/templates/layout.html:177 msgid "Planning" msgstr "" @@ -1712,7 +1719,8 @@ msgstr "" #: project/templates/oauth2_client/list.html:10 #: project/templates/oauth2_client/read.html:10 #: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4 -#: project/templates/profile.html:17 +#: project/templates/profile.html:17 project/templates/user/general.html:10 +#: project/templates/user/notifications.html:10 msgid "Profile" msgstr "" @@ -1720,6 +1728,7 @@ msgstr "" #: project/templates/admin/admin_units.html:10 #: project/templates/admin/email.html:65 #: project/templates/admin/newsletter.html:92 +#: project/templates/admin/planning.html:10 #: project/templates/admin/settings.html:10 #: project/templates/admin/users.html:10 project/templates/layout.html:194 msgid "Admin" @@ -1857,7 +1866,7 @@ msgstr "" msgid "Developer" msgstr "" -#: project/templates/profile.html:12 project/views/admin_unit.py:90 +#: project/templates/profile.html:12 project/views/admin_unit.py:89 #: project/views/admin_unit_member_invitation.py:39 msgid "Your account is scheduled for deletion." msgstr "" @@ -1868,13 +1877,13 @@ msgid "Delete account" msgstr "" #: project/templates/profile.html:36 project/templates/user/general.html:4 -#: project/templates/user/general.html:8 +#: project/templates/user/general.html:11 msgid "General" msgstr "" #: project/templates/profile.html:40 #: project/templates/user/notifications.html:4 -#: project/templates/user/notifications.html:8 +#: project/templates/user/notifications.html:11 msgid "Notifications" msgstr "" @@ -1920,7 +1929,7 @@ msgstr "" msgid "User" msgstr "" -#: project/templates/admin/email.html:47 project/views/admin.py:163 +#: project/templates/admin/email.html:47 project/views/admin.py:164 msgid "Mail sent successfully" msgstr "" @@ -2349,7 +2358,7 @@ msgstr "" msgid "Member" msgstr "" -#: project/templates/manage/events.html:42 project/views/admin_unit.py:143 +#: project/templates/manage/events.html:42 project/views/admin_unit.py:142 msgid "" "The organization is not verified. Events are therefore not publicly " "visible." @@ -2483,11 +2492,11 @@ msgid "Revoke" msgstr "" #: project/templates/planning/list.html:5 -#: project/templates/planning/list.html:66 +#: project/templates/planning/list.html:70 msgid "Event Planning" msgstr "" -#: project/templates/planning/list.html:76 +#: project/templates/planning/list.html:80 msgid "Filters" msgstr "" @@ -2607,48 +2616,49 @@ msgstr "" msgid "Preview" msgstr "" -#: project/views/admin.py:63 +#: project/views/admin.py:64 msgid "Organization successfully updated" msgstr "" -#: project/views/admin.py:85 project/views/admin_unit.py:208 -#: project/views/admin_unit.py:241 project/views/manage.py:315 +#: project/views/admin.py:86 project/views/admin_unit.py:207 +#: project/views/admin_unit.py:240 project/views/manage.py:315 #: project/views/verification_request.py:169 msgid "Entered name does not match organization name" msgstr "" -#: project/views/admin.py:89 +#: project/views/admin.py:90 msgid "Organization successfully deleted" msgstr "" -#: project/views/admin.py:133 project/views/manage.py:485 -#: project/views/user.py:64 project/views/user.py:83 +#: project/views/admin.py:134 project/views/admin.py:280 +#: project/views/manage.py:485 project/views/user.py:64 +#: project/views/user.py:83 msgid "Settings successfully updated" msgstr "" -#: project/views/admin.py:233 +#: project/views/admin.py:234 msgid "User successfully updated" msgstr "" -#: project/views/admin.py:253 +#: project/views/admin.py:254 msgid "Entered email does not match user email" msgstr "" -#: project/views/admin.py:257 +#: project/views/admin.py:258 msgid "User successfully deleted" msgstr "" -#: project/views/admin_unit.py:80 +#: project/views/admin_unit.py:79 msgid "" "Organizations cannot currently be created. The project is in a closed " "test phase. If you are interested, you can contact us." msgstr "" -#: project/views/admin_unit.py:134 +#: project/views/admin_unit.py:133 msgid "Organization successfully created" msgstr "" -#: project/views/admin_unit.py:184 +#: project/views/admin_unit.py:183 msgid "AdminUnit successfully updated" msgstr "" @@ -2684,23 +2694,23 @@ msgstr "" msgid "Invitation successfully deleted" msgstr "" -#: project/views/event.py:209 +#: project/views/event.py:211 msgid "Event successfully published" msgstr "" -#: project/views/event.py:211 +#: project/views/event.py:213 msgid "Draft successfully saved" msgstr "" -#: project/views/event.py:213 +#: project/views/event.py:215 msgid "Event successfully planned" msgstr "" -#: project/views/event.py:273 +#: project/views/event.py:275 msgid "Event successfully updated" msgstr "" -#: project/views/event.py:299 +#: project/views/event.py:301 msgid "Event successfully deleted" msgstr "" @@ -2724,31 +2734,31 @@ msgstr "" msgid "Event suggestion successfully rejected" msgstr "" -#: project/views/js.py:33 +#: project/views/js.py:41 msgid "Short name is already taken" msgstr "" -#: project/views/js.py:52 +#: project/views/js.py:60 msgid "Name is already taken" msgstr "" -#: project/views/js.py:76 +#: project/views/js.py:84 msgid "A place already exists with this name." msgstr "" -#: project/views/js.py:100 +#: project/views/js.py:108 msgid "An organizer already exists with this name." msgstr "" -#: project/views/js.py:114 +#: project/views/js.py:122 msgid "An account already exists with this email." msgstr "" -#: project/views/js.py:158 +#: project/views/js.py:166 msgid "Places of organization" msgstr "" -#: project/views/js.py:166 +#: project/views/js.py:174 msgid "Places of Google Maps" msgstr "" @@ -2812,12 +2822,12 @@ msgstr "" msgid "Reference successfully deleted" msgstr "" -#: project/views/reference_request.py:145 +#: project/views/reference_request.py:141 #, python-format msgid "%(organization)s accepted your reference request" msgstr "" -#: project/views/reference_request.py:152 +#: project/views/reference_request.py:148 #, python-format msgid "" "Reference request to %(organization)s successfully created. You will be " @@ -2931,7 +2941,7 @@ msgstr "" msgid "You do not have permission for this action" msgstr "" -#: project/views/utils.py:382 +#: project/views/utils.py:386 msgid "" "The invitation was issued to another user. Sign in with the email address" " the invitation was sent to." diff --git a/project/api/event_date_definition/schemas.py b/project/api/event_date_definition/schemas.py index 4bb5da5..daf825c 100644 --- a/project/api/event_date_definition/schemas.py +++ b/project/api/event_date_definition/schemas.py @@ -32,7 +32,7 @@ class EventDateDefinitionBaseSchemaMixin(object): ) end = CustomDateTimeField( metadata={ - "description": "When the event will end. An event can last a maximum of 14 days. If the event takes place regularly, enter when the first date will end." + "description": "When the event will end. An event can last a maximum of 180 days. If the event takes place regularly, enter when the first date will end." }, ) allday = fields.Bool( diff --git a/project/forms/event.py b/project/forms/event.py index 2986a30..247a75c 100644 --- a/project/forms/event.py +++ b/project/forms/event.py @@ -48,7 +48,7 @@ class EventDateDefinitionFormMixin: lazy_gettext("End"), validators=[Optional()], description=lazy_gettext( - "Indicate when the event date will end. An event can last a maximum of 14 days." + "Indicate when the event date will end. An event can last a maximum of 180 days." ), ) allday = BooleanField( @@ -67,9 +67,9 @@ class EventDateDefinitionFormMixin: self.start.errors.append(msg) return False - max_end = self.start.data + relativedelta(days=14) + max_end = self.start.data + relativedelta(days=180) if self.end.data > max_end: - msg = gettext("An event can last a maximum of 14 days.") + msg = gettext("An event can last a maximum of 180 days.") self.end.errors.append(msg) return False return True diff --git a/project/models/event_date.py b/project/models/event_date.py index e2adb73..866c9fc 100644 --- a/project/models/event_date.py +++ b/project/models/event_date.py @@ -46,9 +46,9 @@ class EventDateDefinition(db.Model): if self.start > self.end: raise make_check_violation("The start must be before the end.") - max_end = self.start + relativedelta(days=14) + max_end = self.start + relativedelta(days=180) if self.end > max_end: - raise make_check_violation("An event can last a maximum of 14 days.") + raise make_check_violation("An event can last a maximum of 180 days.") @listens_for(EventDateDefinition, "before_insert") diff --git a/project/templates/_macros.html b/project/templates/_macros.html index 3253c88..122d97a 100644 --- a/project/templates/_macros.html +++ b/project/templates/_macros.html @@ -1361,7 +1361,7 @@ if (URL) { var end = get_moment_with_time(end_id); var max = start.add(14, 'day'); return end <= max; - }, jQuery.validator.format("{{ _('An event can last a maximum of 14 days.') }}")); + }, jQuery.validator.format("{{ _('An event can last a maximum of 180 days.') }}")); $.validator.addMethod( "time", function( value, element ) { return this.optional( element ) || /^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test( value ); @@ -1855,7 +1855,7 @@ $('#allday').on('change', function() {
{{ date_definition.form.hidden_tag() }} - {{ render_field_with_errors(date_definition.form.start, **{"data-range-to":"#"+date_definition.form.end.id, "data-range-max-days": "14", "data-allday": "#"+date_definition.form.allday.id}) }} + {{ render_field_with_errors(date_definition.form.start, **{"data-range-to":"#"+date_definition.form.end.id, "data-range-max-days": "180", "data-allday": "#"+date_definition.form.allday.id}) }} {{ render_field_with_errors(date_definition.form.end, is_collapsible=1) }} {{ render_field_with_errors(date_definition.form.allday, ri="checkbox") }} diff --git a/project/templates/admin/delete_admin_unit.html b/project/templates/admin/delete_admin_unit.html index b1d5fda..87bc55e 100644 --- a/project/templates/admin/delete_admin_unit.html +++ b/project/templates/admin/delete_admin_unit.html @@ -13,7 +13,7 @@ {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/admin_unit/cancel_deletion.html b/project/templates/admin_unit/cancel_deletion.html index a3006dd..856f64a 100644 --- a/project/templates/admin_unit/cancel_deletion.html +++ b/project/templates/admin_unit/cancel_deletion.html @@ -13,7 +13,7 @@ {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/admin_unit/create.html b/project/templates/admin_unit/create.html index 230ceaa..16a5520 100644 --- a/project/templates/admin_unit/create.html +++ b/project/templates/admin_unit/create.html @@ -27,7 +27,7 @@ {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }} {{ render_field_with_errors(form.short_name) }} {{ render_field_with_errors(form.description) }}
diff --git a/project/templates/admin_unit/request_deletion.html b/project/templates/admin_unit/request_deletion.html index 7f4ee93..ac72945 100644 --- a/project/templates/admin_unit/request_deletion.html +++ b/project/templates/admin_unit/request_deletion.html @@ -15,7 +15,7 @@ {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/admin_unit/update.html b/project/templates/admin_unit/update.html index 650ddf1..573e455 100644 --- a/project/templates/admin_unit/update.html +++ b/project/templates/admin_unit/update.html @@ -54,7 +54,7 @@ $( function() { {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }} {{ render_field_with_errors(form.short_name) }} {{ render_field_with_errors(form.description) }}
diff --git a/project/templates/event/create.html b/project/templates/event/create.html index f6bccf5..80b1264 100644 --- a/project/templates/event/create.html +++ b/project/templates/event/create.html @@ -248,7 +248,7 @@ $( function() { {{ _('Event') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }} {{ render_field_with_errors(form.description, style="min-height:10rem;") }}
diff --git a/project/templates/event/update.html b/project/templates/event/update.html index 7ec5cce..ef50c7c 100644 --- a/project/templates/event/update.html +++ b/project/templates/event/update.html @@ -134,7 +134,7 @@ {{ _('Event') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }} {{ render_field_with_errors(form.description) }}
diff --git a/project/templates/event_place/create.html b/project/templates/event_place/create.html index 4816e70..c2063ba 100644 --- a/project/templates/event_place/create.html +++ b/project/templates/event_place/create.html @@ -32,7 +32,7 @@ {{ _('Place') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/event_place/delete.html b/project/templates/event_place/delete.html index 3b6b2d1..f8568b4 100644 --- a/project/templates/event_place/delete.html +++ b/project/templates/event_place/delete.html @@ -13,7 +13,7 @@ {{ _('Place') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/event_place/update.html b/project/templates/event_place/update.html index 3c5c595..407c7f1 100644 --- a/project/templates/event_place/update.html +++ b/project/templates/event_place/update.html @@ -32,7 +32,7 @@ {{ _('Place') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/manage/delete_membership.html b/project/templates/manage/delete_membership.html index da85975..6f72da5 100644 --- a/project/templates/manage/delete_membership.html +++ b/project/templates/manage/delete_membership.html @@ -13,7 +13,7 @@ {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/oauth2_client/delete.html b/project/templates/oauth2_client/delete.html index 890b13b..20a8b55 100644 --- a/project/templates/oauth2_client/delete.html +++ b/project/templates/oauth2_client/delete.html @@ -13,7 +13,7 @@ {{ _('OAuth2 client') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/organizer/create.html b/project/templates/organizer/create.html index 7d0ff0d..a7a8d81 100644 --- a/project/templates/organizer/create.html +++ b/project/templates/organizer/create.html @@ -28,7 +28,7 @@ {{ _('Organizer') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/organizer/delete.html b/project/templates/organizer/delete.html index b38c343..f203925 100644 --- a/project/templates/organizer/delete.html +++ b/project/templates/organizer/delete.html @@ -13,7 +13,7 @@ {{ _('Organizer') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/organizer/update.html b/project/templates/organizer/update.html index 192de08..efdb231 100644 --- a/project/templates/organizer/update.html +++ b/project/templates/organizer/update.html @@ -28,7 +28,7 @@ {{ _('Organizer') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/verification_request/delete.html b/project/templates/verification_request/delete.html index dddaa51..e27482b 100644 --- a/project/templates/verification_request/delete.html +++ b/project/templates/verification_request/delete.html @@ -13,7 +13,7 @@ {{ _('Organization') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }}
diff --git a/project/templates/widget/event_suggestion/create.html b/project/templates/widget/event_suggestion/create.html index 428874c..a9e0d31 100644 --- a/project/templates/widget/event_suggestion/create.html +++ b/project/templates/widget/event_suggestion/create.html @@ -229,12 +229,12 @@ {{ _('Event') }}
- {{ render_field_with_errors(form.name) }} + {{ render_field_with_errors(form.name, role="presentation", autocomplete="off") }} {{ render_field_with_errors(form.event_place_id, class="w-100") }} {{ render_field_with_errors(form.organizer_id, class="w-100") }}
- {{ render_field_with_errors(form.start, **{"data-range-to":"#end", "data-range-max-days": "14", "data-allday": "#allday"}) }} + {{ render_field_with_errors(form.start, **{"data-range-to":"#end", "data-range-max-days": "180", "data-allday": "#allday"}) }} {{ render_field_with_errors(form.allday, ri="checkbox") }} {{ render_field_with_errors(form.end, is_collapsible=1) }} diff --git a/project/translations/de/LC_MESSAGES/messages.mo b/project/translations/de/LC_MESSAGES/messages.mo index 69d59830a0f3c0241cd374a7b0b45fba1a9ad1d4..90ece40c33df3d0679b0e1dfa74a47e885a81475 100644 GIT binary patch delta 10099 zcmYM(30PNE8prV~E+8O^pvWTpQ3O#yKoQ&!Tr1pH$^}qVAY3W8%&WPTxo_oGE?KUq zQEHl{W;2=AG)<W3vCgb}UkCj*j!vXjZJfw@?$`L2snBPgFpq2HuFAPWRcmmeOS5XVwi}mpcY6qWVB%a5X_#bSI&6_z+CXT>X zxEU3>FH!FWHg}vh*cFqQ-*G9VV7c`Q)}mfF!Et=hgN*IOqju6CwSXb09Ty;DJI~_d zxEibc2y75bVj948vXaWHmhLHvhMSWQC@{1sy`lT1<$j6@AogxcvcR3vtz z2fsum?SD`M2NOoMw?^g2U~Gs}P#av0THtZiQCv$Q{t8`qs!6VHs29hg+Sj5cJc(M! z4OHmr(_2T-2y0hobt8Lq&2r2H;$mLNJAu$gw%wQActXwX=U> z2tL3d3?ZXrbF70M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encoding: 8bit\n" "Generated-By: Babel 2.12.1\n" -#: project/i10n.py:32 +#: project/i10n.py:36 msgid "Event_Art" msgstr "Kunst" -#: project/i10n.py:33 +#: project/i10n.py:37 msgid "Event_Book" msgstr "Literatur" -#: project/i10n.py:34 +#: project/i10n.py:38 msgid "Event_Movie" msgstr "Film" -#: project/i10n.py:35 +#: project/i10n.py:39 msgid "Event_Family" msgstr "Familie" -#: project/i10n.py:36 +#: project/i10n.py:40 msgid "Event_Festival" msgstr "Festival" -#: project/i10n.py:37 +#: project/i10n.py:41 msgid "Event_Religious" msgstr "Religion" -#: project/i10n.py:38 +#: project/i10n.py:42 msgid "Event_Shopping" msgstr "Shopping" -#: project/i10n.py:39 +#: project/i10n.py:43 msgid "Event_Comedy" msgstr "Comedy" -#: project/i10n.py:40 +#: project/i10n.py:44 msgid "Event_Music" msgstr "Musik" -#: project/i10n.py:41 +#: project/i10n.py:45 msgid "Event_Dance" msgstr "Tanz" -#: project/i10n.py:42 +#: project/i10n.py:46 msgid "Event_Nightlife" msgstr "Party" -#: project/i10n.py:43 +#: project/i10n.py:47 msgid "Event_Theater" msgstr "Theater" -#: project/i10n.py:44 +#: project/i10n.py:48 msgid "Event_Dining" msgstr "Essen" -#: project/i10n.py:45 +#: project/i10n.py:49 msgid "Event_Conference" msgstr "Konferenz" -#: project/i10n.py:46 +#: project/i10n.py:50 msgid "Event_Meetup" msgstr "Networking" -#: project/i10n.py:47 +#: project/i10n.py:51 msgid "Event_Fitness" msgstr "Fitness" -#: project/i10n.py:48 +#: project/i10n.py:52 msgid "Event_Sports" msgstr "Sport" -#: project/i10n.py:49 +#: project/i10n.py:53 msgid "Event_Other" msgstr "Sonstiges" -#: project/i10n.py:50 +#: project/i10n.py:54 msgid "Event_Exhibition" msgstr "Ausstellung" -#: project/i10n.py:51 +#: project/i10n.py:55 msgid "Event_Culture" msgstr "Kultur" -#: project/i10n.py:52 +#: project/i10n.py:56 msgid "Event_Tour" msgstr "Führung" -#: project/i10n.py:53 +#: project/i10n.py:57 msgid "Event_OpenAir" msgstr "Open Air" -#: project/i10n.py:54 +#: project/i10n.py:58 msgid "Event_Stage" msgstr "Bühne" -#: project/i10n.py:55 +#: project/i10n.py:59 msgid "Event_Lecture" msgstr "Vortrag" -#: project/i10n.py:56 +#: project/i10n.py:60 msgid "Typical Age range" msgstr "Typische Altersspanne" -#: project/i10n.py:57 +#: project/i10n.py:61 msgid "Administrator" msgstr "Administrator:in" -#: project/i10n.py:58 +#: project/i10n.py:62 msgid "Event expert" msgstr "Veranstaltungsexpert:in" -#: project/i10n.py:59 +#: project/i10n.py:63 msgid "EventReviewStatus.inbox" msgstr "Ungeprüft" -#: project/i10n.py:60 +#: project/i10n.py:64 msgid "EventReviewStatus.verified" msgstr "Verifiziert" -#: project/i10n.py:61 +#: project/i10n.py:65 msgid "EventReviewStatus.rejected" msgstr "Abgelehnt" -#: project/i10n.py:62 +#: project/i10n.py:66 msgid "Scope_openid" msgstr "Identität verifizieren" -#: project/i10n.py:63 +#: project/i10n.py:67 msgid "Scope_profile" msgstr "Profil-Informationen" -#: project/i10n.py:64 +#: project/i10n.py:68 msgid "Scope_user:read" msgstr "Nutzer-Einstellungen lesen" -#: project/i10n.py:65 +#: project/i10n.py:69 msgid "Scope_user:write" msgstr "Nutzer-Einstellungen anlegen, ändern und löschen" -#: project/i10n.py:66 +#: project/i10n.py:70 msgid "Scope_organizer:write" msgstr "Veranstalter anlegen, ändern und löschen" -#: project/i10n.py:67 +#: project/i10n.py:71 msgid "Scope_place:write" msgstr "Orte anlegen, ändern und löschen" -#: project/i10n.py:68 +#: project/i10n.py:72 msgid "Scope_event:write" msgstr "Veranstaltungen anlegen, ändern und löschen" -#: project/i10n.py:69 +#: project/i10n.py:73 msgid "Scope_eventlist:write" msgstr "Veranstaltungslisten anlegen, ändern und löschen" -#: project/i10n.py:70 +#: project/i10n.py:74 msgid "Scope_eventreference:write" msgstr "Empfehlungen anlegen, ändern und löschen" -#: project/i10n.py:71 +#: project/i10n.py:75 msgid "Scope_organization:read" msgstr "Organisationen lesen" -#: project/i10n.py:72 +#: project/i10n.py:76 msgid "Scope_organization:write" msgstr "Organisationen anlegen, ändern und löschen" -#: project/i10n.py:73 +#: project/i10n.py:77 msgid "Scope_customwidget:write" msgstr "Widgets anlegen, ändern und löschen" -#: project/i10n.py:74 +#: project/i10n.py:78 msgid "There must be no self-reference." msgstr "Es darf keine Selbstreferenz geben." -#: project/utils.py:19 +#: project/utils.py:20 msgid "Event_" msgstr "Event_" -#: project/utils.py:23 +#: project/utils.py:24 msgid "." msgstr "." @@ -202,64 +202,69 @@ msgstr "." msgid "message" msgstr "message" -#: project/forms/admin.py:11 project/templates/layout.html:344 +#: project/forms/admin.py:13 project/templates/layout.html:344 #: project/views/root.py:55 msgid "Terms of service" msgstr "Nutzungsbedingungen" -#: project/forms/admin.py:12 project/templates/layout.html:349 +#: project/forms/admin.py:14 project/templates/layout.html:349 #: project/views/root.py:67 msgid "Legal notice" msgstr "Impressum" -#: project/forms/admin.py:13 project/templates/_macros.html:1490 +#: project/forms/admin.py:15 project/templates/_macros.html:1490 #: project/templates/layout.html:353 #: project/templates/widget/event_suggestion/create.html:204 -#: project/views/admin_unit.py:84 project/views/root.py:75 +#: project/views/admin_unit.py:83 project/views/root.py:75 msgid "Contact" msgstr "Kontakt" -#: project/forms/admin.py:14 project/templates/layout.html:357 +#: project/forms/admin.py:16 project/templates/layout.html:357 #: project/views/root.py:83 msgid "Privacy" msgstr "Datenschutz" -#: project/forms/admin.py:15 +#: project/forms/admin.py:17 msgid "Start page" msgstr "Startseite" -#: project/forms/admin.py:16 +#: project/forms/admin.py:18 msgid "Announcement" msgstr "Ankündigung" -#: project/forms/admin.py:18 project/forms/oauth2_client.py:24 -#: project/forms/user.py:18 project/forms/user.py:32 +#: project/forms/admin.py:20 project/forms/admin.py:28 +#: project/forms/oauth2_client.py:24 project/forms/user.py:18 +#: project/forms/user.py:32 msgid "Save" msgstr "Speichern" -#: project/forms/admin.py:23 +#: project/forms/admin.py:25 +msgid "External calendars" +msgstr "Externe Kalender" + +#: project/forms/admin.py:49 msgid "Reset for all users" msgstr "Für alle Nutzer zurücksetzen" -#: project/forms/admin.py:25 +#: project/forms/admin.py:51 msgid "Reset" msgstr "Zurücksetzen" -#: project/forms/admin.py:29 project/forms/admin_unit_member.py:14 +#: project/forms/admin.py:55 project/forms/admin_unit_member.py:14 #: project/forms/admin_unit_member.py:34 msgid "Roles" msgstr "Rollen" -#: project/forms/admin.py:30 project/templates/admin/update_user.html:4 +#: project/forms/admin.py:56 project/templates/admin/update_user.html:4 #: project/templates/admin/update_user.html:8 msgid "Update user" msgstr "Nutzer aktualisieren" -#: project/forms/admin.py:34 project/templates/admin/delete_user.html:6 +#: project/forms/admin.py:60 project/templates/admin/delete_user.html:6 msgid "Delete user" msgstr "Nutzer löschen" -#: project/forms/admin.py:35 project/forms/admin_unit.py:67 +#: project/forms/admin.py:61 project/forms/admin_unit.py:67 #: project/forms/admin_unit_member.py:12 project/forms/admin_unit_member.py:25 #: project/forms/admin_unit_member.py:30 project/forms/event.py:112 #: project/forms/event_suggestion.py:38 project/forms/organizer.py:33 @@ -271,11 +276,11 @@ msgstr "Nutzer löschen" msgid "Email" msgstr "Email" -#: project/forms/admin.py:40 +#: project/forms/admin.py:66 msgid "Incoming reference requests allowed" msgstr "Eingehende Empfehlungsanfragen erlauben" -#: project/forms/admin.py:41 +#: project/forms/admin.py:67 msgid "" "If set, other organizations can ask this organization to reference their " "event." @@ -283,56 +288,56 @@ msgstr "" "Wenn gesetzt, können andere Organisationen diese Organisation bitten, " "deren Veranstaltungen zu empfehlen." -#: project/forms/admin.py:47 +#: project/forms/admin.py:73 msgid "Suggestions enabled" msgstr "Vorschläge aktiv" -#: project/forms/admin.py:48 +#: project/forms/admin.py:74 msgid "If set, the organization can work with suggestions." msgstr "Wenn gesetzt, kann die Organisation mit Vorschlägen arbeiten." -#: project/forms/admin.py:52 +#: project/forms/admin.py:78 msgid "Create other organizations" msgstr "Andere Organisationen erstellen" -#: project/forms/admin.py:53 +#: project/forms/admin.py:79 msgid "If set, members of the organization can create other organizations." msgstr "" "Wenn gesetzt, können Mitglieder der Organisation andere Organisationen " "erstellen." -#: project/forms/admin.py:59 +#: project/forms/admin.py:85 msgid "Invite other organizations" msgstr "Andere Organisationen einladen" -#: project/forms/admin.py:60 +#: project/forms/admin.py:86 msgid "If set, members of the organization can invite other organizations." msgstr "" "Wenn gesetzt, können Mitglieder der Organisation andere Organisationen " "einladen." -#: project/forms/admin.py:66 +#: project/forms/admin.py:92 msgid "Verify other organizations" msgstr "Andere Organisationen verifizieren" -#: project/forms/admin.py:67 +#: project/forms/admin.py:93 msgid "If set, members of the organization can verify other organizations." msgstr "" "Wenn gesetzt, können Mitglieder der Organisation andere Organisationen " "verifizieren." -#: project/forms/admin.py:72 project/templates/admin/update_admin_unit.html:4 +#: project/forms/admin.py:98 project/templates/admin/update_admin_unit.html:4 #: project/templates/admin/update_admin_unit.html:8 msgid "Update organization" msgstr "Organisation aktualisieren" -#: project/forms/admin.py:76 project/templates/admin/delete_admin_unit.html:6 +#: project/forms/admin.py:102 project/templates/admin/delete_admin_unit.html:6 #: project/templates/admin_unit/request_deletion.html:6 #: project/templates/admin_unit/update.html:113 msgid "Delete organization" msgstr "Organisation löschen" -#: project/forms/admin.py:77 project/forms/admin_unit.py:166 +#: project/forms/admin.py:103 project/forms/admin_unit.py:166 #: project/forms/admin_unit.py:171 project/forms/admin_unit.py:176 #: project/forms/event.py:90 project/forms/event.py:119 #: project/forms/event_place.py:30 project/forms/event_place.py:56 @@ -348,27 +353,27 @@ msgstr "Organisation löschen" msgid "Name" msgstr "Name" -#: project/forms/admin.py:81 project/forms/admin.py:88 +#: project/forms/admin.py:107 project/forms/admin.py:114 msgid "Recipient" msgstr "Empfänger" -#: project/forms/admin.py:83 +#: project/forms/admin.py:109 msgid "Send test mail synchronously" msgstr "Test-Mail synchron senden" -#: project/forms/admin.py:90 project/forms/admin.py:96 +#: project/forms/admin.py:116 project/forms/admin.py:122 msgid "Test recipient" msgstr "Test-Empfänger" -#: project/forms/admin.py:91 +#: project/forms/admin.py:117 msgid "All users with enabled newsletter setting" msgstr "Alle Nutzer mit aktiviertem Newsletter" -#: project/forms/admin.py:97 +#: project/forms/admin.py:123 msgid "Message" msgstr "Nachricht" -#: project/forms/admin.py:98 +#: project/forms/admin.py:124 msgid "Send newsletter" msgstr "Newsletter senden" @@ -687,9 +692,9 @@ msgstr "Ende" #: project/forms/event.py:50 msgid "" -"Indicate when the event date will end. An event can last a maximum of 14 " -"days." -msgstr "Gib an, wann der Termin endet. Ein Termin darf maximal 14 Tage dauern." +"Indicate when the event date will end. An event can last a maximum of 180" +" days." +msgstr "Gib an, wann der Termin endet. Ein Termin darf maximal 180 Tage dauern." #: project/forms/event.py:55 msgid "All-day" @@ -706,8 +711,8 @@ msgid "The start must be before the end." msgstr "Der Start muss vor dem Ende sein." #: project/forms/event.py:72 project/templates/_macros.html:1364 -msgid "An event can last a maximum of 14 days." -msgstr "Eine Veranstaltung darf maximal 14 Tage dauern." +msgid "An event can last a maximum of 180 days." +msgstr "Eine Veranstaltung darf maximal 180 Tage dauern." #: project/forms/event.py:108 msgid "Organizator" @@ -1301,7 +1306,7 @@ msgstr "Wochentage" msgid "Min. expected number of participants" msgstr "Mind. erwartete Teilnehmerzahl" -#: project/forms/planning.py:50 project/templates/planning/list.html:98 +#: project/forms/planning.py:50 project/templates/planning/list.html:102 msgid "Refresh" msgstr "Aktualisieren" @@ -1650,7 +1655,7 @@ msgstr "Umkreis" msgid "Edit image" msgstr "Bild bearbeiten" -#: project/templates/_macros.html:1254 project/templates/planning/list.html:97 +#: project/templates/_macros.html:1254 project/templates/planning/list.html:101 msgid "Close" msgstr "Schließen" @@ -1740,7 +1745,7 @@ msgstr "Verwaltung" #: project/templates/manage/admin_units.html:28 #: project/templates/manage/verification_requests_outgoing.html:13 #: project/templates/manage/verification_requests_outgoing_create_select.html:13 -#: project/templates/planning/list.html:68 +#: project/templates/planning/list.html:72 #: project/templates/security/login_user.html:21 #: project/templates/security/register_user.html:43 msgid "Docs" @@ -1767,7 +1772,9 @@ msgstr "Veranstaltungen" msgid "Organizations" msgstr "Organisationen" -#: project/templates/layout.html:177 +#: project/templates/admin/admin.html:35 +#: project/templates/admin/planning.html:4 +#: project/templates/admin/planning.html:11 project/templates/layout.html:177 msgid "Planning" msgstr "Planung" @@ -1775,7 +1782,8 @@ msgstr "Planung" #: project/templates/oauth2_client/list.html:10 #: project/templates/oauth2_client/read.html:10 #: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4 -#: project/templates/profile.html:17 +#: project/templates/profile.html:17 project/templates/user/general.html:10 +#: project/templates/user/notifications.html:10 msgid "Profile" msgstr "Profil" @@ -1783,6 +1791,7 @@ msgstr "Profil" #: project/templates/admin/admin_units.html:10 #: project/templates/admin/email.html:65 #: project/templates/admin/newsletter.html:92 +#: project/templates/admin/planning.html:10 #: project/templates/admin/settings.html:10 #: project/templates/admin/users.html:10 project/templates/layout.html:194 msgid "Admin" @@ -1920,7 +1929,7 @@ msgstr "Organisation wechseln" msgid "Developer" msgstr "Entwickler" -#: project/templates/profile.html:12 project/views/admin_unit.py:90 +#: project/templates/profile.html:12 project/views/admin_unit.py:89 #: project/views/admin_unit_member_invitation.py:39 msgid "Your account is scheduled for deletion." msgstr "Dein Account ist zur Löschung vorgesehen." @@ -1931,13 +1940,13 @@ msgid "Delete account" msgstr "Account löschen" #: project/templates/profile.html:36 project/templates/user/general.html:4 -#: project/templates/user/general.html:8 +#: project/templates/user/general.html:11 msgid "General" msgstr "Allgemein" #: project/templates/profile.html:40 #: project/templates/user/notifications.html:4 -#: project/templates/user/notifications.html:8 +#: project/templates/user/notifications.html:11 msgid "Notifications" msgstr "Benachrichtigungen" @@ -1983,7 +1992,7 @@ msgstr "Löschen" msgid "User" msgstr "Nutzer" -#: project/templates/admin/email.html:47 project/views/admin.py:163 +#: project/templates/admin/email.html:47 project/views/admin.py:164 msgid "Mail sent successfully" msgstr "Mail erfolgreich gesendet" @@ -2423,7 +2432,7 @@ msgstr "Organisation einladen" msgid "Member" msgstr "Mitglied" -#: project/templates/manage/events.html:42 project/views/admin_unit.py:143 +#: project/templates/manage/events.html:42 project/views/admin_unit.py:142 msgid "" "The organization is not verified. Events are therefore not publicly " "visible." @@ -2563,11 +2572,11 @@ msgid "Revoke" msgstr "Widerrufen" #: project/templates/planning/list.html:5 -#: project/templates/planning/list.html:66 +#: project/templates/planning/list.html:70 msgid "Event Planning" msgstr "Planungsassistent" -#: project/templates/planning/list.html:76 +#: project/templates/planning/list.html:80 msgid "Filters" msgstr "Filter" @@ -2689,38 +2698,39 @@ msgstr "Optionale Details" msgid "Preview" msgstr "Vorschau" -#: project/views/admin.py:63 +#: project/views/admin.py:64 msgid "Organization successfully updated" msgstr "Organisation erfolgreich aktualisiert" -#: project/views/admin.py:85 project/views/admin_unit.py:208 -#: project/views/admin_unit.py:241 project/views/manage.py:315 +#: project/views/admin.py:86 project/views/admin_unit.py:207 +#: project/views/admin_unit.py:240 project/views/manage.py:315 #: project/views/verification_request.py:169 msgid "Entered name does not match organization name" msgstr "Der eingegebene Name entspricht nicht dem Namen der Organisation" -#: project/views/admin.py:89 +#: project/views/admin.py:90 msgid "Organization successfully deleted" msgstr "Organisation erfolgreich gelöscht" -#: project/views/admin.py:133 project/views/manage.py:485 -#: project/views/user.py:64 project/views/user.py:83 +#: project/views/admin.py:134 project/views/admin.py:280 +#: project/views/manage.py:485 project/views/user.py:64 +#: project/views/user.py:83 msgid "Settings successfully updated" msgstr "Einstellungen erfolgreich aktualisiert" -#: project/views/admin.py:233 +#: project/views/admin.py:234 msgid "User successfully updated" msgstr "Nutzer erfolgreich aktualisiert" -#: project/views/admin.py:253 +#: project/views/admin.py:254 msgid "Entered email does not match user email" msgstr "Die eingegebene Email passt nicht zur Email des Nutzers" -#: project/views/admin.py:257 +#: project/views/admin.py:258 msgid "User successfully deleted" msgstr "Nutzer erfolgreich gelöscht" -#: project/views/admin_unit.py:80 +#: project/views/admin_unit.py:79 msgid "" "Organizations cannot currently be created. The project is in a closed " "test phase. If you are interested, you can contact us." @@ -2729,11 +2739,11 @@ msgstr "" " sich in einer geschlossenen Test-Phase. Bei Interesse kannst du uns " "kontaktieren." -#: project/views/admin_unit.py:134 +#: project/views/admin_unit.py:133 msgid "Organization successfully created" msgstr "Organisation erfolgreich erstellt" -#: project/views/admin_unit.py:184 +#: project/views/admin_unit.py:183 msgid "AdminUnit successfully updated" msgstr "Organisation erfolgreich aktualisiert" @@ -2769,23 +2779,23 @@ msgstr "Die eingegebene Email passt nicht zur Email der Einladung" msgid "Invitation successfully deleted" msgstr "Einladung erfolgreich gelöscht" -#: project/views/event.py:209 +#: project/views/event.py:211 msgid "Event successfully published" msgstr "Veranstaltung erfolgreich veröffentlicht" -#: project/views/event.py:211 +#: project/views/event.py:213 msgid "Draft successfully saved" msgstr "Entwurf erfolgreich gespeichert" -#: project/views/event.py:213 +#: project/views/event.py:215 msgid "Event successfully planned" msgstr "Veranstaltung erfolgreich geplant" -#: project/views/event.py:273 +#: project/views/event.py:275 msgid "Event successfully updated" msgstr "Veranstaltung erfolgreich aktualisiert" -#: project/views/event.py:299 +#: project/views/event.py:301 msgid "Event successfully deleted" msgstr "Veranstaltung erfolgreich gelöscht" @@ -2809,31 +2819,31 @@ msgstr "Ort erfolgreich gelöscht" msgid "Event suggestion successfully rejected" msgstr "Veranstaltungsvorschlag erfolgreich abgelehnt" -#: project/views/js.py:33 +#: project/views/js.py:41 msgid "Short name is already taken" msgstr "Der Kurzname ist bereits vergeben" -#: project/views/js.py:52 +#: project/views/js.py:60 msgid "Name is already taken" msgstr "Der Name ist bereits vergeben" -#: project/views/js.py:76 +#: project/views/js.py:84 msgid "A place already exists with this name." msgstr "Mit diesem Namen existiert bereits ein Ort." -#: project/views/js.py:100 +#: project/views/js.py:108 msgid "An organizer already exists with this name." msgstr "Mit diesem Namen existiert bereits ein Veranstalter." -#: project/views/js.py:114 +#: project/views/js.py:122 msgid "An account already exists with this email." msgstr "Mit dieser E-Mail existiert bereits ein Account." -#: project/views/js.py:158 +#: project/views/js.py:166 msgid "Places of organization" msgstr "Orte der Organisation" -#: project/views/js.py:166 +#: project/views/js.py:174 msgid "Places of Google Maps" msgstr "Orte von Google Maps" @@ -2899,12 +2909,12 @@ msgstr "Empfehlung erfolgreich empfohlen" msgid "Reference successfully deleted" msgstr "Empfehlung erfolgreich gelöscht" -#: project/views/reference_request.py:145 +#: project/views/reference_request.py:141 #, python-format msgid "%(organization)s accepted your reference request" msgstr "%(organization)s hat deine Empfehlungsanfrage akzeptiert" -#: project/views/reference_request.py:152 +#: project/views/reference_request.py:148 #, python-format msgid "" "Reference request to %(organization)s successfully created. You will be " @@ -3027,7 +3037,7 @@ msgstr "Anzeigen" msgid "You do not have permission for this action" msgstr "Du hast keine Berechtigung für diese Aktion" -#: project/views/utils.py:382 +#: project/views/utils.py:386 msgid "" "The invitation was issued to another user. Sign in with the email address" " the invitation was sent to." @@ -3114,7 +3124,7 @@ msgstr "" #~ msgid "" #~ "Indicate when the event will end. " #~ "An event can last a maximum of " -#~ "14 days." +#~ "180 days." #~ msgstr "" #~ "Gib an, wann die Veranstaltung endet." #~ " Eine Veranstaltung darf maximal 14 " @@ -3165,3 +3175,9 @@ msgstr "" #~ msgid "Switch to place search" #~ msgstr "Zur Ortssuche wechseln" +#~ msgid "" +#~ "Indicate when the event date will " +#~ "end. An event can last a maximum" +#~ " of 14 days." +#~ msgstr "Gib an, wann der Termin endet. Ein Termin darf maximal 180 Tage dauern." + diff --git a/project/translations/en/LC_MESSAGES/messages.mo b/project/translations/en/LC_MESSAGES/messages.mo index 289dac7a8a951d5f441f582dadaa1be0aa88ed77..f20f7c8c64ac8dfde1c8e483f8e084ad87c333c1 100644 GIT binary patch delta 25 gcmeyS@J(Su2p5luu7Q!Rp@D*-xs~bW1THZ)0BP6;$N&HU delta 25 gcmeyS@J(Su2p5mBuA!l>p|OIYxs}o81THZ)0BP3-#{d8T diff --git a/project/translations/en/LC_MESSAGES/messages.po b/project/translations/en/LC_MESSAGES/messages.po index 869cf65..e63a009 100644 --- a/project/translations/en/LC_MESSAGES/messages.po +++ b/project/translations/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-11-13 17:25+0100\n" +"POT-Creation-Date: 2024-02-10 17:55+0100\n" "PO-Revision-Date: 2021-04-30 15:04+0200\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -18,183 +18,183 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.12.1\n" -#: project/i10n.py:32 +#: project/i10n.py:36 msgid "Event_Art" msgstr "Art" -#: project/i10n.py:33 +#: project/i10n.py:37 msgid "Event_Book" msgstr "Book" -#: project/i10n.py:34 +#: project/i10n.py:38 msgid "Event_Movie" msgstr "Movie" -#: project/i10n.py:35 +#: project/i10n.py:39 msgid "Event_Family" msgstr "Family" -#: project/i10n.py:36 +#: project/i10n.py:40 msgid "Event_Festival" msgstr "Festival" -#: project/i10n.py:37 +#: project/i10n.py:41 msgid "Event_Religious" msgstr "Religious" -#: project/i10n.py:38 +#: project/i10n.py:42 msgid "Event_Shopping" msgstr "Shopping" -#: project/i10n.py:39 +#: project/i10n.py:43 msgid "Event_Comedy" msgstr "Comedy" -#: project/i10n.py:40 +#: project/i10n.py:44 msgid "Event_Music" msgstr "Music" -#: project/i10n.py:41 +#: project/i10n.py:45 msgid "Event_Dance" msgstr "Dance" -#: project/i10n.py:42 +#: project/i10n.py:46 msgid "Event_Nightlife" msgstr "Nightlife" -#: project/i10n.py:43 +#: project/i10n.py:47 msgid "Event_Theater" msgstr "Theater" -#: project/i10n.py:44 +#: project/i10n.py:48 msgid "Event_Dining" msgstr "Dining" -#: project/i10n.py:45 +#: project/i10n.py:49 msgid "Event_Conference" msgstr "Conference" -#: project/i10n.py:46 +#: project/i10n.py:50 msgid "Event_Meetup" msgstr "Meetup" -#: project/i10n.py:47 +#: project/i10n.py:51 msgid "Event_Fitness" msgstr "Fitness" -#: project/i10n.py:48 +#: project/i10n.py:52 msgid "Event_Sports" msgstr "Sports" -#: project/i10n.py:49 +#: project/i10n.py:53 msgid "Event_Other" msgstr "Other" -#: project/i10n.py:50 +#: project/i10n.py:54 msgid "Event_Exhibition" msgstr "Exhibition" -#: project/i10n.py:51 +#: project/i10n.py:55 msgid "Event_Culture" msgstr "Culture" -#: project/i10n.py:52 +#: project/i10n.py:56 msgid "Event_Tour" msgstr "Tour" -#: project/i10n.py:53 +#: project/i10n.py:57 msgid "Event_OpenAir" msgstr "Open Air" -#: project/i10n.py:54 +#: project/i10n.py:58 msgid "Event_Stage" msgstr "Stage" -#: project/i10n.py:55 +#: project/i10n.py:59 msgid "Event_Lecture" msgstr "Lecture" -#: project/i10n.py:56 +#: project/i10n.py:60 msgid "Typical Age range" msgstr "" -#: project/i10n.py:57 +#: project/i10n.py:61 msgid "Administrator" msgstr "" -#: project/i10n.py:58 +#: project/i10n.py:62 msgid "Event expert" msgstr "" -#: project/i10n.py:59 +#: project/i10n.py:63 msgid "EventReviewStatus.inbox" msgstr "Inbox" -#: project/i10n.py:60 +#: project/i10n.py:64 msgid "EventReviewStatus.verified" msgstr "Verified" -#: project/i10n.py:61 +#: project/i10n.py:65 msgid "EventReviewStatus.rejected" msgstr "Rejected" -#: project/i10n.py:62 +#: project/i10n.py:66 msgid "Scope_openid" msgstr "Verify identity" -#: project/i10n.py:63 +#: project/i10n.py:67 msgid "Scope_profile" msgstr "Profile information" -#: project/i10n.py:64 +#: project/i10n.py:68 msgid "Scope_user:read" msgstr "Read user settings" -#: project/i10n.py:65 +#: project/i10n.py:69 msgid "Scope_user:write" msgstr "Create, update and delete user settings" -#: project/i10n.py:66 +#: project/i10n.py:70 msgid "Scope_organizer:write" msgstr "Create, update and delete organizers" -#: project/i10n.py:67 +#: project/i10n.py:71 msgid "Scope_place:write" msgstr "Create, update and delete places" -#: project/i10n.py:68 +#: project/i10n.py:72 msgid "Scope_event:write" msgstr "Create, update and delete events" -#: project/i10n.py:69 +#: project/i10n.py:73 msgid "Scope_eventlist:write" msgstr "Create, update and delete event lists" -#: project/i10n.py:70 +#: project/i10n.py:74 msgid "Scope_eventreference:write" msgstr "" -#: project/i10n.py:71 +#: project/i10n.py:75 msgid "Scope_organization:read" msgstr "Read organizations" -#: project/i10n.py:72 +#: project/i10n.py:76 msgid "Scope_organization:write" msgstr "Create, update and delete organizations" -#: project/i10n.py:73 +#: project/i10n.py:77 msgid "Scope_customwidget:write" msgstr "" -#: project/i10n.py:74 +#: project/i10n.py:78 msgid "There must be no self-reference." msgstr "" -#: project/utils.py:19 +#: project/utils.py:20 msgid "Event_" msgstr "" -#: project/utils.py:23 +#: project/utils.py:24 msgid "." msgstr "" @@ -202,64 +202,69 @@ msgstr "" msgid "message" msgstr "" -#: project/forms/admin.py:11 project/templates/layout.html:344 +#: project/forms/admin.py:13 project/templates/layout.html:344 #: project/views/root.py:55 msgid "Terms of service" msgstr "" -#: project/forms/admin.py:12 project/templates/layout.html:349 +#: project/forms/admin.py:14 project/templates/layout.html:349 #: project/views/root.py:67 msgid "Legal notice" msgstr "" -#: project/forms/admin.py:13 project/templates/_macros.html:1490 +#: project/forms/admin.py:15 project/templates/_macros.html:1490 #: project/templates/layout.html:353 #: project/templates/widget/event_suggestion/create.html:204 -#: project/views/admin_unit.py:84 project/views/root.py:75 +#: project/views/admin_unit.py:83 project/views/root.py:75 msgid "Contact" msgstr "" -#: project/forms/admin.py:14 project/templates/layout.html:357 +#: project/forms/admin.py:16 project/templates/layout.html:357 #: project/views/root.py:83 msgid "Privacy" msgstr "" -#: project/forms/admin.py:15 +#: project/forms/admin.py:17 msgid "Start page" msgstr "" -#: project/forms/admin.py:16 +#: project/forms/admin.py:18 msgid "Announcement" msgstr "" -#: project/forms/admin.py:18 project/forms/oauth2_client.py:24 -#: project/forms/user.py:18 project/forms/user.py:32 +#: project/forms/admin.py:20 project/forms/admin.py:28 +#: project/forms/oauth2_client.py:24 project/forms/user.py:18 +#: project/forms/user.py:32 msgid "Save" msgstr "" -#: project/forms/admin.py:23 +#: project/forms/admin.py:25 +msgid "External calendars" +msgstr "" + +#: project/forms/admin.py:49 msgid "Reset for all users" msgstr "" -#: project/forms/admin.py:25 +#: project/forms/admin.py:51 msgid "Reset" msgstr "" -#: project/forms/admin.py:29 project/forms/admin_unit_member.py:14 +#: project/forms/admin.py:55 project/forms/admin_unit_member.py:14 #: project/forms/admin_unit_member.py:34 msgid "Roles" msgstr "" -#: project/forms/admin.py:30 project/templates/admin/update_user.html:4 +#: project/forms/admin.py:56 project/templates/admin/update_user.html:4 #: project/templates/admin/update_user.html:8 msgid "Update user" msgstr "" -#: project/forms/admin.py:34 project/templates/admin/delete_user.html:6 +#: project/forms/admin.py:60 project/templates/admin/delete_user.html:6 msgid "Delete user" msgstr "" -#: project/forms/admin.py:35 project/forms/admin_unit.py:67 +#: project/forms/admin.py:61 project/forms/admin_unit.py:67 #: project/forms/admin_unit_member.py:12 project/forms/admin_unit_member.py:25 #: project/forms/admin_unit_member.py:30 project/forms/event.py:112 #: project/forms/event_suggestion.py:38 project/forms/organizer.py:33 @@ -271,60 +276,60 @@ msgstr "" msgid "Email" msgstr "" -#: project/forms/admin.py:40 +#: project/forms/admin.py:66 msgid "Incoming reference requests allowed" msgstr "" -#: project/forms/admin.py:41 +#: project/forms/admin.py:67 msgid "" "If set, other organizations can ask this organization to reference their " "event." msgstr "" -#: project/forms/admin.py:47 +#: project/forms/admin.py:73 msgid "Suggestions enabled" msgstr "" -#: project/forms/admin.py:48 +#: project/forms/admin.py:74 msgid "If set, the organization can work with suggestions." msgstr "" -#: project/forms/admin.py:52 +#: project/forms/admin.py:78 msgid "Create other organizations" msgstr "" -#: project/forms/admin.py:53 +#: project/forms/admin.py:79 msgid "If set, members of the organization can create other organizations." msgstr "" -#: project/forms/admin.py:59 +#: project/forms/admin.py:85 msgid "Invite other organizations" msgstr "" -#: project/forms/admin.py:60 +#: project/forms/admin.py:86 msgid "If set, members of the organization can invite other organizations." msgstr "" -#: project/forms/admin.py:66 +#: project/forms/admin.py:92 msgid "Verify other organizations" msgstr "" -#: project/forms/admin.py:67 +#: project/forms/admin.py:93 msgid "If set, members of the organization can verify other organizations." msgstr "" -#: project/forms/admin.py:72 project/templates/admin/update_admin_unit.html:4 +#: project/forms/admin.py:98 project/templates/admin/update_admin_unit.html:4 #: project/templates/admin/update_admin_unit.html:8 msgid "Update organization" msgstr "" -#: project/forms/admin.py:76 project/templates/admin/delete_admin_unit.html:6 +#: project/forms/admin.py:102 project/templates/admin/delete_admin_unit.html:6 #: project/templates/admin_unit/request_deletion.html:6 #: project/templates/admin_unit/update.html:113 msgid "Delete organization" msgstr "" -#: project/forms/admin.py:77 project/forms/admin_unit.py:166 +#: project/forms/admin.py:103 project/forms/admin_unit.py:166 #: project/forms/admin_unit.py:171 project/forms/admin_unit.py:176 #: project/forms/event.py:90 project/forms/event.py:119 #: project/forms/event_place.py:30 project/forms/event_place.py:56 @@ -340,27 +345,27 @@ msgstr "" msgid "Name" msgstr "" -#: project/forms/admin.py:81 project/forms/admin.py:88 +#: project/forms/admin.py:107 project/forms/admin.py:114 msgid "Recipient" msgstr "" -#: project/forms/admin.py:83 +#: project/forms/admin.py:109 msgid "Send test mail synchronously" msgstr "" -#: project/forms/admin.py:90 project/forms/admin.py:96 +#: project/forms/admin.py:116 project/forms/admin.py:122 msgid "Test recipient" msgstr "" -#: project/forms/admin.py:91 +#: project/forms/admin.py:117 msgid "All users with enabled newsletter setting" msgstr "" -#: project/forms/admin.py:97 +#: project/forms/admin.py:123 msgid "Message" msgstr "" -#: project/forms/admin.py:98 +#: project/forms/admin.py:124 msgid "Send newsletter" msgstr "" @@ -661,8 +666,8 @@ msgstr "" #: project/forms/event.py:50 msgid "" -"Indicate when the event date will end. An event can last a maximum of 14 " -"days." +"Indicate when the event date will end. An event can last a maximum of 180" +" days." msgstr "" #: project/forms/event.py:55 @@ -680,7 +685,7 @@ msgid "The start must be before the end." msgstr "" #: 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 180 days." msgstr "" #: project/forms/event.py:108 @@ -1248,7 +1253,7 @@ msgstr "" msgid "Min. expected number of participants" msgstr "" -#: project/forms/planning.py:50 project/templates/planning/list.html:98 +#: project/forms/planning.py:50 project/templates/planning/list.html:102 msgid "Refresh" msgstr "" @@ -1595,7 +1600,7 @@ msgstr "" msgid "Edit image" msgstr "" -#: project/templates/_macros.html:1254 project/templates/planning/list.html:97 +#: project/templates/_macros.html:1254 project/templates/planning/list.html:101 msgid "Close" msgstr "" @@ -1685,7 +1690,7 @@ msgstr "" #: project/templates/manage/admin_units.html:28 #: project/templates/manage/verification_requests_outgoing.html:13 #: project/templates/manage/verification_requests_outgoing_create_select.html:13 -#: project/templates/planning/list.html:68 +#: project/templates/planning/list.html:72 #: project/templates/security/login_user.html:21 #: project/templates/security/register_user.html:43 msgid "Docs" @@ -1712,7 +1717,9 @@ msgstr "" msgid "Organizations" msgstr "" -#: project/templates/layout.html:177 +#: project/templates/admin/admin.html:35 +#: project/templates/admin/planning.html:4 +#: project/templates/admin/planning.html:11 project/templates/layout.html:177 msgid "Planning" msgstr "" @@ -1720,7 +1727,8 @@ msgstr "" #: project/templates/oauth2_client/list.html:10 #: project/templates/oauth2_client/read.html:10 #: project/templates/oauth2_token/list.html:10 project/templates/profile.html:4 -#: project/templates/profile.html:17 +#: project/templates/profile.html:17 project/templates/user/general.html:10 +#: project/templates/user/notifications.html:10 msgid "Profile" msgstr "" @@ -1728,6 +1736,7 @@ msgstr "" #: project/templates/admin/admin_units.html:10 #: project/templates/admin/email.html:65 #: project/templates/admin/newsletter.html:92 +#: project/templates/admin/planning.html:10 #: project/templates/admin/settings.html:10 #: project/templates/admin/users.html:10 project/templates/layout.html:194 msgid "Admin" @@ -1865,7 +1874,7 @@ msgstr "" msgid "Developer" msgstr "" -#: project/templates/profile.html:12 project/views/admin_unit.py:90 +#: project/templates/profile.html:12 project/views/admin_unit.py:89 #: project/views/admin_unit_member_invitation.py:39 msgid "Your account is scheduled for deletion." msgstr "" @@ -1876,13 +1885,13 @@ msgid "Delete account" msgstr "" #: project/templates/profile.html:36 project/templates/user/general.html:4 -#: project/templates/user/general.html:8 +#: project/templates/user/general.html:11 msgid "General" msgstr "" #: project/templates/profile.html:40 #: project/templates/user/notifications.html:4 -#: project/templates/user/notifications.html:8 +#: project/templates/user/notifications.html:11 msgid "Notifications" msgstr "" @@ -1928,7 +1937,7 @@ msgstr "" msgid "User" msgstr "" -#: project/templates/admin/email.html:47 project/views/admin.py:163 +#: project/templates/admin/email.html:47 project/views/admin.py:164 msgid "Mail sent successfully" msgstr "" @@ -2357,7 +2366,7 @@ msgstr "" msgid "Member" msgstr "" -#: project/templates/manage/events.html:42 project/views/admin_unit.py:143 +#: project/templates/manage/events.html:42 project/views/admin_unit.py:142 msgid "" "The organization is not verified. Events are therefore not publicly " "visible." @@ -2491,11 +2500,11 @@ msgid "Revoke" msgstr "" #: project/templates/planning/list.html:5 -#: project/templates/planning/list.html:66 +#: project/templates/planning/list.html:70 msgid "Event Planning" msgstr "" -#: project/templates/planning/list.html:76 +#: project/templates/planning/list.html:80 msgid "Filters" msgstr "" @@ -2615,48 +2624,49 @@ msgstr "" msgid "Preview" msgstr "" -#: project/views/admin.py:63 +#: project/views/admin.py:64 msgid "Organization successfully updated" msgstr "" -#: project/views/admin.py:85 project/views/admin_unit.py:208 -#: project/views/admin_unit.py:241 project/views/manage.py:315 +#: project/views/admin.py:86 project/views/admin_unit.py:207 +#: project/views/admin_unit.py:240 project/views/manage.py:315 #: project/views/verification_request.py:169 msgid "Entered name does not match organization name" msgstr "" -#: project/views/admin.py:89 +#: project/views/admin.py:90 msgid "Organization successfully deleted" msgstr "" -#: project/views/admin.py:133 project/views/manage.py:485 -#: project/views/user.py:64 project/views/user.py:83 +#: project/views/admin.py:134 project/views/admin.py:280 +#: project/views/manage.py:485 project/views/user.py:64 +#: project/views/user.py:83 msgid "Settings successfully updated" msgstr "" -#: project/views/admin.py:233 +#: project/views/admin.py:234 msgid "User successfully updated" msgstr "" -#: project/views/admin.py:253 +#: project/views/admin.py:254 msgid "Entered email does not match user email" msgstr "" -#: project/views/admin.py:257 +#: project/views/admin.py:258 msgid "User successfully deleted" msgstr "" -#: project/views/admin_unit.py:80 +#: project/views/admin_unit.py:79 msgid "" "Organizations cannot currently be created. The project is in a closed " "test phase. If you are interested, you can contact us." msgstr "" -#: project/views/admin_unit.py:134 +#: project/views/admin_unit.py:133 msgid "Organization successfully created" msgstr "" -#: project/views/admin_unit.py:184 +#: project/views/admin_unit.py:183 msgid "AdminUnit successfully updated" msgstr "" @@ -2692,23 +2702,23 @@ msgstr "" msgid "Invitation successfully deleted" msgstr "" -#: project/views/event.py:209 +#: project/views/event.py:211 msgid "Event successfully published" msgstr "" -#: project/views/event.py:211 +#: project/views/event.py:213 msgid "Draft successfully saved" msgstr "" -#: project/views/event.py:213 +#: project/views/event.py:215 msgid "Event successfully planned" msgstr "" -#: project/views/event.py:273 +#: project/views/event.py:275 msgid "Event successfully updated" msgstr "" -#: project/views/event.py:299 +#: project/views/event.py:301 msgid "Event successfully deleted" msgstr "" @@ -2732,31 +2742,31 @@ msgstr "" msgid "Event suggestion successfully rejected" msgstr "" -#: project/views/js.py:33 +#: project/views/js.py:41 msgid "Short name is already taken" msgstr "" -#: project/views/js.py:52 +#: project/views/js.py:60 msgid "Name is already taken" msgstr "" -#: project/views/js.py:76 +#: project/views/js.py:84 msgid "A place already exists with this name." msgstr "" -#: project/views/js.py:100 +#: project/views/js.py:108 msgid "An organizer already exists with this name." msgstr "" -#: project/views/js.py:114 +#: project/views/js.py:122 msgid "An account already exists with this email." msgstr "" -#: project/views/js.py:158 +#: project/views/js.py:166 msgid "Places of organization" msgstr "" -#: project/views/js.py:166 +#: project/views/js.py:174 msgid "Places of Google Maps" msgstr "" @@ -2820,12 +2830,12 @@ msgstr "" msgid "Reference successfully deleted" msgstr "" -#: project/views/reference_request.py:145 +#: project/views/reference_request.py:141 #, python-format msgid "%(organization)s accepted your reference request" msgstr "" -#: project/views/reference_request.py:152 +#: project/views/reference_request.py:148 #, python-format msgid "" "Reference request to %(organization)s successfully created. You will be " @@ -2939,7 +2949,7 @@ msgstr "" msgid "You do not have permission for this action" msgstr "" -#: project/views/utils.py:382 +#: project/views/utils.py:386 msgid "" "The invitation was issued to another user. Sign in with the email address" " the invitation was sent to." @@ -3015,7 +3025,7 @@ msgstr "" #~ msgid "" #~ "Indicate when the event will end. " #~ "An event can last a maximum of " -#~ "14 days." +#~ "180 days." #~ msgstr "" #~ msgid "Host" @@ -3066,3 +3076,9 @@ msgstr "" #~ msgid "Accept verification requests to organizations with these postal codes." #~ msgstr "" +#~ msgid "" +#~ "Indicate when the event date will " +#~ "end. An event can last a maximum" +#~ " of 14 days." +#~ msgstr "" + diff --git a/tests/api/test_event.py b/tests/api/test_event.py index 08ac7f5..7a9205b 100644 --- a/tests/api/test_event.py +++ b/tests/api/test_event.py @@ -456,7 +456,7 @@ def test_put_durationMoreThanMaxAllowedDuration( put = create_put(place_id, organizer_id) put["date_definitions"][0]["start"] = "2021-02-07T11:00:00.000Z" - put["date_definitions"][0]["end"] = "2021-02-21T11:01:00.000Z" + put["date_definitions"][0]["end"] = "2022-02-21T11:01:00.000Z" url = utils.get_url("api_v1_event", id=event_id) response = utils.put_json(url, put) diff --git a/tests/views/test_event.py b/tests/views/test_event.py index 512a662..f9c3e27 100644 --- a/tests/views/test_event.py +++ b/tests/views/test_event.py @@ -439,14 +439,14 @@ def test_create_durationMoreThanMaxAllowedDuration( { "name": "Name", "date_definitions-0-start": ["2030-12-30", "12:00"], - "date_definitions-0-end": ["2031-01-13", "12:01"], + "date_definitions-0-end": ["2031-06-29", "12:01"], "event_place_id": place_id, }, ) utils.assert_response_error_message( response, - "Eine Veranstaltung darf maximal 14 Tage dauern", + "Eine Veranstaltung darf maximal 180 Tage dauern", )