LDAP: Apply changes in productName

This commit is contained in:
Alexey Safronov 2024-06-17 19:06:38 +04:00
parent bb5115a25d
commit 04c4b2d93c
3 changed files with 10 additions and 4 deletions

View File

@ -19,7 +19,7 @@
"LdapGroupFilter": "Group Filter",
"LdapGroupFilterTooltip": "Use search LDAP filter to select groups that will be imported. Please note that only users from these groups will be added.",
"LdapGroupMembership": "Group Membership",
"LdapGroupMembershipTooltip": "Enable this option if you want to add groups from LDAP server/Active Directory to DocSpace Accounts. Please note that only users who belong to these groups will be added.",
"LdapGroupMembershipTooltip": "Enable this option if you want to add groups from LDAP server/Active Directory to {{productName}} Accounts. Please note that only users who belong to these groups will be added.",
"LdapGroupNameAttribute": "Group Name Attribute",
"LdapGroupNameAttributeTooltip": "Please specify the object attribute that corresponds to the group name.",
"LdapGroupUserAttributeTooltip": "Enter the user object attribute used to determine whether this user is a member of the groups.",
@ -46,7 +46,7 @@
"LdapSyncDescription": "Sync LDAP data is a way to synchronize data changes between your portal and the LDAP server. Enable the Auto Sync option and set a time period to automatically update the information.",
"LdapSyncTitle": "Sync LDAP data",
"LdapToggle": "LDAP Authentication",
"LdapToggleDescription": "Enable this option if you want to add users from LDAP server/Active Directory to DocSpace automatically. The added users will be able to authorize using their LDAP server/Active Directory credentials. DocSpace does not save the user passwords locally and will authenticate users sending their login and password to LDAP server/Active Directory.",
"LdapToggleDescription": "Enable this option if you want to add users from LDAP server/Active Directory to {{productName}} automatically. The added users will be able to authorize using their LDAP server/Active Directory credentials. {{productName}} does not save the user passwords locally and will authenticate users sending their login and password to LDAP server/Active Directory.",
"LdapUserAttribute": "User Attribute",
"LdapUserDN": "User DN",
"LdapUserDNTooltip": "Enter the distinguished name to the directory containing users you want to add.",

View File

@ -33,6 +33,7 @@ import { Box } from "@docspace/shared/components/box";
import { TextInput } from "@docspace/shared/components/text-input";
import { FieldContainer } from "@docspace/shared/components/field-container";
import { Textarea } from "@docspace/shared/components/textarea";
import { PRODUCT_NAME } from "@docspace/shared/constants";
const FIELD_STYLE = { marginBottom: "0px" };
@ -94,7 +95,11 @@ const GroupMembership = (props) => {
label={t("LdapGroupMembership")}
isDisabled={!isLdapEnabled || isUIDisabled}
/>
<HelpButton tooltipContent={t("LdapGroupMembershipTooltip")} />
<HelpButton
tooltipContent={t("LdapGroupMembershipTooltip", {
productName: PRODUCT_NAME,
})}
/>
</div>
<Box className="group_membership-container">
<FieldContainer

View File

@ -31,6 +31,7 @@ import { Box } from "@docspace/shared/components/box";
import { Text } from "@docspace/shared/components/text";
import { ToggleButton } from "@docspace/shared/components/toggle-button";
import { Badge } from "@docspace/shared/components/badge";
import { PRODUCT_NAME } from "@docspace/shared/constants";
const borderProp = { radius: "6px" };
@ -100,7 +101,7 @@ const ToggleLDAP = ({
className="settings_unavailable"
noSelect
>
{t("LdapToggleDescription")}
{t("LdapToggleDescription", { productName: PRODUCT_NAME })}
</Text>
</div>
</Box>