Login: Added missing LDAP translation keys

This commit is contained in:
Alexey Safronov 2024-05-29 12:22:27 +04:00
parent ffc4ba604b
commit 1aead0bfd8
2 changed files with 5 additions and 3 deletions

View File

@ -20,5 +20,7 @@
"RegistrationEmailWatermark": "Email",
"RememberHelper": "The default session lifetime is 20 minutes. Check this option to set it to 1 year. To set your own value, go to Settings.",
"ResendCode": "Resend code",
"UserIsAlreadyRegistered": "User <1>{{email}}</1> is already registered in this DocSpace, enter your password or go back to continue with another email."
"UserIsAlreadyRegistered": "User <1>{{email}}</1> is already registered in this DocSpace, enter your password or go back to continue with another email.",
"SignInLDAP": "Sign in to: {{ldap_domain}}",
"SignInLdapHelper": "Use credentials for the corporate domain"
}

View File

@ -53,14 +53,14 @@ const LDAPContainer = ({
className="login-checkbox"
isChecked={isLdapLoginChecked}
onChange={onChangeLdapLoginCheckbox}
label={`Sign in to: ${ldapDomain}`} //TODO: Add translation
label={t("SignInLDAP", { ldap_domain: ldapDomain })}
helpButton={
<HelpButton
id="login_ldap-hint"
className="help-button"
offsetRight={0}
tooltipContent={
<Text fontSize="12px">{t("SignInLdapHelper")}</Text> //TODO: Add ldap helper
<Text fontSize="12px">{t("SignInLdapHelper")}</Text>
}
tooltipMaxWidth={isMobileOnly ? "240px" : "340px"}
/>