diff --git a/packages/client/public/locales/en/SharingPanel.json b/packages/client/public/locales/en/SharingPanel.json index cc10e02d06..1f9a9d7338 100644 --- a/packages/client/public/locales/en/SharingPanel.json +++ b/packages/client/public/locales/en/SharingPanel.json @@ -1,20 +1,15 @@ { "AddGroupsForSharingButton": "Add groups", "AddShareMessage": "Add message", - "AnyoneWithLink": "Anyone with the link", "Comment": "Comment", "CopyExternalLink": "Copy external link", "CustomFilter": "Custom filter", "DenyAccess": "Deny access", - "DoсSpaceUsersOnly": "DoсSpace users only", - "Editing": "Editing", "EncryptedFileSharing": "File {{title}} successfully shared", "ExternalLink": "External link", "FormFilling": "Form filling", "GeneralAccessLinkCreated": "General link for public viewing successfully created and copied to clipboard", "InternalLink": "Internal link", - "LinkExpireAfter": "The link will expire after <1>{{date}}", - "LinkIsValid": "The link is valid for <1>{{date}}", "LinkName": "Link name", "Notify users": "Notify users", "ReadOnly": "Read only", diff --git a/packages/shared/components/share/Share.helpers.ts b/packages/shared/components/share/Share.helpers.ts index 64cac399cf..7b85da83be 100644 --- a/packages/shared/components/share/Share.helpers.ts +++ b/packages/shared/components/share/Share.helpers.ts @@ -52,7 +52,7 @@ export const getAccessOptions = ( available.Read && { access: ShareAccessRights.ReadOnly, key: "viewing", - label: t("ReadOnly"), + label: t("Common:ReadOnly"), icon: EyeReactSvgUrl, }, available.Restrict && { diff --git a/packages/shared/components/share/index.tsx b/packages/shared/components/share/index.tsx index 41c7c71bb0..d7e062bd64 100644 --- a/packages/shared/components/share/index.tsx +++ b/packages/shared/components/share/index.tsx @@ -195,14 +195,14 @@ const Share = (props: ShareProps) => { if (item.access === ShareAccessRights.None) { deleteLink(link.sharedTo.id); if (link.sharedTo.primary) { - toastr.success(t("GeneralAccessLinkRemove")); + toastr.success(t("Common:GeneralAccessLinkRemove")); } else { - toastr.success(t("AdditionalLinkRemove")); + toastr.success(t("Common:AdditionalLinkRemove")); } } else { updateLink(link, res); if (item.access === ShareAccessRights.DenyAccess) { - toastr.success(t("LinkAccessDenied")); + toastr.success(t("Common:LinkAccessDenied")); } else { copy(link.sharedTo.shareLink); toastr.success(t("Common:LinkSuccessfullyCopied")); @@ -254,8 +254,8 @@ const Share = (props: ShareProps) => { return (
{isLoading ? ( diff --git a/packages/shared/components/share/sub-components/ExpiredComboBox.tsx b/packages/shared/components/share/sub-components/ExpiredComboBox.tsx index 40b1ce4b94..856d706c37 100644 --- a/packages/shared/components/share/sub-components/ExpiredComboBox.tsx +++ b/packages/shared/components/share/sub-components/ExpiredComboBox.tsx @@ -106,7 +106,7 @@ const ExpiredComboBox = ({ const date = `${dateObj?.date} ${dateObj?.label}`; return ( - + The link will expire after {{ date }} @@ -126,7 +126,7 @@ const ExpiredComboBox = ({ const date = t("Common:Unlimited"); return ( - + The link is valid for {{date}}", + "LinkExpireAfter": "The link will expire after <1>{{date}}", "Load": "Load", "LoadingDescription": "Please wait...", "LoadingProcessing": "Loading...",