From 95da8f3f7da78a84c780f8ff505a27dff04813f7 Mon Sep 17 00:00:00 2001 From: Micha Ober Date: Fri, 3 Nov 2023 15:45:48 +0100 Subject: [PATCH] Improve description on how to create a new entry --- adm/style/acp_discord_notifications.html | 4 ++-- language/de/acp_discord_notifications.php | 4 +++- language/en/acp_discord_notifications.php | 4 +++- language/fr/acp_discord_notifications.php | 4 +++- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/adm/style/acp_discord_notifications.html b/adm/style/acp_discord_notifications.html index 1a36ec4..27ee7d8 100644 --- a/adm/style/acp_discord_notifications.html +++ b/adm/style/acp_discord_notifications.html @@ -55,13 +55,13 @@

{{ lang('ACP_DISCORD_NOTIFICATIONS') }}

{{ lang('DN_WEBHOOK_NEW') }}

{{ lang('DN_WEBHOOK_NEW_DESCRIPTION') }}

-
+

{{ lang('DN_WEBHOOK_NEW_ALIAS_DESCRIPTION') }}
-
+

{{ lang('DN_WEBHOOK_NEW_URL_DESCRIPTION') }}
diff --git a/language/de/acp_discord_notifications.php b/language/de/acp_discord_notifications.php index 08e11a8..98030f4 100644 --- a/language/de/acp_discord_notifications.php +++ b/language/de/acp_discord_notifications.php @@ -42,9 +42,11 @@ 'DN_WEBHOOK_SETTINGS' => 'Einträge Bearbeiten', 'DN_WEBHOOK_SETTINGS_DESCRIPTION' => 'Hier können bestehende Einträge bearbeitet oder gelöscht werden.', 'DN_WEBHOOK_NEW' => 'Neuen Eintrag anlegen', - 'DN_WEBHOOK_NEW_DESCRIPTION' => 'Hier kann ein neuer Eintrag angelegt werden. Die URL muss vollständig sein und mit "http" oder "https" beginnen.', + 'DN_WEBHOOK_NEW_DESCRIPTION' => 'Hier kann ein neuer Eintrag angelegt werden. Um die URL zu erhalten, auf einen Discord-Kanal rechtsklicken, "Kanal bearbeiten" wählen und dann unter "Integrationen" einen neuen Webhook anlegen.', 'DN_WEBHOOK_NEW_ALIAS' => 'Neuer Alias', + 'DN_WEBHOOK_NEW_ALIAS_DESCRIPTION' => 'Frei wählbar, z.B. der Names des Channels, auf den der Webhook zeigt (wie "öffentlich" or "marktplatz").', 'DN_WEBHOOK_NEW_URL' => 'Neue URL', + 'DN_WEBHOOK_NEW_URL_DESCRIPTION' => 'Webhook-URL, muss mit http/https beginnen, z.B. https://discord.com/api/webhooks/1063...', 'DN_WEBHOOK_SELECT' => 'Webhook auswählen', 'DN_WEBHOOK_DEFAULT' => 'Forenübergreifende Ereignisse', 'DN_WEBHOOK_DEFAULT_DESCRIPTION' => 'Webhook für Ereignisse, die nicht zu einem bestimmten Forum gehören (z.B. Benutzer erstellt/gelöscht)', diff --git a/language/en/acp_discord_notifications.php b/language/en/acp_discord_notifications.php index 41f4d51..22ec103 100644 --- a/language/en/acp_discord_notifications.php +++ b/language/en/acp_discord_notifications.php @@ -42,9 +42,11 @@ 'DN_WEBHOOK_SETTINGS' => 'Edit entries', 'DN_WEBHOOK_SETTINGS_DESCRIPTION' => 'Edit or delete existing entries.', 'DN_WEBHOOK_NEW' => 'Create new entry', - 'DN_WEBHOOK_NEW_DESCRIPTION' => 'Create a new entry. A full URL is required, starting with "http" or "https".', + 'DN_WEBHOOK_NEW_DESCRIPTION' => 'Create a new entry. To get the Webhook-URL, right click on a Discord channel, chose "Edit Channel", then go to "Integrations" to create a Webhook.', 'DN_WEBHOOK_NEW_ALIAS' => 'New Alias', + 'DN_WEBHOOK_NEW_ALIAS_DESCRIPTION' => 'Can be freely chosen, for example something that describes the target channel of the webhook (like "public" or "marketplace").', 'DN_WEBHOOK_NEW_URL' => 'New URL', + 'DN_WEBHOOK_NEW_URL_DESCRIPTION' => 'Webhook-URL, must start with http/https, e.g. https://discord.com/api/webhooks/1063...', 'DN_WEBHOOK_SELECT' => 'Select Webhook', 'DN_WEBHOOK_DEFAULT' => 'Global Events', 'DN_WEBHOOK_DEFAULT_DESCRIPTION' => 'Webhook for global events not related to a specific forum, e.g. user creation/deletion', diff --git a/language/fr/acp_discord_notifications.php b/language/fr/acp_discord_notifications.php index 205d4fb..9f6ee59 100644 --- a/language/fr/acp_discord_notifications.php +++ b/language/fr/acp_discord_notifications.php @@ -63,9 +63,11 @@ 'DN_WEBHOOK_SETTINGS' => 'Edit entries', 'DN_WEBHOOK_SETTINGS_DESCRIPTION' => 'Edit or delete existing entries.', 'DN_WEBHOOK_NEW' => 'Create new entry', - 'DN_WEBHOOK_NEW_DESCRIPTION' => 'Create a new entry. A full URL is required, starting with "http" or "https".', + 'DN_WEBHOOK_NEW_DESCRIPTION' => 'Create a new entry. To get the Webhook-URL, right click on a Discord channel, chose "Edit Channel", then go to "Integrations" to create a Webhook.', 'DN_WEBHOOK_NEW_ALIAS' => 'New Alias', + 'DN_WEBHOOK_NEW_ALIAS_DESCRIPTION' => 'Can be freely chosen, for example something that describes the target channel of the webhook (like "public" or "marketplace").', 'DN_WEBHOOK_NEW_URL' => 'New URL', + 'DN_WEBHOOK_NEW_URL_DESCRIPTION' => 'Webhook-URL, must start with http/https, e.g. https://discord.com/api/webhooks/1063...', 'DN_WEBHOOK_SELECT' => 'Select Webhook', 'DN_WEBHOOK_DEFAULT' => 'Global Events', 'DN_WEBHOOK_DEFAULT_DESCRIPTION' => 'Webhook for global events not related to a specific forum, e.g. user creation/deletion',