diff --git a/messages/en-US.json b/messages/en-US.json index 9793873ce..d750e4b93 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -179,6 +179,7 @@ "shareCreateDescription": "Anyone with this link can access the resource", "shareTitleOptional": "Title (optional)", "sharePathOptional": "Path (optional)", + "sharePathDescription": "The link will redirect users to this path after authentication.", "expireIn": "Expire In", "neverExpire": "Never expire", "shareExpireDescription": "Expiration time is how long the link will be usable and provide access to the resource. After this time, the link will no longer work, and users who used this link will lose access to the resource.", diff --git a/src/components/CreateShareLinkForm.tsx b/src/components/CreateShareLinkForm.tsx index d43adc968..78f705445 100644 --- a/src/components/CreateShareLinkForm.tsx +++ b/src/components/CreateShareLinkForm.tsx @@ -4,6 +4,7 @@ import { Button } from "@app/components/ui/button"; import { Form, FormControl, + FormDescription, FormField, FormItem, FormLabel, @@ -269,11 +270,11 @@ export default function CreateShareLinkForm({ + + {t( + "sharePathDescription" + )} + )}