diff --git a/backend/src/appointment/controller/calendar.py b/backend/src/appointment/controller/calendar.py index f3c785e88..ca39ad0a0 100644 --- a/backend/src/appointment/controller/calendar.py +++ b/backend/src/appointment/controller/calendar.py @@ -333,11 +333,17 @@ def test_connection(self) -> bool: except KeyError as ex: logging.error(f'KE: Error testing connection {ex}') return False - except (requests.exceptions.RequestException, caldav.lib.error.NotFoundError, caldav.lib.error.PropfindError) as ex: + except ( + requests.exceptions.RequestException, + caldav.lib.error.NotFoundError, + caldav.lib.error.PropfindError, + caldav.lib.error.AuthorizationError + ) as ex: """ RequestException: Max retries exceeded, bad connection, missing schema, etc... NotFoundError: Good server, bad url. PropfindError: Some properties could not be retrieved. + AuthorizationError: Credentials are not accepted. """ return False diff --git a/backend/src/appointment/l10n/de/email.ftl b/backend/src/appointment/l10n/de/email.ftl index 8270c2c13..904ed2754 100644 --- a/backend/src/appointment/l10n/de/email.ftl +++ b/backend/src/appointment/l10n/de/email.ftl @@ -49,13 +49,14 @@ new-booking-plain = { $name } ({ $email }) hat soeben { $date } gebucht # $duration (String) - Length of minutes the appointment will be new-booking-html-heading-name = { $name } new-booking-html-heading-email = ({ $email }) -# FIXME: Google Translate Patch ! new-booking-html-heading-text = hat gerade Zeit im { $schedule_name } gebucht new-booking-html-time = { $duration } mins ## Confirm Appointment -confirm-mail-subject = Buchungsanfrage von {-brand-name} bestätigen +# Variables +# $name (String) - Name of the person who requested the appointment +confirm-mail-subject = Buchungsanfrage von { $name } bestätigen # Variables: # $name (String) - Name of the person who requested the appointment # $email (String) - Email of the person who requested the appointment @@ -85,11 +86,10 @@ confirm-mail-plain = { $name } ({ $email }) hat soeben dieses Zeitfenster aus de # $date (String) - Date of the requested appointment # $schedule_name (String) - The name of the schedule used to book the appointment # $duration (String) - Length of minutes the appointment will be -# FIXME: Google Translation patch ! confirm-mail-html-heading-name = { $name } confirm-mail-html-heading-email = ({ $email }) confirm-mail-html-heading-text = fordert die Buchung eines Zeitfensters in { $schedule_name } an -confirm-mail-html-time = { $duration } mins +confirm-mail-html-time = { $duration } Minuten confirm-mail-html-confirm-text = Dieser Link führt zur Bestätigung der Buchungsanfrage: confirm-mail-html-confirm-action = Buchung bestätigen diff --git a/frontend/src/components/SettingsCalendar.vue b/frontend/src/components/SettingsCalendar.vue index 963a98cb8..b93504fd3 100644 --- a/frontend/src/components/SettingsCalendar.vue +++ b/frontend/src/components/SettingsCalendar.vue @@ -1,16 +1,11 @@