From 7761e9a05ecbdaa3f7f54c899a2477c40541e963 Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Wed, 31 May 2023 09:42:55 +0800 Subject: [PATCH] Chore: Add translations to options text --- src/components/notifications/Webhook.vue | 6 +++--- src/lang/en.json | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/notifications/Webhook.vue b/src/components/notifications/Webhook.vue index 34c90cb04..5ed0aa47a 100644 --- a/src/components/notifications/Webhook.vue +++ b/src/components/notifications/Webhook.vue @@ -21,9 +21,9 @@ class="form-select" required > - - - + + +
diff --git a/src/lang/en.json b/src/lang/en.json index 7d3b7d2e8..d6ca64bae 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -198,6 +198,8 @@ "webhookCustomBodyDesc": "Define a custom HTTP Body for the request. Template variables {msg}, {heartbeat}, {monitor} are accepted.", "webhookAdditionalHeadersTitle": "Additional Headers", "webhookAdditionalHeadersDesc": "Sets additional headers sent with the webhook. Each header should be defined as a JSON key/value.", + "webhookBodyPresetOption": "Preset - {0}", + "webhookBodyCustomOption": "Custom Body", "Webhook URL": "Webhook URL", "Application Token": "Application Token", "Server URL": "Server URL",