Skip to content

Commit

Permalink
Improve description on how to create a new entry
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ober committed Nov 3, 2023
1 parent 908bad8 commit 95da8f3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions adm/style/acp_discord_notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ <h1>{{ lang('ACP_DISCORD_NOTIFICATIONS') }}</h1>
<legend>{{ lang('DN_WEBHOOK_NEW') }}</legend>
<p>{{ lang('DN_WEBHOOK_NEW_DESCRIPTION') }}</p>
<dl>
<dt><label for="dn_webhook_new_alias">{{ lang('DN_WEBHOOK_NEW_ALIAS') }}{{ lang('COLON') }}</label></dt>
<dt><label for="dn_webhook_new_alias">{{ lang('DN_WEBHOOK_NEW_ALIAS') }}{{ lang('COLON') }}</label><br /><span>{{ lang('DN_WEBHOOK_NEW_ALIAS_DESCRIPTION') }}</span></dt>
<dd>
<input id="dn_webhook_new_alias" name="dn_webhook_new_alias" type="text" value="" size="100" maxlength="255" />
</dd>
</dl>
<dl>
<dt><label for="dn_webhook_new_url">{{ lang('DN_WEBHOOK_NEW_URL') }}{{ lang('COLON') }}</label></dt>
<dt><label for="dn_webhook_new_url">{{ lang('DN_WEBHOOK_NEW_URL') }}{{ lang('COLON') }}</label><br /><span>{{ lang('DN_WEBHOOK_NEW_URL_DESCRIPTION') }}</span></dt>
<dd>
<input id="dn_webhook_new_url" name="dn_webhook_new_url" type="text" value="" size="100" maxlength="255" />
</dd>
Expand Down
4 changes: 3 additions & 1 deletion language/de/acp_discord_notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. <samp>https://discord.com/api/webhooks/1063...</samp>',
'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)',
Expand Down
4 changes: 3 additions & 1 deletion language/en/acp_discord_notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. <samp>https://discord.com/api/webhooks/1063...</samp>',
'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',
Expand Down
4 changes: 3 additions & 1 deletion language/fr/acp_discord_notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. <samp>https://discord.com/api/webhooks/1063...</samp>',
'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',
Expand Down

0 comments on commit 95da8f3

Please sign in to comment.