From 904b0a9ee6d54706b60314a74d528a6c94b17c02 Mon Sep 17 00:00:00 2001 From: linoman <2051016+linoman@users.noreply.github.com> Date: Mon, 9 Sep 2024 16:32:23 +0200 Subject: [PATCH] SSO LDAP: Fix documentation render (#93041) * Fix documentation link render * Add i18n changes --- .../features/admin/ldap/LdapSettingsPage.tsx | 17 ++++++++--------- public/locales/en-US/grafana.json | 2 +- public/locales/pseudo-LOCALE/grafana.json | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/public/app/features/admin/ldap/LdapSettingsPage.tsx b/public/app/features/admin/ldap/LdapSettingsPage.tsx index cc0cf54015c..9efd2685ada 100644 --- a/public/app/features/admin/ldap/LdapSettingsPage.tsx +++ b/public/app/features/admin/ldap/LdapSettingsPage.tsx @@ -203,18 +203,17 @@ export const LdapSettingsPage = () => { } }; - const documentation = ( - - documentation - - ); const subTitle = ( The LDAP integration in Grafana allows your Grafana users to log in with their LDAP credentials. Find out more in - our {documentation}. + our{' '} + + documentation + + . ); diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index 99631238344..87c92dad719 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -1147,7 +1147,7 @@ "label": "Search base DNS *", "placeholder": "example: \"dc=grafana.dc=org\"" }, - "subtitle": "The LDAP integration in Grafana allows your Grafana users to log in with their LDAP credentials. Find out more in our {documentation}.", + "subtitle": "The LDAP integration in Grafana allows your Grafana users to log in with their LDAP credentials. Find out more in our <2><0>documentation.", "title": "Basic Settings" }, "library-panel": { diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index 436de096e2c..a23d21d3c54 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -1147,7 +1147,7 @@ "label": "Ŝęäřčĥ þäşę ĐŃŜ *", "placeholder": "ęχämpľę: \"đč=ģřäƒäʼnä.đč=őřģ\"" }, - "subtitle": "Ŧĥę ĿĐÅP įʼnŧęģřäŧįőʼn įʼn Ğřäƒäʼnä äľľőŵş yőūř Ğřäƒäʼnä ūşęřş ŧő ľőģ įʼn ŵįŧĥ ŧĥęįř ĿĐÅP čřęđęʼnŧįäľş. Fįʼnđ őūŧ mőřę įʼn őūř {đőčūmęʼnŧäŧįőʼn}.", + "subtitle": "Ŧĥę ĿĐÅP įʼnŧęģřäŧįőʼn įʼn Ğřäƒäʼnä äľľőŵş yőūř Ğřäƒäʼnä ūşęřş ŧő ľőģ įʼn ŵįŧĥ ŧĥęįř ĿĐÅP čřęđęʼnŧįäľş. Fįʼnđ őūŧ mőřę įʼn őūř <2><0>đőčūmęʼnŧäŧįőʼn.", "title": "ßäşįč Ŝęŧŧįʼnģş" }, "library-panel": {