From 63d3c8cc6e949c7766c9f8293c7ca6ba08c22fc9 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Mon, 4 Dec 2023 22:44:40 +0600 Subject: [PATCH] Add captcha code integration instructions to edit page. In the captcha tokens edit page, a new section has been added to provide instructions for integrating the captcha code in user's website. This aims to facilitate ease of integration for users, by providing them a readily available code snippet. --- lang/en.json | 1 + lang/ru.json | 3 ++- resources/views/private/captcha_tokens/edit.blade.php | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lang/en.json b/lang/en.json index cbc886a..12af7a9 100644 --- a/lang/en.json +++ b/lang/en.json @@ -72,4 +72,5 @@ "Captcha User Agent does not match": "The CAPTCHA verification state has been rejected because the User Agent does not match. Please check and ensure that you are using the same User Agent.", "The time for captcha verification has passed": "The time for captcha verification has passed.", "Captcha does not pass verification": "Captcha does not pass verification.", + "Add code to the site": "Add code to the site" } diff --git a/lang/ru.json b/lang/ru.json index 9f4001c..c1fc059 100644 --- a/lang/ru.json +++ b/lang/ru.json @@ -71,5 +71,6 @@ "Captcha verification status view count exceeded": "Количество просмотра статуса проверки капчи превышено!", "Captcha User Agent does not match": "Отклонено состояние проверки CAPTCHA, так как User Agent не совпадает. Пожалуйста, проверьте и убедитесь, что вы используете тот же User Agent.", "The time for captcha verification has passed": "Время верификации капчи прошло.", - "Captcha does not pass verification": "Капча не проходит проверку." + "Captcha does not pass verification": "Капча не проходит проверку.", + "Add code to the site": "Добавьте код на сайт" } diff --git a/resources/views/private/captcha_tokens/edit.blade.php b/resources/views/private/captcha_tokens/edit.blade.php index e04c5e1..f23d381 100644 --- a/resources/views/private/captcha_tokens/edit.blade.php +++ b/resources/views/private/captcha_tokens/edit.blade.php @@ -16,4 +16,14 @@ +
+
+
+
+

{{ __('Add code to the site') }}:

+ +
+
+
+