From 9e82a9d9affd8a4e6e08aa9b1ea434c831f57357 Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Wed, 24 May 2023 16:41:38 +0200 Subject: [PATCH] Avoid confusing for users trying to create events for a group, when they don't have enough privileges --- js/src/components/Event/OrganizerPickerWrapper.vue | 9 ++++++++- js/src/i18n/de.json | 1 + js/src/i18n/en_US.json | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/js/src/components/Event/OrganizerPickerWrapper.vue b/js/src/components/Event/OrganizerPickerWrapper.vue index 20f59c7ff..07c0e052b 100644 --- a/js/src/components/Event/OrganizerPickerWrapper.vue +++ b/js/src/components/Event/OrganizerPickerWrapper.vue @@ -125,7 +125,14 @@
-

{{ $t("Your profile will be shown as contact.") }}

+

+ {{ $t("Your profile will be shown as contact.") }} + {{ + $t( + "To create an event for a group you have to be at least a moderator in that group." + ) + }} +

diff --git a/js/src/i18n/de.json b/js/src/i18n/de.json index c83bfe92a..1781d6e00 100644 --- a/js/src/i18n/de.json +++ b/js/src/i18n/de.json @@ -1194,6 +1194,7 @@ "Your participation will be validated once you click the confirmation link into the email.": "Ihre Teilnahme wird bestätigt, sobald Sie den Bestätigungslink in der E-Mail anklicken.", "Your position was not available.": "Deine Position ist nicht verfügbar.", "Your profile will be shown as contact.": "Dein Profil wird als Kontakt angezeigt.", + "To create an event for a group you have to be at least a moderator in that group.": "Um eine Veranstaltung für eine Gruppe zu erstellen, musst du mindestens Moderator in dieser Gruppe sein.", "Your timezone is currently set to {timezone}.": "Ihre Zeitzone ist aktuell {timezone}.", "Your timezone was detected as {timezone}.": "Ihre Zeitzone wurde erkannt als {timezone}.", "Your timezone {timezone} isn't supported.": "Ihre Zeitzone {timezone} wird nicht unterstützt.", diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index dae209e59..401fe4d10 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -689,6 +689,7 @@ "Pick a profile or a group": "Pick a profile or a group", "Add a contact": "Add a contact", "Your profile will be shown as contact.": "Your profile will be shown as contact.", + "To create an event for a group you have to be at least a moderator in that group.": "To create an event for a group you have to be at least a moderator in that group.", "Pick": "Pick", "The event will show as attributed to your personal profile.": "The event will show as attributed to your personal profile.", "The event will show as attributed to this group.": "The event will show as attributed to this group.",