SSO LDAP: Fix documentation render (#93041)

* Fix documentation link render

* Add i18n changes
This commit is contained in:
linoman 2024-09-09 16:32:23 +02:00 committed by GitHub
parent af48d3db1e
commit 904b0a9ee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 11 deletions

View File

@ -203,18 +203,17 @@ export const LdapSettingsPage = () => {
} }
}; };
const documentation = ( const subTitle = (
<Trans i18nKey="ldap-settings-page.subtitle">
The LDAP integration in Grafana allows your Grafana users to log in with their LDAP credentials. Find out more in
our{' '}
<TextLink <TextLink
href="https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/ldap/" href="https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/ldap/"
external external
> >
<Trans i18nKey="ldap-settings-page.documentation">documentation</Trans> <Trans i18nKey="ldap-settings-page.documentation">documentation</Trans>
</TextLink> </TextLink>
); .
const subTitle = (
<Trans i18nKey="ldap-settings-page.subtitle">
The LDAP integration in Grafana allows your Grafana users to log in with their LDAP credentials. Find out more in
our {documentation}.
</Trans> </Trans>
); );

View File

@ -1147,7 +1147,7 @@
"label": "Search base DNS *", "label": "Search base DNS *",
"placeholder": "example: \"dc=grafana.dc=org\"" "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</0></2>.",
"title": "Basic Settings" "title": "Basic Settings"
}, },
"library-panel": { "library-panel": {

View File

@ -1147,7 +1147,7 @@
"label": "Ŝęäřčĥ þäşę ĐŃŜ *", "label": "Ŝęäřčĥ þäşę ĐŃŜ *",
"placeholder": "ęχämpľę: \"đč=ģřäƒäʼnä.đč=őřģ\"" "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</0></2>.",
"title": "ßäşįč Ŝęŧŧįʼnģş" "title": "ßäşįč Ŝęŧŧįʼnģş"
}, },
"library-panel": { "library-panel": {