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 69d5983..90ece40 100644 Binary files a/project/translations/de/LC_MESSAGES/messages.mo and b/project/translations/de/LC_MESSAGES/messages.mo differ diff --git a/project/translations/de/LC_MESSAGES/messages.po b/project/translations/de/LC_MESSAGES/messages.po index 077b19e..3d1f2a2 100644 --- a/project/translations/de/LC_MESSAGES/messages.po +++ b/project/translations/de/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: 2020-06-07 18:51+0200\n" "Last-Translator: FULL NAME \n" "Language: de\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 "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 289dac7..f20f7c8 100644 Binary files a/project/translations/en/LC_MESSAGES/messages.mo and b/project/translations/en/LC_MESSAGES/messages.mo differ 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", )