feat(cnsl): docs link can be customized and custom button is available (#7840)

* feat: customize doc link and additional custom link

* feat: add e2e tests

* fix: update docs

* fix: add @peintnermax changes about cache

* fix: golangci-lint complains preparation.PrepareCommands

---------

Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
Miguel Cabrerizo
2024-05-13 16:01:50 +02:00
committed by GitHub
parent 6942324741
commit 15d5338b91
61 changed files with 1000 additions and 286 deletions

View File

@@ -129,7 +129,7 @@
},
"PRIVACY_POLICY": {
"TITLE": "Внешние ссылки",
"DESCRIPTION": "Направьте ваших пользователей к пользовательским внешним ресурсам, показанным на странице входа. Пользователи должны принять Условия обслуживания и Политику конфиденциальности, прежде чем они смогут зарегистрироваться."
"DESCRIPTION": "Guide your users to custom external resources shown on the login page. Users need to accept the Terms of Service and Privacy Policy before they can sign up. Change the link to your documentation or set an empty string to hide the documentation button from the console. Add a custom external link and a custom text for that link in the console, or set them empty to hide that button."
},
"SMTP_PROVIDER": {
"TITLE": "Настройки SMTP",
@@ -1626,6 +1626,9 @@
"POLICYLINK": "Ссылка на Политику конфиденциальности",
"HELPLINK": "Ссылка на Помощь",
"SUPPORTEMAIL": "Электронная почта поддержки",
"DOCSLINK": "Ссылка на Документы (Console)",
"CUSTOMLINK": "Пользовательская ссылка (Console)",
"CUSTOMLINKTEXT": "Пользовательский текст ссылки (Console)",
"SAVED": "Успешно сохранено!",
"RESET_TITLE": "Восстановить значения по умолчанию",
"RESET_DESCRIPTION": "Вы собираетесь восстановить ссылки по умолчанию для Пользовательского соглашения и Политики конфиденциальности. Вы действительно хотите продолжить?"