Skip to content

The Open Source DocuSign Alternative.

feat: web i18n (#1286)

David Nguyen75c8772a0236
diff --git a/apps/marketing/package.json b/apps/marketing/package.json
index fb6478fca..a1c25d459 100644
--- a/apps/marketing/package.json
+++ b/apps/marketing/package.json
@@ -20,7 +20,6 @@
"@documenso/trpc": "*",
"@documenso/ui": "*",
"@hookform/resolvers": "^3.1.0",
- "@lingui/macro": "^4.11.1",
"@lingui/react": "^4.11.1",
"@openstatus/react": "^0.0.3",
"cmdk": "^0.2.1",
diff --git a/apps/marketing/src/app/(marketing)/singleplayer/client.tsx b/apps/marketing/src/app/(marketing)/singleplayer/client.tsx
index 2d8bbe9d9..a3df5af29 100644
--- a/apps/marketing/src/app/(marketing)/singleplayer/client.tsx
+++ b/apps/marketing/src/app/(marketing)/singleplayer/client.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
+import { msg } from '@lingui/macro';
+
import { useAnalytics } from '@documenso/lib/client-only/hooks/use-analytics';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { base64 } from '@documenso/lib/universal/base64';
@@ -46,8 +48,8 @@ export const SinglePlayerClient = () => {
const documentFlow: Record<SinglePlayerModeStep, DocumentFlowStep> = {
fields: {
- title: 'Add document',
- description: 'Upload a document and add fields.',
+ title: msg`Add document`,
+ description: msg`Upload a document and add fields.`,
stepIndex: 1,
onBackStep: uploadedFile
? () => {
@@ -58,8 +60,8 @@ export const SinglePlayerClient = () => {
onNextStep: () => setStep('sign'),
},
sign: {
- title: 'Sign',
- description: 'Enter your details.',
+ title: msg`Sign`,
+ description: msg`Enter your details.`,
stepIndex: 2,
onBackStep: () => setStep('fields'),
},
diff --git a/apps/web/lingui.config.ts b/apps/web/lingui.config.ts
index f129b49ce..a5862eb98 100644
--- a/apps/web/lingui.config.ts
+++ b/apps/web/lingui.config.ts
@@ -8,7 +8,7 @@ const config: LinguiConfig = {
locales: APP_I18N_OPTIONS.supportedLangs as unknown as string[],
catalogs: [
{
- path: '<rootDir>/../../packages/lib/translations/web/{locale}',
+ path: '<rootDir>/../../packages/lib/translations/{locale}/web',
include: ['<rootDir>/apps/web/src'],
},
{
diff --git a/apps/web/package.json b/apps/web/package.json
index f86e5769a..be73389c8 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -23,7 +23,6 @@
"@documenso/trpc": "*",
"@documenso/ui": "*",
"@hookform/resolvers": "^3.1.0",
- "@lingui/macro": "^4.11.1",
"@lingui/react": "^4.11.1",
"@simplewebauthn/browser": "^9.0.1",
"@simplewebauthn/server": "^9.0.3",
@@ -60,9 +59,9 @@
"zod": "^3.22.4"
},
"devDependencies": {
+ "@documenso/tailwind-config": "*",
"@lingui/loader": "^4.11.1",
"@lingui/swc-plugin": "4.0.6",
- "@documenso/tailwind-config": "*",
"@simplewebauthn/types": "^9.0.1",
"@types/formidable": "^2.0.6",
"@types/luxon": "^3.3.1",
diff --git a/apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx b/apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx
index f084b5db5..330f31eb1 100644
--- a/apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx
+++ b/apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx
@@ -2,6 +2,9 @@
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import type { Recipient } from '@documenso/prisma/client';
import { type Document, SigningStatus } from '@documenso/prisma/client';
import { trpc } from '@documenso/trpc/react';
@@ -22,20 +25,21 @@ export type AdminActionsProps = {
};
export const AdminActions = ({ className, document, recipients }: AdminActionsProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutate: resealDocument, isLoading: isResealDocumentLoading } =
trpc.admin.resealDocument.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Document resealed',
+ title: _(msg`Success`),
+ description: _(msg`Document resealed`),
});
},
onError: () => {
toast({
- title: 'Error',
- description: 'Failed to reseal document',
+ title: _(msg`Error`),
+ description: _(msg`Failed to reseal document`),
variant: 'destructive',
});
},
@@ -54,19 +58,23 @@ export const AdminActions = ({ className, document, recipients }: AdminActionsPr
)}
onClick={() => resealDocument({ id: document.id })}
>
- Reseal document
+ <Trans>Reseal document</Trans>
</Button>
</TooltipTrigger>
<TooltipContent className="max-w-[40ch]">
- Attempts sealing the document again, useful for after a code change has occurred to
- resolve an erroneous document.
+ <Trans>
+ Attempts sealing the document again, useful for after a code change has occurred to
+ resolve an erroneous document.
+ </Trans>
</TooltipContent>
</Tooltip>
</TooltipProvider>
<Button variant="outline" asChild>
- <Link href={`/admin/users/${document.userId}`}>Go to owner</Link>
+ <Link href={`/admin/users/${document.userId}`}>
+ <Trans>Go to owner</Trans>
+ </Link>
</Button>
</div>
);
diff --git a/apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx b/apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx
index 563db8d1b..48211fbc0 100644
--- a/apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx
@@ -1,5 +1,7 @@
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getEntireDocument } from '@documenso/lib/server-only/admin/get-entire-document';
import {
Accordion,
@@ -23,6 +25,8 @@ type AdminDocumentDetailsPageProps = {
};
export default async function AdminDocumentDetailsPage({ params }: AdminDocumentDetailsPageProps) {
+ setupI18nSSR();
+
const document = await getEntireDocument({ id: Number(params.id) });
return (
@@ -35,28 +39,34 @@ export default async function AdminDocumentDetailsPage({ params }: AdminDocument
{document.deletedAt && (
<Badge size="large" variant="destructive">
- Deleted
+ <Trans>Deleted</Trans>
</Badge>
)}
</div>
<div className="text-muted-foreground mt-4 text-sm">
<div>
- Created on: <LocaleDate date={document.createdAt} format={DateTime.DATETIME_MED} />
+ <Trans>Created on</Trans>:{' '}
+ <LocaleDate date={document.createdAt} format={DateTime.DATETIME_MED} />
</div>
<div>
- Last updated at: <LocaleDate date={document.updatedAt} format={DateTime.DATETIME_MED} />
+ <Trans>Last updated at</Trans>:{' '}
+ <LocaleDate date={document.updatedAt} format={DateTime.DATETIME_MED} />
</div>
</div>
<hr className="my-4" />
- <h2 className="text-lg font-semibold">Admin Actions</h2>
+ <h2 className="text-lg font-semibold">
+ <Trans>Admin Actions</Trans>
+ </h2>
<AdminActions className="mt-2" document={document} recipients={document.Recipient} />
<hr className="my-4" />
- <h2 className="text-lg font-semibold">Recipients</h2>
+ <h2 className="text-lg font-semibold">
+ <Trans>Recipients</Trans>
+ </h2>
<div className="mt-4">
<Accordion type="multiple" className="space-y-4">
diff --git a/apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx b/apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx
index 3bf8c78ab..92304a62e 100644
--- a/apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx
+++ b/apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx
@@ -2,6 +2,8 @@
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -43,7 +45,9 @@ export type RecipientItemProps = {
};
export const RecipientItem = ({ recipient }: RecipientItemProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const form = useForm<TAdminUpdateRecipientFormSchema>({
@@ -64,14 +68,14 @@ export const RecipientItem = ({ recipient }: RecipientItemProps) => {
});
toast({
- title: 'Recipient updated',
- description: 'The recipient has been updated successfully',
+ title: _(msg`Recipient updated`),
+ description: _(msg`The recipient has been updated successfully`),
});
router.refresh();
} catch (error) {
toast({
- title: 'Failed to update recipient',
+ title: _(msg`Failed to update recipient`),
description: error.message,
variant: 'destructive',
});
@@ -93,7 +97,9 @@ export const RecipientItem = ({ recipient }: RecipientItemProps) => {
name="name"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel required>Name</FormLabel>
+ <FormLabel required>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input {...field} />
@@ -109,7 +115,9 @@ export const RecipientItem = ({ recipient }: RecipientItemProps) => {
name="email"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input type="email" {...field} />
@@ -122,7 +130,7 @@ export const RecipientItem = ({ recipient }: RecipientItemProps) => {
<div>
<Button type="submit" loading={form.formState.isSubmitting}>
- Update Recipient
+ <Trans>Update Recipient</Trans>
</Button>
</div>
</fieldset>
@@ -131,7 +139,9 @@ export const RecipientItem = ({ recipient }: RecipientItemProps) => {
<hr className="my-4" />
- <h2 className="mb-4 text-lg font-semibold">Fields</h2>
+ <h2 className="mb-4 text-lg font-semibold">
+ <Trans>Fields</Trans>
+ </h2>
<DataTable
data={recipient.Field}
@@ -142,22 +152,22 @@ export const RecipientItem = ({ recipient }: RecipientItemProps) => {
cell: ({ row }) => <div>{row.original.id}</div>,
},
{
- header: 'Type',
+ header: _(msg`Type`),
accessorKey: 'type',
cell: ({ row }) => <div>{row.original.type}</div>,
},
{
- header: 'Inserted',
+ header: _(msg`Inserted`),
accessorKey: 'inserted',
cell: ({ row }) => <div>{row.original.inserted ? 'True' : 'False'}</div>,
},
{
- header: 'Value',
+ header: _(msg`Value`),
accessorKey: 'customText',
cell: ({ row }) => <div>{row.original.customText}</div>,
},
{
- header: 'Signature',
+ header: _(msg`Signature`),
accessorKey: 'signature',
cell: ({ row }) => (
<div>
diff --git a/apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx b/apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx
index 63ad88a3f..337796959 100644
--- a/apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx
@@ -4,6 +4,9 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import type { Document } from '@documenso/prisma/client';
import { TRPCClientError } from '@documenso/trpc/client';
import { trpc } from '@documenso/trpc/react';
@@ -26,7 +29,9 @@ export type SuperDeleteDocumentDialogProps = {
};
export const SuperDeleteDocumentDialog = ({ document }: SuperDeleteDocumentDialogProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const [reason, setReason] = useState('');
@@ -43,7 +48,7 @@ export const SuperDeleteDocumentDialog = ({ document }: SuperDeleteDocumentDialo
await deleteDocument({ id: document.id, reason });
toast({
- title: 'Document deleted',
+ title: _(msg`Document deleted`),
description: 'The Document has been deleted successfully.',
duration: 5000,
});
@@ -52,13 +57,13 @@ export const SuperDeleteDocumentDialog = ({ document }: SuperDeleteDocumentDialo
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
variant: 'destructive',
description:
err.message ??
@@ -76,31 +81,41 @@ export const SuperDeleteDocumentDialog = ({ document }: SuperDeleteDocumentDialo
variant="neutral"
>
<div>
- <AlertTitle>Delete Document</AlertTitle>
+ <AlertTitle>
+ <Trans>Delete Document</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
- Delete the document. This action is irreversible so proceed with caution.
+ <Trans>
+ Delete the document. This action is irreversible so proceed with caution.
+ </Trans>
</AlertDescription>
</div>
<div className="flex-shrink-0">
<Dialog>
<DialogTrigger asChild>
- <Button variant="destructive">Delete Document</Button>
+ <Button variant="destructive">
+ <Trans>Delete Document</Trans>
+ </Button>
</DialogTrigger>
<DialogContent>
<DialogHeader className="space-y-4">
- <DialogTitle>Delete Document</DialogTitle>
+ <DialogTitle>
+ <Trans>Delete Document</Trans>
+ </DialogTitle>
<Alert variant="destructive">
<AlertDescription className="selection:bg-red-100">
- This action is not reversible. Please be certain.
+ <Trans>This action is not reversible. Please be certain.</Trans>
</AlertDescription>
</Alert>
</DialogHeader>
<div>
- <DialogDescription>To confirm, please enter the reason</DialogDescription>
+ <DialogDescription>
+ <Trans>To confirm, please enter the reason</Trans>
+ </DialogDescription>
<Input
className="mt-2"
@@ -117,7 +132,7 @@ export const SuperDeleteDocumentDialog = ({ document }: SuperDeleteDocumentDialo
variant="destructive"
disabled={!reason}
>
- {isDeletingDocument ? 'Deleting document...' : 'Delete Document'}
+ <Trans>Delete document</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/admin/documents/document-results.tsx b/apps/web/src/app/(dashboard)/admin/documents/document-results.tsx
index b7e235981..3226ed2c7 100644
--- a/apps/web/src/app/(dashboard)/admin/documents/document-results.tsx
+++ b/apps/web/src/app/(dashboard)/admin/documents/document-results.tsx
@@ -5,6 +5,8 @@ import { useState } from 'react';
import Link from 'next/link';
import { useSearchParams } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { useDebouncedValue } from '@documenso/lib/client-only/hooks/use-debounced-value';
@@ -23,6 +25,8 @@ import { LocaleDate } from '~/components/formatter/locale-date';
// export type AdminDocumentResultsProps = {};
export const AdminDocumentResults = () => {
+ const { _ } = useLingui();
+
const searchParams = useSearchParams();
const updateSearchParams = useUpdateSearchParams();
@@ -56,7 +60,7 @@ export const AdminDocumentResults = () => {
<div>
<Input
type="search"
- placeholder="Search by document title"
+ placeholder={_(msg`Search by document title`)}
value={term}
onChange={(e) => setTerm(e.target.value)}
/>
@@ -65,12 +69,12 @@ export const AdminDocumentResults = () => {
<DataTable
columns={[
{
- header: 'Created',
+ header: _(msg`Created`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />,
},
{
- header: 'Title',
+ header: _(msg`Title`),
accessorKey: 'title',
cell: ({ row }) => {
return (
@@ -84,12 +88,12 @@ export const AdminDocumentResults = () => {
},
},
{
- header: 'Status',
+ header: _(msg`Status`),
accessorKey: 'status',
cell: ({ row }) => <DocumentStatus status={row.original.status} />,
},
{
- header: 'Owner',
+ header: _(msg`Owner`),
accessorKey: 'owner',
cell: ({ row }) => {
const avatarFallbackText = row.original.User.name
diff --git a/apps/web/src/app/(dashboard)/admin/documents/page.tsx b/apps/web/src/app/(dashboard)/admin/documents/page.tsx
index 96e4dcef8..7f21bf5fa 100644
--- a/apps/web/src/app/(dashboard)/admin/documents/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/documents/page.tsx
@@ -1,9 +1,17 @@
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { AdminDocumentResults } from './document-results';
export default function AdminDocumentsPage() {
+ setupI18nSSR();
+
return (
<div>
- <h2 className="text-4xl font-semibold">Manage documents</h2>
+ <h2 className="text-4xl font-semibold">
+ <Trans>Manage documents</Trans>
+ </h2>
<div className="mt-8">
<AdminDocumentResults />
diff --git a/apps/web/src/app/(dashboard)/admin/layout.tsx b/apps/web/src/app/(dashboard)/admin/layout.tsx
index 12330679d..c489c34a1 100644
--- a/apps/web/src/app/(dashboard)/admin/layout.tsx
+++ b/apps/web/src/app/(dashboard)/admin/layout.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import { redirect } from 'next/navigation';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { isAdmin } from '@documenso/lib/next-auth/guards/is-admin';
@@ -12,6 +13,8 @@ export type AdminSectionLayoutProps = {
};
export default async function AdminSectionLayout({ children }: AdminSectionLayoutProps) {
+ setupI18nSSR();
+
const { user } = await getRequiredServerComponentSession();
if (!isAdmin(user)) {
diff --git a/apps/web/src/app/(dashboard)/admin/nav.tsx b/apps/web/src/app/(dashboard)/admin/nav.tsx
index 080cb9741..cf0bb81f2 100644
--- a/apps/web/src/app/(dashboard)/admin/nav.tsx
+++ b/apps/web/src/app/(dashboard)/admin/nav.tsx
@@ -5,6 +5,7 @@ import type { HTMLAttributes } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { BarChart3, FileStack, Settings, Users, Wallet2 } from 'lucide-react';
import { cn } from '@documenso/ui/lib/utils';
@@ -33,7 +34,7 @@ export const AdminNav = ({ className, ...props }: AdminNavProps) => {
>
<Link href="/admin/stats">
<BarChart3 className="mr-2 h-5 w-5" />
- Stats
+ <Trans>Stats</Trans>
</Link>
</Button>
@@ -47,7 +48,7 @@ export const AdminNav = ({ className, ...props }: AdminNavProps) => {
>
<Link href="/admin/users">
<Users className="mr-2 h-5 w-5" />
- Users
+ <Trans>Users</Trans>
</Link>
</Button>
@@ -61,7 +62,7 @@ export const AdminNav = ({ className, ...props }: AdminNavProps) => {
>
<Link href="/admin/documents">
<FileStack className="mr-2 h-5 w-5" />
- Documents
+ <Trans>Documents</Trans>
</Link>
</Button>
@@ -75,7 +76,7 @@ export const AdminNav = ({ className, ...props }: AdminNavProps) => {
>
<Link href="/admin/subscriptions">
<Wallet2 className="mr-2 h-5 w-5" />
- Subscriptions
+ <Trans>Subscriptions</Trans>
</Link>
</Button>
@@ -89,7 +90,7 @@ export const AdminNav = ({ className, ...props }: AdminNavProps) => {
>
<Link href="/admin/site-settings">
<Settings className="mr-2 h-5 w-5" />
- Site Settings
+ <Trans>Site Settings</Trans>
</Link>
</Button>
</div>
diff --git a/apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx b/apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx
index 351e146ff..d68eed63b 100644
--- a/apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx
+++ b/apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -37,8 +39,10 @@ export type BannerFormProps = {
};
export function BannerForm({ banner }: BannerFormProps) {
- const router = useRouter();
const { toast } = useToast();
+ const { _ } = useLingui();
+
+ const router = useRouter();
const form = useForm<TBannerFormSchema>({
resolver: zodResolver(ZBannerFormSchema),
@@ -67,8 +71,8 @@ export function BannerForm({ banner }: BannerFormProps) {
});
toast({
- title: 'Banner Updated',
- description: 'Your banner has been updated successfully.',
+ title: _(msg`Banner Updated`),
+ description: _(msg`Your banner has been updated successfully.`),
duration: 5000,
});
@@ -76,16 +80,17 @@ export function BannerForm({ banner }: BannerFormProps) {
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update the banner. Please try again later.',
+ description: _(
+ msg`We encountered an unknown error while attempting to update the banner. Please try again later.`,
+ ),
});
}
}
@@ -93,10 +98,14 @@ export function BannerForm({ banner }: BannerFormProps) {
return (
<div>
- <h2 className="font-semibold">Site Banner</h2>
+ <h2 className="font-semibold">
+ <Trans>Site Banner</Trans>
+ </h2>
<p className="text-muted-foreground mt-2 text-sm">
- The site banner is a message that is shown at the top of the site. It can be used to display
- important information to your users.
+ <Trans>
+ The site banner is a message that is shown at the top of the site. It can be used to
+ display important information to your users.
+ </Trans>
</p>
<Form {...form}>
@@ -110,7 +119,9 @@ export function BannerForm({ banner }: BannerFormProps) {
name="enabled"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel>Enabled</FormLabel>
+ <FormLabel>
+ <Trans>Enabled</Trans>
+ </FormLabel>
<FormControl>
<div>
@@ -131,7 +142,9 @@ export function BannerForm({ banner }: BannerFormProps) {
name="data.bgColor"
render={({ field }) => (
<FormItem>
- <FormLabel>Background Color</FormLabel>
+ <FormLabel>
+ <Trans>Background Color</Trans>
+ </FormLabel>
<FormControl>
<div>
@@ -149,7 +162,9 @@ export function BannerForm({ banner }: BannerFormProps) {
name="data.textColor"
render={({ field }) => (
<FormItem>
- <FormLabel>Text Color</FormLabel>
+ <FormLabel>
+ <Trans>Text Color</Trans>
+ </FormLabel>
<FormControl>
<div>
@@ -170,14 +185,16 @@ export function BannerForm({ banner }: BannerFormProps) {
name="data.content"
render={({ field }) => (
<FormItem>
- <FormLabel>Content</FormLabel>
+ <FormLabel>
+ <Trans>Content</Trans>
+ </FormLabel>
<FormControl>
<Textarea className="h-32 resize-none" {...field} />
</FormControl>
<FormDescription>
- The content to show in the banner, HTML is allowed
+ <Trans>The content to show in the banner, HTML is allowed</Trans>
</FormDescription>
<FormMessage />
@@ -191,7 +208,7 @@ export function BannerForm({ banner }: BannerFormProps) {
loading={isUpdateSiteSettingLoading}
className="mt-4 justify-end self-end"
>
- Update Banner
+ <Trans>Update Banner</Trans>
</Button>
</form>
</Form>
diff --git a/apps/web/src/app/(dashboard)/admin/site-settings/page.tsx b/apps/web/src/app/(dashboard)/admin/site-settings/page.tsx
index bffb72ff0..a9d37caff 100644
--- a/apps/web/src/app/(dashboard)/admin/site-settings/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/site-settings/page.tsx
@@ -1,3 +1,7 @@
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getSiteSettings } from '@documenso/lib/server-only/site-settings/get-site-settings';
import { SITE_SETTINGS_BANNER_ID } from '@documenso/lib/server-only/site-settings/schemas/banner';
@@ -8,13 +12,20 @@ import { BannerForm } from './banner-form';
// import { BannerForm } from './banner-form';
export default async function AdminBannerPage() {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
+
const banner = await getSiteSettings().then((settings) =>
settings.find((setting) => setting.id === SITE_SETTINGS_BANNER_ID),
);
return (
<div>
- <SettingsHeader title="Site Settings" subtitle="Manage your site settings here" />
+ <SettingsHeader
+ title={_(msg`Site Settings`)}
+ subtitle={_(msg`Manage your site settings here`)}
+ />
<div className="mt-8">
<BannerForm banner={banner} />
diff --git a/apps/web/src/app/(dashboard)/admin/stats/page.tsx b/apps/web/src/app/(dashboard)/admin/stats/page.tsx
index 1fb79779f..33be711e1 100644
--- a/apps/web/src/app/(dashboard)/admin/stats/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/stats/page.tsx
@@ -1,3 +1,5 @@
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import {
File,
FileCheck,
@@ -12,6 +14,7 @@ import {
Users,
} from 'lucide-react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getDocumentStats } from '@documenso/lib/server-only/admin/get-documents-stats';
import { getRecipientsStats } from '@documenso/lib/server-only/admin/get-recipients-stats';
import {
@@ -27,6 +30,10 @@ import { SignerConversionChart } from './signer-conversion-chart';
import { UserWithDocumentChart } from './user-with-document';
export default async function AdminStatsPage() {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
+
const [
usersCount,
usersWithSubscriptionsCount,
@@ -49,64 +56,98 @@ export default async function AdminStatsPage() {
return (
<div>
- <h2 className="text-4xl font-semibold">Instance Stats</h2>
+ <h2 className="text-4xl font-semibold">
+ <Trans>Instance Stats</Trans>
+ </h2>
<div className="mt-8 grid flex-1 grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4">
- <CardMetric icon={Users} title="Total Users" value={usersCount} />
- <CardMetric icon={File} title="Total Documents" value={docStats.ALL} />
+ <CardMetric icon={Users} title={_(msg`Total Users`)} value={usersCount} />
+ <CardMetric icon={File} title={_(msg`Total Documents`)} value={docStats.ALL} />
<CardMetric
icon={UserPlus}
- title="Active Subscriptions"
+ title={_(msg`Active Subscriptions`)}
value={usersWithSubscriptionsCount}
/>
- <CardMetric icon={FileCog} title="App Version" value={`v${process.env.APP_VERSION}`} />
+ <CardMetric
+ icon={FileCog}
+ title={_(msg`App Version`)}
+ value={`v${process.env.APP_VERSION}`}
+ />
</div>
<div className="mt-16 gap-8">
<div>
- <h3 className="text-3xl font-semibold">Document metrics</h3>
+ <h3 className="text-3xl font-semibold">
+ <Trans>Document metrics</Trans>
+ </h3>
<div className="mb-8 mt-4 grid flex-1 grid-cols-1 gap-4 md:grid-cols-2">
- <CardMetric icon={FileEdit} title="Drafted Documents" value={docStats.DRAFT} />
- <CardMetric icon={FileClock} title="Pending Documents" value={docStats.PENDING} />
- <CardMetric icon={FileCheck} title="Completed Documents" value={docStats.COMPLETED} />
+ <CardMetric icon={FileEdit} title={_(msg`Drafted Documents`)} value={docStats.DRAFT} />
+ <CardMetric
+ icon={FileClock}
+ title={_(msg`Pending Documents`)}
+ value={docStats.PENDING}
+ />
+ <CardMetric
+ icon={FileCheck}
+ title={_(msg`Completed Documents`)}
+ value={docStats.COMPLETED}
+ />
</div>
</div>
<div>
- <h3 className="text-3xl font-semibold">Recipients metrics</h3>
+ <h3 className="text-3xl font-semibold">
+ <Trans>Recipients metrics</Trans>
+ </h3>
<div className="mb-8 mt-4 grid flex-1 grid-cols-1 gap-4 md:grid-cols-2">
<CardMetric
icon={UserSquare2}
- title="Total Recipients"
+ title={_(msg`Total Recipients`)}
value={recipientStats.TOTAL_RECIPIENTS}
/>
- <CardMetric icon={Mail} title="Documents Received" value={recipientStats.SENT} />
- <CardMetric icon={MailOpen} title="Documents Viewed" value={recipientStats.OPENED} />
- <CardMetric icon={PenTool} title="Signatures Collected" value={recipientStats.SIGNED} />
+ <CardMetric
+ icon={Mail}
+ title={_(msg`Documents Received`)}
+ value={recipientStats.SENT}
+ />
+ <CardMetric
+ icon={MailOpen}
+ title={_(msg`Documents Viewed`)}
+ value={recipientStats.OPENED}
+ />
+ <CardMetric
+ icon={PenTool}
+ title={_(msg`Signatures Collected`)}
+ value={recipientStats.SIGNED}
+ />
</div>
</div>
</div>
<div className="mt-16">
- <h3 className="text-3xl font-semibold">Charts</h3>
+ <h3 className="text-3xl font-semibold">
+ <Trans>Charts</Trans>
+ </h3>
<div className="mt-5 grid grid-cols-2 gap-8">
<UserWithDocumentChart
data={MONTHLY_USERS_SIGNED}
- title="MAU (created document)"
- tooltip="Monthly Active Users: Users that created at least one Document"
+ title={_(msg`MAU (created document)`)}
+ tooltip={_(msg`Monthly Active Users: Users that created at least one Document`)}
/>
<UserWithDocumentChart
data={MONTHLY_USERS_SIGNED}
completed
- title="MAU (had document completed)"
- tooltip="Monthly Active Users: Users that had at least one of their documents completed"
+ title={_(msg`MAU (had document completed)`)}
+ tooltip={_(
+ msg`Monthly Active Users: Users that had at least one of their documents completed`,
+ )}
/>
<SignerConversionChart title="Signers that Signed Up" data={signerConversionMonthly} />
<SignerConversionChart
- title="Total Signers that Signed Up"
+ title={_(msg`Total Signers that Signed Up`)}
data={signerConversionMonthly}
cummulative
/>
diff --git a/apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx b/apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx
index 68ccf1ee4..f31e9d13e 100644
--- a/apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx
@@ -1,5 +1,8 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { findSubscriptions } from '@documenso/lib/server-only/admin/get-all-subscriptions';
import {
Table,
@@ -11,20 +14,32 @@ import {
} from '@documenso/ui/primitives/table';
export default async function Subscriptions() {
+ setupI18nSSR();
+
const subscriptions = await findSubscriptions();
return (
<div>
- <h2 className="text-4xl font-semibold">Manage subscriptions</h2>
+ <h2 className="text-4xl font-semibold">
+ <Trans>Manage subscriptions</Trans>
+ </h2>
<div className="mt-8">
<Table>
<TableHeader>
<TableRow>
<TableHead>ID</TableHead>
- <TableHead>Status</TableHead>
- <TableHead>Created At</TableHead>
- <TableHead>Ends On</TableHead>
- <TableHead>User ID</TableHead>
+ <TableHead>
+ <Trans>Status</Trans>
+ </TableHead>
+ <TableHead>
+ <Trans>Created At</Trans>
+ </TableHead>
+ <TableHead>
+ <Trans>Ends On</Trans>
+ </TableHead>
+ <TableHead>
+ <Trans>User ID</Trans>
+ </TableHead>
</TableRow>
</TableHeader>
<TableBody>
diff --git a/apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx b/apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx
index 42e523ece..011790eb8 100644
--- a/apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx
@@ -4,6 +4,9 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import type { User } from '@documenso/prisma/client';
import { TRPCClientError } from '@documenso/trpc/client';
import { trpc } from '@documenso/trpc/react';
@@ -27,8 +30,10 @@ export type DeleteUserDialogProps = {
};
export const DeleteUserDialog = ({ className, user }: DeleteUserDialogProps) => {
- const router = useRouter();
const { toast } = useToast();
+ const { _ } = useLingui();
+
+ const router = useRouter();
const [email, setEmail] = useState('');
@@ -43,8 +48,8 @@ export const DeleteUserDialog = ({ className, user }: DeleteUserDialogProps) =>
});
toast({
- title: 'Account deleted',
- description: 'The account has been deleted successfully.',
+ title: _(msg`Account deleted`),
+ description: _(msg`The account has been deleted successfully.`),
duration: 5000,
});
@@ -52,17 +57,19 @@ export const DeleteUserDialog = ({ className, user }: DeleteUserDialogProps) =>
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
variant: 'destructive',
description:
err.message ??
- 'We encountered an unknown error while attempting to delete your account. Please try again later.',
+ _(
+ msg`We encountered an unknown error while attempting to delete your account. Please try again later.`,
+ ),
});
}
}
@@ -77,31 +84,39 @@ export const DeleteUserDialog = ({ className, user }: DeleteUserDialogProps) =>
<div>
<AlertTitle>Delete Account</AlertTitle>
<AlertDescription className="mr-2">
- Delete the users account and all its contents. This action is irreversible and will
- cancel their subscription, so proceed with caution.
+ <Trans>
+ Delete the users account and all its contents. This action is irreversible and will
+ cancel their subscription, so proceed with caution.
+ </Trans>
</AlertDescription>
</div>
<div className="flex-shrink-0">
<Dialog>
<DialogTrigger asChild>
- <Button variant="destructive">Delete Account</Button>
+ <Button variant="destructive">
+ <Trans>Delete Account</Trans>
+ </Button>
</DialogTrigger>
<DialogContent>
<DialogHeader className="space-y-4">
- <DialogTitle>Delete Account</DialogTitle>
+ <DialogTitle>
+ <Trans>Delete Account</Trans>
+ </DialogTitle>
<Alert variant="destructive">
<AlertDescription className="selection:bg-red-100">
- This action is not reversible. Please be certain.
+ <Trans>This action is not reversible. Please be certain.</Trans>
</AlertDescription>
</Alert>
</DialogHeader>
<div>
<DialogDescription>
- To confirm, please enter the accounts email address <br />({user.email}).
+ <Trans>
+ To confirm, please enter the accounts email address <br />({user.email}).
+ </Trans>
</DialogDescription>
<Input
@@ -119,7 +134,7 @@ export const DeleteUserDialog = ({ className, user }: DeleteUserDialogProps) =>
variant="destructive"
disabled={email !== user.email}
>
- {isDeletingUser ? 'Deleting account...' : 'Delete Account'}
+ <Trans>Delete account</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/admin/users/[id]/multiselect-role-combobox.tsx b/apps/web/src/app/(dashboard)/admin/users/[id]/multiselect-role-combobox.tsx
index 9a25af897..bf7f85d72 100644
--- a/apps/web/src/app/(dashboard)/admin/users/[id]/multiselect-role-combobox.tsx
+++ b/apps/web/src/app/(dashboard)/admin/users/[id]/multiselect-role-combobox.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
+import { Trans } from '@lingui/macro';
import { Check, ChevronsUpDown } from 'lucide-react';
import { Role } from '@documenso/prisma/client';
@@ -59,7 +60,9 @@ const MultiSelectRoleCombobox = ({ listValues, onChange }: ComboboxProps) => {
<PopoverContent className="w-[200px] p-0">
<Command>
<CommandInput placeholder={selectedValues.join(', ')} />
- <CommandEmpty>No value found.</CommandEmpty>
+ <CommandEmpty>
+ <Trans>No value found.</Trans>
+ </CommandEmpty>
<CommandGroup>
{allRoles.map((value: string, i: number) => (
<CommandItem key={i} onSelect={() => handleSelect(value)}>
diff --git a/apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx b/apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx
index b9068329a..0b67022c4 100644
--- a/apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -28,7 +30,9 @@ const ZUserFormSchema = ZAdminUpdateProfileMutationSchema.omit({ id: true });
type TUserFormSchema = z.infer<typeof ZUserFormSchema>;
export default function UserPage({ params }: { params: { id: number } }) {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const { data: user } = trpc.profile.getUser.useQuery(
@@ -65,14 +69,14 @@ export default function UserPage({ params }: { params: { id: number } }) {
router.refresh();
toast({
- title: 'Profile updated',
- description: 'Your profile has been updated.',
+ title: _(msg`Profile updated`),
+ description: _(msg`Your profile has been updated.`),
duration: 5000,
});
} catch (e) {
toast({
- title: 'Error',
- description: 'An error occurred while updating your profile.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while updating your profile.`),
variant: 'destructive',
});
}
@@ -80,7 +84,9 @@ export default function UserPage({ params }: { params: { id: number } }) {
return (
<div>
- <h2 className="text-4xl font-semibold">Manage {user?.name}'s profile</h2>
+ <h2 className="text-4xl font-semibold">
+ <Trans>Manage {user?.name}'s profile</Trans>
+ </h2>
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)}>
<fieldset className="mt-6 flex w-full flex-col gap-y-4">
@@ -89,7 +95,9 @@ export default function UserPage({ params }: { params: { id: number } }) {
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel className="text-muted-foreground">Name</FormLabel>
+ <FormLabel className="text-muted-foreground">
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" {...field} value={field.value ?? ''} />
</FormControl>
@@ -102,7 +110,9 @@ export default function UserPage({ params }: { params: { id: number } }) {
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel className="text-muted-foreground">Email</FormLabel>
+ <FormLabel className="text-muted-foreground">
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" {...field} />
</FormControl>
@@ -117,7 +127,9 @@ export default function UserPage({ params }: { params: { id: number } }) {
render={({ field: { onChange } }) => (
<FormItem>
<fieldset className="flex flex-col gap-2">
- <FormLabel className="text-muted-foreground">Roles</FormLabel>
+ <FormLabel className="text-muted-foreground">
+ <Trans>Roles</Trans>
+ </FormLabel>
<FormControl>
<MultiSelectRoleCombobox
listValues={roles}
@@ -132,7 +144,7 @@ export default function UserPage({ params }: { params: { id: number } }) {
<div className="mt-4">
<Button type="submit" loading={form.formState.isSubmitting}>
- Update user
+ <Trans>Update user</Trans>
</Button>
</div>
</fieldset>
diff --git a/apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx b/apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx
index 0cb523c3f..86d2c2b77 100644
--- a/apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx
+++ b/apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx
@@ -4,6 +4,8 @@ import { useEffect, useState, useTransition } from 'react';
import Link from 'next/link';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Edit, Loader } from 'lucide-react';
import { useDebouncedValue } from '@documenso/lib/client-only/hooks/use-debounced-value';
@@ -45,6 +47,8 @@ export const UsersDataTable = ({
page,
individualPriceIds,
}: UsersDataTableProps) => {
+ const { _ } = useLingui();
+
const [isPending, startTransition] = useTransition();
const updateSearchParams = useUpdateSearchParams();
const [searchString, setSearchString] = useState('');
@@ -79,7 +83,7 @@ export const UsersDataTable = ({
<Input
className="my-6 flex flex-row gap-4"
type="text"
- placeholder="Search by name or email"
+ placeholder={_(msg`Search by name or email`)}
value={searchString}
onChange={handleChange}
/>
@@ -91,22 +95,22 @@ export const UsersDataTable = ({
cell: ({ row }) => <div>{row.original.id}</div>,
},
{
- header: 'Name',
+ header: _(msg`Name`),
accessorKey: 'name',
cell: ({ row }) => <div>{row.original.name}</div>,
},
{
- header: 'Email',
+ header: _(msg`Email`),
accessorKey: 'email',
cell: ({ row }) => <div>{row.original.email}</div>,
},
{
- header: 'Roles',
+ header: _(msg`Roles`),
accessorKey: 'roles',
cell: ({ row }) => row.original.roles.join(', '),
},
{
- header: 'Subscription',
+ header: _(msg`Subscription`),
accessorKey: 'subscription',
cell: ({ row }) => {
const foundIndividualSubscription = (row.original.Subscription ?? []).find((sub) =>
@@ -117,7 +121,7 @@ export const UsersDataTable = ({
},
},
{
- header: 'Documents',
+ header: _(msg`Documents`),
accessorKey: 'documents',
cell: ({ row }) => {
return <div>{row.original.Document.length}</div>;
diff --git a/apps/web/src/app/(dashboard)/admin/users/page.tsx b/apps/web/src/app/(dashboard)/admin/users/page.tsx
index 78a192117..807fd45c9 100644
--- a/apps/web/src/app/(dashboard)/admin/users/page.tsx
+++ b/apps/web/src/app/(dashboard)/admin/users/page.tsx
@@ -1,4 +1,7 @@
+import { Trans } from '@lingui/macro';
+
import { getPricesByPlan } from '@documenso/ee/server-only/stripe/get-prices-by-plan';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { STRIPE_PLAN_TYPE } from '@documenso/lib/constants/billing';
import { UsersDataTable } from './data-table-users';
@@ -13,6 +16,8 @@ type AdminManageUsersProps = {
};
export default async function AdminManageUsers({ searchParams = {} }: AdminManageUsersProps) {
+ setupI18nSSR();
+
const page = Number(searchParams.page) || 1;
const perPage = Number(searchParams.perPage) || 10;
const searchString = searchParams.search || '';
@@ -26,7 +31,10 @@ export default async function AdminManageUsers({ searchParams = {} }: AdminManag
return (
<div>
- <h2 className="text-4xl font-semibold">Manage users</h2>
+ <h2 className="text-4xl font-semibold">
+ <Trans>Manage users</Trans>
+ </h2>
+
<UsersDataTable
users={users}
individualPriceIds={individualPriceIds}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx
index 334089a5f..ba674d034 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx
@@ -2,6 +2,8 @@
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CheckCircle, Download, EyeIcon, Pencil } from 'lucide-react';
import { useSession } from 'next-auth/react';
import { match } from 'ts-pattern';
@@ -26,6 +28,7 @@ export type DocumentPageViewButtonProps = {
export const DocumentPageViewButton = ({ document, team }: DocumentPageViewButtonProps) => {
const { data: session } = useSession();
const { toast } = useToast();
+ const { _ } = useLingui();
if (!session) {
return null;
@@ -57,8 +60,8 @@ export const DocumentPageViewButton = ({ document, team }: DocumentPageViewButto
await downloadPDF({ documentData, fileName: documentWithData.title });
} catch (err) {
toast({
- title: 'Something went wrong',
- description: 'An error occurred while downloading your document.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`An error occurred while downloading your document.`),
variant: 'destructive',
});
}
@@ -77,19 +80,19 @@ export const DocumentPageViewButton = ({ document, team }: DocumentPageViewButto
.with(RecipientRole.SIGNER, () => (
<>
<Pencil className="-ml-1 mr-2 h-4 w-4" />
- Sign
+ <Trans>Sign</Trans>
</>
))
.with(RecipientRole.APPROVER, () => (
<>
<CheckCircle className="-ml-1 mr-2 h-4 w-4" />
- Approve
+ <Trans>Approve</Trans>
</>
))
.otherwise(() => (
<>
<EyeIcon className="-ml-1 mr-2 h-4 w-4" />
- View
+ <Trans>View</Trans>
</>
))}
</Link>
@@ -97,13 +100,15 @@ export const DocumentPageViewButton = ({ document, team }: DocumentPageViewButto
))
.with({ isComplete: false }, () => (
<Button className="w-full" asChild>
- <Link href={`${documentsPath}/${document.id}/edit`}>Edit</Link>
+ <Link href={`${documentsPath}/${document.id}/edit`}>
+ <Trans>Edit</Trans>
+ </Link>
</Button>
))
.with({ isComplete: true }, () => (
<Button className="w-full" onClick={onDownloadClick}>
<Download className="-ml-1 mr-2 inline h-4 w-4" />
- Download
+ <Trans>Download</Trans>
</Button>
))
.otherwise(() => null);
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx
index 35dbaa8f1..ee86c17c5 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx
@@ -4,6 +4,8 @@ import { useState } from 'react';
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import {
Copy,
Download,
@@ -47,6 +49,7 @@ export type DocumentPageViewDropdownProps = {
export const DocumentPageViewDropdown = ({ document, team }: DocumentPageViewDropdownProps) => {
const { data: session } = useSession();
const { toast } = useToast();
+ const { _ } = useLingui();
const [isDeleteDialogOpen, setDeleteDialogOpen] = useState(false);
const [isDuplicateDialogOpen, setDuplicateDialogOpen] = useState(false);
@@ -82,8 +85,8 @@ export const DocumentPageViewDropdown = ({ document, team }: DocumentPageViewDro
await downloadPDF({ documentData, fileName: document.title });
} catch (err) {
toast({
- title: 'Something went wrong',
- description: 'An error occurred while downloading your document.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`An error occurred while downloading your document.`),
variant: 'destructive',
});
}
@@ -98,13 +101,15 @@ export const DocumentPageViewDropdown = ({ document, team }: DocumentPageViewDro
</DropdownMenuTrigger>
<DropdownMenuContent className="w-52" align="end" forceMount>
- <DropdownMenuLabel>Action</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Action</Trans>
+ </DropdownMenuLabel>
{(isOwner || isCurrentTeamDocument) && !isComplete && (
<DropdownMenuItem asChild>
<Link href={`${documentsPath}/${document.id}/edit`}>
<Edit className="mr-2 h-4 w-4" />
- Edit
+ <Trans>Edit</Trans>
</Link>
</DropdownMenuItem>
)}
@@ -112,20 +117,20 @@ export const DocumentPageViewDropdown = ({ document, team }: DocumentPageViewDro
{isComplete && (
<DropdownMenuItem onClick={onDownloadClick}>
<Download className="mr-2 h-4 w-4" />
- Download
+ <Trans>Download</Trans>
</DropdownMenuItem>
)}
<DropdownMenuItem asChild>
<Link href={`${documentsPath}/${document.id}/logs`}>
<ScrollTextIcon className="mr-2 h-4 w-4" />
- Audit Log
+ <Trans>Audit Log</Trans>
</Link>
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setDuplicateDialogOpen(true)}>
<Copy className="mr-2 h-4 w-4" />
- Duplicate
+ <Trans>Duplicate</Trans>
</DropdownMenuItem>
<DropdownMenuItem
@@ -133,10 +138,12 @@ export const DocumentPageViewDropdown = ({ document, team }: DocumentPageViewDro
disabled={Boolean(!canManageDocument && team?.teamEmail) || isDeleted}
>
<Trash2 className="mr-2 h-4 w-4" />
- Delete
+ <Trans>Delete</Trans>
</DropdownMenuItem>
- <DropdownMenuLabel>Share</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Share</Trans>
+ </DropdownMenuLabel>
<ResendDocumentActionItem
document={document}
@@ -151,7 +158,7 @@ export const DocumentPageViewDropdown = ({ document, team }: DocumentPageViewDro
<DropdownMenuItem disabled={disabled || isDraft} onSelect={(e) => e.preventDefault()}>
<div className="flex items-center">
{loading ? <Loader className="mr-2 h-4 w-4" /> : <Share className="mr-2 h-4 w-4" />}
- Share Signing Card
+ <Trans>Share Signing Card</Trans>
</div>
</DropdownMenuItem>
)}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx
index 24a85bacc..8d3b9f861 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx
@@ -2,6 +2,8 @@
import { useMemo } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DateTime } from 'luxon';
import { useIsMounted } from '@documenso/lib/client-only/hooks/use-is-mounted';
@@ -23,6 +25,7 @@ export const DocumentPageViewInformation = ({
const isMounted = useIsMounted();
const { locale } = useLocale();
+ const { _ } = useLingui();
const documentInformation = useMemo(() => {
let createdValue = DateTime.fromJSDate(document.createdAt).toFormat('MMMM d, yyyy');
@@ -38,31 +41,34 @@ export const DocumentPageViewInformation = ({
return [
{
- description: 'Uploaded by',
- value: userId === document.userId ? 'You' : document.User.name ?? document.User.email,
+ description: msg`Uploaded by`,
+ value: userId === document.userId ? _(msg`You`) : document.User.name ?? document.User.email,
},
{
- description: 'Created',
+ description: msg`Created`,
value: createdValue,
},
{
- description: 'Last modified',
+ description: msg`Last modified`,
value: lastModifiedValue,
},
];
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [isMounted, document, locale, userId]);
return (
<section className="dark:bg-background text-foreground border-border bg-widget flex flex-col rounded-xl border">
- <h1 className="px-4 py-3 font-medium">Information</h1>
+ <h1 className="px-4 py-3 font-medium">
+ <Trans>Information</Trans>
+ </h1>
<ul className="divide-y border-t">
- {documentInformation.map((item) => (
+ {documentInformation.map((item, i) => (
<li
- key={item.description}
+ key={i}
className="flex items-center justify-between px-4 py-2.5 text-sm last:border-b"
>
- <span className="text-muted-foreground">{item.description}</span>
+ <span className="text-muted-foreground">{_(item.description)}</span>
<span>{item.value}</span>
</li>
))}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx
index 048f50c37..f1f6838aa 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx
@@ -2,6 +2,8 @@
import { useMemo } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CheckCheckIcon, CheckIcon, Loader, MailOpen } from 'lucide-react';
import { DateTime } from 'luxon';
import { match } from 'ts-pattern';
@@ -21,6 +23,8 @@ export const DocumentPageViewRecentActivity = ({
documentId,
userId,
}: DocumentPageViewRecentActivityProps) => {
+ const { _ } = useLingui();
+
const {
data,
isLoading,
@@ -49,7 +53,9 @@ export const DocumentPageViewRecentActivity = ({
return (
<section className="dark:bg-background border-border bg-widget flex flex-col rounded-xl border">
<div className="flex flex-row items-center justify-between border-b px-4 py-3">
- <h1 className="text-foreground font-medium">Recent activity</h1>
+ <h1 className="text-foreground font-medium">
+ <Trans>Recent activity</Trans>
+ </h1>
{/* Can add dropdown menu here for additional options. */}
</div>
@@ -62,12 +68,14 @@ export const DocumentPageViewRecentActivity = ({
{isLoadingError && (
<div className="flex h-full flex-col items-center justify-center py-16">
- <p className="text-foreground/80 text-sm">Unable to load document history</p>
+ <p className="text-foreground/80 text-sm">
+ <Trans>Unable to load document history</Trans>
+ </p>
<button
onClick={async () => refetch()}
className="text-foreground/70 hover:text-muted-foreground mt-2 text-sm"
>
- Click here to retry
+ <Trans>Click here to retry</Trans>
</button>
</div>
)}
@@ -89,14 +97,16 @@ export const DocumentPageViewRecentActivity = ({
onClick={async () => fetchNextPage()}
className="text-foreground/70 hover:text-muted-foreground text-xs"
>
- {isFetchingNextPage ? 'Loading...' : 'Load older activity'}
+ {isFetchingNextPage ? _(msg`Loading...`) : _(msg`Load older activity`)}
</button>
</li>
)}
{documentAuditLogs.length === 0 && (
<div className="flex items-center justify-center py-4">
- <p className="text-muted-foreground/70 text-sm">No recent activity</p>
+ <p className="text-muted-foreground/70 text-sm">
+ <Trans>No recent activity</Trans>
+ </p>
</div>
)}
@@ -133,6 +143,7 @@ export const DocumentPageViewRecentActivity = ({
))}
</div>
+ {/* Todo: Translations. */}
<p
className="text-muted-foreground dark:text-muted-foreground/70 flex-auto truncate py-0.5 text-xs leading-5"
title={`${formatDocumentAuditLogAction(auditLog, userId).prefix} ${
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx
index 37d2cd35e..0342eb476 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx
@@ -1,5 +1,7 @@
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CheckIcon, Clock, MailIcon, MailOpenIcon, PenIcon, PlusIcon } from 'lucide-react';
import { match } from 'ts-pattern';
@@ -21,17 +23,21 @@ export const DocumentPageViewRecipients = ({
document,
documentRootPath,
}: DocumentPageViewRecipientsProps) => {
+ const { _ } = useLingui();
+
const recipients = document.Recipient;
return (
<section className="dark:bg-background border-border bg-widget flex flex-col rounded-xl border">
<div className="flex flex-row items-center justify-between px-4 py-3">
- <h1 className="text-foreground font-medium">Recipients</h1>
+ <h1 className="text-foreground font-medium">
+ <Trans>Recipients</Trans>
+ </h1>
{document.status !== DocumentStatus.COMPLETED && (
<Link
href={`${documentRootPath}/${document.id}/edit?step=signers`}
- title="Modify recipients"
+ title={_(msg`Modify recipients`)}
className="flex flex-row items-center justify-between"
>
{recipients.length === 0 ? (
@@ -45,7 +51,9 @@ export const DocumentPageViewRecipients = ({
<ul className="text-muted-foreground divide-y border-t">
{recipients.length === 0 && (
- <li className="flex flex-col items-center justify-center py-6 text-sm">No recipients</li>
+ <li className="flex flex-col items-center justify-center py-6 text-sm">
+ <Trans>No recipients</Trans>
+ </li>
)}
{recipients.map((recipient) => (
@@ -55,7 +63,7 @@ export const DocumentPageViewRecipients = ({
primaryText={<p className="text-muted-foreground text-sm">{recipient.email}</p>}
secondaryText={
<p className="text-muted-foreground/70 text-xs">
- {RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName}
+ {_(RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName)}
</p>
}
/>
@@ -67,19 +75,19 @@ export const DocumentPageViewRecipients = ({
.with(RecipientRole.APPROVER, () => (
<>
<CheckIcon className="mr-1 h-3 w-3" />
- Approved
+ <Trans>Approved</Trans>
</>
))
.with(RecipientRole.CC, () =>
document.status === DocumentStatus.COMPLETED ? (
<>
<MailIcon className="mr-1 h-3 w-3" />
- Sent
+ <Trans>Sent</Trans>
</>
) : (
<>
<CheckIcon className="mr-1 h-3 w-3" />
- Ready
+ <Trans>Ready</Trans>
</>
),
)
@@ -87,13 +95,13 @@ export const DocumentPageViewRecipients = ({
.with(RecipientRole.SIGNER, () => (
<>
<SignatureIcon className="mr-1 h-3 w-3" />
- Signed
+ <Trans>Signed</Trans>
</>
))
.with(RecipientRole.VIEWER, () => (
<>
<MailOpenIcon className="mr-1 h-3 w-3" />
- Viewed
+ <Trans>Viewed</Trans>
</>
))
.exhaustive()}
@@ -104,7 +112,7 @@ export const DocumentPageViewRecipients = ({
recipient.signingStatus === SigningStatus.NOT_SIGNED && (
<Badge variant="secondary">
<Clock className="mr-1 h-3 w-3" />
- Pending
+ <Trans>Pending</Trans>
</Badge>
)}
</li>
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx
index 049b0cfdf..b5a360e33 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx
@@ -1,6 +1,8 @@
import Link from 'next/link';
import { redirect } from 'next/navigation';
+import { Plural, Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ChevronLeft, Clock9, Users2 } from 'lucide-react';
import { match } from 'ts-pattern';
@@ -42,6 +44,7 @@ export type DocumentPageViewProps = {
export const DocumentPageView = async ({ params, team }: DocumentPageViewProps) => {
const { id } = params;
+ const { _ } = useLingui();
const documentId = Number(id);
@@ -107,7 +110,7 @@ export const DocumentPageView = async ({ params, team }: DocumentPageViewProps)
<div className="mx-auto -mt-4 w-full max-w-screen-xl px-4 md:px-8">
<Link href={documentRootPath} className="flex items-center text-[#7AC455] hover:opacity-80">
<ChevronLeft className="mr-2 inline-block h-5 w-5" />
- Documents
+ <Trans>Documents</Trans>
</Link>
<div className="flex flex-row justify-between truncate">
@@ -132,12 +135,18 @@ export const DocumentPageView = async ({ params, team }: DocumentPageViewProps)
documentStatus={document.status}
position="bottom"
>
- <span>{recipients.length} Recipient(s)</span>
+ <span>
+ <Trans>{recipients.length} Recipient(s)</Trans>
+ </span>
</StackAvatarsWithTooltip>
</div>
)}
- {document.deletedAt && <Badge variant="destructive">Document deleted</Badge>}
+ {document.deletedAt && (
+ <Badge variant="destructive">
+ <Trans>Document deleted</Trans>
+ </Badge>
+ )}
</div>
</div>
@@ -146,7 +155,7 @@ export const DocumentPageView = async ({ params, team }: DocumentPageViewProps)
<DocumentHistorySheet documentId={document.id} userId={user.id}>
<Button variant="outline">
<Clock9 className="mr-1.5 h-4 w-4" />
- Document history
+ <Trans>Document history</Trans>
</Button>
</DocumentHistorySheet>
</div>
@@ -172,7 +181,7 @@ export const DocumentPageView = async ({ params, team }: DocumentPageViewProps)
<section className="border-border bg-widget flex flex-col rounded-xl border pb-4 pt-6">
<div className="flex flex-row items-center justify-between px-4">
<h3 className="text-foreground text-2xl font-semibold">
- Document {FRIENDLY_STATUS_MAP[document.status].label.toLowerCase()}
+ {_(FRIENDLY_STATUS_MAP[document.status].labelExtended)}
</h3>
<DocumentPageViewDropdown document={documentWithRecipients} team={team} />
@@ -180,22 +189,24 @@ export const DocumentPageView = async ({ params, team }: DocumentPageViewProps)
<p className="text-muted-foreground mt-2 px-4 text-sm ">
{match(document.status)
- .with(
- DocumentStatus.COMPLETED,
- () => 'This document has been signed by all recipients',
- )
- .with(
- DocumentStatus.DRAFT,
- () => 'This document is currently a draft and has not been sent',
- )
+ .with(DocumentStatus.COMPLETED, () => (
+ <Trans>This document has been signed by all recipients</Trans>
+ ))
+ .with(DocumentStatus.DRAFT, () => (
+ <Trans>This document is currently a draft and has not been sent</Trans>
+ ))
.with(DocumentStatus.PENDING, () => {
const pendingRecipients = recipients.filter(
(recipient) => recipient.signingStatus === 'NOT_SIGNED',
);
- return `Waiting on ${pendingRecipients.length} recipient${
- pendingRecipients.length > 1 ? 's' : ''
- }`;
+ return (
+ <Plural
+ value={pendingRecipients.length}
+ one="Waiting on 1 recipient"
+ other="Waiting on # recipients"
+ />
+ );
})
.exhaustive()}
</p>
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx b/apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx
index cd4b133d4..3976ae4c1 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx
@@ -4,6 +4,9 @@ import { useEffect, useState } from 'react';
import { useRouter, useSearchParams } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import {
DO_NOT_INVALIDATE_QUERY_ON_MUTATION,
SKIP_QUERY_BATCH_META,
@@ -45,6 +48,7 @@ export const EditDocumentForm = ({
isDocumentEnterprise,
}: EditDocumentFormProps) => {
const { toast } = useToast();
+ const { _ } = useLingui();
const router = useRouter();
const searchParams = useSearchParams();
@@ -125,23 +129,23 @@ export const EditDocumentForm = ({
const documentFlow: Record<EditDocumentStep, DocumentFlowStep> = {
settings: {
- title: 'General',
- description: 'Configure general settings for the document.',
+ title: msg`General`,
+ description: msg`Configure general settings for the document.`,
stepIndex: 1,
},
signers: {
- title: 'Add Signers',
- description: 'Add the people who will sign the document.',
+ title: msg`Add Signers`,
+ description: msg`Add the people who will sign the document.`,
stepIndex: 2,
},
fields: {
- title: 'Add Fields',
- description: 'Add all relevant fields for each recipient.',
+ title: msg`Add Fields`,
+ description: msg`Add all relevant fields for each recipient.`,
stepIndex: 3,
},
subject: {
- title: 'Add Subject',
- description: 'Add the subject and message you wish to send to signers.',
+ title: msg`Add Subject`,
+ description: msg`Add the subject and message you wish to send to signers.`,
stepIndex: 4,
},
};
@@ -191,8 +195,8 @@ export const EditDocumentForm = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while updating the document settings.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while updating the document settings.`),
variant: 'destructive',
});
}
@@ -218,8 +222,8 @@ export const EditDocumentForm = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while adding signers.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while adding signers.`),
variant: 'destructive',
});
}
@@ -248,8 +252,8 @@ export const EditDocumentForm = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while adding the fields.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while adding the fields.`),
variant: 'destructive',
});
}
@@ -269,8 +273,8 @@ export const EditDocumentForm = ({
});
toast({
- title: 'Document sent',
- description: 'Your document has been sent successfully.',
+ title: _(msg`Document sent`),
+ description: _(msg`Your document has been sent successfully.`),
duration: 5000,
});
@@ -279,8 +283,8 @@ export const EditDocumentForm = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while sending the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while sending the document.`),
variant: 'destructive',
});
}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx b/apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx
index f1f1045f6..3816d4395 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx
@@ -1,6 +1,7 @@
import Link from 'next/link';
import { redirect } from 'next/navigation';
+import { Plural, Trans } from '@lingui/macro';
import { ChevronLeft, Users2 } from 'lucide-react';
import { isUserEnterprise } from '@documenso/ee/server-only/util/is-document-enterprise';
@@ -78,7 +79,7 @@ export const DocumentEditPageView = async ({ params, team }: DocumentEditPageVie
<div className="mx-auto -mt-4 w-full max-w-screen-xl px-4 md:px-8">
<Link href={documentRootPath} className="flex items-center text-[#7AC455] hover:opacity-80">
<ChevronLeft className="mr-2 inline-block h-5 w-5" />
- Documents
+ <Trans>Documents</Trans>
</Link>
<h1 className="mt-4 truncate text-2xl font-semibold md:text-3xl" title={document.title}>
@@ -97,7 +98,9 @@ export const DocumentEditPageView = async ({ params, team }: DocumentEditPageVie
documentStatus={document.status}
position="bottom"
>
- <span>{recipients.length} Recipient(s)</span>
+ <span>
+ <Plural one="1 Recipient" other="# Recipients" value={recipients.length} />
+ </span>
</StackAvatarsWithTooltip>
</div>
)}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/edit/page.tsx b/apps/web/src/app/(dashboard)/documents/[id]/edit/page.tsx
index 6c613a287..b91bf4e9a 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/edit/page.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/edit/page.tsx
@@ -1,3 +1,5 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { DocumentEditPageView } from './document-edit-page-view';
export type DocumentPageProps = {
@@ -7,5 +9,7 @@ export type DocumentPageProps = {
};
export default function DocumentEditPage({ params }: DocumentPageProps) {
+ setupI18nSSR();
+
return <DocumentEditPageView params={params} />;
}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/loading.tsx b/apps/web/src/app/(dashboard)/documents/[id]/loading.tsx
index 46ff543db..65d508482 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/loading.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/loading.tsx
@@ -1,19 +1,23 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { ChevronLeft, Loader } from 'lucide-react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { Skeleton } from '@documenso/ui/primitives/skeleton';
export default function Loading() {
+ setupI18nSSR();
+
return (
<div className="mx-auto -mt-4 flex w-full max-w-screen-xl flex-col px-4 md:px-8">
<Link href="/documents" className="flex grow-0 items-center text-[#7AC455] hover:opacity-80">
<ChevronLeft className="mr-2 inline-block h-5 w-5" />
- Documents
+ <Trans>Documents</Trans>
</Link>
<h1 className="mt-4 grow-0 truncate text-2xl font-semibold md:text-3xl">
- Loading Document...
+ <Trans>Loading Document...</Trans>
</h1>
<div className="flex h-10 items-center">
@@ -25,7 +29,9 @@ export default function Loading() {
<div className="flex h-[80vh] max-h-[60rem] flex-col items-center justify-center">
<Loader className="text-documenso h-12 w-12 animate-spin" />
- <p className="text-muted-foreground mt-4">Loading document...</p>
+ <p className="text-muted-foreground mt-4">
+ <Trans>Loading document...</Trans>
+ </p>
</div>
</div>
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx b/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx
index bdfdc8658..742ad95ff 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx
@@ -2,6 +2,8 @@
import { useSearchParams } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DateTime } from 'luxon';
import type { DateTimeFormatOptions } from 'luxon';
import { UAParser } from 'ua-parser-js';
@@ -27,6 +29,8 @@ const dateFormat: DateTimeFormatOptions = {
};
export const DocumentLogsDataTable = ({ documentId }: DocumentLogsDataTableProps) => {
+ const { _ } = useLingui();
+
const parser = new UAParser();
const searchParams = useSearchParams();
@@ -70,12 +74,12 @@ export const DocumentLogsDataTable = ({ documentId }: DocumentLogsDataTableProps
<DataTable
columns={[
{
- header: 'Time',
+ header: _(msg`Time`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate format={dateFormat} date={row.original.createdAt} />,
},
{
- header: 'User',
+ header: _(msg`User`),
accessorKey: 'name',
cell: ({ row }) =>
row.original.name || row.original.email ? (
@@ -97,7 +101,7 @@ export const DocumentLogsDataTable = ({ documentId }: DocumentLogsDataTableProps
),
},
{
- header: 'Action',
+ header: _(msg`Action`),
accessorKey: 'type',
cell: ({ row }) => (
<span>
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx b/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx
index 2069247fb..c9403f3f5 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx
@@ -1,6 +1,9 @@
import Link from 'next/link';
import { redirect } from 'next/navigation';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ChevronLeft } from 'lucide-react';
import { DateTime } from 'luxon';
@@ -29,6 +32,8 @@ export type DocumentLogsPageViewProps = {
};
export const DocumentLogsPageView = async ({ params, team }: DocumentLogsPageViewProps) => {
+ const { _ } = useLingui();
+
const locale = getLocale();
const { id } = params;
@@ -60,39 +65,39 @@ export const DocumentLogsPageView = async ({ params, team }: DocumentLogsPageVie
redirect(documentRootPath);
}
- const documentInformation: { description: string; value: string }[] = [
+ const documentInformation: { description: MessageDescriptor; value: string }[] = [
{
- description: 'Document title',
+ description: msg`Document title`,
value: document.title,
},
{
- description: 'Document ID',
+ description: msg`Document ID`,
value: document.id.toString(),
},
{
- description: 'Document status',
- value: FRIENDLY_STATUS_MAP[document.status].label,
+ description: msg`Document status`,
+ value: _(FRIENDLY_STATUS_MAP[document.status].label),
},
{
- description: 'Created by',
+ description: msg`Created by`,
value: document.User.name
? `${document.User.name} (${document.User.email})`
: document.User.email,
},
{
- description: 'Date created',
+ description: msg`Date created`,
value: DateTime.fromJSDate(document.createdAt)
.setLocale(locale)
.toLocaleString(DateTime.DATETIME_MED_WITH_SECONDS),
},
{
- description: 'Last updated',
+ description: msg`Last updated`,
value: DateTime.fromJSDate(document.updatedAt)
.setLocale(locale)
.toLocaleString(DateTime.DATETIME_MED_WITH_SECONDS),
},
{
- description: 'Time zone',
+ description: msg`Time zone`,
value: document.documentMeta?.timezone ?? 'N/A',
},
];
@@ -114,7 +119,7 @@ export const DocumentLogsPageView = async ({ params, team }: DocumentLogsPageVie
className="flex items-center text-[#7AC455] hover:opacity-80"
>
<ChevronLeft className="mr-2 inline-block h-5 w-5" />
- Document
+ <Trans>Document</Trans>
</Link>
<div className="flex flex-col justify-between truncate sm:flex-row">
@@ -147,7 +152,7 @@ export const DocumentLogsPageView = async ({ params, team }: DocumentLogsPageVie
<Card className="grid grid-cols-1 gap-4 p-4 sm:grid-cols-2" degrees={45} gradient>
{documentInformation.map((info, i) => (
<div className="text-foreground text-sm" key={i}>
- <h3 className="font-semibold">{info.description}</h3>
+ <h3 className="font-semibold">{_(info.description)}</h3>
<p className="text-muted-foreground">{info.value}</p>
</div>
))}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx b/apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx
index 8b662f5ce..70b81238c 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx
@@ -1,5 +1,7 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DownloadIcon } from 'lucide-react';
import { trpc } from '@documenso/trpc/react';
@@ -19,6 +21,7 @@ export const DownloadAuditLogButton = ({
documentId,
}: DownloadAuditLogButtonProps) => {
const { toast } = useToast();
+ const { _ } = useLingui();
const { mutateAsync: downloadAuditLogs, isLoading } =
trpc.document.downloadAuditLogs.useMutation();
@@ -59,8 +62,10 @@ export const DownloadAuditLogButton = ({
console.error(error);
toast({
- title: 'Something went wrong',
- description: 'Sorry, we were unable to download the audit logs. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`Sorry, we were unable to download the audit logs. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -73,7 +78,7 @@ export const DownloadAuditLogButton = ({
onClick={() => void onDownloadAuditLogsClick()}
>
{!isLoading && <DownloadIcon className="mr-1.5 h-4 w-4" />}
- Download Audit Logs
+ <Trans>Download Audit Logs</Trans>
</Button>
);
};
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx b/apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx
index 1f2028358..aed252670 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx
@@ -1,5 +1,7 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DownloadIcon } from 'lucide-react';
import { DocumentStatus } from '@documenso/prisma/client';
@@ -20,6 +22,7 @@ export const DownloadCertificateButton = ({
documentStatus,
}: DownloadCertificateButtonProps) => {
const { toast } = useToast();
+ const { _ } = useLingui();
const { mutateAsync: downloadCertificate, isLoading } =
trpc.document.downloadCertificate.useMutation();
@@ -60,8 +63,10 @@ export const DownloadCertificateButton = ({
console.error(error);
toast({
- title: 'Something went wrong',
- description: 'Sorry, we were unable to download the certificate. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`Sorry, we were unable to download the certificate. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -76,7 +81,7 @@ export const DownloadCertificateButton = ({
onClick={() => void onDownloadCertificatesClick()}
>
{!isLoading && <DownloadIcon className="mr-1.5 h-4 w-4" />}
- Download Certificate
+ <Trans>Download Certificate</Trans>
</Button>
);
};
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/logs/page.tsx b/apps/web/src/app/(dashboard)/documents/[id]/logs/page.tsx
index e21f8459b..7c91ac8fc 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/logs/page.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/logs/page.tsx
@@ -1,3 +1,5 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { DocumentLogsPageView } from './document-logs-page-view';
export type DocumentsLogsPageProps = {
@@ -7,5 +9,7 @@ export type DocumentsLogsPageProps = {
};
export default function DocumentsLogsPage({ params }: DocumentsLogsPageProps) {
+ setupI18nSSR();
+
return <DocumentLogsPageView params={params} />;
}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/page.tsx b/apps/web/src/app/(dashboard)/documents/[id]/page.tsx
index 5ad224737..101b707fb 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/page.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/page.tsx
@@ -1,3 +1,5 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { DocumentPageView } from './document-page-view';
export type DocumentPageProps = {
@@ -7,5 +9,7 @@ export type DocumentPageProps = {
};
export default function DocumentPage({ params }: DocumentPageProps) {
+ setupI18nSSR();
+
return <DocumentPageView params={params} />;
}
diff --git a/apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx b/apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx
index 1b27f643d..b6938f154 100644
--- a/apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx
+++ b/apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx
@@ -1,17 +1,22 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { ChevronLeft } from 'lucide-react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
export default function DocumentSentPage() {
+ setupI18nSSR();
+
return (
<div className="mx-auto -mt-4 flex w-full max-w-screen-xl flex-col px-4 md:px-8">
<Link href="/documents" className="flex grow-0 items-center text-[#7AC455] hover:opacity-80">
<ChevronLeft className="mr-2 inline-block h-5 w-5" />
- Documents
+ <Trans>Documents</Trans>
</Link>
<h1 className="mt-4 grow-0 truncate text-2xl font-semibold md:text-3xl">
- Loading Document...
+ <Trans>Loading Document...</Trans>
</h1>
</div>
);
diff --git a/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx b/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx
index f84ca6997..54bc20b42 100644
--- a/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx
+++ b/apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx
@@ -3,6 +3,8 @@
import { useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { History } from 'lucide-react';
import { useSession } from 'next-auth/react';
import { useForm } from 'react-hook-form';
@@ -62,6 +64,7 @@ export const ResendDocumentActionItem = ({
}: ResendDocumentActionItemProps) => {
const { data: session } = useSession();
const { toast } = useToast();
+ const { _ } = useLingui();
const [isOpen, setIsOpen] = useState(false);
const isOwner = document.userId === session?.user?.id;
@@ -91,16 +94,16 @@ export const ResendDocumentActionItem = ({
await resendDocument({ documentId: document.id, recipients, teamId: team?.id });
toast({
- title: 'Document re-sent',
- description: 'Your document has been re-sent successfully.',
+ title: _(msg`Document re-sent`),
+ description: _(msg`Your document has been re-sent successfully.`),
duration: 5000,
});
setIsOpen(false);
} catch (err) {
toast({
- title: 'Something went wrong',
- description: 'This document could not be re-sent at this time. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`This document could not be re-sent at this time. Please try again.`),
variant: 'destructive',
duration: 7500,
});
@@ -112,14 +115,16 @@ export const ResendDocumentActionItem = ({
<DialogTrigger asChild>
<DropdownMenuItem disabled={isDisabled} onSelect={(e) => e.preventDefault()}>
<History className="mr-2 h-4 w-4" />
- Resend
+ <Trans>Resend</Trans>
</DropdownMenuItem>
</DialogTrigger>
<DialogContent className="sm:max-w-sm" hideClose>
<DialogHeader>
<DialogTitle asChild>
- <h1 className="text-center text-xl">Who do you want to remind?</h1>
+ <h1 className="text-center text-xl">
+ <Trans>Who do you want to remind?</Trans>
+ </h1>
</DialogTitle>
</DialogHeader>
@@ -178,12 +183,12 @@ export const ResendDocumentActionItem = ({
variant="secondary"
disabled={isSubmitting}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
</DialogClose>
<Button className="flex-1" loading={isSubmitting} type="submit" form={FORM_ID}>
- Send reminder
+ <Trans>Send reminder</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx b/apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx
index 455f50be5..586b9a9c4 100644
--- a/apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx
+++ b/apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx
@@ -2,6 +2,8 @@
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CheckCircle, Download, Edit, EyeIcon, Pencil } from 'lucide-react';
import { useSession } from 'next-auth/react';
import { match } from 'ts-pattern';
@@ -27,6 +29,7 @@ export type DataTableActionButtonProps = {
export const DataTableActionButton = ({ row, team }: DataTableActionButtonProps) => {
const { data: session } = useSession();
const { toast } = useToast();
+ const { _ } = useLingui();
if (!session) {
return null;
@@ -69,8 +72,8 @@ export const DataTableActionButton = ({ row, team }: DataTableActionButtonProps)
await downloadPDF({ documentData, fileName: row.title });
} catch (err) {
toast({
- title: 'Something went wrong',
- description: 'An error occurred while downloading your document.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`An error occurred while downloading your document.`),
variant: 'destructive',
});
}
@@ -96,7 +99,7 @@ export const DataTableActionButton = ({ row, team }: DataTableActionButtonProps)
<Button className="w-32" asChild>
<Link href={`${documentsPath}/${row.id}/edit`}>
<Edit className="-ml-1 mr-2 h-4 w-4" />
- Edit
+ <Trans>Edit</Trans>
</Link>
</Button>
),
@@ -108,19 +111,19 @@ export const DataTableActionButton = ({ row, team }: DataTableActionButtonProps)
.with(RecipientRole.SIGNER, () => (
<>
<Pencil className="-ml-1 mr-2 h-4 w-4" />
- Sign
+ <Trans>Sign</Trans>
</>
))
.with(RecipientRole.APPROVER, () => (
<>
<CheckCircle className="-ml-1 mr-2 h-4 w-4" />
- Approve
+ <Trans>Approve</Trans>
</>
))
.otherwise(() => (
<>
<EyeIcon className="-ml-1 mr-2 h-4 w-4" />
- View
+ <Trans>View</Trans>
</>
))}
</Link>
@@ -129,13 +132,13 @@ export const DataTableActionButton = ({ row, team }: DataTableActionButtonProps)
.with({ isPending: true, isSigned: true }, () => (
<Button className="w-32" disabled={true}>
<EyeIcon className="-ml-1 mr-2 h-4 w-4" />
- View
+ <Trans>View</Trans>
</Button>
))
.with({ isComplete: true }, () => (
<Button className="w-32" onClick={onDownloadClick}>
<Download className="-ml-1 mr-2 inline h-4 w-4" />
- Download
+ <Trans>Download</Trans>
</Button>
))
.otherwise(() => <div></div>);
diff --git a/apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx b/apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx
index 2304163b4..a4595f2fd 100644
--- a/apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx
+++ b/apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx
@@ -4,6 +4,8 @@ import { useState } from 'react';
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import {
CheckCircle,
Copy,
@@ -52,6 +54,7 @@ export type DataTableActionDropdownProps = {
export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownProps) => {
const { data: session } = useSession();
const { toast } = useToast();
+ const { _ } = useLingui();
const [isDeleteDialogOpen, setDeleteDialogOpen] = useState(false);
const [isDuplicateDialogOpen, setDuplicateDialogOpen] = useState(false);
@@ -98,8 +101,8 @@ export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownPr
await downloadPDF({ documentData, fileName: row.title });
} catch (err) {
toast({
- title: 'Something went wrong',
- description: 'An error occurred while downloading your document.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`An error occurred while downloading your document.`),
variant: 'destructive',
});
}
@@ -114,7 +117,9 @@ export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownPr
</DropdownMenuTrigger>
<DropdownMenuContent className="w-52" align="start" forceMount>
- <DropdownMenuLabel>Action</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Action</Trans>
+ </DropdownMenuLabel>
{!isDraft && recipient && recipient?.role !== RecipientRole.CC && (
<DropdownMenuItem disabled={!recipient || isComplete} asChild>
@@ -122,21 +127,21 @@ export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownPr
{recipient?.role === RecipientRole.VIEWER && (
<>
<EyeIcon className="mr-2 h-4 w-4" />
- View
+ <Trans>View</Trans>
</>
)}
{recipient?.role === RecipientRole.SIGNER && (
<>
<Pencil className="mr-2 h-4 w-4" />
- Sign
+ <Trans>Sign</Trans>
</>
)}
{recipient?.role === RecipientRole.APPROVER && (
<>
<CheckCircle className="mr-2 h-4 w-4" />
- Approve
+ <Trans>Approve</Trans>
</>
)}
</Link>
@@ -146,25 +151,25 @@ export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownPr
<DropdownMenuItem disabled={!canManageDocument || isComplete} asChild>
<Link href={`${documentsPath}/${row.id}/edit`}>
<Edit className="mr-2 h-4 w-4" />
- Edit
+ <Trans>Edit</Trans>
</Link>
</DropdownMenuItem>
<DropdownMenuItem disabled={!isComplete} onClick={onDownloadClick}>
<Download className="mr-2 h-4 w-4" />
- Download
+ <Trans>Download</Trans>
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setDuplicateDialogOpen(true)}>
<Copy className="mr-2 h-4 w-4" />
- Duplicate
+ <Trans>Duplicate</Trans>
</DropdownMenuItem>
{/* We don't want to allow teams moving documents across at the moment. */}
{!team && (
<DropdownMenuItem onClick={() => setMoveDialogOpen(true)}>
<MoveRight className="mr-2 h-4 w-4" />
- Move to Team
+ <Trans>Move to Team</Trans>
</DropdownMenuItem>
)}
@@ -179,10 +184,12 @@ export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownPr
disabled={Boolean(!canManageDocument && team?.teamEmail)}
>
<Trash2 className="mr-2 h-4 w-4" />
- {canManageDocument ? 'Delete' : 'Hide'}
+ {canManageDocument ? _(msg`Delete`) : _(msg`Hide`)}
</DropdownMenuItem>
- <DropdownMenuLabel>Share</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Share</Trans>
+ </DropdownMenuLabel>
<ResendDocumentActionItem document={row} recipients={nonSignedRecipients} team={team} />
@@ -193,7 +200,7 @@ export const DataTableActionDropdown = ({ row, team }: DataTableActionDropdownPr
<DropdownMenuItem disabled={disabled || isDraft} onSelect={(e) => e.preventDefault()}>
<div className="flex items-center">
{loading ? <Loader className="mr-2 h-4 w-4" /> : <Share className="mr-2 h-4 w-4" />}
- Share Signing Card
+ <Trans>Share Signing Card</Trans>
</div>
</DropdownMenuItem>
)}
diff --git a/apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx b/apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx
index 6c66153a7..b580a7ede 100644
--- a/apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx
+++ b/apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx
@@ -2,6 +2,9 @@
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { useIsMounted } from '@documenso/lib/client-only/hooks/use-is-mounted';
import { parseToIntegerArray } from '@documenso/lib/utils/params';
import { trpc } from '@documenso/trpc/react';
@@ -12,6 +15,8 @@ type DataTableSenderFilterProps = {
};
export const DataTableSenderFilter = ({ teamId }: DataTableSenderFilterProps) => {
+ const { _ } = useLingui();
+
const pathname = usePathname();
const searchParams = useSearchParams();
const router = useRouter();
@@ -49,11 +54,13 @@ export const DataTableSenderFilter = ({ teamId }: DataTableSenderFilterProps) =>
<MultiSelectCombobox
emptySelectionPlaceholder={
<p className="text-muted-foreground font-normal">
- <span className="text-muted-foreground/70">Sender:</span> All
+ <Trans>
+ <span className="text-muted-foreground/70">Sender:</span> All
+ </Trans>
</p>
}
enableClearAllButton={true}
- inputPlaceholder="Search"
+ inputPlaceholder={msg`Search`}
loading={!isMounted || isInitialLoading}
options={comboBoxOptions}
selectedValues={senderIds}
diff --git a/apps/web/src/app/(dashboard)/documents/data-table.tsx b/apps/web/src/app/(dashboard)/documents/data-table.tsx
index c079e0165..cc19cad2d 100644
--- a/apps/web/src/app/(dashboard)/documents/data-table.tsx
+++ b/apps/web/src/app/(dashboard)/documents/data-table.tsx
@@ -2,6 +2,8 @@
import { useTransition } from 'react';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DateTime } from 'luxon';
import { useSession } from 'next-auth/react';
@@ -39,6 +41,8 @@ export const DocumentsDataTable = ({
team,
}: DocumentsDataTableProps) => {
const { data: session } = useSession();
+ const { _ } = useLingui();
+
const [isPending, startTransition] = useTransition();
const updateSearchParams = useUpdateSearchParams();
@@ -61,7 +65,7 @@ export const DocumentsDataTable = ({
<DataTable
columns={[
{
- header: 'Created',
+ header: _(msg`Created`),
accessorKey: 'createdAt',
cell: ({ row }) => (
<LocaleDate
@@ -71,16 +75,16 @@ export const DocumentsDataTable = ({
),
},
{
- header: 'Title',
+ header: _(msg`Title`),
cell: ({ row }) => <DataTableTitle row={row.original} teamUrl={team?.url} />,
},
{
id: 'sender',
- header: 'Sender',
+ header: _(msg`Sender`),
cell: ({ row }) => row.original.User.name ?? row.original.User.email,
},
{
- header: 'Recipient',
+ header: _(msg`Recipient`),
accessorKey: 'recipient',
cell: ({ row }) => (
<StackAvatarsWithTooltip
@@ -90,13 +94,13 @@ export const DocumentsDataTable = ({
),
},
{
- header: 'Status',
+ header: _(msg`Status`),
accessorKey: 'status',
cell: ({ row }) => <DocumentStatus status={row.getValue('status')} />,
size: 140,
},
{
- header: 'Actions',
+ header: _(msg`Actions`),
cell: ({ row }) =>
(!row.original.deletedAt ||
row.original.status === ExtendedDocumentStatus.COMPLETED) && (
diff --git a/apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx b/apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx
index 042dc5e93..fdf3f4fa5 100644
--- a/apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx
@@ -2,6 +2,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { match } from 'ts-pattern';
import { useLimits } from '@documenso/ee/server-only/limits/provider/client';
@@ -43,6 +45,7 @@ export const DeleteDocumentDialog = ({
const { toast } = useToast();
const { refreshLimits } = useLimits();
+ const { _ } = useLingui();
const [inputValue, setInputValue] = useState('');
const [isDeleteEnabled, setIsDeleteEnabled] = useState(status === DocumentStatus.DRAFT);
@@ -53,8 +56,8 @@ export const DeleteDocumentDialog = ({
void refreshLimits();
toast({
- title: 'Document deleted',
- description: `"${documentTitle}" has been successfully deleted`,
+ title: _(msg`Document deleted`),
+ description: _(msg`"${documentTitle}" has been successfully deleted`),
duration: 5000,
});
@@ -74,8 +77,8 @@ export const DeleteDocumentDialog = ({
await deleteDocument({ id, teamId });
} catch {
toast({
- title: 'Something went wrong',
- description: 'This document could not be deleted at this time. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`This document could not be deleted at this time. Please try again.`),
variant: 'destructive',
duration: 7500,
});
@@ -91,11 +94,20 @@ export const DeleteDocumentDialog = ({
<Dialog open={open} onOpenChange={(value) => !isLoading && onOpenChange(value)}>
<DialogContent>
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription>
- You are about to {canManageDocument ? 'delete' : 'hide'}{' '}
- <strong>"{documentTitle}"</strong>
+ {canManageDocument ? (
+ <Trans>
+ You are about to delete <strong>"{documentTitle}"</strong>
+ </Trans>
+ ) : (
+ <Trans>
+ You are about to hide <strong>"{documentTitle}"</strong>
+ </Trans>
+ )}
</DialogDescription>
</DialogHeader>
@@ -104,33 +116,53 @@ export const DeleteDocumentDialog = ({
{match(status)
.with(DocumentStatus.DRAFT, () => (
<AlertDescription>
- Please note that this action is <strong>irreversible</strong>. Once confirmed,
- this document will be permanently deleted.
+ <Trans>
+ Please note that this action is <strong>irreversible</strong>. Once confirmed,
+ this document will be permanently deleted.
+ </Trans>
</AlertDescription>
))
.with(DocumentStatus.PENDING, () => (
<AlertDescription>
<p>
- Please note that this action is <strong>irreversible</strong>.
+ <Trans>
+ Please note that this action is <strong>irreversible</strong>.
+ </Trans>
</p>
- <p className="mt-1">Once confirmed, the following will occur:</p>
+ <p className="mt-1">
+ <Trans>Once confirmed, the following will occur:</Trans>
+ </p>
<ul className="mt-0.5 list-inside list-disc">
- <li>Document will be permanently deleted</li>
- <li>Document signing process will be cancelled</li>
- <li>All inserted signatures will be voided</li>
- <li>All recipients will be notified</li>
+ <li>
+ <Trans>Document will be permanently deleted</Trans>
+ </li>
+ <li>
+ <Trans>Document signing process will be cancelled</Trans>
+ </li>
+ <li>
+ <Trans>All inserted signatures will be voided</Trans>
+ </li>
+ <li>
+ <Trans>All recipients will be notified</Trans>
+ </li>
</ul>
</AlertDescription>
))
.with(DocumentStatus.COMPLETED, () => (
<AlertDescription>
- <p>By deleting this document, the following will occur:</p>
+ <p>
+ <Trans>By deleting this document, the following will occur:</Trans>
+ </p>
<ul className="mt-0.5 list-inside list-disc">
- <li>The document will be hidden from your account</li>
- <li>Recipients will still retain their copy of the document</li>
+ <li>
+ <Trans>The document will be hidden from your account</Trans>
+ </li>
+ <li>
+ <Trans>Recipients will still retain their copy of the document</Trans>
+ </li>
</ul>
</AlertDescription>
))
@@ -139,7 +171,7 @@ export const DeleteDocumentDialog = ({
) : (
<Alert variant="warning" className="-mt-1">
<AlertDescription>
- Please contact support if you would like to revert this action.
+ <Trans>Please contact support if you would like to revert this action.</Trans>
</AlertDescription>
</Alert>
)}
@@ -149,13 +181,13 @@ export const DeleteDocumentDialog = ({
type="text"
value={inputValue}
onChange={onInputChange}
- placeholder="Type 'delete' to confirm"
+ placeholder={_(msg`Type 'delete' to confirm`)}
/>
)}
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -165,7 +197,7 @@ export const DeleteDocumentDialog = ({
disabled={!isDeleteEnabled && canManageDocument}
variant="destructive"
>
- {canManageDocument ? 'Delete' : 'Hide'}
+ {canManageDocument ? _(msg`Delete`) : _(msg`Hide`)}
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx b/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx
index 3420fc0be..b3d0b2233 100644
--- a/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx
@@ -1,5 +1,7 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { findDocuments } from '@documenso/lib/server-only/document/find-documents';
@@ -104,7 +106,9 @@ export const DocumentsPageView = async ({ searchParams = {}, team }: DocumentsPa
</Avatar>
)}
- <h1 className="text-4xl font-semibold">Documents</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Documents</Trans>
+ </h1>
</div>
<div className="-m-1 flex flex-wrap gap-x-4 gap-y-6 overflow-hidden p-1">
diff --git a/apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx b/apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx
index dc4e353d5..325488ec4 100644
--- a/apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx
@@ -1,5 +1,8 @@
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { formatDocumentsPath } from '@documenso/lib/utils/teams';
import type { Team } from '@documenso/prisma/client';
import { trpc as trpcReact } from '@documenso/trpc/react';
@@ -28,7 +31,9 @@ export const DuplicateDocumentDialog = ({
team,
}: DuplicateDocumentDialogProps) => {
const router = useRouter();
+
const { toast } = useToast();
+ const { _ } = useLingui();
const { data: document, isLoading } = trpcReact.document.getDocumentById.useQuery({
id,
@@ -50,8 +55,8 @@ export const DuplicateDocumentDialog = ({
router.push(`${documentsPath}/${newId}/edit`);
toast({
- title: 'Document Duplicated',
- description: 'Your document has been successfully duplicated.',
+ title: _(msg`Document Duplicated`),
+ description: _(msg`Your document has been successfully duplicated.`),
duration: 5000,
});
@@ -64,8 +69,8 @@ export const DuplicateDocumentDialog = ({
await duplicateDocument({ id, teamId: team?.id });
} catch {
toast({
- title: 'Something went wrong',
- description: 'This document could not be duplicated at this time. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`This document could not be duplicated at this time. Please try again.`),
variant: 'destructive',
duration: 7500,
});
@@ -76,12 +81,14 @@ export const DuplicateDocumentDialog = ({
<Dialog open={open} onOpenChange={(value) => !isLoading && onOpenChange(value)}>
<DialogContent>
<DialogHeader>
- <DialogTitle>Duplicate</DialogTitle>
+ <DialogTitle>
+ <Trans>Duplicate</Trans>
+ </DialogTitle>
</DialogHeader>
{!documentData || isLoading ? (
<div className="mx-auto -mt-4 flex w-full max-w-screen-xl flex-col px-4 md:px-8">
<h1 className="mt-4 grow-0 truncate text-2xl font-semibold md:text-3xl">
- Loading Document...
+ <Trans>Loading Document...</Trans>
</h1>
</div>
) : (
@@ -98,7 +105,7 @@ export const DuplicateDocumentDialog = ({
onClick={() => onOpenChange(false)}
className="flex-1"
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -108,7 +115,7 @@ export const DuplicateDocumentDialog = ({
onClick={onDuplicate}
className="flex-1"
>
- Duplicate
+ <Trans>Duplicate</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(dashboard)/documents/empty-state.tsx b/apps/web/src/app/(dashboard)/documents/empty-state.tsx
index e1af23bf2..f97527d0b 100644
--- a/apps/web/src/app/(dashboard)/documents/empty-state.tsx
+++ b/apps/web/src/app/(dashboard)/documents/empty-state.tsx
@@ -1,3 +1,5 @@
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Bird, CheckCircle2 } from 'lucide-react';
import { match } from 'ts-pattern';
@@ -6,33 +8,31 @@ import { ExtendedDocumentStatus } from '@documenso/prisma/types/extended-documen
export type EmptyDocumentProps = { status: ExtendedDocumentStatus };
export const EmptyDocumentState = ({ status }: EmptyDocumentProps) => {
+ const { _ } = useLingui();
+
const {
title,
message,
icon: Icon,
} = match(status)
.with(ExtendedDocumentStatus.COMPLETED, () => ({
- title: 'Nothing to do',
- message:
- 'There are no completed documents yet. Documents that you have created or received will appear here once completed.',
+ title: msg`Nothing to do`,
+ message: msg`There are no completed documents yet. Documents that you have created or received will appear here once completed.`,
icon: CheckCircle2,
}))
.with(ExtendedDocumentStatus.DRAFT, () => ({
- title: 'No active drafts',
- message:
- 'There are no active drafts at the current moment. You can upload a document to start drafting.',
+ title: msg`No active drafts`,
+ message: msg`There are no active drafts at the current moment. You can upload a document to start drafting.`,
icon: CheckCircle2,
}))
.with(ExtendedDocumentStatus.ALL, () => ({
- title: "We're all empty",
- message:
- 'You have not yet created or received any documents. To create a document please upload one.',
+ title: msg`We're all empty`,
+ message: msg`You have not yet created or received any documents. To create a document please upload one.`,
icon: Bird,
}))
.otherwise(() => ({
- title: 'Nothing to do',
- message:
- 'All documents have been processed. Any new documents that are sent or received will show here.',
+ title: msg`Nothing to do`,
+ message: msg`All documents have been processed. Any new documents that are sent or received will show here.`,
icon: CheckCircle2,
}));
@@ -44,9 +44,9 @@ export const EmptyDocumentState = ({ status }: EmptyDocumentProps) => {
<Icon className="h-12 w-12" strokeWidth={1.5} />
<div className="text-center">
- <h3 className="text-lg font-semibold">{title}</h3>
+ <h3 className="text-lg font-semibold">{_(title)}</h3>
- <p className="mt-2 max-w-[60ch]">{message}</p>
+ <p className="mt-2 max-w-[60ch]">{_(message)}</p>
</div>
</div>
);
diff --git a/apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx b/apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx
index d76906dab..bf84d3e81 100644
--- a/apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx
@@ -2,6 +2,9 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { trpc } from '@documenso/trpc/react';
import { Avatar, AvatarFallback, AvatarImage } from '@documenso/ui/primitives/avatar';
@@ -30,25 +33,29 @@ type MoveDocumentDialogProps = {
};
export const MoveDocumentDialog = ({ documentId, open, onOpenChange }: MoveDocumentDialogProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+
+ const router = useRouter();
+
const [selectedTeamId, setSelectedTeamId] = useState<number | null>(null);
const { data: teams, isLoading: isLoadingTeams } = trpc.team.getTeams.useQuery();
+
const { mutateAsync: moveDocument, isLoading } = trpc.document.moveDocumentToTeam.useMutation({
onSuccess: () => {
router.refresh();
toast({
- title: 'Document moved',
- description: 'The document has been successfully moved to the selected team.',
+ title: _(msg`Document moved`),
+ description: _(msg`The document has been successfully moved to the selected team.`),
duration: 5000,
});
onOpenChange(false);
},
onError: (error) => {
toast({
- title: 'Error',
- description: error.message || 'An error occurred while moving the document.',
+ title: _(msg`Error`),
+ description: error.message || _(msg`An error occurred while moving the document.`),
variant: 'destructive',
duration: 7500,
});
@@ -56,7 +63,10 @@ export const MoveDocumentDialog = ({ documentId, open, onOpenChange }: MoveDocum
});
const onMove = async () => {
- if (!selectedTeamId) return;
+ if (!selectedTeamId) {
+ return;
+ }
+
await moveDocument({ documentId, teamId: selectedTeamId });
};
@@ -64,20 +74,22 @@ export const MoveDocumentDialog = ({ documentId, open, onOpenChange }: MoveDocum
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent>
<DialogHeader>
- <DialogTitle>Move Document to Team</DialogTitle>
+ <DialogTitle>
+ <Trans>Move Document to Team</Trans>
+ </DialogTitle>
<DialogDescription>
- Select a team to move this document to. This action cannot be undone.
+ <Trans>Select a team to move this document to. This action cannot be undone.</Trans>
</DialogDescription>
</DialogHeader>
<Select onValueChange={(value) => setSelectedTeamId(Number(value))}>
<SelectTrigger>
- <SelectValue placeholder="Select a team" />
+ <SelectValue placeholder={_(msg`Select a team`)} />
</SelectTrigger>
<SelectContent>
{isLoadingTeams ? (
<SelectItem value="loading" disabled>
- Loading teams...
+ <Trans>Loading teams...</Trans>
</SelectItem>
) : (
teams?.map((team) => (
diff --git a/apps/web/src/app/(dashboard)/documents/page.tsx b/apps/web/src/app/(dashboard)/documents/page.tsx
index 6ce0ce2c0..241bee6f0 100644
--- a/apps/web/src/app/(dashboard)/documents/page.tsx
+++ b/apps/web/src/app/(dashboard)/documents/page.tsx
@@ -1,5 +1,6 @@
import type { Metadata } from 'next';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import type { DocumentsPageViewProps } from './documents-page-view';
@@ -15,7 +16,10 @@ export const metadata: Metadata = {
};
export default async function DocumentsPage({ searchParams = {} }: DocumentsPageProps) {
+ setupI18nSSR();
+
const { user } = await getRequiredServerComponentSession();
+
return (
<>
<UpcomingProfileClaimTeaser user={user} />
diff --git a/apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx b/apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx
index a2b3aea69..dbb9cd52c 100644
--- a/apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx
+++ b/apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx
@@ -2,6 +2,9 @@
import { useCallback, useEffect, useState } from 'react';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import type { User } from '@documenso/prisma/client';
import { useToast } from '@documenso/ui/primitives/use-toast';
@@ -12,6 +15,7 @@ export type UpcomingProfileClaimTeaserProps = {
};
export const UpcomingProfileClaimTeaser = ({ user }: UpcomingProfileClaimTeaserProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [open, setOpen] = useState(false);
@@ -21,14 +25,17 @@ export const UpcomingProfileClaimTeaser = ({ user }: UpcomingProfileClaimTeaserP
(open: boolean) => {
if (!open && !claimed) {
toast({
- title: 'Claim your profile later',
- description: 'You can claim your profile later on by going to your profile settings!',
+ title: _(msg`Claim your profile later`),
+ description: _(
+ msg`You can claim your profile later on by going to your profile settings!`,
+ ),
});
}
setOpen(open);
localStorage.setItem('app.hasShownProfileClaimDialog', 'true');
},
+ // eslint-disable-next-line react-hooks/exhaustive-deps
[claimed, toast],
);
diff --git a/apps/web/src/app/(dashboard)/documents/upload-document.tsx b/apps/web/src/app/(dashboard)/documents/upload-document.tsx
index f52aecb94..07c5009b5 100644
--- a/apps/web/src/app/(dashboard)/documents/upload-document.tsx
+++ b/apps/web/src/app/(dashboard)/documents/upload-document.tsx
@@ -4,6 +4,8 @@ import { useMemo, useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { useSession } from 'next-auth/react';
@@ -34,6 +36,7 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
const { data: session } = useSession();
+ const { _ } = useLingui();
const { toast } = useToast();
const { quota, remaining, refreshLimits } = useLimits();
@@ -45,13 +48,14 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
const disabledMessage = useMemo(() => {
if (remaining.documents === 0) {
return team
- ? 'Document upload disabled due to unpaid invoices'
- : 'You have reached your document limit.';
+ ? msg`Document upload disabled due to unpaid invoices`
+ : msg`You have reached your document limit.`;
}
if (!session?.user.emailVerified) {
- return 'Verify your email to upload documents.';
+ return msg`Verify your email to upload documents.`;
}
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [remaining.documents, session?.user.emailVerified, team]);
const onFileDrop = async (file: File) => {
@@ -74,8 +78,8 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
void refreshLimits();
toast({
- title: 'Document uploaded',
- description: 'Your document has been uploaded successfully.',
+ title: _(msg`Document uploaded`),
+ description: _(msg`Your document has been uploaded successfully.`),
duration: 5000,
});
@@ -93,20 +97,20 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
if (error.code === 'INVALID_DOCUMENT_FILE') {
toast({
- title: 'Invalid file',
- description: 'You cannot upload encrypted PDFs',
+ title: _(msg`Invalid file`),
+ description: _(msg`You cannot upload encrypted PDFs`),
variant: 'destructive',
});
} else if (err instanceof TRPCClientError) {
toast({
- title: 'Error',
+ title: _(msg`Error`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'Error',
- description: 'An error occurred while uploading your document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while uploading your document.`),
variant: 'destructive',
});
}
@@ -117,8 +121,8 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
const onFileDropRejected = () => {
toast({
- title: 'Your document failed to upload.',
- description: `File cannot be larger than ${APP_DOCUMENT_UPLOAD_SIZE_LIMIT}MB`,
+ title: _(msg`Your document failed to upload.`),
+ description: _(msg`File cannot be larger than ${APP_DOCUMENT_UPLOAD_SIZE_LIMIT}MB`),
duration: 5000,
variant: 'destructive',
});
@@ -139,7 +143,9 @@ export const UploadDocument = ({ className, team }: UploadDocumentProps) => {
remaining.documents > 0 &&
Number.isFinite(remaining.documents) && (
<p className="text-muted-foreground/60 text-xs">
- {remaining.documents} of {quota.documents} documents remaining this month.
+ <Trans>
+ {remaining.documents} of {quota.documents} documents remaining this month.
+ </Trans>
</p>
)}
</div>
diff --git a/apps/web/src/app/(dashboard)/layout.tsx b/apps/web/src/app/(dashboard)/layout.tsx
index e3199c851..92cbbfecb 100644
--- a/apps/web/src/app/(dashboard)/layout.tsx
+++ b/apps/web/src/app/(dashboard)/layout.tsx
@@ -5,6 +5,7 @@ import { redirect } from 'next/navigation';
import { getServerSession } from 'next-auth';
import { LimitsProvider } from '@documenso/ee/server-only/limits/provider/server';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { NEXT_AUTH_OPTIONS } from '@documenso/lib/next-auth/auth-options';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeams } from '@documenso/lib/server-only/team/get-teams';
@@ -22,6 +23,8 @@ export type AuthenticatedDashboardLayoutProps = {
export default async function AuthenticatedDashboardLayout({
children,
}: AuthenticatedDashboardLayoutProps) {
+ setupI18nSSR();
+
const session = await getServerSession(NEXT_AUTH_OPTIONS);
if (!session) {
diff --git a/apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx b/apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx
index a931f489b..6d4b350dd 100644
--- a/apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx
+++ b/apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx
@@ -2,6 +2,9 @@
import { useState } from 'react';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence, motion } from 'framer-motion';
import type { PriceIntervals } from '@documenso/ee/server-only/stripe/get-prices-by-interval';
@@ -21,11 +24,11 @@ const INTERVALS: Interval[] = ['day', 'week', 'month', 'year'];
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
const isInterval = (value: unknown): value is Interval => INTERVALS.includes(value as Interval);
-const FRIENDLY_INTERVALS: Record<Interval, string> = {
- day: 'Daily',
- week: 'Weekly',
- month: 'Monthly',
- year: 'Yearly',
+const FRIENDLY_INTERVALS: Record<Interval, MessageDescriptor> = {
+ day: msg`Daily`,
+ week: msg`Weekly`,
+ month: msg`Monthly`,
+ year: msg`Yearly`,
};
const MotionCard = motion(Card);
@@ -35,6 +38,7 @@ export type BillingPlansProps = {
};
export const BillingPlans = ({ prices }: BillingPlansProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const isMounted = useIsMounted();
@@ -55,8 +59,8 @@ export const BillingPlans = ({ prices }: BillingPlansProps) => {
window.open(url);
} catch (_err) {
toast({
- title: 'Something went wrong',
- description: 'An error occurred while trying to create a checkout session.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`An error occurred while trying to create a checkout session.`),
variant: 'destructive',
});
} finally {
@@ -72,7 +76,7 @@ export const BillingPlans = ({ prices }: BillingPlansProps) => {
(interval) =>
prices[interval].length > 0 && (
<TabsTrigger key={interval} className="min-w-[150px]" value={interval}>
- {FRIENDLY_INTERVALS[interval]}
+ {_(FRIENDLY_INTERVALS[interval])}
</TabsTrigger>
),
)}
@@ -121,7 +125,7 @@ export const BillingPlans = ({ prices }: BillingPlansProps) => {
loading={isFetchingCheckoutSession}
onClick={() => void onSubscribeClick(price.id)}
>
- Subscribe
+ <Trans>Subscribe</Trans>
</Button>
</CardContent>
</MotionCard>
diff --git a/apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx b/apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx
index 9ed6a2515..da230908a 100644
--- a/apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx
+++ b/apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx
@@ -2,6 +2,9 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { Button } from '@documenso/ui/primitives/button';
import { useToast } from '@documenso/ui/primitives/use-toast';
@@ -12,6 +15,7 @@ export type BillingPortalButtonProps = {
};
export const BillingPortalButton = ({ buttonProps }: BillingPortalButtonProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [isFetchingPortalUrl, setIsFetchingPortalUrl] = useState(false);
@@ -32,16 +36,18 @@ export const BillingPortalButton = ({ buttonProps }: BillingPortalButtonProps) =
window.open(sessionUrl, '_blank');
} catch (e) {
- let description =
- 'We are unable to proceed to the billing portal at this time. Please try again, or contact support.';
+ let description = _(
+ msg`We are unable to proceed to the billing portal at this time. Please try again, or contact support.`,
+ );
if (e.message === 'CUSTOMER_NOT_FOUND') {
- description =
- 'You do not currently have a customer record, this should not happen. Please contact support for assistance.';
+ description = _(
+ msg`You do not currently have a customer record, this should not happen. Please contact support for assistance.`,
+ );
}
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
description,
variant: 'destructive',
duration: 10000,
@@ -57,7 +63,7 @@ export const BillingPortalButton = ({ buttonProps }: BillingPortalButtonProps) =
onClick={async () => handleFetchPortalUrl()}
loading={isFetchingPortalUrl}
>
- Manage Subscription
+ <Trans>Manage Subscription</Trans>
</Button>
);
};
diff --git a/apps/web/src/app/(dashboard)/settings/billing/page.tsx b/apps/web/src/app/(dashboard)/settings/billing/page.tsx
index e686256e0..f36567871 100644
--- a/apps/web/src/app/(dashboard)/settings/billing/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/billing/page.tsx
@@ -1,12 +1,14 @@
import type { Metadata } from 'next';
import { redirect } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { match } from 'ts-pattern';
import { getStripeCustomerByUser } from '@documenso/ee/server-only/stripe/get-customer';
import { getPricesByInterval } from '@documenso/ee/server-only/stripe/get-prices-by-interval';
import { getPrimaryAccountPlanPrices } from '@documenso/ee/server-only/stripe/get-primary-account-plan-prices';
import { getProductByPriceId } from '@documenso/ee/server-only/stripe/get-product-by-price-id';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { STRIPE_PLAN_TYPE } from '@documenso/lib/constants/billing';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getServerComponentFlag } from '@documenso/lib/server-only/feature-flags/get-server-component-feature-flag';
@@ -24,6 +26,8 @@ export const metadata: Metadata = {
};
export default async function BillingSettingsPage() {
+ setupI18nSSR();
+
let { user } = await getRequiredServerComponentSession();
const isBillingEnabled = await getServerComponentFlag('app_billing');
@@ -66,15 +70,20 @@ export default async function BillingSettingsPage() {
return (
<div>
- <h3 className="text-2xl font-semibold">Billing</h3>
+ <h3 className="text-2xl font-semibold">
+ <Trans>Billing</Trans>
+ </h3>
<div className="text-muted-foreground mt-2 text-sm">
{isMissingOrInactiveOrFreePlan && (
<p>
- You are currently on the <span className="font-semibold">Free Plan</span>.
+ <Trans>
+ You are currently on the <span className="font-semibold">Free Plan</span>.
+ </Trans>
</p>
)}
+ {/* Todo: Translation */}
{!isMissingOrInactiveOrFreePlan &&
match(subscription.status)
.with('ACTIVE', () => (
@@ -108,7 +117,11 @@ export default async function BillingSettingsPage() {
</p>
))
.with('PAST_DUE', () => (
- <p>Your current plan is past due. Please update your payment information.</p>
+ <p>
+ <Trans>
+ Your current plan is past due. Please update your payment information.
+ </Trans>
+ </p>
))
.otherwise(() => null)}
</div>
diff --git a/apps/web/src/app/(dashboard)/settings/layout.tsx b/apps/web/src/app/(dashboard)/settings/layout.tsx
index f682de242..7d15d4874 100644
--- a/apps/web/src/app/(dashboard)/settings/layout.tsx
+++ b/apps/web/src/app/(dashboard)/settings/layout.tsx
@@ -1,5 +1,9 @@
import React from 'react';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { DesktopNav } from '~/components/(dashboard)/settings/layout/desktop-nav';
import { MobileNav } from '~/components/(dashboard)/settings/layout/mobile-nav';
@@ -8,9 +12,13 @@ export type DashboardSettingsLayoutProps = {
};
export default function DashboardSettingsLayout({ children }: DashboardSettingsLayoutProps) {
+ setupI18nSSR();
+
return (
<div className="mx-auto w-full max-w-screen-xl px-4 md:px-8">
- <h1 className="text-4xl font-semibold">Settings</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Settings</Trans>
+ </h1>
<div className="mt-4 grid grid-cols-12 gap-x-8 md:mt-8">
<DesktopNav className="hidden md:col-span-3 md:flex" />
diff --git a/apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx b/apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx
index 2e1087380..9b7499188 100644
--- a/apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx
@@ -2,6 +2,8 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { signOut } from 'next-auth/react';
import type { User } from '@documenso/prisma/client';
@@ -28,6 +30,7 @@ export type DeleteAccountDialogProps = {
};
export const DeleteAccountDialog = ({ className, user }: DeleteAccountDialogProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const hasTwoFactorAuthentication = user.twoFactorEnabled;
@@ -42,8 +45,8 @@ export const DeleteAccountDialog = ({ className, user }: DeleteAccountDialogProp
await deleteAccount();
toast({
- title: 'Account deleted',
- description: 'Your account has been deleted successfully.',
+ title: _(msg`Account deleted`),
+ description: _(msg`Your account has been deleted successfully.`),
duration: 5000,
});
@@ -51,17 +54,19 @@ export const DeleteAccountDialog = ({ className, user }: DeleteAccountDialogProp
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
variant: 'destructive',
description:
err.message ??
- 'We encountered an unknown error while attempting to delete your account. Please try again later.',
+ _(
+ msg`We encountered an unknown error while attempting to delete your account. Please try again later.`,
+ ),
});
}
}
@@ -74,50 +79,63 @@ export const DeleteAccountDialog = ({ className, user }: DeleteAccountDialogProp
variant="neutral"
>
<div>
- <AlertTitle>Delete Account</AlertTitle>
+ <AlertTitle>
+ <Trans>Delete Account</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
- Delete your account and all its contents, including completed documents. This action is
- irreversible and will cancel your subscription, so proceed with caution.
+ <Trans>
+ Delete your account and all its contents, including completed documents. This action
+ is irreversible and will cancel your subscription, so proceed with caution.
+ </Trans>
</AlertDescription>
</div>
<div className="flex-shrink-0">
<Dialog onOpenChange={() => setEnteredEmail('')}>
<DialogTrigger asChild>
- <Button variant="destructive">Delete Account</Button>
+ <Button variant="destructive">
+ <Trans>Delete Account</Trans>
+ </Button>
</DialogTrigger>
<DialogContent>
<DialogHeader className="space-y-4">
- <DialogTitle>Delete Account</DialogTitle>
+ <DialogTitle>
+ <Trans>Delete Account</Trans>
+ </DialogTitle>
<Alert variant="destructive">
<AlertDescription className="selection:bg-red-100">
- This action is not reversible. Please be certain.
+ <Trans>This action is not reversible. Please be certain.</Trans>
</AlertDescription>
</Alert>
{hasTwoFactorAuthentication && (
<Alert variant="destructive">
<AlertDescription className="selection:bg-red-100">
- Disable Two Factor Authentication before deleting your account.
+ <Trans>Disable Two Factor Authentication before deleting your account.</Trans>
</AlertDescription>
</Alert>
)}
<DialogDescription>
- Documenso will delete <span className="font-semibold">all of your documents</span>
- , along with all of your completed documents, signatures, and all other resources
- belonging to your Account.
+ <Trans>
+ Documenso will delete{' '}
+ <span className="font-semibold">all of your documents</span>, along with all of
+ your completed documents, signatures, and all other resources belonging to your
+ Account.
+ </Trans>
</DialogDescription>
</DialogHeader>
{!hasTwoFactorAuthentication && (
<div className="mt-4">
<Label>
- Please type{' '}
- <span className="text-muted-foreground font-semibold">{user.email}</span> to
- confirm.
+ <Trans>
+ Please type{' '}
+ <span className="text-muted-foreground font-semibold">{user.email}</span> to
+ confirm.
+ </Trans>
</Label>
<Input
@@ -136,7 +154,7 @@ export const DeleteAccountDialog = ({ className, user }: DeleteAccountDialogProp
variant="destructive"
disabled={hasTwoFactorAuthentication || enteredEmail !== user.email}
>
- {isDeletingAccount ? 'Deleting account...' : 'Confirm Deletion'}
+ {isDeletingAccount ? _(msg`Deleting account...`) : _(msg`Confirm Deletion`)}
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/settings/profile/page.tsx b/apps/web/src/app/(dashboard)/settings/profile/page.tsx
index 07b536a35..a9c47f245 100644
--- a/apps/web/src/app/(dashboard)/settings/profile/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/profile/page.tsx
@@ -1,5 +1,9 @@
import type { Metadata } from 'next';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { SettingsHeader } from '~/components/(dashboard)/settings/layout/header';
@@ -13,11 +17,17 @@ export const metadata: Metadata = {
};
export default async function ProfileSettingsPage() {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
const { user } = await getRequiredServerComponentSession();
return (
<div>
- <SettingsHeader title="Profile" subtitle="Here you can edit your personal details." />
+ <SettingsHeader
+ title={_(msg`Profile`)}
+ subtitle={_(msg`Here you can edit your personal details.`)}
+ />
<AvatarImageForm className="mb-8 max-w-xl" user={user} />
<ProfileForm className="mb-8 max-w-xl" user={user} />
diff --git a/apps/web/src/app/(dashboard)/settings/public-profile/page.tsx b/apps/web/src/app/(dashboard)/settings/public-profile/page.tsx
index f622b5636..673fb9328 100644
--- a/apps/web/src/app/(dashboard)/settings/public-profile/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/public-profile/page.tsx
@@ -1,9 +1,12 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getUserPublicProfile } from '@documenso/lib/server-only/user/get-user-public-profile';
import { PublicProfilePageView } from './public-profile-page-view';
export default async function Page() {
+ setupI18nSSR();
+
const { user } = await getRequiredServerComponentSession();
const { profile } = await getUserPublicProfile({
diff --git a/apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx b/apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx
index 90759f68e..e474224ec 100644
--- a/apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx
@@ -2,6 +2,9 @@
import { useEffect, useMemo, useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import type { FindTemplateRow } from '@documenso/lib/server-only/template/find-templates';
import type {
Team,
@@ -36,22 +39,21 @@ type DirectTemplate = FindTemplateRow & {
};
const userProfileText = {
- settingsTitle: 'Public Profile',
- settingsSubtitle: 'You can choose to enable or disable your profile for public view.',
- templatesTitle: 'My templates',
- templatesSubtitle:
- 'Show templates in your public profile for your audience to sign and get started quickly',
+ settingsTitle: msg`Public Profile`,
+ settingsSubtitle: msg`You can choose to enable or disable your profile for public view.`,
+ templatesTitle: msg`My templates`,
+ templatesSubtitle: msg`Show templates in your public profile for your audience to sign and get started quickly`,
};
const teamProfileText = {
- settingsTitle: 'Team Public Profile',
- settingsSubtitle: 'You can choose to enable or disable your team profile for public view.',
- templatesTitle: 'Team templates',
- templatesSubtitle:
- 'Show templates in your team public profile for your audience to sign and get started quickly',
+ settingsTitle: msg`Team Public Profile`,
+ settingsSubtitle: msg`You can choose to enable or disable your team profile for public view.`,
+ templatesTitle: msg`Team templates`,
+ templatesSubtitle: msg`Show templates in your team public profile for your audience to sign and get started quickly`,
};
export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePageViewOptions) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [isPublicProfileVisible, setIsPublicProfileVisible] = useState(profile.enabled);
@@ -104,7 +106,7 @@ export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePage
if (isVisible && !user.url) {
toast({
- title: 'You must set a profile URL before enabling your public profile.',
+ title: _(msg`You must set a profile URL before enabling your public profile.`),
variant: 'destructive',
});
@@ -119,8 +121,8 @@ export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePage
});
} catch {
toast({
- title: 'Something went wrong',
- description: 'We were unable to set your public profile to public. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`We were unable to set your public profile to public. Please try again.`),
variant: 'destructive',
});
@@ -134,7 +136,10 @@ export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePage
return (
<div className="max-w-2xl">
- <SettingsHeader title={profileText.settingsTitle} subtitle={profileText.settingsSubtitle}>
+ <SettingsHeader
+ title={_(profileText.settingsTitle)}
+ subtitle={_(profileText.settingsSubtitle)}
+ >
<Tooltip open={isTooltipOpen} onOpenChange={setIsTooltipOpen}>
<TooltipTrigger asChild>
<div
@@ -146,13 +151,17 @@ export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePage
},
)}
>
- <span>Hide</span>
+ <span>
+ <Trans>Hide</Trans>
+ </span>
<Switch
disabled={isUpdating}
checked={isPublicProfileVisible}
onCheckedChange={togglePublicProfileVisibility}
/>
- <span>Show</span>
+ <span>
+ <Trans>Show</Trans>
+ </span>
</div>
</TooltipTrigger>
@@ -160,18 +169,26 @@ export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePage
{isPublicProfileVisible ? (
<>
<p>
- Profile is currently <strong>visible</strong>.
+ <Trans>
+ Profile is currently <strong>visible</strong>.
+ </Trans>
</p>
- <p>Toggle the switch to hide your profile from the public.</p>
+ <p>
+ <Trans>Toggle the switch to hide your profile from the public.</Trans>
+ </p>
</>
) : (
<>
<p>
- Profile is currently <strong>hidden</strong>.
+ <Trans>
+ Profile is currently <strong>hidden</strong>.
+ </Trans>
</p>
- <p>Toggle the switch to show your profile to the public.</p>
+ <p>
+ <Trans>Toggle the switch to show your profile to the public.</Trans>
+ </p>
</>
)}
</TooltipContent>
@@ -187,14 +204,18 @@ export const PublicProfilePageView = ({ user, team, profile }: PublicProfilePage
<div className="mt-4">
<SettingsHeader
- title={profileText.templatesTitle}
- subtitle={profileText.templatesSubtitle}
+ title={_(profileText.templatesTitle)}
+ subtitle={_(profileText.templatesSubtitle)}
hideDivider={true}
className="mt-8 [&>*>h3]:text-base"
>
<ManagePublicTemplateDialog
directTemplates={enabledPrivateDirectTemplates}
- trigger={<Button variant="outline">Link template</Button>}
+ trigger={
+ <Button variant="outline">
+ <Trans>Link template</Trans>
+ </Button>
+ }
/>
</SettingsHeader>
diff --git a/apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx b/apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx
index 692e01ac6..f39aa2063 100644
--- a/apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx
+++ b/apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx
@@ -2,6 +2,8 @@
import { useMemo, useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { EditIcon, FileIcon, LinkIcon, MoreHorizontalIcon, Trash2Icon } from 'lucide-react';
import { useCopyToClipboard } from '@documenso/lib/client-only/hooks/use-copy-to-clipboard';
@@ -30,6 +32,7 @@ type DirectTemplate = FindTemplateRow & {
export const PublicTemplatesDataTable = () => {
const team = useOptionalCurrentTeam();
+ const { _ } = useLingui();
const { toast } = useToast();
const [, copy] = useCopyToClipboard();
@@ -71,8 +74,8 @@ export const PublicTemplatesDataTable = () => {
const onCopyClick = async (token: string) =>
copy(formatDirectTemplatePath(token)).then(() => {
toast({
- title: 'Copied to clipboard',
- description: 'The direct link has been copied to your clipboard',
+ title: _(msg`Copied to clipboard`),
+ description: _(msg`The direct link has been copied to your clipboard`),
});
});
@@ -105,26 +108,26 @@ export const PublicTemplatesDataTable = () => {
{isLoadingError && (
<div className="text-muted-foreground flex h-32 flex-col items-center justify-center text-sm">
- Unable to load your public profile templates at this time
+ <Trans>Unable to load your public profile templates at this time</Trans>
<button
onClick={(e) => {
e.preventDefault();
void refetch();
}}
>
- Click here to retry
+ <Trans>Click here to retry</Trans>
</button>
</div>
)}
{!isInitialLoading && (
<div className="text-muted-foreground flex h-32 flex-col items-center justify-center text-sm">
- No public profile templates found
+ <Trans>No public profile templates found</Trans>
<ManagePublicTemplateDialog
directTemplates={privateDirectTemplates}
trigger={
<button className="hover:text-muted-foreground/80 mt-1 text-xs">
- Click here to get started
+ <Trans>Click here to get started</Trans>
</button>
}
/>
@@ -157,11 +160,13 @@ export const PublicTemplatesDataTable = () => {
</DropdownMenuTrigger>
<DropdownMenuContent className="w-52" align="center" side="left">
- <DropdownMenuLabel>Action</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Action</Trans>
+ </DropdownMenuLabel>
<DropdownMenuItem onClick={() => void onCopyClick(template.directLink.token)}>
<LinkIcon className="mr-2 h-4 w-4" />
- Copy sharable link
+ <Trans>Copy sharable link</Trans>
</DropdownMenuItem>
<DropdownMenuItem
@@ -173,7 +178,7 @@ export const PublicTemplatesDataTable = () => {
}}
>
<EditIcon className="mr-2 h-4 w-4" />
- Update
+ <Trans>Update</Trans>
</DropdownMenuItem>
<DropdownMenuItem
@@ -185,7 +190,7 @@ export const PublicTemplatesDataTable = () => {
}
>
<Trash2Icon className="mr-2 h-4 w-4" />
- Remove
+ <Trans>Remove</Trans>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
diff --git a/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx b/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx
index a2b850412..2b46a653c 100644
--- a/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/activity/page.tsx
@@ -1,5 +1,10 @@
import type { Metadata } from 'next';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { SettingsHeader } from '~/components/(dashboard)/settings/layout/header';
import ActivityPageBackButton from '../../../../../components/(dashboard)/settings/layout/activity-back';
@@ -10,11 +15,15 @@ export const metadata: Metadata = {
};
export default function SettingsSecurityActivityPage() {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
+
return (
<div>
<SettingsHeader
- title="Security activity"
- subtitle="View all recent security activity related to your account."
+ title={_(msg`Security activity`)}
+ subtitle={_(msg`View all security activity related to your account.`)}
hideDivider={true}
>
<ActivityPageBackButton />
diff --git a/apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx b/apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx
index 4937749fc..8192e4246 100644
--- a/apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx
@@ -2,6 +2,8 @@
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type { DateTimeFormatOptions } from 'luxon';
import { DateTime } from 'luxon';
import { UAParser } from 'ua-parser-js';
@@ -23,6 +25,8 @@ const dateFormat: DateTimeFormatOptions = {
};
export const UserSecurityActivityDataTable = () => {
+ const { _ } = useLingui();
+
const parser = new UAParser();
const pathname = usePathname();
@@ -63,12 +67,12 @@ export const UserSecurityActivityDataTable = () => {
<DataTable
columns={[
{
- header: 'Date',
+ header: _(msg`Date`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate format={dateFormat} date={row.original.createdAt} />,
},
{
- header: 'Device',
+ header: _(msg`Device`),
cell: ({ row }) => {
if (!row.original.userAgent) {
return 'N/A';
@@ -92,7 +96,7 @@ export const UserSecurityActivityDataTable = () => {
},
},
{
- header: 'Browser',
+ header: _(msg`Browser`),
cell: ({ row }) => {
if (!row.original.userAgent) {
return 'N/A';
@@ -111,7 +115,7 @@ export const UserSecurityActivityDataTable = () => {
cell: ({ row }) => row.original.ipAddress ?? 'N/A',
},
{
- header: 'Action',
+ header: _(msg`Action`),
accessorKey: 'type',
cell: ({ row }) => USER_SECURITY_AUDIT_LOG_MAP[row.original.type],
},
diff --git a/apps/web/src/app/(dashboard)/settings/security/page.tsx b/apps/web/src/app/(dashboard)/settings/security/page.tsx
index 4bfd37aff..cbe35d254 100644
--- a/apps/web/src/app/(dashboard)/settings/security/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/page.tsx
@@ -1,6 +1,10 @@
import type { Metadata } from 'next';
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getServerComponentFlag } from '@documenso/lib/server-only/feature-flags/get-server-component-feature-flag';
import { Alert, AlertDescription, AlertTitle } from '@documenso/ui/primitives/alert';
@@ -17,6 +21,9 @@ export const metadata: Metadata = {
};
export default async function SecuritySettingsPage() {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
const { user } = await getRequiredServerComponentSession();
const isPasskeyEnabled = await getServerComponentFlag('app_passkey');
@@ -24,8 +31,8 @@ export default async function SecuritySettingsPage() {
return (
<div>
<SettingsHeader
- title="Security"
- subtitle="Here you can manage your password and security settings."
+ title={_(msg`Security`)}
+ subtitle={_(msg`Here you can manage your password and security settings.`)}
/>
{user.identityProvider === 'DOCUMENSO' && (
@@ -41,13 +48,22 @@ export default async function SecuritySettingsPage() {
variant="neutral"
>
<div className="mb-4 sm:mb-0">
- <AlertTitle>Two factor authentication</AlertTitle>
+ <AlertTitle>
+ <Trans>Two factor authentication</Trans>
+ </AlertTitle>
<AlertDescription className="mr-4">
- Add an authenticator to serve as a secondary authentication method{' '}
- {user.identityProvider === 'DOCUMENSO'
- ? 'when signing in, or when signing documents.'
- : 'for signing documents.'}
+ {user.identityProvider === 'DOCUMENSO' ? (
+ <Trans>
+ Add an authenticator to serve as a secondary authentication method when signing in,
+ or when signing documents.
+ </Trans>
+ ) : (
+ <Trans>
+ Add an authenticator to serve as a secondary authentication method for signing
+ documents.
+ </Trans>
+ )}
</AlertDescription>
</div>
@@ -64,11 +80,15 @@ export default async function SecuritySettingsPage() {
variant="neutral"
>
<div className="mb-4 sm:mb-0">
- <AlertTitle>Recovery codes</AlertTitle>
+ <AlertTitle>
+ <Trans>Recovery codes</Trans>
+ </AlertTitle>
<AlertDescription className="mr-4">
- Two factor authentication recovery codes are used to access your account in the event
- that you lose access to your authenticator app.
+ <Trans>
+ Two factor authentication recovery codes are used to access your account in the
+ event that you lose access to your authenticator app.
+ </Trans>
</AlertDescription>
</div>
@@ -82,15 +102,21 @@ export default async function SecuritySettingsPage() {
variant="neutral"
>
<div className="mb-4 sm:mb-0">
- <AlertTitle>Passkeys</AlertTitle>
+ <AlertTitle>
+ <Trans>Passkeys</Trans>
+ </AlertTitle>
<AlertDescription className="mr-4">
- Allows authenticating using biometrics, password managers, hardware keys, etc.
+ <Trans>
+ Allows authenticating using biometrics, password managers, hardware keys, etc.
+ </Trans>
</AlertDescription>
</div>
<Button asChild variant="outline" className="bg-background">
- <Link href="/settings/security/passkeys">Manage passkeys</Link>
+ <Link href="/settings/security/passkeys">
+ <Trans>Manage passkeys</Trans>
+ </Link>
</Button>
</Alert>
)}
@@ -100,15 +126,19 @@ export default async function SecuritySettingsPage() {
variant="neutral"
>
<div className="mb-4 mr-4 sm:mb-0">
- <AlertTitle>Recent activity</AlertTitle>
+ <AlertTitle>
+ <Trans>Recent activity</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
- View all recent security activity related to your account.
+ <Trans>View all recent security activity related to your account.</Trans>
</AlertDescription>
</div>
<Button asChild variant="outline" className="bg-background">
- <Link href="/settings/security/activity">View activity</Link>
+ <Link href="/settings/security/activity">
+ <Trans>View activity</Trans>
+ </Link>
</Button>
</Alert>
</div>
diff --git a/apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx b/apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx
index f6db55e10..5c52532c9 100644
--- a/apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx
@@ -3,6 +3,8 @@
import { useEffect, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { startRegistration } from '@simplewebauthn/browser';
import { KeyRoundIcon } from 'lucide-react';
@@ -53,6 +55,7 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
const [open, setOpen] = useState(false);
const [formError, setFormError] = useState<string | null>(null);
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TCreatePasskeyFormSchema>({
@@ -81,7 +84,7 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
});
toast({
- description: 'Successfully created passkey',
+ description: _(msg`Successfully created passkey`),
duration: 5000,
});
@@ -140,17 +143,22 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
{trigger ?? (
<Button variant="secondary" loading={isLoading}>
<KeyRoundIcon className="-ml-1 mr-1 h-5 w-5" />
- Add passkey
+ <Trans>Add passkey</Trans>
</Button>
)}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Add passkey</DialogTitle>
+ <DialogTitle>
+ <Trans>Add passkey</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- Passkeys allow you to sign in and authenticate using biometrics, password managers, etc.
+ <Trans>
+ Passkeys allow you to sign in and authenticate using biometrics, password managers,
+ etc.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -165,7 +173,9 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
name="passkeyName"
render={({ field }) => (
<FormItem>
- <FormLabel required>Passkey name</FormLabel>
+ <FormLabel required>
+ <Trans>Passkey name</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" placeholder="eg. Mac" {...field} />
</FormControl>
@@ -176,13 +186,17 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
<Alert variant="neutral">
<AlertDescription>
- When you click continue, you will be prompted to add the first available
- authenticator on your system.
+ <Trans>
+ When you click continue, you will be prompted to add the first available
+ authenticator on your system.
+ </Trans>
</AlertDescription>
<AlertDescription className="mt-2">
- If you do not want to use the authenticator prompted, you can close it, which will
- then display the next available authenticator.
+ <Trans>
+ If you do not want to use the authenticator prompted, you can close it, which
+ will then display the next available authenticator.
+ </Trans>
</AlertDescription>
</Alert>
@@ -190,30 +204,40 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
<Alert variant="destructive">
{match(formError)
.with('ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED', () => (
- <AlertDescription>This passkey has already been registered.</AlertDescription>
+ <AlertDescription>
+ <Trans>This passkey has already been registered.</Trans>
+ </AlertDescription>
))
.with('TOO_MANY_PASSKEYS', () => (
<AlertDescription>
- You cannot have more than {MAXIMUM_PASSKEYS} passkeys.
+ <Trans>You cannot have more than {MAXIMUM_PASSKEYS} passkeys.</Trans>
</AlertDescription>
))
.with('InvalidStateError', () => (
<>
<AlertTitle className="text-sm">
- Passkey creation cancelled due to one of the following reasons:
+ <Trans>
+ Passkey creation cancelled due to one of the following reasons:
+ </Trans>
</AlertTitle>
<AlertDescription>
<ul className="mt-1 list-inside list-disc">
- <li>Cancelled by user</li>
- <li>Passkey already exists for the provided authenticator</li>
- <li>Exceeded timeout</li>
+ <li>
+ <Trans>Cancelled by user</Trans>
+ </li>
+ <li>
+ <Trans>Passkey already exists for the provided authenticator</Trans>
+ </li>
+ <li>
+ <Trans>Exceeded timeout</Trans>
+ </li>
</ul>
</AlertDescription>
</>
))
.otherwise(() => (
<AlertDescription>
- Something went wrong. Please try again or contact support.
+ <Trans>Something went wrong. Please try again or contact support.</Trans>
</AlertDescription>
))}
</Alert>
@@ -221,11 +245,11 @@ export const CreatePasskeyDialog = ({ trigger, onSuccess, ...props }: CreatePass
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={form.formState.isSubmitting}>
- Continue
+ <Trans>Continue</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx b/apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx
index 724177b39..106916b3c 100644
--- a/apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx
@@ -1,6 +1,10 @@
import type { Metadata } from 'next';
import { redirect } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentFlag } from '@documenso/lib/server-only/feature-flags/get-server-component-feature-flag';
import { SettingsHeader } from '~/components/(dashboard)/settings/layout/header';
@@ -13,6 +17,9 @@ export const metadata: Metadata = {
};
export default async function SettingsManagePasskeysPage() {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
const isPasskeyEnabled = await getServerComponentFlag('app_passkey');
if (!isPasskeyEnabled) {
@@ -21,7 +28,11 @@ export default async function SettingsManagePasskeysPage() {
return (
<div>
- <SettingsHeader title="Passkeys" subtitle="Manage your passkeys." hideDivider={true}>
+ <SettingsHeader
+ title={_(msg`Passkeys`)}
+ subtitle={_(msg`Manage your passkeys.`)}
+ hideDivider={true}
+ >
<CreatePasskeyDialog />
</SettingsHeader>
diff --git a/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx b/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx
index 247f130c5..4c720076a 100644
--- a/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx
@@ -1,6 +1,8 @@
import { useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -45,6 +47,7 @@ export const UserPasskeysDataTableActions = ({
passkeyId,
passkeyName,
}: UserPasskeysDataTableActionsProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [isDeleteDialogOpen, setIsDeleteDialogOpen] = useState(false);
@@ -61,15 +64,16 @@ export const UserPasskeysDataTableActions = ({
trpc.auth.updatePasskey.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Passkey has been updated',
+ title: _(msg`Success`),
+ description: _(msg`Passkey has been updated`),
});
},
onError: () => {
toast({
- title: 'Something went wrong',
- description:
- 'We are unable to update this passkey at the moment. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We are unable to update this passkey at the moment. Please try again later.`,
+ ),
duration: 10000,
variant: 'destructive',
});
@@ -80,15 +84,16 @@ export const UserPasskeysDataTableActions = ({
trpc.auth.deletePasskey.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Passkey has been removed',
+ title: _(msg`Success`),
+ description: _(msg`Passkey has been removed`),
});
},
onError: () => {
toast({
- title: 'Something went wrong',
- description:
- 'We are unable to remove this passkey at the moment. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We are unable to remove this passkey at the moment. Please try again later.`,
+ ),
duration: 10000,
variant: 'destructive',
});
@@ -102,15 +107,21 @@ export const UserPasskeysDataTableActions = ({
onOpenChange={(value) => !isUpdatingPasskey && setIsUpdateDialogOpen(value)}
>
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild>
- <Button variant="outline">Edit</Button>
+ <Button variant="outline">
+ <Trans>Edit</Trans>
+ </Button>
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Update passkey</DialogTitle>
+ <DialogTitle>
+ <Trans>Update passkey</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You are currently updating the <strong>{passkeyName}</strong> passkey.
+ <Trans>
+ You are currently updating the <strong>{passkeyName}</strong> passkey.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -129,7 +140,9 @@ export const UserPasskeysDataTableActions = ({
name="name"
render={({ field }) => (
<FormItem className="w-full">
- <FormLabel required>Name</FormLabel>
+ <FormLabel required>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input {...field} />
</FormControl>
@@ -141,12 +154,12 @@ export const UserPasskeysDataTableActions = ({
<DialogFooter className="mt-4">
<DialogClose asChild>
<Button type="button" variant="secondary">
- Cancel
+ <Trans>Cancel</Trans>
</Button>
</DialogClose>
<Button type="submit" loading={isUpdatingPasskey}>
- Update
+ <Trans>Update</Trans>
</Button>
</DialogFooter>
</fieldset>
@@ -160,15 +173,21 @@ export const UserPasskeysDataTableActions = ({
onOpenChange={(value) => !isDeletingPasskey && setIsDeleteDialogOpen(value)}
>
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild={true}>
- <Button variant="destructive">Delete</Button>
+ <Button variant="destructive">
+ <Trans>Delete</Trans>
+ </Button>
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Delete passkey</DialogTitle>
+ <DialogTitle>
+ <Trans>Delete passkey</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- Are you sure you want to remove the <strong>{passkeyName}</strong> passkey.
+ <Trans>
+ Are you sure you want to remove the <strong>{passkeyName}</strong> passkey.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -176,7 +195,7 @@ export const UserPasskeysDataTableActions = ({
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Cancel
+ <Trans>Cancel</Trans>
</Button>
</DialogClose>
@@ -189,7 +208,7 @@ export const UserPasskeysDataTableActions = ({
variant="destructive"
loading={isDeletingPasskey}
>
- Delete
+ <Trans>Delete</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx b/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx
index edc14cb43..471722683 100644
--- a/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx
+++ b/apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx
@@ -2,6 +2,8 @@
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DateTime } from 'luxon';
import { useUpdateSearchParams } from '@documenso/lib/client-only/hooks/use-update-search-params';
@@ -15,6 +17,8 @@ import { TableCell } from '@documenso/ui/primitives/table';
import { UserPasskeysDataTableActions } from './user-passkeys-data-table-actions';
export const UserPasskeysDataTable = () => {
+ const { _ } = useLingui();
+
const pathname = usePathname();
const router = useRouter();
const searchParams = useSearchParams();
@@ -52,22 +56,22 @@ export const UserPasskeysDataTable = () => {
<DataTable
columns={[
{
- header: 'Name',
+ header: _(msg`Name`),
accessorKey: 'name',
},
{
- header: 'Created',
+ header: _(msg`Created`),
accessorKey: 'createdAt',
cell: ({ row }) => DateTime.fromJSDate(row.original.createdAt).toRelative(),
},
{
- header: 'Last used',
+ header: _(msg`Last used`),
accessorKey: 'updatedAt',
cell: ({ row }) =>
row.original.lastUsedAt
? DateTime.fromJSDate(row.original.lastUsedAt).toRelative()
- : 'Never',
+ : msg`Never`,
},
{
id: 'actions',
diff --git a/apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx b/apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx
index 8aa81653d..cca5448f3 100644
--- a/apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx
+++ b/apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx
@@ -1,5 +1,8 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc } from '@documenso/trpc/react';
import { Button } from '@documenso/ui/primitives/button';
import { useToast } from '@documenso/ui/primitives/use-toast';
@@ -9,6 +12,7 @@ export type AcceptTeamInvitationButtonProps = {
};
export const AcceptTeamInvitationButton = ({ teamId }: AcceptTeamInvitationButtonProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const {
@@ -18,17 +22,17 @@ export const AcceptTeamInvitationButton = ({ teamId }: AcceptTeamInvitationButto
} = trpc.team.acceptTeamInvitation.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Accepted team invitation',
+ title: _(msg`Success`),
+ description: _(msg`Accepted team invitation`),
duration: 5000,
});
},
onError: () => {
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to join this team at this time.`),
variant: 'destructive',
duration: 10000,
- description: 'Unable to join this team at this time.',
});
},
});
@@ -39,7 +43,7 @@ export const AcceptTeamInvitationButton = ({ teamId }: AcceptTeamInvitationButto
loading={isLoading}
disabled={isLoading || isSuccess}
>
- Accept
+ <Trans>Accept</Trans>
</Button>
);
};
diff --git a/apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx b/apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx
index a7e8f937f..b1f8ecb43 100644
--- a/apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx
+++ b/apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx
@@ -1,5 +1,8 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc } from '@documenso/trpc/react';
import { Button } from '@documenso/ui/primitives/button';
import { useToast } from '@documenso/ui/primitives/use-toast';
@@ -9,6 +12,7 @@ export type DeclineTeamInvitationButtonProps = {
};
export const DeclineTeamInvitationButton = ({ teamId }: DeclineTeamInvitationButtonProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const {
@@ -18,17 +22,17 @@ export const DeclineTeamInvitationButton = ({ teamId }: DeclineTeamInvitationBut
} = trpc.team.declineTeamInvitation.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Declined team invitation',
+ title: _(msg`Success`),
+ description: _(msg`Declined team invitation`),
duration: 5000,
});
},
onError: () => {
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to decline this team invitation at this time.`),
variant: 'destructive',
duration: 10000,
- description: 'Unable to decline this team invitation at this time.',
});
},
});
@@ -40,7 +44,7 @@ export const DeclineTeamInvitationButton = ({ teamId }: DeclineTeamInvitationBut
disabled={isLoading || isSuccess}
variant="ghost"
>
- Decline
+ <Trans>Decline</Trans>
</Button>
);
};
diff --git a/apps/web/src/app/(dashboard)/settings/teams/page.tsx b/apps/web/src/app/(dashboard)/settings/teams/page.tsx
index 1a3d90b66..439bc9713 100644
--- a/apps/web/src/app/(dashboard)/settings/teams/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/teams/page.tsx
@@ -1,5 +1,7 @@
'use client';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence } from 'framer-motion';
import { trpc } from '@documenso/trpc/react';
@@ -13,11 +15,16 @@ import { TeamEmailUsage } from './team-email-usage';
import { TeamInvitations } from './team-invitations';
export default function TeamsSettingsPage() {
+ const { _ } = useLingui();
+
const { data: teamEmail } = trpc.team.getTeamEmailByEmail.useQuery();
return (
<div>
- <SettingsHeader title="Teams" subtitle="Manage all teams you are currently associated with.">
+ <SettingsHeader
+ title={_(msg`Teams`)}
+ subtitle={_(msg`Manage all teams you are currently associated with.`)}
+ >
<CreateTeamDialog />
</SettingsHeader>
diff --git a/apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx b/apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx
index 56a7b110a..a6658fde6 100644
--- a/apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx
+++ b/apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx
@@ -2,6 +2,9 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import type { TeamEmail } from '@documenso/prisma/client';
import { trpc } from '@documenso/trpc/react';
import { Alert, AlertDescription, AlertTitle } from '@documenso/ui/primitives/alert';
@@ -24,24 +27,26 @@ export type TeamEmailUsageProps = {
export const TeamEmailUsage = ({ teamEmail }: TeamEmailUsageProps) => {
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: deleteTeamEmail, isLoading: isDeletingTeamEmail } =
trpc.team.deleteTeamEmail.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'You have successfully revoked access.',
+ title: _(msg`Success`),
+ description: _(msg`You have successfully revoked access.`),
duration: 5000,
});
},
onError: () => {
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We encountered an unknown error while attempting to revoke access. Please try again or contact support.`,
+ ),
variant: 'destructive',
duration: 10000,
- description:
- 'We encountered an unknown error while attempting to revoke access. Please try again or contact support.',
});
},
});
@@ -49,43 +54,59 @@ export const TeamEmailUsage = ({ teamEmail }: TeamEmailUsageProps) => {
return (
<Alert variant="neutral" className="flex flex-row items-center justify-between p-6">
<div>
- <AlertTitle className="mb-0">Team Email</AlertTitle>
+ <AlertTitle className="mb-0">
+ <Trans>Team Email</Trans>
+ </AlertTitle>
<AlertDescription>
<p>
- Your email is currently being used by team{' '}
- <span className="font-semibold">{teamEmail.team.name}</span> ({teamEmail.team.url}
- ).
+ <Trans>
+ Your email is currently being used by team{' '}
+ <span className="font-semibold">{teamEmail.team.name}</span> ({teamEmail.team.url}
+ ).
+ </Trans>
</p>
- <p className="mt-1">They have permission on your behalf to:</p>
+ <p className="mt-1">
+ <Trans>They have permission on your behalf to:</Trans>
+ </p>
<ul className="mt-0.5 list-inside list-disc">
- <li>Display your name and email in documents</li>
- <li>View all documents sent to your account</li>
+ <li>
+ <Trans>Display your name and email in documents</Trans>
+ </li>
+ <li>
+ <Trans>View all documents sent to your account</Trans>
+ </li>
</ul>
</AlertDescription>
</div>
<Dialog open={open} onOpenChange={(value) => !isDeletingTeamEmail && setOpen(value)}>
<DialogTrigger asChild>
- <Button variant="destructive">Revoke access</Button>
+ <Button variant="destructive">
+ <Trans>Revoke access</Trans>
+ </Button>
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You are about to revoke access for team{' '}
- <span className="font-semibold">{teamEmail.team.name}</span> ({teamEmail.team.url}) to
- use your email.
+ <Trans>
+ You are about to revoke access for team{' '}
+ <span className="font-semibold">{teamEmail.team.name}</span> ({teamEmail.team.url})
+ to use your email.
+ </Trans>
</DialogDescription>
</DialogHeader>
<fieldset disabled={isDeletingTeamEmail}>
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -94,7 +115,7 @@ export const TeamEmailUsage = ({ teamEmail }: TeamEmailUsageProps) => {
loading={isDeletingTeamEmail}
onClick={async () => deleteTeamEmail({ teamId: teamEmail.teamId })}
>
- Revoke
+ <Trans>Revoke</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx b/apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx
index 7d2ec11c9..c45bcd3a4 100644
--- a/apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx
+++ b/apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx
@@ -1,5 +1,6 @@
'use client';
+import { Plural, Trans } from '@lingui/macro';
import { AnimatePresence } from 'framer-motion';
import { BellIcon } from 'lucide-react';
@@ -33,23 +34,48 @@ export const TeamInvitations = () => {
<BellIcon className="mr-4 h-5 w-5 text-blue-800" />
<AlertDescription className="mr-2">
- You have <strong>{data.length}</strong> pending team invitation
- {data.length > 1 ? 's' : ''}.
+ <Plural
+ value={data.length}
+ one={
+ <span>
+ You have <strong>1</strong> pending team invitation
+ </span>
+ }
+ other={
+ <span>
+ You have <strong>#</strong> pending team invitations
+ </span>
+ }
+ />
</AlertDescription>
<Dialog>
<DialogTrigger asChild>
<button className="ml-auto text-sm font-medium text-blue-700 hover:text-blue-600">
- View invites
+ <Trans>View invites</Trans>
</button>
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Pending invitations</DialogTitle>
+ <DialogTitle>
+ <Trans>Pending invitations</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You have {data.length} pending team invitation{data.length > 1 ? 's' : ''}.
+ <Plural
+ value={data.length}
+ one={
+ <span>
+ You have <strong>1</strong> pending team invitation
+ </span>
+ }
+ other={
+ <span>
+ You have <strong>#</strong> pending team invitations
+ </span>
+ }
+ />
</DialogDescription>
</DialogHeader>
diff --git a/apps/web/src/app/(dashboard)/settings/tokens/page.tsx b/apps/web/src/app/(dashboard)/settings/tokens/page.tsx
index a04894f27..bb1e1eda9 100644
--- a/apps/web/src/app/(dashboard)/settings/tokens/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/tokens/page.tsx
@@ -1,5 +1,7 @@
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getUserTokens } from '@documenso/lib/server-only/public-api/get-all-user-tokens';
import { Button } from '@documenso/ui/primitives/button';
@@ -9,25 +11,31 @@ import { LocaleDate } from '~/components/formatter/locale-date';
import { ApiTokenForm } from '~/components/forms/token';
export default async function ApiTokensPage() {
+ setupI18nSSR();
+
const { user } = await getRequiredServerComponentSession();
const tokens = await getUserTokens({ userId: user.id });
return (
<div>
- <h3 className="text-2xl font-semibold">API Tokens</h3>
+ <h3 className="text-2xl font-semibold">
+ <Trans>API Tokens</Trans>
+ </h3>
<p className="text-muted-foreground mt-2 text-sm">
- On this page, you can create new API tokens and manage the existing ones. <br />
- Also see our{' '}
- <a
- className="text-primary underline"
- href={'https://docs.documenso.com/developers/public-api'}
- target="_blank"
- >
- Documentation
- </a>
- .
+ <Trans>
+ On this page, you can create new API tokens and manage the existing ones. <br />
+ Also see our{' '}
+ <a
+ className="text-primary underline"
+ href={'https://docs.documenso.com/developers/public-api'}
+ target="_blank"
+ >
+ Documentation
+ </a>
+ .
+ </Trans>
</p>
<hr className="my-4" />
@@ -36,12 +44,14 @@ export default async function ApiTokensPage() {
<hr className="mb-4 mt-8" />
- <h4 className="text-xl font-medium">Your existing tokens</h4>
+ <h4 className="text-xl font-medium">
+ <Trans>Your existing tokens</Trans>
+ </h4>
{tokens.length === 0 && (
<div className="mb-4">
<p className="text-muted-foreground mt-2 text-sm italic">
- Your tokens will be shown here once you create them.
+ <Trans>Your tokens will be shown here once you create them.</Trans>
</p>
</div>
)}
@@ -55,22 +65,30 @@ export default async function ApiTokensPage() {
<h5 className="text-base">{token.name}</h5>
<p className="text-muted-foreground mt-2 text-xs">
- Created on <LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
+ <Trans>
+ Created on{' '}
+ <LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
+ </Trans>
</p>
{token.expires ? (
<p className="text-muted-foreground mt-1 text-xs">
- Expires on <LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
+ <Trans>
+ Expires on{' '}
+ <LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
+ </Trans>
</p>
) : (
<p className="text-muted-foreground mt-1 text-xs">
- Token doesn't have an expiration date
+ <Trans>Token doesn't have an expiration date</Trans>
</p>
)}
</div>
<div>
<DeleteTokenDialog token={token}>
- <Button variant="destructive">Delete</Button>
+ <Button variant="destructive">
+ <Trans>Delete</Trans>
+ </Button>
</DeleteTokenDialog>
</div>
</div>
diff --git a/apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx b/apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx
index 53ec24827..3800bdd67 100644
--- a/apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -38,6 +40,7 @@ export type WebhookPageOptions = {
};
export default function WebhookPage({ params }: WebhookPageOptions) {
+ const { _ } = useLingui();
const { toast } = useToast();
const router = useRouter();
@@ -68,16 +71,18 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
});
toast({
- title: 'Webhook updated',
- description: 'The webhook has been updated successfully.',
+ title: _(msg`Webhook updated`),
+ description: _(msg`The webhook has been updated successfully.`),
duration: 5000,
});
router.refresh();
} catch (err) {
toast({
- title: 'Failed to update webhook',
- description: 'We encountered an error while updating the webhook. Please try again later.',
+ title: _(msg`Failed to update webhook`),
+ description: _(
+ msg`We encountered an error while updating the webhook. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -86,8 +91,8 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
return (
<div>
<SettingsHeader
- title="Edit webhook"
- subtitle="On this page, you can edit the webhook and its settings."
+ title={_(msg`Edit webhook`)}
+ subtitle={_(msg`On this page, you can edit the webhook and its settings.`)}
/>
{isLoading && (
@@ -108,13 +113,15 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
name="webhookUrl"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel required>Webhook URL</FormLabel>
+ <FormLabel required>
+ <Trans>Webhook URL</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
</FormControl>
<FormDescription>
- The URL for Documenso to send webhook events to.
+ <Trans>The URL for Documenso to send webhook events to.</Trans>
</FormDescription>
<FormMessage />
@@ -127,7 +134,9 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
name="enabled"
render={({ field }) => (
<FormItem>
- <FormLabel>Enabled</FormLabel>
+ <FormLabel>
+ <Trans>Enabled</Trans>
+ </FormLabel>
<div>
<FormControl>
@@ -150,7 +159,9 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
name="eventTriggers"
render={({ field: { onChange, value } }) => (
<FormItem className="flex flex-col gap-2">
- <FormLabel required>Triggers</FormLabel>
+ <FormLabel required>
+ <Trans>Triggers</Trans>
+ </FormLabel>
<FormControl>
<TriggerMultiSelectCombobox
listValues={value}
@@ -161,7 +172,7 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
</FormControl>
<FormDescription>
- The events that will trigger a webhook to be sent to your URL.
+ <Trans> The events that will trigger a webhook to be sent to your URL.</Trans>
</FormDescription>
<FormMessage />
@@ -174,14 +185,18 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
name="secret"
render={({ field }) => (
<FormItem>
- <FormLabel>Secret</FormLabel>
+ <FormLabel>
+ <Trans>Secret</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput className="bg-background" {...field} value={field.value ?? ''} />
</FormControl>
<FormDescription>
- A secret that will be sent to your URL so you can verify that the request has
- been sent by Documenso.
+ <Trans>
+ A secret that will be sent to your URL so you can verify that the request has
+ been sent by Documenso.
+ </Trans>
</FormDescription>
<FormMessage />
</FormItem>
@@ -190,7 +205,7 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
<div className="mt-4">
<Button type="submit" loading={form.formState.isSubmitting}>
- Update webhook
+ <Trans>Update webhook</Trans>
</Button>
</div>
</fieldset>
diff --git a/apps/web/src/app/(dashboard)/settings/webhooks/page.tsx b/apps/web/src/app/(dashboard)/settings/webhooks/page.tsx
index 01196544d..682f97c80 100644
--- a/apps/web/src/app/(dashboard)/settings/webhooks/page.tsx
+++ b/apps/web/src/app/(dashboard)/settings/webhooks/page.tsx
@@ -2,6 +2,8 @@
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DateTime } from 'luxon';
@@ -17,13 +19,15 @@ import { DeleteWebhookDialog } from '~/components/(dashboard)/settings/webhooks/
import { LocaleDate } from '~/components/formatter/locale-date';
export default function WebhookPage() {
+ const { _ } = useLingui();
+
const { data: webhooks, isLoading } = trpc.webhook.getWebhooks.useQuery();
return (
<div>
<SettingsHeader
- title="Webhooks"
- subtitle="On this page, you can create new Webhooks and manage the existing ones."
+ title={_(msg`Webhooks`)}
+ subtitle={_(msg`On this page, you can create new Webhooks and manage the existing ones.`)}
>
<CreateWebhookDialog />
</SettingsHeader>
@@ -38,7 +42,9 @@ export default function WebhookPage() {
// TODO: Perhaps add some illustrations here to make the page more engaging
<div className="mb-4">
<p className="text-muted-foreground mt-2 text-sm italic">
- You have no webhooks yet. Your webhooks will be shown here once you create them.
+ <Trans>
+ You have no webhooks yet. Your webhooks will be shown here once you create them.
+ </Trans>
</p>
</div>
)}
@@ -66,29 +72,37 @@ export default function WebhookPage() {
</h5>
<Badge variant={webhook.enabled ? 'neutral' : 'warning'} size="small">
- {webhook.enabled ? 'Enabled' : 'Disabled'}
+ {webhook.enabled ? <Trans>Enabled</Trans> : <Trans>Disabled</Trans>}
</Badge>
</div>
<p className="text-muted-foreground mt-2 text-xs">
- Listening to{' '}
- {webhook.eventTriggers
- .map((trigger) => toFriendlyWebhookEventName(trigger))
- .join(', ')}
+ <Trans>
+ Listening to{' '}
+ {webhook.eventTriggers
+ .map((trigger) => toFriendlyWebhookEventName(trigger))
+ .join(', ')}
+ </Trans>
</p>
<p className="text-muted-foreground mt-2 text-xs">
- Created on{' '}
- <LocaleDate date={webhook.createdAt} format={DateTime.DATETIME_FULL} />
+ <Trans>
+ Created on{' '}
+ <LocaleDate date={webhook.createdAt} format={DateTime.DATETIME_FULL} />
+ </Trans>
</p>
</div>
<div className="mt-4 flex flex-shrink-0 gap-4 sm:mt-0">
<Button asChild variant="outline">
- <Link href={`/settings/webhooks/${webhook.id}`}>Edit</Link>
+ <Link href={`/settings/webhooks/${webhook.id}`}>
+ <Trans>Edit</Trans>
+ </Link>
</Button>
<DeleteWebhookDialog webhook={webhook}>
- <Button variant="destructive">Delete</Button>
+ <Button variant="destructive">
+ <Trans>Delete</Trans>
+ </Button>
</DeleteWebhookDialog>
</div>
</div>
diff --git a/apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx b/apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx
index f53c2a795..19cab8e5d 100644
--- a/apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx
+++ b/apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx
@@ -4,6 +4,9 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import {
DO_NOT_INVALIDATE_QUERY_ON_MUTATION,
SKIP_QUERY_BATCH_META,
@@ -42,7 +45,9 @@ export const EditTemplateForm = ({
isEnterprise,
templateRootPath,
}: EditTemplateFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const team = useOptionalCurrentTeam();
@@ -68,18 +73,18 @@ export const EditTemplateForm = ({
const documentFlow: Record<EditTemplateStep, DocumentFlowStep> = {
settings: {
- title: 'General',
- description: 'Configure general settings for the template.',
+ title: msg`General`,
+ description: msg`Configure general settings for the template.`,
stepIndex: 1,
},
signers: {
- title: 'Add Placeholders',
- description: 'Add all relevant placeholders for each recipient.',
+ title: msg`Add Placeholders`,
+ description: msg`Add all relevant placeholders for each recipient.`,
stepIndex: 2,
},
fields: {
- title: 'Add Fields',
- description: 'Add all relevant fields for each recipient.',
+ title: msg`Add Fields`,
+ description: msg`Add all relevant fields for each recipient.`,
stepIndex: 3,
},
};
@@ -144,8 +149,8 @@ export const EditTemplateForm = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while updating the document settings.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while updating the document settings.`),
variant: 'destructive',
});
}
@@ -167,8 +172,8 @@ export const EditTemplateForm = ({
setStep('fields');
} catch (err) {
toast({
- title: 'Error',
- description: 'An error occurred while adding signers.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while adding signers.`),
variant: 'destructive',
});
}
@@ -190,8 +195,8 @@ export const EditTemplateForm = ({
}
toast({
- title: 'Template saved',
- description: 'Your templates has been saved successfully.',
+ title: _(msg`Template saved`),
+ description: _(msg`Your templates has been saved successfully.`),
duration: 5000,
});
@@ -201,8 +206,8 @@ export const EditTemplateForm = ({
router.push(templateRootPath);
} catch (err) {
toast({
- title: 'Error',
- description: 'An error occurred while adding signers.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while adding signers.`),
variant: 'destructive',
});
}
diff --git a/apps/web/src/app/(dashboard)/templates/[id]/page.tsx b/apps/web/src/app/(dashboard)/templates/[id]/page.tsx
index aa55d1943..5c5699c25 100644
--- a/apps/web/src/app/(dashboard)/templates/[id]/page.tsx
+++ b/apps/web/src/app/(dashboard)/templates/[id]/page.tsx
@@ -1,10 +1,14 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import type { TemplatePageViewProps } from './template-page-view';
import { TemplatePageView } from './template-page-view';
type TemplatePageProps = Pick<TemplatePageViewProps, 'params'>;
export default function TemplatePage({ params }: TemplatePageProps) {
+ setupI18nSSR();
+
return <TemplatePageView params={params} />;
}
diff --git a/apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx b/apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx
index 39d057248..f9ecae130 100644
--- a/apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx
+++ b/apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx
@@ -2,6 +2,7 @@
import React, { useState } from 'react';
+import { Trans } from '@lingui/macro';
import { LinkIcon } from 'lucide-react';
import type { Recipient, Template, TemplateDirectLink } from '@documenso/prisma/client';
@@ -27,7 +28,12 @@ export const TemplateDirectLinkDialogWrapper = ({ template }: TemplatePageViewPr
}}
>
<LinkIcon className="mr-1.5 h-3.5 w-3.5" />
- {template.directLink ? 'Manage' : 'Create'} Direct Link
+
+ {template.directLink ? (
+ <Trans>Manage Direct Link</Trans>
+ ) : (
+ <Trans>Create Direct Link</Trans>
+ )}
</Button>
<TemplateDirectLinkDialog
diff --git a/apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx b/apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx
index 36071ffee..b67f289a8 100644
--- a/apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx
@@ -3,6 +3,7 @@ import React from 'react';
import Link from 'next/link';
import { redirect } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { ChevronLeft } from 'lucide-react';
import { isUserEnterprise } from '@documenso/ee/server-only/util/is-document-enterprise';
@@ -56,7 +57,7 @@ export const TemplatePageView = async ({ params, team }: TemplatePageViewProps)
<div>
<Link href="/templates" className="flex items-center text-[#7AC455] hover:opacity-80">
<ChevronLeft className="mr-2 inline-block h-5 w-5" />
- Templates
+ <Trans>Templates</Trans>
</Link>
<h1 className="mt-4 truncate text-2xl font-semibold md:text-3xl" title={template.title}>
diff --git a/apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx b/apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx
index 2b4576eb3..0e8b3b2b0 100644
--- a/apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx
+++ b/apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx
@@ -4,6 +4,7 @@ import { useState } from 'react';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { Copy, Edit, MoreHorizontal, MoveRight, Share2Icon, Trash2 } from 'lucide-react';
import { useSession } from 'next-auth/react';
@@ -58,7 +59,7 @@ export const DataTableActionDropdown = ({
<DropdownMenuItem disabled={!isOwner && !isTeamTemplate} asChild>
<Link href={`${templateRootPath}/${row.id}`}>
<Edit className="mr-2 h-4 w-4" />
- Edit
+ <Trans>Edit</Trans>
</Link>
</DropdownMenuItem>
@@ -67,18 +68,18 @@ export const DataTableActionDropdown = ({
onClick={() => setDuplicateDialogOpen(true)}
>
<Copy className="mr-2 h-4 w-4" />
- Duplicate
+ <Trans>Duplicate</Trans>
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setTemplateDirectLinkDialogOpen(true)}>
<Share2Icon className="mr-2 h-4 w-4" />
- Direct link
+ <Trans>Direct link</Trans>
</DropdownMenuItem>
{!teamId && (
<DropdownMenuItem onClick={() => setMoveDialogOpen(true)}>
<MoveRight className="mr-2 h-4 w-4" />
- Move to Team
+ <Trans>Move to Team</Trans>
</DropdownMenuItem>
)}
@@ -87,7 +88,7 @@ export const DataTableActionDropdown = ({
onClick={() => setDeleteDialogOpen(true)}
>
<Trash2 className="mr-2 h-4 w-4" />
- Delete
+ <Trans>Delete</Trans>
</DropdownMenuItem>
</DropdownMenuContent>
diff --git a/apps/web/src/app/(dashboard)/templates/data-table-templates.tsx b/apps/web/src/app/(dashboard)/templates/data-table-templates.tsx
index aeedc9cff..de2eb218c 100644
--- a/apps/web/src/app/(dashboard)/templates/data-table-templates.tsx
+++ b/apps/web/src/app/(dashboard)/templates/data-table-templates.tsx
@@ -4,6 +4,8 @@ import { useTransition } from 'react';
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AlertTriangle, Globe2Icon, InfoIcon, Link2Icon, Loader, LockIcon } from 'lucide-react';
import { useLimits } from '@documenso/ee/server-only/limits/provider/client';
@@ -45,6 +47,7 @@ export const TemplatesDataTable = ({
const updateSearchParams = useUpdateSearchParams();
+ const { _ } = useLingui();
const { remaining } = useLimits();
const onPaginationChange = (page: number, perPage: number) => {
@@ -61,12 +64,16 @@ export const TemplatesDataTable = ({
{remaining.documents === 0 && (
<Alert variant="warning" className="mb-4">
<AlertTriangle className="h-4 w-4" />
- <AlertTitle>Document Limit Exceeded!</AlertTitle>
+ <AlertTitle>
+ <Trans>Document Limit Exceeded!</Trans>
+ </AlertTitle>
<AlertDescription className="mt-2">
- You have reached your document limit.{' '}
- <Link className="underline underline-offset-4" href="/settings/billing">
- Upgrade your account to continue!
- </Link>
+ <Trans>
+ You have reached your document limit.{' '}
+ <Link className="underline underline-offset-4" href="/settings/billing">
+ Upgrade your account to continue!
+ </Link>
+ </Trans>
</AlertDescription>
</Alert>
)}
@@ -74,18 +81,18 @@ export const TemplatesDataTable = ({
<DataTable
columns={[
{
- header: 'Created',
+ header: _(msg`Created`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />,
},
{
- header: 'Title',
+ header: _(msg`Title`),
cell: ({ row }) => <DataTableTitle row={row.original} />,
},
{
header: () => (
<div className="flex flex-row items-center">
- Type
+ <Trans>Type</Trans>
<Tooltip>
<TooltipTrigger>
<InfoIcon className="mx-2 h-4 w-4" />
@@ -96,36 +103,45 @@ export const TemplatesDataTable = ({
<li>
<h2 className="mb-2 flex flex-row items-center font-semibold">
<Globe2Icon className="mr-2 h-5 w-5 text-green-500 dark:text-green-300" />
- Public
+ <Trans>Public</Trans>
</h2>
<p>
- Public templates are connected to your public profile. Any modifications
- to public templates will also appear in your public profile.
+ <Trans>
+ Public templates are connected to your public profile. Any modifications
+ to public templates will also appear in your public profile.
+ </Trans>
</p>
</li>
<li>
<div className="mb-2 flex w-fit flex-row items-center rounded border border-neutral-300 bg-neutral-200 px-1.5 py-0.5 text-xs dark:border-neutral-500 dark:bg-neutral-600">
<Link2Icon className="mr-1 h-3 w-3" />
- direct link
+ <Trans>direct link</Trans>
</div>
<p>
- Direct link templates contain one dynamic recipient placeholder. Anyone
- with access to this link can sign the document, and it will then appear on
- your documents page.
+ <Trans>
+ Direct link templates contain one dynamic recipient placeholder. Anyone
+ with access to this link can sign the document, and it will then appear
+ on your documents page.
+ </Trans>
</p>
</li>
<li>
<h2 className="mb-2 flex flex-row items-center font-semibold">
<LockIcon className="mr-2 h-5 w-5 text-blue-600 dark:text-blue-300" />
- {teamId ? 'Team Only' : 'Private'}
+ {teamId ? <Trans>Team Only</Trans> : <Trans>Private</Trans>}
</h2>
<p>
- {teamId
- ? 'Team only templates are not linked anywhere and are visible only to your team.'
- : 'Private templates can only be modified and viewed by you.'}
+ {teamId ? (
+ <Trans>
+ Team only templates are not linked anywhere and are visible only to
+ your team.
+ </Trans>
+ ) : (
+ <Trans>Private templates can only be modified and viewed by you.</Trans>
+ )}
</p>
</li>
</ul>
@@ -149,7 +165,7 @@ export const TemplatesDataTable = ({
),
},
{
- header: 'Actions',
+ header: _(msg`Actions`),
accessorKey: 'actions',
cell: ({ row }) => {
return (
diff --git a/apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx b/apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx
index 9ded79fa5..83ae770b6 100644
--- a/apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx
@@ -1,5 +1,8 @@
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc as trpcReact } from '@documenso/trpc/react';
import { Button } from '@documenso/ui/primitives/button';
import {
@@ -27,6 +30,7 @@ export const DeleteTemplateDialog = ({
}: DeleteTemplateDialogProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: deleteTemplate, isLoading } = trpcReact.template.deleteTemplate.useMutation({
@@ -34,8 +38,8 @@ export const DeleteTemplateDialog = ({
router.refresh();
toast({
- title: 'Template deleted',
- description: 'Your template has been successfully deleted.',
+ title: _(msg`Template deleted`),
+ description: _(msg`Your template has been successfully deleted.`),
duration: 5000,
});
@@ -43,8 +47,8 @@ export const DeleteTemplateDialog = ({
},
onError: () => {
toast({
- title: 'Something went wrong',
- description: 'This template could not be deleted at this time. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`This template could not be deleted at this time. Please try again.`),
variant: 'destructive',
duration: 7500,
});
@@ -55,11 +59,15 @@ export const DeleteTemplateDialog = ({
<Dialog open={open} onOpenChange={(value) => !isLoading && onOpenChange(value)}>
<DialogContent>
<DialogHeader>
- <DialogTitle>Do you want to delete this template?</DialogTitle>
+ <DialogTitle>
+ <Trans>Do you want to delete this template?</Trans>
+ </DialogTitle>
<DialogDescription>
- Please note that this action is irreversible. Once confirmed, your template will be
- permanently deleted.
+ <Trans>
+ Please note that this action is irreversible. Once confirmed, your template will be
+ permanently deleted.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -70,7 +78,7 @@ export const DeleteTemplateDialog = ({
disabled={isLoading}
onClick={() => onOpenChange(false)}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -79,7 +87,7 @@ export const DeleteTemplateDialog = ({
loading={isLoading}
onClick={async () => deleteTemplate({ id, teamId })}
>
- Delete
+ <Trans>Delete</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx b/apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx
index cdd3000c2..3225834de 100644
--- a/apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx
@@ -1,5 +1,8 @@
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc as trpcReact } from '@documenso/trpc/react';
import { Button } from '@documenso/ui/primitives/button';
import {
@@ -27,6 +30,7 @@ export const DuplicateTemplateDialog = ({
}: DuplicateTemplateDialogProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: duplicateTemplate, isLoading } =
@@ -35,8 +39,8 @@ export const DuplicateTemplateDialog = ({
router.refresh();
toast({
- title: 'Template duplicated',
- description: 'Your template has been duplicated successfully.',
+ title: _(msg`Template duplicated`),
+ description: _(msg`Your template has been duplicated successfully.`),
duration: 5000,
});
@@ -44,8 +48,8 @@ export const DuplicateTemplateDialog = ({
},
onError: () => {
toast({
- title: 'Error',
- description: 'An error occurred while duplicating template.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while duplicating template.`),
variant: 'destructive',
});
},
@@ -55,9 +59,13 @@ export const DuplicateTemplateDialog = ({
<Dialog open={open} onOpenChange={(value) => !isLoading && onOpenChange(value)}>
<DialogContent>
<DialogHeader>
- <DialogTitle>Do you want to duplicate this template?</DialogTitle>
+ <DialogTitle>
+ <Trans>Do you want to duplicate this template?</Trans>
+ </DialogTitle>
- <DialogDescription className="pt-2">Your template will be duplicated.</DialogDescription>
+ <DialogDescription className="pt-2">
+ <Trans>Your template will be duplicated.</Trans>
+ </DialogDescription>
</DialogHeader>
<DialogFooter>
@@ -67,7 +75,7 @@ export const DuplicateTemplateDialog = ({
variant="secondary"
onClick={() => onOpenChange(false)}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -80,7 +88,7 @@ export const DuplicateTemplateDialog = ({
})
}
>
- Duplicate
+ <Trans>Duplicate</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/templates/empty-state.tsx b/apps/web/src/app/(dashboard)/templates/empty-state.tsx
index b928d8a83..a16460e88 100644
--- a/apps/web/src/app/(dashboard)/templates/empty-state.tsx
+++ b/apps/web/src/app/(dashboard)/templates/empty-state.tsx
@@ -1,3 +1,4 @@
+import { Trans } from '@lingui/macro';
import { Bird } from 'lucide-react';
export const EmptyTemplateState = () => {
@@ -6,10 +7,14 @@ export const EmptyTemplateState = () => {
<Bird className="h-12 w-12" strokeWidth={1.5} />
<div className="text-center">
- <h3 className="text-lg font-semibold">We're all empty</h3>
+ <h3 className="text-lg font-semibold">
+ <Trans>We're all empty</Trans>
+ </h3>
<p className="mt-2 max-w-[50ch]">
- You have not yet created any templates. To create a template please upload one.
+ <Trans>
+ You have not yet created any templates. To create a template please upload one.
+ </Trans>
</p>
</div>
</div>
diff --git a/apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx b/apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx
index 82742dd1a..5420af2a1 100644
--- a/apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx
@@ -2,6 +2,9 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { trpc } from '@documenso/trpc/react';
import { Avatar, AvatarFallback, AvatarImage } from '@documenso/ui/primitives/avatar';
@@ -31,7 +34,10 @@ type MoveTemplateDialogProps = {
export const MoveTemplateDialog = ({ templateId, open, onOpenChange }: MoveTemplateDialogProps) => {
const router = useRouter();
+
const { toast } = useToast();
+ const { _ } = useLingui();
+
const [selectedTeamId, setSelectedTeamId] = useState<number | null>(null);
const { data: teams, isLoading: isLoadingTeams } = trpc.team.getTeams.useQuery();
@@ -39,16 +45,16 @@ export const MoveTemplateDialog = ({ templateId, open, onOpenChange }: MoveTempl
onSuccess: () => {
router.refresh();
toast({
- title: 'Template moved',
- description: 'The template has been successfully moved to the selected team.',
+ title: _(msg`Template moved`),
+ description: _(msg`The template has been successfully moved to the selected team.`),
duration: 5000,
});
onOpenChange(false);
},
onError: (error) => {
toast({
- title: 'Error',
- description: error.message || 'An error occurred while moving the template.',
+ title: _(msg`Error`),
+ description: error.message || _(msg`An error occurred while moving the template.`),
variant: 'destructive',
duration: 7500,
});
@@ -67,20 +73,22 @@ export const MoveTemplateDialog = ({ templateId, open, onOpenChange }: MoveTempl
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent>
<DialogHeader>
- <DialogTitle>Move Template to Team</DialogTitle>
+ <DialogTitle>
+ <Trans>Move Template to Team</Trans>
+ </DialogTitle>
<DialogDescription>
- Select a team to move this template to. This action cannot be undone.
+ <Trans>Select a team to move this template to. This action cannot be undone.</Trans>
</DialogDescription>
</DialogHeader>
<Select onValueChange={(value) => setSelectedTeamId(Number(value))}>
<SelectTrigger>
- <SelectValue placeholder="Select a team" />
+ <SelectValue placeholder={_(msg`Select a team`)} />
</SelectTrigger>
<SelectContent>
{isLoadingTeams ? (
<SelectItem value="loading" disabled>
- Loading teams...
+ <Trans>Loading teams...</Trans>
</SelectItem>
) : (
teams?.map((team) => (
@@ -108,10 +116,10 @@ export const MoveTemplateDialog = ({ templateId, open, onOpenChange }: MoveTempl
<DialogFooter>
<Button variant="secondary" onClick={() => onOpenChange(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button onClick={onMove} loading={isLoading} disabled={!selectedTeamId || isLoading}>
- {isLoading ? 'Moving...' : 'Move'}
+ {isLoading ? <Trans>Moving...</Trans> : <Trans>Move</Trans>}
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx b/apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx
index ec9cb5911..8fd11ea03 100644
--- a/apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx
@@ -4,6 +4,8 @@ import React, { useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { FilePlus, Loader } from 'lucide-react';
import { useSession } from 'next-auth/react';
@@ -34,6 +36,7 @@ export const NewTemplateDialog = ({ teamId, templateRootPath }: NewTemplateDialo
const { data: session } = useSession();
const { toast } = useToast();
+ const { _ } = useLingui();
const { mutateAsync: createTemplate } = trpc.template.createTemplate.useMutation();
@@ -61,9 +64,10 @@ export const NewTemplateDialog = ({ teamId, templateRootPath }: NewTemplateDialo
});
toast({
- title: 'Template document uploaded',
- description:
- 'Your document has been uploaded successfully. You will be redirected to the template page.',
+ title: _(msg`Template document uploaded`),
+ description: _(
+ msg`Your document has been uploaded successfully. You will be redirected to the template page.`,
+ ),
duration: 5000,
});
@@ -72,8 +76,8 @@ export const NewTemplateDialog = ({ teamId, templateRootPath }: NewTemplateDialo
router.push(`${templateRootPath}/${id}`);
} catch {
toast({
- title: 'Something went wrong',
- description: 'Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Please try again later.`),
variant: 'destructive',
});
@@ -89,15 +93,20 @@ export const NewTemplateDialog = ({ teamId, templateRootPath }: NewTemplateDialo
<DialogTrigger asChild>
<Button className="cursor-pointer" disabled={!session?.user.emailVerified}>
<FilePlus className="-ml-1 mr-2 h-4 w-4" />
- New Template
+ <Trans>New Template</Trans>
</Button>
</DialogTrigger>
<DialogContent className="w-full max-w-xl">
<DialogHeader>
- <DialogTitle>New Template</DialogTitle>
+ <DialogTitle>
+ <Trans>New Template</Trans>
+ </DialogTitle>
<DialogDescription>
- Templates allow you to quickly generate documents with pre-filled recipients and fields.
+ <Trans>
+ Templates allow you to quickly generate documents with pre-filled recipients and
+ fields.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -114,7 +123,7 @@ export const NewTemplateDialog = ({ teamId, templateRootPath }: NewTemplateDialo
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary" disabled={isUploadingFile}>
- Close
+ <Trans>Close</Trans>
</Button>
</DialogClose>
</DialogFooter>
diff --git a/apps/web/src/app/(dashboard)/templates/page.tsx b/apps/web/src/app/(dashboard)/templates/page.tsx
index 7c7bd4e4f..7f910efa5 100644
--- a/apps/web/src/app/(dashboard)/templates/page.tsx
+++ b/apps/web/src/app/(dashboard)/templates/page.tsx
@@ -2,6 +2,8 @@ import React from 'react';
import type { Metadata } from 'next';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { TemplatesPageView } from './templates-page-view';
import type { TemplatesPageViewProps } from './templates-page-view';
@@ -14,5 +16,7 @@ export const metadata: Metadata = {
};
export default function TemplatesPage({ searchParams = {} }: TemplatesPageProps) {
+ setupI18nSSR();
+
return <TemplatesPageView searchParams={searchParams} />;
}
diff --git a/apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx b/apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx
index 6c02b23c9..66dee8643 100644
--- a/apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx
+++ b/apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx
@@ -1,5 +1,7 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Link2Icon } from 'lucide-react';
import { useCopyToClipboard } from '@documenso/lib/client-only/hooks/use-copy-to-clipboard';
@@ -19,13 +21,15 @@ export const TemplateDirectLinkBadge = ({
className,
}: TemplateDirectLinkBadgeProps) => {
const [, copy] = useCopyToClipboard();
+
+ const { _ } = useLingui();
const { toast } = useToast();
const onCopyClick = async (token: string) =>
copy(formatDirectTemplatePath(token)).then(() => {
toast({
- title: 'Copied to clipboard',
- description: 'The direct link has been copied to your clipboard',
+ title: _(msg`Copied to clipboard`),
+ description: _(msg`The direct link has been copied to your clipboard`),
});
});
@@ -39,7 +43,7 @@ export const TemplateDirectLinkBadge = ({
onClick={async () => onCopyClick(token)}
>
<Link2Icon className="mr-1 h-3 w-3" />
- direct link {!enabled && 'disabled'}
+ {enabled ? <Trans>direct link</Trans> : <Trans>direct link disabled</Trans>}
</button>
);
};
diff --git a/apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx b/apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx
index 7bb67aea6..2a5a92992 100644
--- a/apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx
@@ -3,16 +3,16 @@ import { useEffect, useMemo, useState } from 'react';
import Link from 'next/link';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CircleDotIcon, CircleIcon, ClipboardCopyIcon, InfoIcon, LoaderIcon } from 'lucide-react';
import { P, match } from 'ts-pattern';
import { useLimits } from '@documenso/ee/server-only/limits/provider/client';
import { useCopyToClipboard } from '@documenso/lib/client-only/hooks/use-copy-to-clipboard';
+import { DIRECT_TEMPLATE_RECIPIENT_EMAIL } from '@documenso/lib/constants/direct-templates';
import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
-import {
- DIRECT_TEMPLATE_DOCUMENTATION,
- DIRECT_TEMPLATE_RECIPIENT_EMAIL,
-} from '@documenso/lib/constants/template';
+import { DIRECT_TEMPLATE_DOCUMENTATION } from '@documenso/lib/constants/template';
import { formatDirectTemplatePath } from '@documenso/lib/utils/templates';
import {
type Recipient,
@@ -66,6 +66,7 @@ export const TemplateDirectLinkDialog = ({
}: TemplateDirectLinkDialogProps) => {
const { toast } = useToast();
const { quota, remaining } = useLimits();
+ const { _ } = useLingui();
const team = useOptionalCurrentTeam();
@@ -100,8 +101,8 @@ export const TemplateDirectLinkDialog = ({
setSelectedRecipientId(null);
toast({
- title: 'Something went wrong',
- description: 'Unable to create direct template access. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to create direct template access. Please try again later.`),
variant: 'destructive',
});
},
@@ -110,17 +111,21 @@ export const TemplateDirectLinkDialog = ({
const { mutateAsync: toggleTemplateDirectLink, isLoading: isTogglingTemplateAccess } =
trpcReact.template.toggleTemplateDirectLink.useMutation({
onSuccess: (data) => {
+ const enabledDescription = msg`Direct link signing has been enabled`;
+ const disabledDescription = msg`Direct link signing has been disabled`;
+
toast({
- title: 'Success',
- description: `Direct link signing has been ${data.enabled ? 'enabled' : 'disabled'}`,
+ title: _(msg`Success`),
+ description: _(data.enabled ? enabledDescription : disabledDescription),
});
},
onError: (_ctx, data) => {
+ const enabledDescription = msg`An error occurred while enabling direct link signing.`;
+ const disabledDescription = msg`An error occurred while disabling direct link signing.`;
+
toast({
- title: 'Something went wrong',
- description: `An error occurred while ${
- data.enabled ? 'enabling' : 'disabling'
- } direct link signing.`,
+ title: _(msg`Something went wrong`),
+ description: _(data.enabled ? enabledDescription : disabledDescription),
variant: 'destructive',
});
},
@@ -133,8 +138,8 @@ export const TemplateDirectLinkDialog = ({
setToken(null);
toast({
- title: 'Success',
- description: 'Direct template link deleted',
+ title: _(msg`Success`),
+ description: _(msg`Direct template link deleted`),
duration: 5000,
});
@@ -143,9 +148,10 @@ export const TemplateDirectLinkDialog = ({
},
onError: () => {
toast({
- title: 'Something went wrong',
- description:
- 'We encountered an error while removing the direct template link. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We encountered an error while removing the direct template link. Please try again later.`,
+ ),
variant: 'destructive',
});
},
@@ -154,8 +160,8 @@ export const TemplateDirectLinkDialog = ({
const onCopyClick = async (token: string) =>
copy(formatDirectTemplatePath(token)).then(() => {
toast({
- title: 'Copied to clipboard',
- description: 'The direct link has been copied to your clipboard',
+ title: _(msg`Copied to clipboard`),
+ description: _(msg`The direct link has been copied to your clipboard`),
});
});
@@ -192,9 +198,13 @@ export const TemplateDirectLinkDialog = ({
.with({ token: P.nullish, currentStep: 'ONBOARD' }, () => (
<DialogContent>
<DialogHeader>
- <DialogTitle>Create Direct Signing Link</DialogTitle>
+ <DialogTitle>
+ <Trans>Create Direct Signing Link</Trans>
+ </DialogTitle>
- <DialogDescription>Here's how it works:</DialogDescription>
+ <DialogDescription>
+ <Trans>Here's how it works:</Trans>
+ </DialogDescription>
</DialogHeader>
<ul className="mt-4 space-y-4 pl-12">
@@ -206,8 +216,8 @@ export const TemplateDirectLinkDialog = ({
</div>
</div>
- <h3 className="font-semibold">{step.title}</h3>
- <p className="text-muted-foreground mt-1 text-sm">{step.description}</p>
+ <h3 className="font-semibold">{_(step.title)}</h3>
+ <p className="text-muted-foreground mt-1 text-sm">{_(step.description)}</p>
</li>
))}
</ul>
@@ -215,18 +225,22 @@ export const TemplateDirectLinkDialog = ({
{remaining.directTemplates === 0 && (
<Alert variant="warning">
<AlertTitle>
- Direct template link usage exceeded ({quota.directTemplates}/
- {quota.directTemplates})
+ <Trans>
+ Direct template link usage exceeded ({quota.directTemplates}/
+ {quota.directTemplates})
+ </Trans>
</AlertTitle>
<AlertDescription>
- You have reached the maximum limit of {quota.directTemplates} direct
- templates.{' '}
- <Link
- className="mt-1 block underline underline-offset-4"
- href="/settings/billing"
- >
- Upgrade your account to continue!
- </Link>
+ <Trans>
+ You have reached the maximum limit of {quota.directTemplates} direct
+ templates.{' '}
+ <Link
+ className="mt-1 block underline underline-offset-4"
+ href="/settings/billing"
+ >
+ Upgrade your account to continue!
+ </Link>
+ </Trans>
</AlertDescription>
</Alert>
)}
@@ -234,7 +248,7 @@ export const TemplateDirectLinkDialog = ({
{remaining.directTemplates !== 0 && (
<DialogFooter className="mx-auto mt-4">
<Button type="button" onClick={() => setCurrentStep('SELECT_RECIPIENT')}>
- Enable direct link signing
+ <Trans> Enable direct link signing</Trans>
</Button>
</DialogFooter>
)}
@@ -249,10 +263,12 @@ export const TemplateDirectLinkDialog = ({
)}
<DialogHeader>
- <DialogTitle>Choose Direct Link Recipient</DialogTitle>
+ <DialogTitle>
+ <Trans>Choose Direct Link Recipient</Trans>
+ </DialogTitle>
<DialogDescription>
- Choose an existing recipient from below to continue
+ <Trans>Choose an existing recipient from below to continue</Trans>
</DialogDescription>
</DialogHeader>
@@ -260,8 +276,12 @@ export const TemplateDirectLinkDialog = ({
<Table>
<TableHeader>
<TableRow>
- <TableHead>Recipient</TableHead>
- <TableHead>Role</TableHead>
+ <TableHead>
+ <Trans>Recipient</Trans>
+ </TableHead>
+ <TableHead>
+ <Trans>Role</Trans>
+ </TableHead>
<TableHead></TableHead>
</TableRow>
</TableHeader>
@@ -269,7 +289,9 @@ export const TemplateDirectLinkDialog = ({
{validDirectTemplateRecipients.length === 0 && (
<TableRow>
<TableCell colSpan={3} className="h-16 text-center">
- <p className="text-muted-foreground">No valid recipients found</p>
+ <p className="text-muted-foreground">
+ <Trans>No valid recipients found</Trans>
+ </p>
</TableCell>
</TableRow>
)}
@@ -288,7 +310,7 @@ export const TemplateDirectLinkDialog = ({
</TableCell>
<TableCell className="text-muted-foreground text-sm">
- {RECIPIENT_ROLES_DESCRIPTION[row.role].roleName}
+ {_(RECIPIENT_ROLES_DESCRIPTION[row.role].roleName)}
</TableCell>
<TableCell>
@@ -311,7 +333,9 @@ export const TemplateDirectLinkDialog = ({
<DialogFooter className="mx-auto">
<div className="flex flex-col items-center justify-center">
{validDirectTemplateRecipients.length !== 0 && (
- <p className="text-muted-foreground text-sm">Or</p>
+ <p className="text-muted-foreground text-sm">
+ <Trans>Or</Trans>
+ </p>
)}
<Button
@@ -325,7 +349,7 @@ export const TemplateDirectLinkDialog = ({
})
}
>
- Create one automatically
+ <Trans>Create one automatically</Trans>
</Button>
</div>
</DialogFooter>
@@ -335,23 +359,28 @@ export const TemplateDirectLinkDialog = ({
.with({ token: P.string, currentStep: 'MANAGE' }, ({ token }) => (
<DialogContent className="relative">
<DialogHeader>
- <DialogTitle>Direct Link Signing</DialogTitle>
+ <DialogTitle>
+ <Trans>Direct Link Signing</Trans>
+ </DialogTitle>
<DialogDescription>
- Manage the direct link signing for this template
+ <Trans>Manage the direct link signing for this template</Trans>
</DialogDescription>
</DialogHeader>
<div>
<div className="flex flex-row items-center justify-between">
<Label className="flex flex-row">
- Enable Direct Link Signing
+ <Trans>Enable Direct Link Signing</Trans>
<Tooltip>
<TooltipTrigger tabIndex={-1} className="ml-2">
<InfoIcon className="h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-foreground z-9999 max-w-md p-4">
- Disabling direct link signing will prevent anyone from accessing the link.
+ <Trans>
+ Disabling direct link signing will prevent anyone from accessing the
+ link.
+ </Trans>
</TooltipContent>
</Tooltip>
</Label>
@@ -364,7 +393,9 @@ export const TemplateDirectLinkDialog = ({
</div>
<div className="mt-2">
- <Label htmlFor="copy-direct-link">Copy Shareable Link</Label>
+ <Label htmlFor="copy-direct-link">
+ <Trans>Copy Shareable Link</Trans>
+ </Label>
<div className="relative mt-1">
<Input
@@ -397,7 +428,7 @@ export const TemplateDirectLinkDialog = ({
loading={isDeletingTemplateDirectLink}
onClick={() => setCurrentStep('CONFIRM_DELETE')}
>
- Remove
+ <Trans>Remove</Trans>
</Button>
<Button
@@ -410,7 +441,7 @@ export const TemplateDirectLinkDialog = ({
})
}
>
- Save
+ <Trans>Save</Trans>
</Button>
</DialogFooter>
</DialogContent>
@@ -418,11 +449,15 @@ export const TemplateDirectLinkDialog = ({
.with({ token: P.string, currentStep: 'CONFIRM_DELETE' }, () => (
<DialogContent className="relative">
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription>
- Please note that proceeding will remove direct linking recipient and turn it
- into a placeholder.
+ <Trans>
+ Please note that proceeding will remove direct linking recipient and turn it
+ into a placeholder.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -432,7 +467,7 @@ export const TemplateDirectLinkDialog = ({
variant="secondary"
onClick={() => setCurrentStep('MANAGE')}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -441,7 +476,7 @@ export const TemplateDirectLinkDialog = ({
loading={isDeletingTemplateDirectLink}
onClick={() => void deleteTemplateDirectLink({ templateId: template.id })}
>
- Confirm
+ <Trans>Confirm</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/app/(dashboard)/templates/templates-page-view.tsx b/apps/web/src/app/(dashboard)/templates/templates-page-view.tsx
index 9f7702ccf..3f4b85132 100644
--- a/apps/web/src/app/(dashboard)/templates/templates-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/templates/templates-page-view.tsx
@@ -1,5 +1,7 @@
import React from 'react';
+import { Trans } from '@lingui/macro';
+
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { findTemplates } from '@documenso/lib/server-only/template/find-templates';
@@ -49,7 +51,9 @@ export const TemplatesPageView = async ({ searchParams = {}, team }: TemplatesPa
</Avatar>
)}
- <h1 className="truncate text-2xl font-semibold md:text-3xl">Templates</h1>
+ <h1 className="truncate text-2xl font-semibold md:text-3xl">
+ <Trans>Templates</Trans>
+ </h1>
</div>
<div>
diff --git a/apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx b/apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx
index 20cba75da..f43b91ffe 100644
--- a/apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx
+++ b/apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx
@@ -3,6 +3,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { InfoIcon, Plus } from 'lucide-react';
import { useFieldArray, useForm } from 'react-hook-form';
import * as z from 'zod';
@@ -94,7 +96,9 @@ export function UseTemplateDialog({
templateId,
}: UseTemplateDialogProps) {
const router = useRouter();
+
const { toast } = useToast();
+ const { _ } = useLingui();
const [open, setOpen] = useState(false);
@@ -135,8 +139,8 @@ export function UseTemplateDialog({
});
toast({
- title: 'Document created',
- description: 'Your document has been created from the template successfully.',
+ title: _(msg`Document created`),
+ description: _(msg`Your document has been created from the template successfully.`),
duration: 5000,
});
@@ -145,13 +149,15 @@ export function UseTemplateDialog({
const error = AppError.parseError(err);
const toastPayload: Toast = {
- title: 'Error',
- description: 'An error occurred while creating document from template.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while creating document from template.`),
variant: 'destructive',
};
if (error.code === 'DOCUMENT_SEND_FAILED') {
- toastPayload.description = 'The document was created but could not be sent to recipients.';
+ toastPayload.description = _(
+ msg`The document was created but could not be sent to recipients.`,
+ );
}
toast(toastPayload);
@@ -174,16 +180,20 @@ export function UseTemplateDialog({
<DialogTrigger asChild>
<Button variant="outline" className="bg-background">
<Plus className="-ml-1 mr-2 h-4 w-4" />
- Use Template
+ <Trans>Use Template</Trans>
</Button>
</DialogTrigger>
<DialogContent className="sm:max-w-lg">
<DialogHeader>
- <DialogTitle>Create document from template</DialogTitle>
+ <DialogTitle>
+ <Trans>Create document from template</Trans>
+ </DialogTitle>
<DialogDescription>
- {recipients.length === 0
- ? 'A draft document will be created'
- : 'Add the recipients to create the document with'}
+ {recipients.length === 0 ? (
+ <Trans>A draft document will be created</Trans>
+ ) : (
+ <Trans>Add the recipients to create the document with</Trans>
+ )}
</DialogDescription>
</DialogHeader>
@@ -198,10 +208,17 @@ export function UseTemplateDialog({
name={`recipients.${index}.email`}
render={({ field }) => (
<FormItem className="w-full">
- {index === 0 && <FormLabel required>Email</FormLabel>}
+ {index === 0 && (
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
+ )}
<FormControl>
- <Input {...field} placeholder={recipients[index].email || 'Email'} />
+ <Input
+ {...field}
+ placeholder={recipients[index].email || _(msg`Email`)}
+ />
</FormControl>
<FormMessage />
</FormItem>
@@ -213,10 +230,17 @@ export function UseTemplateDialog({
name={`recipients.${index}.name`}
render={({ field }) => (
<FormItem className="w-full">
- {index === 0 && <FormLabel>Name</FormLabel>}
+ {index === 0 && (
+ <FormLabel>
+ <Trans>Name</Trans>
+ </FormLabel>
+ )}
<FormControl>
- <Input {...field} placeholder={recipients[index].name || 'Name'} />
+ <Input
+ {...field}
+ placeholder={recipients[index].name || _(msg`Name`)}
+ />
</FormControl>
<FormMessage />
</FormItem>
@@ -246,7 +270,7 @@ export function UseTemplateDialog({
className="text-muted-foreground ml-2 flex items-center text-sm"
htmlFor="sendDocument"
>
- Send document
+ <Trans>Send document</Trans>
<Tooltip>
<TooltipTrigger type="button">
<InfoIcon className="mx-1 h-4 w-4" />
@@ -254,11 +278,16 @@ export function UseTemplateDialog({
<TooltipContent className="text-muted-foreground z-[99999] max-w-md space-y-2 p-4">
<p>
- The document will be immediately sent to recipients if this is
- checked.
+ <Trans>
+ {' '}
+ The document will be immediately sent to recipients if this is
+ checked.
+ </Trans>
</p>
- <p>Otherwise, the document will be created as a draft.</p>
+ <p>
+ <Trans>Otherwise, the document will be created as a draft.</Trans>
+ </p>
</TooltipContent>
</Tooltip>
</label>
@@ -272,12 +301,16 @@ export function UseTemplateDialog({
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Close
+ <Trans>Close</Trans>
</Button>
</DialogClose>
<Button type="submit" loading={form.formState.isSubmitting}>
- {form.getValues('sendDocument') ? 'Create and send' : 'Create as draft'}
+ {form.getValues('sendDocument') ? (
+ <Trans>Create and send</Trans>
+ ) : (
+ <Trans>Create as draft</Trans>
+ )}
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/page.tsx b/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/page.tsx
index 1db089495..eb117f33d 100644
--- a/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/page.tsx
+++ b/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/audit-log/page.tsx
@@ -2,7 +2,8 @@ import React from 'react';
import { redirect } from 'next/navigation';
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import { getEntireDocument } from '@documenso/lib/server-only/admin/get-entire-document';
import { decryptSecondaryData } from '@documenso/lib/server-only/crypto/decrypt';
import { findDocumentAuditLogs } from '@documenso/lib/server-only/document/find-document-audit-logs';
@@ -20,6 +21,8 @@ type AuditLogProps = {
};
export default async function AuditLog({ searchParams }: AuditLogProps) {
+ setupI18nSSR();
+
const { d } = searchParams;
if (typeof d !== 'string' || !d) {
@@ -113,7 +116,7 @@ export default async function AuditLog({ searchParams }: AuditLogProps) {
{document.Recipient.map((recipient) => (
<li key={recipient.id}>
<span className="text-muted-foreground">
- [{RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName}]
+ [{RECIPIENT_ROLES_DESCRIPTION_ENG[recipient.role].roleName}]
</span>{' '}
{recipient.name} ({recipient.email})
</li>
diff --git a/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx b/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx
index 447e4ad72..6bcd1e54f 100644
--- a/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx
+++ b/apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx
@@ -5,9 +5,10 @@ import { redirect } from 'next/navigation';
import { match } from 'ts-pattern';
import { UAParser } from 'ua-parser-js';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import {
- RECIPIENT_ROLES_DESCRIPTION,
- RECIPIENT_ROLE_SIGNING_REASONS,
+ RECIPIENT_ROLES_DESCRIPTION_ENG,
+ RECIPIENT_ROLE_SIGNING_REASONS_ENG,
} from '@documenso/lib/constants/recipient-roles';
import { getEntireDocument } from '@documenso/lib/server-only/admin/get-entire-document';
import { decryptSecondaryData } from '@documenso/lib/server-only/crypto/decrypt';
@@ -35,11 +36,13 @@ type SigningCertificateProps = {
};
const FRIENDLY_SIGNING_REASONS = {
- ['__OWNER__']: 'I am the owner of this document',
- ...RECIPIENT_ROLE_SIGNING_REASONS,
+ ['__OWNER__']: `I am the owner of this document`,
+ ...RECIPIENT_ROLE_SIGNING_REASONS_ENG,
};
export default async function SigningCertificate({ searchParams }: SigningCertificateProps) {
+ setupI18nSSR();
+
const { d } = searchParams;
if (typeof d !== 'string' || !d) {
@@ -172,7 +175,7 @@ export default async function SigningCertificate({ searchParams }: SigningCertif
<div className="hyphens-auto break-words font-medium">{recipient.name}</div>
<div className="break-all">{recipient.email}</div>
<p className="text-muted-foreground mt-2 text-sm print:text-xs">
- {RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName}
+ {RECIPIENT_ROLES_DESCRIPTION_ENG[recipient.role].roleName}
</p>
<p className="text-muted-foreground mt-2 text-sm print:text-xs">
diff --git a/apps/web/src/app/(profile)/layout.tsx b/apps/web/src/app/(profile)/layout.tsx
index 9bb26f5b2..43f263de7 100644
--- a/apps/web/src/app/(profile)/layout.tsx
+++ b/apps/web/src/app/(profile)/layout.tsx
@@ -1,5 +1,6 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeams } from '@documenso/lib/server-only/team/get-teams';
@@ -13,6 +14,8 @@ type PublicProfileLayoutProps = {
};
export default async function PublicProfileLayout({ children }: PublicProfileLayoutProps) {
+ setupI18nSSR();
+
const { user, session } = await getServerComponentSession();
// I wouldn't typically do this but it's better than the `let` statement
diff --git a/apps/web/src/app/(profile)/p/[url]/not-found.tsx b/apps/web/src/app/(profile)/p/[url]/not-found.tsx
index e954255b5..991c0d12a 100644
--- a/apps/web/src/app/(profile)/p/[url]/not-found.tsx
+++ b/apps/web/src/app/(profile)/p/[url]/not-found.tsx
@@ -2,6 +2,7 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { ChevronLeft } from 'lucide-react';
import { Button } from '@documenso/ui/primitives/button';
@@ -10,19 +11,23 @@ export default function NotFound() {
return (
<div className="mx-auto flex min-h-[80vh] w-full items-center justify-center py-32">
<div>
- <p className="text-muted-foreground font-semibold">404 Profile not found</p>
+ <p className="text-muted-foreground font-semibold">
+ <Trans>404 Profile not found</Trans>
+ </p>
- <h1 className="mt-3 text-2xl font-bold md:text-3xl">Oops! Something went wrong.</h1>
+ <h1 className="mt-3 text-2xl font-bold md:text-3xl">
+ <Trans>Oops! Something went wrong.</Trans>
+ </h1>
<p className="text-muted-foreground mt-4 text-sm">
- The profile you are looking for could not be found.
+ <Trans>The profile you are looking for could not be found.</Trans>
</p>
<div className="mt-6 flex gap-x-2.5 gap-y-4 md:items-center">
<Button asChild className="w-32">
<Link href="/">
<ChevronLeft className="mr-2 h-4 w-4" />
- Go Back
+ <Trans>Go Back</Trans>
</Link>
</Button>
</div>
diff --git a/apps/web/src/app/(profile)/p/[url]/page.tsx b/apps/web/src/app/(profile)/p/[url]/page.tsx
index f8d197fff..e276417d2 100644
--- a/apps/web/src/app/(profile)/p/[url]/page.tsx
+++ b/apps/web/src/app/(profile)/p/[url]/page.tsx
@@ -2,9 +2,11 @@ import Image from 'next/image';
import Link from 'next/link';
import { notFound, redirect } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { FileIcon } from 'lucide-react';
import { DateTime } from 'luxon';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getPublicProfileByUrl } from '@documenso/lib/server-only/profile/get-public-profile-by-url';
@@ -40,6 +42,8 @@ const BADGE_DATA = {
};
export default async function PublicProfilePage({ params }: PublicProfilePageProps) {
+ setupI18nSSR();
+
const { url: profileUrl } = params;
if (!profileUrl) {
@@ -102,7 +106,9 @@ export default async function PublicProfilePage({ params }: PublicProfilePagePro
{BADGE_DATA[publicProfile.badge.type].name}
</p>
<p className="text-muted-foreground mt-0.5 text-sm">
- Since {DateTime.fromJSDate(publicProfile.badge.since).toFormat('LLL ‘yy')}
+ <Trans>
+ Since {DateTime.fromJSDate(publicProfile.badge.since).toFormat('LLL ‘yy')}
+ </Trans>
</p>
</div>
</TooltipContent>
@@ -125,20 +131,26 @@ export default async function PublicProfilePage({ params }: PublicProfilePagePro
{templates.length === 0 && (
<div className="mt-4 w-full max-w-xl border-t pt-4">
<p className="text-muted-foreground max-w-[60ch] whitespace-pre-wrap break-words text-center text-sm leading-relaxed">
- It looks like {publicProfile.name} hasn't added any documents to their profile yet.{' '}
+ <Trans>
+ It looks like {publicProfile.name} hasn't added any documents to their profile yet.
+ </Trans>{' '}
{!user?.id && (
<span className="mt-2 inline-block">
- While waiting for them to do so you can create your own Documenso account and get
- started with document signing right away.
+ <Trans>
+ While waiting for them to do so you can create your own Documenso account and get
+ started with document signing right away.
+ </Trans>
</span>
)}
{'userId' in profile && user?.id === profile.userId && (
<span className="mt-2 inline-block">
- Go to your{' '}
- <Link href="/settings/public-profile" className="underline">
- public profile settings
- </Link>{' '}
- to add documents.
+ <Trans>
+ Go to your{' '}
+ <Link href="/settings/public-profile" className="underline">
+ public profile settings
+ </Link>{' '}
+ to add documents.
+ </Trans>
</span>
)}
</p>
@@ -151,7 +163,7 @@ export default async function PublicProfilePage({ params }: PublicProfilePagePro
<TableHeader>
<TableRow>
<TableHead className="w-full rounded-tl-md bg-neutral-50 dark:bg-neutral-700">
- Documents
+ <Trans>Documents</Trans>
</TableHead>
</TableRow>
</TableHeader>
@@ -177,7 +189,7 @@ export default async function PublicProfilePage({ params }: PublicProfilePagePro
<Button asChild className="w-20">
<Link href={formatDirectTemplatePath(template.directLink.token)}>
- Sign
+ <Trans>Sign</Trans>
</Link>
</Button>
</div>
diff --git a/apps/web/src/app/(profile)/profile-header.tsx b/apps/web/src/app/(profile)/profile-header.tsx
index b29569dce..3780e0658 100644
--- a/apps/web/src/app/(profile)/profile-header.tsx
+++ b/apps/web/src/app/(profile)/profile-header.tsx
@@ -5,6 +5,7 @@ import { useEffect, useState } from 'react';
import Image from 'next/image';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { PlusIcon } from 'lucide-react';
import LogoIcon from '@documenso/assets/logo_icon.png';
@@ -63,9 +64,11 @@ export const ProfileHeader = ({ user, teams = [] }: ProfileHeaderProps) => {
<div className="flex flex-row items-center justify-center">
<p className="text-muted-foreground mr-4">
- <span className="text-sm sm:hidden">Want your own public profile?</span>
+ <span className="text-sm sm:hidden">
+ <Trans>Want your own public profile?</Trans>
+ </span>
<span className="hidden text-sm sm:block">
- Like to have your own public profile with agreements?
+ <Trans>Like to have your own public profile with agreements?</Trans>
</span>
</p>
@@ -73,10 +76,12 @@ export const ProfileHeader = ({ user, teams = [] }: ProfileHeaderProps) => {
<Link href="/signup">
<div className="hidden flex-row items-center sm:flex">
<PlusIcon className="mr-1 h-5 w-5" />
- Create now
+ <Trans>Create now</Trans>
</div>
- <span className="sm:hidden">Create</span>
+ <span className="sm:hidden">
+ <Trans>Create</Trans>
+ </span>
</Link>
</Button>
</div>
diff --git a/apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx b/apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx
index 41ce61815..40118260c 100644
--- a/apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx
+++ b/apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx
@@ -1,6 +1,8 @@
'use client';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useSession } from 'next-auth/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -52,9 +54,11 @@ export const ConfigureDirectTemplateFormPartial = ({
initialEmail,
onSubmit,
}: ConfigureDirectTemplateFormProps) => {
+ const { _ } = useLingui();
+ const { data: session } = useSession();
+
const { Recipient } = template;
const { derivedRecipientAccessAuth } = useRequiredDocumentAuthContext();
- const { data: session } = useSession();
const recipientsWithBlankDirectRecipientEmail = Recipient.map((recipient) => {
if (recipient.id === directTemplateRecipient.id) {
@@ -110,7 +114,9 @@ export const ConfigureDirectTemplateFormPartial = ({
name="email"
render={({ field, fieldState }) => (
<FormItem>
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input
@@ -126,7 +132,7 @@ export const ConfigureDirectTemplateFormPartial = ({
{!fieldState.error && (
<p className="text-muted-foreground text-xs">
- Enter your email address to receive the completed document.
+ <Trans>Enter your email address to receive the completed document.</Trans>
</p>
)}
@@ -139,11 +145,7 @@ export const ConfigureDirectTemplateFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={flowStep.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={form.formState.isSubmitting}
diff --git a/apps/web/src/app/(recipient)/d/[token]/direct-template.tsx b/apps/web/src/app/(recipient)/d/[token]/direct-template.tsx
index f35ae1e94..526d8a34d 100644
--- a/apps/web/src/app/(recipient)/d/[token]/direct-template.tsx
+++ b/apps/web/src/app/(recipient)/d/[token]/direct-template.tsx
@@ -4,7 +4,10 @@ import { useState } from 'react';
import { useRouter, useSearchParams } from 'next/navigation';
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import type { Field } from '@documenso/prisma/client';
import { type Recipient } from '@documenso/prisma/client';
import type { TemplateWithDetails } from '@documenso/prisma/types/template';
@@ -41,6 +44,7 @@ export const DirectTemplatePageView = ({
const router = useRouter();
const searchParams = useSearchParams();
+ const { _ } = useLingui();
const { toast } = useToast();
const { email, fullName, setEmail } = useRequiredSigningContext();
@@ -49,17 +53,18 @@ export const DirectTemplatePageView = ({
const [step, setStep] = useState<DirectTemplateStep>('configure');
const [isDocumentPdfLoaded, setIsDocumentPdfLoaded] = useState(false);
- const recipientRoleDescription = RECIPIENT_ROLES_DESCRIPTION[directTemplateRecipient.role];
+ const recipientRoleDescription = RECIPIENT_ROLES_DESCRIPTION_ENG[directTemplateRecipient.role];
const directTemplateFlow: Record<DirectTemplateStep, DocumentFlowStep> = {
configure: {
- title: 'General',
- description: 'Preview and configure template.',
+ title: msg`General`,
+ description: msg`Preview and configure template.`,
stepIndex: 1,
},
sign: {
- title: `${recipientRoleDescription.actionVerb} document`,
- description: `${recipientRoleDescription.actionVerb} the document to complete the process.`,
+ // Todo: Translations
+ title: msg`${recipientRoleDescription.actionVerb} document`,
+ description: msg`${recipientRoleDescription.actionVerb} the document to complete the process.`,
stepIndex: 2,
},
};
@@ -109,8 +114,10 @@ export const DirectTemplatePageView = ({
redirectUrl ? router.push(redirectUrl) : router.push(`/sign/${token}/complete`);
} catch (err) {
toast({
- title: 'Something went wrong',
- description: 'We were unable to submit this document at this time. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We were unable to submit this document at this time. Please try again later.`,
+ ),
variant: 'destructive',
});
diff --git a/apps/web/src/app/(recipient)/d/[token]/not-found.tsx b/apps/web/src/app/(recipient)/d/[token]/not-found.tsx
index 2fe561ba1..ef22a2562 100644
--- a/apps/web/src/app/(recipient)/d/[token]/not-found.tsx
+++ b/apps/web/src/app/(recipient)/d/[token]/not-found.tsx
@@ -2,6 +2,7 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { ChevronLeft } from 'lucide-react';
import { Button } from '@documenso/ui/primitives/button';
@@ -10,20 +11,26 @@ export default function NotFound() {
return (
<div className="mx-auto flex min-h-[80vh] w-full items-center justify-center py-32">
<div>
- <p className="text-muted-foreground font-semibold">404 Template not found</p>
+ <p className="text-muted-foreground font-semibold">
+ <Trans>404 Template not found</Trans>
+ </p>
- <h1 className="mt-3 text-2xl font-bold md:text-3xl">Oops! Something went wrong.</h1>
+ <h1 className="mt-3 text-2xl font-bold md:text-3xl">
+ <Trans>Oops! Something went wrong.</Trans>
+ </h1>
<p className="text-muted-foreground mt-4 text-sm">
- The template you are looking for may have been disabled, deleted or may have never
- existed.
+ <Trans>
+ The template you are looking for may have been disabled, deleted or may have never
+ existed.
+ </Trans>
</p>
<div className="mt-6 flex gap-x-2.5 gap-y-4 md:items-center">
<Button asChild className="w-32">
<Link href="/">
<ChevronLeft className="mr-2 h-4 w-4" />
- Go Back
+ <Trans>Go Back</Trans>
</Link>
</Button>
</div>
diff --git a/apps/web/src/app/(recipient)/d/[token]/page.tsx b/apps/web/src/app/(recipient)/d/[token]/page.tsx
index d7b2eb682..0cc3b1a2c 100644
--- a/apps/web/src/app/(recipient)/d/[token]/page.tsx
+++ b/apps/web/src/app/(recipient)/d/[token]/page.tsx
@@ -1,8 +1,10 @@
import { notFound, redirect } from 'next/navigation';
+import { Plural } from '@lingui/macro';
import { UsersIcon } from 'lucide-react';
import { match } from 'ts-pattern';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTemplateByDirectLinkToken } from '@documenso/lib/server-only/template/get-template-by-direct-link-token';
import { DocumentAccessAuth } from '@documenso/lib/types/document-auth';
@@ -22,6 +24,8 @@ export type TemplatesDirectPageProps = {
};
export default async function TemplatesDirectPage({ params }: TemplatesDirectPageProps) {
+ setupI18nSSR();
+
const { token } = params;
if (!token) {
@@ -75,8 +79,7 @@ export default async function TemplatesDirectPage({ params }: TemplatesDirectPag
<div className="text-muted-foreground mb-8 mt-2.5 flex items-center gap-x-2">
<UsersIcon className="h-4 w-4" />
<p className="text-muted-foreground/80">
- {template.Recipient.length}{' '}
- {template.Recipient.length > 1 ? 'recipients' : 'recipient'}
+ <Plural value={template.Recipient.length} one="# recipient" other="# recipients" />
</p>
</div>
diff --git a/apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx b/apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx
index 14922a326..ea4e7f8f0 100644
--- a/apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx
+++ b/apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx
@@ -1,5 +1,7 @@
import { useMemo, useState } from 'react';
+import { Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DateTime } from 'luxon';
import { match } from 'ts-pattern';
@@ -70,6 +72,8 @@ export const SignDirectTemplateForm = ({
template,
onSubmit,
}: SignDirectTemplateFormProps) => {
+ const { _ } = useLingui();
+
const { fullName, signature, setFullName, setSignature } = useRequiredSigningContext();
const [localFields, setLocalFields] = useState<DirectTemplateLocalField[]>(directRecipientFields);
@@ -168,7 +172,7 @@ export const SignDirectTemplateForm = ({
<ElementVisible target={PDF_VIEWER_PAGE_SELECTOR}>
{validateUninsertedFields && uninsertedFields[0] && (
<FieldToolTip key={uninsertedFields[0].id} field={uninsertedFields[0]} color="warning">
- Click to insert field
+ <Trans>Click to insert field</Trans>
</FieldToolTip>
)}
@@ -318,7 +322,9 @@ export const SignDirectTemplateForm = ({
<div className="-mx-2 flex flex-1 flex-col gap-4 overflow-y-auto px-2">
<div className="flex flex-1 flex-col gap-y-4">
<div>
- <Label htmlFor="full-name">Full Name</Label>
+ <Label htmlFor="full-name">
+ <Trans>Full Name</Trans>
+ </Label>
<Input
id="full-name"
@@ -328,7 +334,9 @@ export const SignDirectTemplateForm = ({
</div>
<div>
- <Label htmlFor="Signature">Signature</Label>
+ <Label htmlFor="Signature">
+ <Trans>Signature</Trans>
+ </Label>
<Card className="mt-2" gradient degrees={-120}>
<CardContent className="p-0">
@@ -348,11 +356,7 @@ export const SignDirectTemplateForm = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={flowStep.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<div className="mt-4 flex gap-x-4">
<Button
@@ -362,7 +366,7 @@ export const SignDirectTemplateForm = ({
disabled={isSubmitting}
onClick={previousStep}
>
- Back
+ <Trans>Back</Trans>
</Button>
<SignDialog
diff --git a/apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx b/apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx
index a3f077ad9..9300d8f46 100644
--- a/apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx
+++ b/apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx
@@ -2,12 +2,15 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { signOut } from 'next-auth/react';
import { Button } from '@documenso/ui/primitives/button';
import { useToast } from '@documenso/ui/primitives/use-toast';
export const DirectTemplateAuthPageView = () => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [isSigningOut, setIsSigningOut] = useState(false);
@@ -21,8 +24,8 @@ export const DirectTemplateAuthPageView = () => {
});
} catch {
toast({
- title: 'Something went wrong',
- description: 'We were unable to log you out at this time.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`We were unable to log you out at this time.`),
duration: 10000,
variant: 'destructive',
});
@@ -34,10 +37,12 @@ export const DirectTemplateAuthPageView = () => {
return (
<div className="mx-auto flex h-[70vh] w-full max-w-md flex-col items-center justify-center">
<div>
- <h1 className="text-3xl font-semibold">Authentication required</h1>
+ <h1 className="text-3xl font-semibold">
+ <Trans>Authentication required</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- You need to be logged in to view this page.
+ <Trans>You need to be logged in to view this page.</Trans>
</p>
<Button
@@ -46,7 +51,7 @@ export const DirectTemplateAuthPageView = () => {
onClick={async () => handleChangeAccount()}
loading={isSigningOut}
>
- Login
+ <Trans>Login</Trans>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(recipient)/layout.tsx b/apps/web/src/app/(recipient)/layout.tsx
index fb4bd0622..e24c7d088 100644
--- a/apps/web/src/app/(recipient)/layout.tsx
+++ b/apps/web/src/app/(recipient)/layout.tsx
@@ -1,5 +1,6 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import type { GetTeamsResponse } from '@documenso/lib/server-only/team/get-teams';
import { getTeams } from '@documenso/lib/server-only/team/get-teams';
@@ -18,6 +19,8 @@ type RecipientLayoutProps = {
* Such as direct template access, or signing.
*/
export default async function RecipientLayout({ children }: RecipientLayoutProps) {
+ setupI18nSSR();
+
const { user, session } = await getServerComponentSession();
let teams: GetTeamsResponse = [];
diff --git a/apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx b/apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx
index 8f5e3b339..520c27d18 100644
--- a/apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx
@@ -4,6 +4,8 @@ import { useEffect, useMemo, useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DO_NOT_INVALIDATE_QUERY_ON_MUTATION } from '@documenso/lib/constants/trpc';
@@ -39,8 +41,10 @@ export const CheckboxField = ({
onSignField,
onUnsignField,
}: CheckboxFieldProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+
+ const router = useRouter();
const [isPending, startTransition] = useTransition();
const { executeActionAuthProcedure } = useRequiredDocumentAuthContext();
@@ -115,8 +119,8 @@ export const CheckboxField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -144,8 +148,8 @@ export const CheckboxField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -205,8 +209,8 @@ export const CheckboxField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while updating the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while updating the signature.`),
variant: 'destructive',
});
} finally {
diff --git a/apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx b/apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx
index b5f7c0ca8..cb36c4b55 100644
--- a/apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -49,8 +51,10 @@ export const ZClaimAccountFormSchema = z
export type TClaimAccountFormSchema = z.infer<typeof ZClaimAccountFormSchema>;
export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) => {
- const analytics = useAnalytics();
+ const { _ } = useLingui();
const { toast } = useToast();
+
+ const analytics = useAnalytics();
const router = useRouter();
const { mutateAsync: signup } = trpc.auth.signup.useMutation();
@@ -71,9 +75,10 @@ export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) =
router.push(`/unverified-account`);
toast({
- title: 'Registration Successful',
- description:
- 'You have successfully registered. Please verify your account by clicking on the link you received in the email.',
+ title: _(msg`Registration Successful`),
+ description: _(
+ msg`You have successfully registered. Please verify your account by clicking on the link you received in the email.`,
+ ),
duration: 5000,
});
@@ -84,15 +89,16 @@ export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) =
} catch (error) {
if (error instanceof TRPCClientError && error.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: error.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -109,9 +115,11 @@ export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) =
control={form.control}
render={({ field }) => (
<FormItem>
- <FormLabel>Name</FormLabel>
+ <FormLabel>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
- <Input {...field} placeholder="Enter your name" />
+ <Input {...field} placeholder={_(msg`Enter your name`)} />
</FormControl>
<FormMessage />
</FormItem>
@@ -122,9 +130,11 @@ export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) =
control={form.control}
render={({ field }) => (
<FormItem className="mt-4">
- <FormLabel>Email address</FormLabel>
+ <FormLabel>
+ <Trans>Email address</Trans>
+ </FormLabel>
<FormControl>
- <Input {...field} placeholder="Enter your email" />
+ <Input {...field} placeholder={_(msg`Enter your email`)} />
</FormControl>
<FormMessage />
</FormItem>
@@ -135,9 +145,11 @@ export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) =
control={form.control}
render={({ field }) => (
<FormItem className="mt-4">
- <FormLabel>Set a password</FormLabel>
+ <FormLabel>
+ <Trans>Set a password</Trans>
+ </FormLabel>
<FormControl>
- <PasswordInput {...field} placeholder="Pick a password" />
+ <PasswordInput {...field} placeholder={_(msg`Pick a password`)} />
</FormControl>
<FormMessage />
</FormItem>
@@ -145,7 +157,7 @@ export const ClaimAccount = ({ defaultName, defaultEmail }: ClaimAccountProps) =
/>
<Button type="submit" className="mt-6 w-full" loading={form.formState.isSubmitting}>
- Claim account
+ <Trans>Claim account</Trans>
</Button>
</fieldset>
</form>
diff --git a/apps/web/src/app/(signing)/sign/[token]/complete/document-preview-button.tsx b/apps/web/src/app/(signing)/sign/[token]/complete/document-preview-button.tsx
index c0881bd44..0fd17b4fb 100644
--- a/apps/web/src/app/(signing)/sign/[token]/complete/document-preview-button.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/complete/document-preview-button.tsx
@@ -2,6 +2,7 @@
import { useState } from 'react';
+import { Trans } from '@lingui/macro';
import { FileSearch } from 'lucide-react';
import type { DocumentData } from '@documenso/prisma/client';
@@ -30,7 +31,7 @@ export const DocumentPreviewButton = ({
{...props}
>
<FileSearch className="mr-2 h-5 w-5" strokeWidth={1.7} />
- View Original Document
+ <Trans>View Original Document</Trans>
</Button>
<DocumentDialog documentData={documentData} open={showDialog} onOpenChange={setShowDialog} />
diff --git a/apps/web/src/app/(signing)/sign/[token]/complete/layout.tsx b/apps/web/src/app/(signing)/sign/[token]/complete/layout.tsx
index d3d1c15c3..0798e5098 100644
--- a/apps/web/src/app/(signing)/sign/[token]/complete/layout.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/complete/layout.tsx
@@ -1,5 +1,7 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { RefreshOnFocus } from '~/components/(dashboard)/refresh-on-focus/refresh-on-focus';
export type SigningLayoutProps = {
@@ -7,6 +9,8 @@ export type SigningLayoutProps = {
};
export default function SigningLayout({ children }: SigningLayoutProps) {
+ setupI18nSSR();
+
return (
<div>
{children}
diff --git a/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx b/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx
index 3de60f986..1c50e9ac1 100644
--- a/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx
@@ -1,12 +1,15 @@
import Link from 'next/link';
import { notFound } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CheckCircle2, Clock8 } from 'lucide-react';
import { getServerSession } from 'next-auth';
import { env } from 'next-runtime-env';
import { match } from 'ts-pattern';
import signingCelebration from '@documenso/assets/images/signing-celebration.png';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getDocumentAndSenderByToken } from '@documenso/lib/server-only/document/get-document-by-token';
import { isRecipientAuthorized } from '@documenso/lib/server-only/document/is-recipient-authorized';
@@ -37,6 +40,10 @@ export type CompletedSigningPageProps = {
export default async function CompletedSigningPage({
params: { token },
}: CompletedSigningPageProps) {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
+
const NEXT_PUBLIC_DISABLE_SIGNUP = env('NEXT_PUBLIC_DISABLE_SIGNUP');
if (!token) {
@@ -122,47 +129,58 @@ export default async function CompletedSigningPage({
/>
<h2 className="mt-6 max-w-[35ch] text-center text-2xl font-semibold leading-normal md:text-3xl lg:text-4xl">
- Document
- {recipient.role === RecipientRole.SIGNER && ' Signed '}
- {recipient.role === RecipientRole.VIEWER && ' Viewed '}
- {recipient.role === RecipientRole.APPROVER && ' Approved '}
+ {recipient.role === RecipientRole.SIGNER && <Trans>Document Signed</Trans>}
+ {recipient.role === RecipientRole.VIEWER && <Trans>Document Viewed</Trans>}
+ {recipient.role === RecipientRole.APPROVER && <Trans>Document Approved</Trans>}
</h2>
{match({ status: document.status, deletedAt: document.deletedAt })
.with({ status: DocumentStatus.COMPLETED }, () => (
<div className="text-documenso-700 mt-4 flex items-center text-center">
<CheckCircle2 className="mr-2 h-5 w-5" />
- <span className="text-sm">Everyone has signed</span>
+ <span className="text-sm">
+ <Trans>Everyone has signed</Trans>
+ </span>
</div>
))
.with({ deletedAt: null }, () => (
<div className="mt-4 flex items-center text-center text-blue-600">
<Clock8 className="mr-2 h-5 w-5" />
- <span className="text-sm">Waiting for others to sign</span>
+ <span className="text-sm">
+ <Trans>Waiting for others to sign</Trans>
+ </span>
</div>
))
.otherwise(() => (
<div className="flex items-center text-center text-red-600">
<Clock8 className="mr-2 h-5 w-5" />
- <span className="text-sm">Document no longer available to sign</span>
+ <span className="text-sm">
+ <Trans>Document no longer available to sign</Trans>
+ </span>
</div>
))}
{match({ status: document.status, deletedAt: document.deletedAt })
.with({ status: DocumentStatus.COMPLETED }, () => (
<p className="text-muted-foreground/60 mt-2.5 max-w-[60ch] text-center text-sm font-medium md:text-base">
- Everyone has signed! You will receive an Email copy of the signed document.
+ <Trans>
+ Everyone has signed! You will receive an Email copy of the signed document.
+ </Trans>
</p>
))
.with({ deletedAt: null }, () => (
<p className="text-muted-foreground/60 mt-2.5 max-w-[60ch] text-center text-sm font-medium md:text-base">
- You will receive an Email copy of the signed document once everyone has signed.
+ <Trans>
+ You will receive an Email copy of the signed document once everyone has signed.
+ </Trans>
</p>
))
.otherwise(() => (
<p className="text-muted-foreground/60 mt-2.5 max-w-[60ch] text-center text-sm font-medium md:text-base">
- This document has been cancelled by the owner and is no longer available for others
- to sign.
+ <Trans>
+ This document has been cancelled by the owner and is no longer available for
+ others to sign.
+ </Trans>
</p>
))}
@@ -179,7 +197,7 @@ export default async function CompletedSigningPage({
) : (
<DocumentPreviewButton
className="text-[11px]"
- title="Signatures will appear once the document has been completed"
+ title={_(msg`Signatures will appear once the document has been completed`)}
documentData={documentData}
/>
)}
@@ -189,11 +207,11 @@ export default async function CompletedSigningPage({
{canSignUp && (
<div className={`flex max-w-xl flex-col items-center justify-center p-4 md:p-12`}>
<h2 className="mt-8 text-center text-xl font-semibold md:mt-0">
- Need to sign documents?
+ <Trans>Need to sign documents?</Trans>
</h2>
<p className="text-muted-foreground/60 mt-4 max-w-[55ch] text-center leading-normal">
- Create your account and start using state-of-the-art document signing.
+ <Trans>Create your account and start using state-of-the-art document signing.</Trans>
</p>
<ClaimAccount defaultName={recipientName} defaultEmail={recipient.email} />
@@ -202,7 +220,7 @@ export default async function CompletedSigningPage({
{isLoggedIn && (
<Link href="/documents" className="text-documenso-700 hover:text-documenso-600 mt-36">
- Go Back Home
+ <Trans>Go Back Home</Trans>
</Link>
)}
</div>
diff --git a/apps/web/src/app/(signing)/sign/[token]/date-field.tsx b/apps/web/src/app/(signing)/sign/[token]/date-field.tsx
index b1bc52c14..e5fb0459b 100644
--- a/apps/web/src/app/(signing)/sign/[token]/date-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/date-field.tsx
@@ -4,6 +4,8 @@ import { useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import {
@@ -44,6 +46,7 @@ export const DateField = ({
}: DateFieldProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const [isPending, startTransition] = useTransition();
@@ -62,7 +65,9 @@ export const DateField = ({
const isDifferentTime = field.inserted && localDateString !== field.customText;
- const tooltipText = `"${field.customText}" will appear on the document as it has a timezone of "${timezone}".`;
+ const tooltipText = _(
+ msg`"${field.customText}" will appear on the document as it has a timezone of "${timezone}".`,
+ );
const onSign = async (authOptions?: TRecipientActionAuth) => {
try {
@@ -91,8 +96,8 @@ export const DateField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -117,8 +122,8 @@ export const DateField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -140,7 +145,7 @@ export const DateField = ({
{!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground duration-200 group-hover:text-yellow-300">
- Date
+ <Trans>Date</Trans>
</p>
)}
diff --git a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx
index 5af9ced18..9666b4235 100644
--- a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx
@@ -1,6 +1,7 @@
import { useEffect, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans } from '@lingui/macro';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -100,15 +101,20 @@ export const DocumentActionAuth2FA = ({
<Alert variant="warning">
<AlertDescription>
<p>
- {recipient.role === RecipientRole.VIEWER && actionTarget === 'DOCUMENT'
- ? 'You need to setup 2FA to mark this document as viewed.'
- : `You need to setup 2FA to ${actionVerb.toLowerCase()} this ${actionTarget.toLowerCase()}.`}
+ {recipient.role === RecipientRole.VIEWER && actionTarget === 'DOCUMENT' ? (
+ <Trans>You need to setup 2FA to mark this document as viewed.</Trans>
+ ) : (
+ // Todo: Translate
+ `You need to setup 2FA to ${actionVerb.toLowerCase()} this ${actionTarget.toLowerCase()}.`
+ )}
</p>
{user?.identityProvider === 'DOCUMENSO' && (
<p className="mt-2">
- By enabling 2FA, you will be required to enter a code from your authenticator app
- every time you sign in.
+ <Trans>
+ By enabling 2FA, you will be required to enter a code from your authenticator app
+ every time you sign in.
+ </Trans>
</p>
)}
</AlertDescription>
@@ -116,7 +122,7 @@ export const DocumentActionAuth2FA = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Close
+ <Trans>Close</Trans>
</Button>
<EnableAuthenticatorAppDialog onSuccess={() => setIs2FASetupSuccessful(true)} />
@@ -156,20 +162,24 @@ export const DocumentActionAuth2FA = ({
{formErrorCode && (
<Alert variant="destructive">
- <AlertTitle>Unauthorized</AlertTitle>
+ <AlertTitle>
+ <Trans>Unauthorized</Trans>
+ </AlertTitle>
<AlertDescription>
- We were unable to verify your details. Please try again or contact support
+ <Trans>
+ We were unable to verify your details. Please try again or contact support
+ </Trans>
</AlertDescription>
</Alert>
)}
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={isCurrentlyAuthenticating}>
- Sign
+ <Trans>Sign</Trans>
</Button>
</DialogFooter>
</div>
diff --git a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx
index c09a60189..f0de746f5 100644
--- a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx
@@ -1,5 +1,6 @@
import { useState } from 'react';
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
import { signOut } from 'next-auth/react';
@@ -53,11 +54,14 @@ export const DocumentActionAuthAccount = ({
<AlertDescription>
{actionTarget === 'DOCUMENT' && recipient.role === RecipientRole.VIEWER ? (
<span>
- To mark this document as viewed, you need to be logged in as{' '}
- <strong>{recipient.email}</strong>
+ <Trans>
+ To mark this document as viewed, you need to be logged in as{' '}
+ <strong>{recipient.email}</strong>
+ </Trans>
</span>
) : (
<span>
+ {/* Todo: Translate */}
To {actionVerb.toLowerCase()} this {actionTarget.toLowerCase()}, you need to be logged
in as <strong>{recipient.email}</strong>
</span>
@@ -67,11 +71,11 @@ export const DocumentActionAuthAccount = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button onClick={async () => handleChangeAccount(recipient.email)} loading={isSigningOut}>
- Login
+ <Trans>Login</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx
index 0aed60be0..5cb618a0e 100644
--- a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx
@@ -1,3 +1,4 @@
+import { Trans } from '@lingui/macro';
import { P, match } from 'ts-pattern';
import {
@@ -55,10 +56,10 @@ export const DocumentActionAuthDialog = ({
<Dialog open={open} onOpenChange={handleOnOpenChange}>
<DialogContent>
<DialogHeader>
- <DialogTitle>{title || 'Sign field'}</DialogTitle>
+ <DialogTitle>{title || <Trans>Sign field</Trans>}</DialogTitle>
<DialogDescription>
- {description || 'Reauthentication is required to sign this field'}
+ {description || <Trans>Reauthentication is required to sign this field</Trans>}
</DialogDescription>
</DialogHeader>
diff --git a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx
index da1be1f38..fbdc6947d 100644
--- a/apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx
@@ -1,6 +1,8 @@
import { useEffect, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { browserSupportsWebAuthn, startAuthentication } from '@simplewebauthn/browser';
import { Loader } from 'lucide-react';
import { useForm } from 'react-hook-form';
@@ -54,6 +56,8 @@ export const DocumentActionAuthPasskey = ({
open,
onOpenChange,
}: DocumentActionAuthPasskeyProps) => {
+ const { _ } = useLingui();
+
const {
recipient,
passkeyData,
@@ -123,6 +127,7 @@ export const DocumentActionAuthPasskey = ({
<div className="space-y-4">
<Alert variant="warning">
<AlertDescription>
+ {/* Todo: Translate */}
Your browser does not support passkeys, which is required to {actionVerb.toLowerCase()}{' '}
this {actionTarget.toLowerCase()}.
</AlertDescription>
@@ -130,7 +135,7 @@ export const DocumentActionAuthPasskey = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Close
+ <Trans>Close</Trans>
</Button>
</DialogFooter>
</div>
@@ -149,16 +154,18 @@ export const DocumentActionAuthPasskey = ({
return (
<div className="h-28 space-y-4">
<Alert variant="destructive">
- <AlertDescription>Something went wrong while loading your passkeys.</AlertDescription>
+ <AlertDescription>
+ <Trans>Something went wrong while loading your passkeys.</Trans>
+ </AlertDescription>
</Alert>
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="button" onClick={() => void refetchPasskeys()}>
- Retry
+ <Trans>Retry</Trans>
</Button>
</DialogFooter>
</div>
@@ -170,6 +177,7 @@ export const DocumentActionAuthPasskey = ({
<div className="space-y-4">
<Alert variant="warning">
<AlertDescription>
+ {/* Todo: Translate */}
{recipient.role === RecipientRole.VIEWER && actionTarget === 'DOCUMENT'
? 'You need to setup a passkey to mark this document as viewed.'
: `You need to setup a passkey to ${actionVerb.toLowerCase()} this ${actionTarget.toLowerCase()}.`}
@@ -178,12 +186,16 @@ export const DocumentActionAuthPasskey = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => onOpenChange(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<CreatePasskeyDialog
onSuccess={async () => refetchPasskeys()}
- trigger={<Button>Setup</Button>}
+ trigger={
+ <Button>
+ <Trans>Setup</Trans>
+ </Button>
+ }
/>
</DialogFooter>
</div>
@@ -207,7 +219,7 @@ export const DocumentActionAuthPasskey = ({
<SelectTrigger className="bg-background text-muted-foreground">
<SelectValue
data-testid="documentAccessSelectValue"
- placeholder="Select passkey"
+ placeholder={_(msg`Select passkey`)}
/>
</SelectTrigger>
diff --git a/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx b/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx
index c50e616ee..a998ee696 100644
--- a/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx
@@ -4,6 +4,8 @@ import { useEffect, useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DO_NOT_INVALIDATE_QUERY_ON_MUTATION } from '@documenso/lib/constants/trpc';
@@ -43,8 +45,10 @@ export const DropdownField = ({
onSignField,
onUnsignField,
}: DropdownFieldProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+
+ const router = useRouter();
const [isPending, startTransition] = useTransition();
const { executeActionAuthProcedure } = useRequiredDocumentAuthContext();
@@ -98,8 +102,8 @@ export const DropdownField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -129,8 +133,8 @@ export const DropdownField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -185,7 +189,7 @@ export const DropdownField = ({
},
)}
>
- <SelectValue placeholder={'-- Select --'} />
+ <SelectValue placeholder={`-- ${_(msg`Select`)} --`} />
</SelectTrigger>
<SelectContent className="w-full ring-0 focus:ring-0" position="popper">
{parsedFieldMeta?.values?.map((item, index) => (
diff --git a/apps/web/src/app/(signing)/sign/[token]/email-field.tsx b/apps/web/src/app/(signing)/sign/[token]/email-field.tsx
index 9ff79e399..cf820ea38 100644
--- a/apps/web/src/app/(signing)/sign/[token]/email-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/email-field.tsx
@@ -4,6 +4,8 @@ import { useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DO_NOT_INVALIDATE_QUERY_ON_MUTATION } from '@documenso/lib/constants/trpc';
@@ -31,6 +33,7 @@ export type EmailFieldProps = {
export const EmailField = ({ field, recipient, onSignField, onUnsignField }: EmailFieldProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const { email: providedEmail } = useRequiredSigningContext();
@@ -77,8 +80,8 @@ export const EmailField = ({ field, recipient, onSignField, onUnsignField }: Ema
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -103,8 +106,8 @@ export const EmailField = ({ field, recipient, onSignField, onUnsignField }: Ema
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -120,7 +123,7 @@ export const EmailField = ({ field, recipient, onSignField, onUnsignField }: Ema
{!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground duration-200 group-hover:text-yellow-300">
- Email
+ <Trans>Email</Trans>
</p>
)}
diff --git a/apps/web/src/app/(signing)/sign/[token]/form.tsx b/apps/web/src/app/(signing)/sign/[token]/form.tsx
index adcbfa16c..ec6aa6de9 100644
--- a/apps/web/src/app/(signing)/sign/[token]/form.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/form.tsx
@@ -4,6 +4,7 @@ import { useMemo, useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { useSession } from 'next-auth/react';
import { useForm } from 'react-hook-form';
@@ -103,7 +104,7 @@ export const SigningForm = ({ document, recipient, fields, redirectUrl }: Signin
>
{validateUninsertedFields && uninsertedFields[0] && (
<FieldToolTip key={uninsertedFields[0].id} field={uninsertedFields[0]} color="warning">
- Click to insert field
+ <Trans>Click to insert field</Trans>
</FieldToolTip>
)}
@@ -123,7 +124,7 @@ export const SigningForm = ({ document, recipient, fields, redirectUrl }: Signin
{recipient.role === RecipientRole.VIEWER ? (
<>
<p className="text-muted-foreground mt-2 text-sm">
- Please mark as viewed to complete
+ <Trans>Please mark as viewed to complete</Trans>
</p>
<hr className="border-border mb-8 mt-4" />
@@ -139,7 +140,7 @@ export const SigningForm = ({ document, recipient, fields, redirectUrl }: Signin
disabled={typeof window !== 'undefined' && window.history.length <= 1}
onClick={() => router.back()}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<SignDialog
diff --git a/apps/web/src/app/(signing)/sign/[token]/layout.tsx b/apps/web/src/app/(signing)/sign/[token]/layout.tsx
index 9db36e8aa..c9be8130b 100644
--- a/apps/web/src/app/(signing)/sign/[token]/layout.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/layout.tsx
@@ -1,5 +1,6 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import type { GetTeamsResponse } from '@documenso/lib/server-only/team/get-teams';
import { getTeams } from '@documenso/lib/server-only/team/get-teams';
@@ -12,6 +13,8 @@ export type SigningLayoutProps = {
};
export default async function SigningLayout({ children }: SigningLayoutProps) {
+ setupI18nSSR();
+
const { user, session } = await getServerComponentSession();
let teams: GetTeamsResponse = [];
diff --git a/apps/web/src/app/(signing)/sign/[token]/name-field.tsx b/apps/web/src/app/(signing)/sign/[token]/name-field.tsx
index e4d13a603..212e6a6c8 100644
--- a/apps/web/src/app/(signing)/sign/[token]/name-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/name-field.tsx
@@ -4,6 +4,8 @@ import { useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DO_NOT_INVALIDATE_QUERY_ON_MUTATION } from '@documenso/lib/constants/trpc';
@@ -36,6 +38,7 @@ export type NameFieldProps = {
export const NameField = ({ field, recipient, onSignField, onUnsignField }: NameFieldProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const { fullName: providedFullName, setFullName: setProvidedFullName } =
@@ -115,8 +118,8 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -141,8 +144,8 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -164,7 +167,7 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
{!field.inserted && (
<p className="group-hover:text-primary text-muted-foreground duration-200 group-hover:text-yellow-300">
- Name
+ <Trans>Name</Trans>
</p>
)}
@@ -177,12 +180,18 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
<Dialog open={showFullNameModal} onOpenChange={setShowFullNameModal}>
<DialogContent>
<DialogTitle>
- Sign as {recipient.name}{' '}
- <div className="text-muted-foreground">({recipient.email})</div>
+ <Trans>
+ Sign as
+ <div>
+ {recipient.name} <div className="text-muted-foreground">({recipient.email})</div>
+ </div>
+ </Trans>
</DialogTitle>
<div>
- <Label htmlFor="signature">Full Name</Label>
+ <Label htmlFor="signature">
+ <Trans>Full Name</Trans>
+ </Label>
<Input
type="text"
@@ -203,7 +212,7 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
setLocalFullName('');
}}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -212,7 +221,7 @@ export const NameField = ({ field, recipient, onSignField, onUnsignField }: Name
disabled={!localFullName}
onClick={() => onDialogSignClick()}
>
- Sign
+ <Trans>Sign</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx b/apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx
index 39bfba935..3c608e6af 100644
--- a/apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx
@@ -4,6 +4,7 @@ import React from 'react';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { Clock8 } from 'lucide-react';
import { useSession } from 'next-auth/react';
@@ -35,31 +36,37 @@ export const NoLongerAvailable = ({
<div className="relative mt-2 flex w-full flex-col items-center">
<div className="mt-8 flex items-center text-center text-red-600">
<Clock8 className="mr-2 h-5 w-5" />
- <span className="text-sm">Document Cancelled</span>
+ <span className="text-sm">
+ <Trans>Document Cancelled</Trans>
+ </span>
</div>
<h2 className="mt-6 max-w-[35ch] text-center text-2xl font-semibold leading-normal md:text-3xl lg:text-4xl">
- <span className="mt-1.5 block">"{document.title}"</span>
- is no longer available to sign
+ <Trans>
+ <span className="mt-1.5 block">"{document.title}"</span>
+ is no longer available to sign
+ </Trans>
</h2>
<p className="text-muted-foreground/60 mt-2.5 max-w-[60ch] text-center text-sm font-medium md:text-base">
- This document has been cancelled by the owner.
+ <Trans>This document has been cancelled by the owner.</Trans>
</p>
{session?.user ? (
<Link href="/documents" className="text-documenso-700 hover:text-documenso-600 mt-36">
- Go Back Home
+ <Trans>Go Back Home</Trans>
</Link>
) : (
<p className="text-muted-foreground/60 mt-36 text-sm">
- Want to send slick signing links like this one?{' '}
- <Link
- href="https://documenso.com"
- className="text-documenso-700 hover:text-documenso-600"
- >
- Check out Documenso.
- </Link>
+ <Trans>
+ Want to send slick signing links like this one?{' '}
+ <Link
+ href="https://documenso.com"
+ className="text-documenso-700 hover:text-documenso-600"
+ >
+ Check out Documenso.
+ </Link>
+ </Trans>
</p>
)}
</div>
diff --git a/apps/web/src/app/(signing)/sign/[token]/number-field.tsx b/apps/web/src/app/(signing)/sign/[token]/number-field.tsx
index adf04015f..4ce777c32 100644
--- a/apps/web/src/app/(signing)/sign/[token]/number-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/number-field.tsx
@@ -4,6 +4,8 @@ import { useEffect, useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Hash, Loader } from 'lucide-react';
import { validateNumberField } from '@documenso/lib/advanced-fields-validation/validate-number';
@@ -43,8 +45,10 @@ export type NumberFieldProps = {
};
export const NumberField = ({ field, recipient, onSignField, onUnsignField }: NumberFieldProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+
+ const router = useRouter();
const [isPending, startTransition] = useTransition();
const [showRadioModal, setShowRadioModal] = useState(false);
@@ -142,8 +146,8 @@ export const NumberField = ({ field, recipient, onSignField, onUnsignField }: Nu
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -187,8 +191,8 @@ export const NumberField = ({ field, recipient, onSignField, onUnsignField }: Nu
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -263,7 +267,7 @@ export const NumberField = ({ field, recipient, onSignField, onUnsignField }: Nu
<Dialog open={showRadioModal} onOpenChange={setShowRadioModal}>
<DialogContent>
<DialogTitle>
- {parsedFieldMeta?.label ? parsedFieldMeta?.label : 'Add number'}
+ {parsedFieldMeta?.label ? parsedFieldMeta?.label : <Trans>Add number</Trans>}
</DialogTitle>
<div>
@@ -320,7 +324,7 @@ export const NumberField = ({ field, recipient, onSignField, onUnsignField }: Nu
setLocalNumber('');
}}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -329,7 +333,7 @@ export const NumberField = ({ field, recipient, onSignField, onUnsignField }: Nu
disabled={!localNumber || userInputHasErrors}
onClick={() => onDialogSignClick()}
>
- Save
+ <Trans>Save</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(signing)/sign/[token]/page.tsx b/apps/web/src/app/(signing)/sign/[token]/page.tsx
index ef4b07c8a..a5b70a29c 100644
--- a/apps/web/src/app/(signing)/sign/[token]/page.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/page.tsx
@@ -1,6 +1,7 @@
import { headers } from 'next/headers';
import { notFound, redirect } from 'next/navigation';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { DOCUMENSO_ENCRYPTION_KEY } from '@documenso/lib/constants/crypto';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getDocumentAndSenderByToken } from '@documenso/lib/server-only/document/get-document-by-token';
@@ -29,6 +30,8 @@ export type SigningPageProps = {
};
export default async function SigningPage({ params: { token } }: SigningPageProps) {
+ setupI18nSSR();
+
if (!token) {
return notFound();
}
diff --git a/apps/web/src/app/(signing)/sign/[token]/radio-field.tsx b/apps/web/src/app/(signing)/sign/[token]/radio-field.tsx
index cdae9c9af..7def86101 100644
--- a/apps/web/src/app/(signing)/sign/[token]/radio-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/radio-field.tsx
@@ -4,6 +4,8 @@ import { useEffect, useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DO_NOT_INVALIDATE_QUERY_ON_MUTATION } from '@documenso/lib/constants/trpc';
@@ -32,8 +34,10 @@ export type RadioFieldProps = {
};
export const RadioField = ({ field, recipient, onSignField, onUnsignField }: RadioFieldProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+
+ const router = useRouter();
const [isPending, startTransition] = useTransition();
const parsedFieldMeta = ZRadioFieldMeta.parse(field.fieldMeta);
@@ -94,8 +98,8 @@ export const RadioField = ({ field, recipient, onSignField, onUnsignField }: Rad
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -121,8 +125,8 @@ export const RadioField = ({ field, recipient, onSignField, onUnsignField }: Rad
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
diff --git a/apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx b/apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx
index 51f3550ad..318409f88 100644
--- a/apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx
@@ -1,5 +1,7 @@
import { useState } from 'react';
+import { Trans } from '@lingui/macro';
+
import type { Field } from '@documenso/prisma/client';
import { RecipientRole } from '@documenso/prisma/client';
import { Button } from '@documenso/ui/primitives/button';
@@ -53,36 +55,42 @@ export const SignDialog = ({
onClick={fieldsValidated}
loading={isSubmitting}
>
- {isComplete ? 'Complete' : 'Next field'}
+ {isComplete ? <Trans>Complete</Trans> : <Trans>Next field</Trans>}
</Button>
</DialogTrigger>
<DialogContent>
<DialogTitle>
<div className="text-foreground text-xl font-semibold">
- {role === RecipientRole.VIEWER && 'Complete Viewing'}
- {role === RecipientRole.SIGNER && 'Complete Signing'}
- {role === RecipientRole.APPROVER && 'Complete Approval'}
+ {role === RecipientRole.VIEWER && <Trans>Complete Viewing</Trans>}
+ {role === RecipientRole.SIGNER && <Trans>Complete Signing</Trans>}
+ {role === RecipientRole.APPROVER && <Trans>Complete Approval</Trans>}
</div>
</DialogTitle>
<div className="text-muted-foreground max-w-[50ch]">
{role === RecipientRole.VIEWER && (
<span>
- You are about to complete viewing "{truncatedTitle}".
- <br /> Are you sure?
+ <Trans>
+ You are about to complete viewing "{truncatedTitle}".
+ <br /> Are you sure?
+ </Trans>
</span>
)}
{role === RecipientRole.SIGNER && (
<span>
- You are about to complete signing "{truncatedTitle}".
- <br /> Are you sure?
+ <Trans>
+ You are about to complete signing "{truncatedTitle}".
+ <br /> Are you sure?
+ </Trans>
</span>
)}
{role === RecipientRole.APPROVER && (
<span>
- You are about to complete approving "{truncatedTitle}".
- <br /> Are you sure?
+ <Trans>
+ You are about to complete approving "{truncatedTitle}".
+ <br /> Are you sure?
+ </Trans>
</span>
)}
</div>
@@ -93,13 +101,13 @@ export const SignDialog = ({
<div className="flex w-full flex-1 flex-nowrap gap-4">
<Button
type="button"
- className="dark:bg-muted dark:hover:bg-muted/80 flex-1 bg-black/5 hover:bg-black/10"
+ className="dark:bg-muted dark:hover:bg-muted/80 flex-1 bg-black/5 hover:bg-black/10"
variant="secondary"
onClick={() => {
setShowDialog(false);
}}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -109,9 +117,9 @@ export const SignDialog = ({
loading={isSubmitting}
onClick={onSignatureComplete}
>
- {role === RecipientRole.VIEWER && 'Mark as Viewed'}
- {role === RecipientRole.SIGNER && 'Sign'}
- {role === RecipientRole.APPROVER && 'Approve'}
+ {role === RecipientRole.VIEWER && <Trans>Mark as Viewed</Trans>}
+ {role === RecipientRole.SIGNER && <Trans>Sign</Trans>}
+ {role === RecipientRole.APPROVER && <Trans>Approve</Trans>}
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(signing)/sign/[token]/signature-field.tsx b/apps/web/src/app/(signing)/sign/[token]/signature-field.tsx
index fc973f77e..990dfe057 100644
--- a/apps/web/src/app/(signing)/sign/[token]/signature-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/signature-field.tsx
@@ -4,6 +4,8 @@ import { useMemo, useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DO_NOT_INVALIDATE_QUERY_ON_MUTATION } from '@documenso/lib/constants/trpc';
@@ -45,6 +47,7 @@ export const SignatureField = ({
}: SignatureFieldProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const { signature: providedSignature, setSignature: setProvidedSignature } =
@@ -142,8 +145,8 @@ export const SignatureField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -168,8 +171,8 @@ export const SignatureField = ({
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the signature.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the signature.`),
variant: 'destructive',
});
}
@@ -191,7 +194,7 @@ export const SignatureField = ({
{state === 'empty' && (
<p className="group-hover:text-primary font-signature text-muted-foreground text-xl duration-200 group-hover:text-yellow-300">
- Signature
+ <Trans>Signature</Trans>
</p>
)}
@@ -213,12 +216,16 @@ export const SignatureField = ({
<Dialog open={showSignatureModal} onOpenChange={setShowSignatureModal}>
<DialogContent>
<DialogTitle>
- Sign as {recipient.name}{' '}
- <div className="text-muted-foreground h-5">({recipient.email})</div>
+ <Trans>
+ Sign as {recipient.name}{' '}
+ <div className="text-muted-foreground h-5">({recipient.email})</div>
+ </Trans>
</DialogTitle>
<div className="">
- <Label htmlFor="signature">Signature</Label>
+ <Label htmlFor="signature">
+ <Trans>Signature</Trans>
+ </Label>
<SignaturePad
id="signature"
@@ -233,14 +240,14 @@ export const SignatureField = ({
<div className="flex w-full flex-1 flex-nowrap gap-4">
<Button
type="button"
- className="dark:bg-muted dark:hover:bg-muted/80 flex-1 bg-black/5 hover:bg-black/10"
+ className="dark:bg-muted dark:hover:bg-muted/80 flex-1 bg-black/5 hover:bg-black/10"
variant="secondary"
onClick={() => {
setShowSignatureModal(false);
setLocalSignature(null);
}}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -249,7 +256,7 @@ export const SignatureField = ({
disabled={!localSignature}
onClick={() => onDialogSignClick()}
>
- Sign
+ <Trans>Sign</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx b/apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx
index 2d77679df..2a044fcf1 100644
--- a/apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx
@@ -2,6 +2,8 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DateTime } from 'luxon';
import { signOut } from 'next-auth/react';
@@ -15,6 +17,7 @@ export type SigningAuthPageViewProps = {
};
export const SigningAuthPageView = ({ email, emailHasAccount }: SigningAuthPageViewProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [isSigningOut, setIsSigningOut] = useState(false);
@@ -37,8 +40,8 @@ export const SigningAuthPageView = ({ email, emailHasAccount }: SigningAuthPageV
});
} catch {
toast({
- title: 'Something went wrong',
- description: 'We were unable to log you out at this time.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`We were unable to log you out at this time.`),
duration: 10000,
variant: 'destructive',
});
@@ -50,10 +53,14 @@ export const SigningAuthPageView = ({ email, emailHasAccount }: SigningAuthPageV
return (
<div className="mx-auto flex h-[70vh] w-full max-w-md flex-col items-center justify-center">
<div>
- <h1 className="text-3xl font-semibold">Authentication required</h1>
+ <h1 className="text-3xl font-semibold">
+ <Trans>Authentication required</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- You need to be logged in as <strong>{email}</strong> to view this page.
+ <Trans>
+ You need to be logged in as <strong>{email}</strong> to view this page.
+ </Trans>
</p>
<Button
@@ -62,7 +69,7 @@ export const SigningAuthPageView = ({ email, emailHasAccount }: SigningAuthPageV
onClick={async () => handleChangeAccount(email)}
loading={isSigningOut}
>
- {emailHasAccount ? 'Login' : 'Sign up'}
+ {emailHasAccount ? <Trans>Login</Trans> : <Trans>Sign up</Trans>}
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx b/apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx
index 103c5f9e5..797fdbfa2 100644
--- a/apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx
@@ -2,6 +2,7 @@
import React from 'react';
+import { Trans } from '@lingui/macro';
import { X } from 'lucide-react';
import { type TRecipientActionAuth } from '@documenso/lib/types/document-auth';
@@ -140,7 +141,7 @@ export const SigningFieldContainer = ({
{readOnlyField && (
<button className="bg-background/40 absolute inset-0 z-10 flex h-full w-full items-center justify-center rounded-md text-sm opacity-0 duration-200 group-hover:opacity-100">
<span className="bg-foreground/50 dark:bg-background/50 text-background dark:text-foreground rounded-xl p-2">
- Read only field
+ <Trans>Read only field</Trans>
</span>
</button>
)}
@@ -152,7 +153,7 @@ export const SigningFieldContainer = ({
className="text-destructive bg-background/40 absolute inset-0 z-10 flex h-full w-full items-center justify-center rounded-md text-sm opacity-0 duration-200 group-hover:opacity-100"
onClick={onRemoveSignedFieldClick}
>
- Remove
+ <Trans>Remove</Trans>
</button>
</TooltipTrigger>
@@ -176,7 +177,7 @@ export const SigningFieldContainer = ({
className="text-destructive bg-background/50 absolute inset-0 z-10 flex h-full w-full items-center justify-center rounded-md text-sm opacity-0 duration-200 group-hover:opacity-100"
onClick={onRemoveSignedFieldClick}
>
- Remove
+ <Trans>Remove</Trans>
</button>
)}
diff --git a/apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx b/apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx
index ced07ef5b..cc5576e80 100644
--- a/apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx
@@ -1,3 +1,4 @@
+import { Trans } from '@lingui/macro';
import { match } from 'ts-pattern';
import { DEFAULT_DOCUMENT_DATE_FORMAT } from '@documenso/lib/constants/date-formats';
@@ -63,10 +64,17 @@ export const SigningPageView = ({
</p>
</div>
<p className="text-muted-foreground">
- ({document.User.email}) has invited you to{' '}
- {recipient.role === RecipientRole.VIEWER && 'view'}
- {recipient.role === RecipientRole.SIGNER && 'sign'}
- {recipient.role === RecipientRole.APPROVER && 'approve'} this document.
+ {match(recipient.role)
+ .with(RecipientRole.VIEWER, () => (
+ <Trans>({document.User.email}) has invited you to view this document</Trans>
+ ))
+ .with(RecipientRole.SIGNER, () => (
+ <Trans>({document.User.email}) has invited you to sign this document</Trans>
+ ))
+ .with(RecipientRole.APPROVER, () => (
+ <Trans>({document.User.email}) has invited you to approve this document</Trans>
+ ))
+ .otherwise(() => null)}
</p>
<div className="mt-8 grid grid-cols-12 gap-y-8 lg:gap-x-8 lg:gap-y-0">
diff --git a/apps/web/src/app/(signing)/sign/[token]/text-field.tsx b/apps/web/src/app/(signing)/sign/[token]/text-field.tsx
index d9f9edef3..432ff1b98 100644
--- a/apps/web/src/app/(signing)/sign/[token]/text-field.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/text-field.tsx
@@ -4,6 +4,8 @@ import { useEffect, useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
+import { Plural, Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader, Type } from 'lucide-react';
import { validateTextField } from '@documenso/lib/advanced-fields-validation/validate-text';
@@ -35,9 +37,11 @@ export type TextFieldProps = {
};
export const TextField = ({ field, recipient, onSignField, onUnsignField }: TextFieldProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+ const router = useRouter();
+
const initialErrors: Record<string, string[]> = {
required: [],
characterLimit: [],
@@ -160,8 +164,8 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while signing the document.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while signing the document.`),
variant: 'destructive',
});
}
@@ -188,8 +192,8 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
console.error(err);
toast({
- title: 'Error',
- description: 'An error occurred while removing the text.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while removing the text.`),
variant: 'destructive',
});
}
@@ -220,7 +224,7 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
? parsedField?.text.substring(0, 20) + '...'
: undefined;
- const fieldDisplayName = labelDisplay ? labelDisplay : textDisplay ? textDisplay : 'Add text';
+ const fieldDisplayName = labelDisplay ? labelDisplay : textDisplay;
const charactersRemaining = (parsedFieldMeta?.characterLimit ?? 0) - (localText.length ?? 0);
return (
@@ -249,7 +253,7 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
>
<span className="flex items-center justify-center gap-x-1">
<Type />
- {fieldDisplayName}
+ {fieldDisplayName || <Trans>Add text</Trans>}
</span>
</p>
)}
@@ -264,12 +268,14 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
<Dialog open={showCustomTextModal} onOpenChange={setShowCustomTextModal}>
<DialogContent>
- <DialogTitle>{parsedFieldMeta?.label ? parsedFieldMeta?.label : 'Add Text'}</DialogTitle>
+ <DialogTitle>
+ {parsedFieldMeta?.label ? parsedFieldMeta?.label : <Trans>Add Text</Trans>}
+ </DialogTitle>
<div>
<Textarea
id="custom-text"
- placeholder={parsedFieldMeta?.placeholder ?? 'Enter your text here'}
+ placeholder={parsedFieldMeta?.placeholder ?? _(msg`Enter your text here`)}
className={cn('mt-2 w-full rounded-md', {
'border-2 border-red-300 ring-2 ring-red-200 ring-offset-2 ring-offset-red-200 focus-visible:border-red-400 focus-visible:ring-4 focus-visible:ring-red-200 focus-visible:ring-offset-2 focus-visible:ring-offset-red-200':
userInputHasErrors,
@@ -283,7 +289,11 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
parsedFieldMeta?.characterLimit > 0 &&
!userInputHasErrors && (
<div className="text-muted-foreground text-sm">
- {charactersRemaining} characters remaining
+ <Plural
+ value={charactersRemaining}
+ one="1 character remaining"
+ other={`${charactersRemaining} characters remaining`}
+ />
</div>
)}
@@ -297,7 +307,13 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
{errors.characterLimit.map((error, index) => (
<p key={index} className="text-red-500">
{error}{' '}
- {charactersRemaining < 0 && `(${Math.abs(charactersRemaining)} characters over)`}
+ {charactersRemaining < 0 && (
+ <Plural
+ value={Math.abs(charactersRemaining)}
+ one="(1 character over)"
+ other="(# characters over)"
+ />
+ )}
</p>
))}
</div>
@@ -314,7 +330,7 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
setLocalCustomText('');
}}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -323,7 +339,7 @@ export const TextField = ({ field, recipient, onSignField, onUnsignField }: Text
disabled={!localText || userInputHasErrors}
onClick={() => onDialogSignClick()}
>
- Save
+ <Trans>Save</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/edit/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/edit/page.tsx
index 7c421e5bd..c04779105 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/edit/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/edit/page.tsx
@@ -1,3 +1,4 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -11,6 +12,8 @@ export type DocumentPageProps = {
};
export default async function TeamsDocumentEditPage({ params }: DocumentPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/logs/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/logs/page.tsx
index 4f514dd56..effd426c5 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/logs/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/logs/page.tsx
@@ -1,3 +1,4 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -11,6 +12,8 @@ export type TeamDocumentsLogsPageProps = {
};
export default async function TeamsDocumentsLogsPage({ params }: TeamDocumentsLogsPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/page.tsx
index 26b1d7c91..2d734d944 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/documents/[id]/page.tsx
@@ -1,3 +1,4 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -11,6 +12,8 @@ export type DocumentPageProps = {
};
export default async function DocumentPage({ params }: DocumentPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/documents/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/documents/page.tsx
index d3d5b5bee..dba102909 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/documents/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/documents/page.tsx
@@ -1,3 +1,4 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -15,6 +16,8 @@ export default async function TeamsDocumentPage({
params,
searchParams = {},
}: TeamsDocumentPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/error.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/error.tsx
index 1e1eb9921..73f9510b7 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/error.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/error.tsx
@@ -3,6 +3,9 @@
import Link from 'next/link';
import { useRouter } from 'next/navigation';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ChevronLeft } from 'lucide-react';
import { AppErrorCode } from '@documenso/lib/errors/app-error';
@@ -13,24 +16,28 @@ type ErrorProps = {
};
export default function ErrorPage({ error }: ErrorProps) {
+ const { _ } = useLingui();
+
const router = useRouter();
- let errorMessage = 'Unknown error';
- let errorDetails = '';
+ let errorMessage = msg`Unknown error`;
+ let errorDetails: MessageDescriptor | null = null;
if (error.message === AppErrorCode.UNAUTHORIZED) {
- errorMessage = 'Unauthorized';
- errorDetails = 'You are not authorized to view this page.';
+ errorMessage = msg`Unauthorized`;
+ errorDetails = msg`You are not authorized to view this page.`;
}
return (
<div className="mx-auto flex min-h-[80vh] w-full items-center justify-center py-32">
<div>
- <p className="text-muted-foreground font-semibold">{errorMessage}</p>
+ <p className="text-muted-foreground font-semibold">{_(errorMessage)}</p>
- <h1 className="mt-3 text-2xl font-bold md:text-3xl">Oops! Something went wrong.</h1>
+ <h1 className="mt-3 text-2xl font-bold md:text-3xl">
+ <Trans>Oops! Something went wrong.</Trans>
+ </h1>
- <p className="text-muted-foreground mt-4 text-sm">{errorDetails}</p>
+ <p className="text-muted-foreground mt-4 text-sm">{errorDetails ? _(errorDetails) : ''}</p>
<div className="mt-6 flex gap-x-2.5 gap-y-4 md:items-center">
<Button
@@ -41,11 +48,13 @@ export default function ErrorPage({ error }: ErrorProps) {
}}
>
<ChevronLeft className="mr-2 h-4 w-4" />
- Go Back
+ <Trans>Go Back</Trans>
</Button>
<Button asChild>
- <Link href="/settings/teams">View teams</Link>
+ <Link href="/settings/teams">
+ <Trans>View teams</Trans>
+ </Link>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx
index 3b4f43031..48c989b7c 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx
@@ -2,6 +2,8 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AlertTriangle } from 'lucide-react';
import { match } from 'ts-pattern';
@@ -31,6 +33,7 @@ export const LayoutBillingBanner = ({
teamId,
userRole,
}: LayoutBillingBannerProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [isOpen, setIsOpen] = useState(false);
@@ -47,9 +50,10 @@ export const LayoutBillingBanner = ({
setIsOpen(false);
} catch (err) {
toast({
- title: 'Something went wrong',
- description:
- 'We are unable to proceed to the billing portal at this time. Please try again, or contact support.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We are unable to proceed to the billing portal at this time. Please try again, or contact support.`,
+ ),
variant: 'destructive',
duration: 10000,
});
@@ -75,8 +79,8 @@ export const LayoutBillingBanner = ({
<AlertTriangle className="mr-2.5 h-5 w-5" />
{match(subscription.status)
- .with(SubscriptionStatus.PAST_DUE, () => 'Payment overdue')
- .with(SubscriptionStatus.INACTIVE, () => 'Teams restricted')
+ .with(SubscriptionStatus.PAST_DUE, () => <Trans>Payment overdue</Trans>)
+ .with(SubscriptionStatus.INACTIVE, () => <Trans>Teams restricted</Trans>)
.exhaustive()}
</div>
@@ -92,26 +96,32 @@ export const LayoutBillingBanner = ({
onClick={() => setIsOpen(true)}
size="sm"
>
- Resolve
+ <Trans>Resolve</Trans>
</Button>
</div>
</div>
<Dialog open={isOpen} onOpenChange={(value) => !isLoading && setIsOpen(value)}>
<DialogContent>
- <DialogTitle>Payment overdue</DialogTitle>
+ <DialogTitle>
+ <Trans>Payment overdue</Trans>
+ </DialogTitle>
{match(subscription.status)
.with(SubscriptionStatus.PAST_DUE, () => (
<DialogDescription>
- Your payment for teams is overdue. Please settle the payment to avoid any service
- disruptions.
+ <Trans>
+ Your payment for teams is overdue. Please settle the payment to avoid any service
+ disruptions.
+ </Trans>
</DialogDescription>
))
.with(SubscriptionStatus.INACTIVE, () => (
<DialogDescription>
- Due to an unpaid invoice, your team has been restricted. Please settle the payment
- to restore full access to your team.
+ <Trans>
+ Due to an unpaid invoice, your team has been restricted. Please settle the payment
+ to restore full access to your team.
+ </Trans>
</DialogDescription>
))
.otherwise(() => null)}
@@ -119,7 +129,7 @@ export const LayoutBillingBanner = ({
{canExecuteTeamAction('MANAGE_BILLING', userRole) && (
<DialogFooter>
<Button loading={isLoading} onClick={handleCreatePortal}>
- Resolve payment
+ <Trans>Resolve payment</Trans>
</Button>
</DialogFooter>
)}
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/layout.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/layout.tsx
index e0cd23acb..cd1676591 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/layout.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/layout.tsx
@@ -3,6 +3,7 @@ import React from 'react';
import { RedirectType, redirect } from 'next/navigation';
import { LimitsProvider } from '@documenso/ee/server-only/limits/provider/server';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
import { getTeams } from '@documenso/lib/server-only/team/get-teams';
@@ -26,6 +27,8 @@ export default async function AuthenticatedTeamsLayout({
children,
params,
}: AuthenticatedTeamsLayoutProps) {
+ setupI18nSSR();
+
const { session, user } = await getServerComponentSession();
if (!session || !user) {
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx
index 35962e264..0175c568e 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx
@@ -2,6 +2,7 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { ChevronLeft } from 'lucide-react';
import { Button } from '@documenso/ui/primitives/button';
@@ -10,19 +11,25 @@ export default function NotFound() {
return (
<div className="mx-auto flex min-h-[80vh] w-full items-center justify-center py-32">
<div>
- <p className="text-muted-foreground font-semibold">404 Team not found</p>
+ <p className="text-muted-foreground font-semibold">
+ <Trans>404 Team not found</Trans>
+ </p>
- <h1 className="mt-3 text-2xl font-bold md:text-3xl">Oops! Something went wrong.</h1>
+ <h1 className="mt-3 text-2xl font-bold md:text-3xl">
+ <Trans>Oops! Something went wrong.</Trans>
+ </h1>
<p className="text-muted-foreground mt-4 text-sm">
- The team you are looking for may have been removed, renamed or may have never existed.
+ <Trans>
+ The team you are looking for may have been removed, renamed or may have never existed.
+ </Trans>
</p>
<div className="mt-6 flex gap-x-2.5 gap-y-4 md:items-center">
<Button asChild className="w-32">
<Link href="/settings/teams">
<ChevronLeft className="mr-2 h-4 w-4" />
- Go Back
+ <Trans>Go Back</Trans>
</Link>
</Button>
</div>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx
index d094feff0..a12e02665 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx
@@ -1,6 +1,9 @@
+import { Plural, Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { DateTime } from 'luxon';
import type Stripe from 'stripe';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { stripe } from '@documenso/lib/server-only/stripe';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -18,6 +21,10 @@ export type TeamsSettingsBillingPageProps = {
};
export default async function TeamsSettingBillingPage({ params }: TeamsSettingsBillingPageProps) {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
+
const session = await getRequiredServerComponentSession();
const team = await getTeamByUrl({ userId: session.user.id, teamUrl: params.teamUrl });
@@ -32,29 +39,34 @@ export default async function TeamsSettingBillingPage({ params }: TeamsSettingsB
const formatTeamSubscriptionDetails = (subscription: Stripe.Subscription | null) => {
if (!subscription) {
- return 'No payment required';
+ return <Trans>No payment required</Trans>;
}
const numberOfSeats = subscription.items.data[0].quantity ?? 0;
- const formattedTeamMemberQuanity = numberOfSeats > 1 ? `${numberOfSeats} members` : '1 member';
+ const formattedTeamMemberQuanity = (
+ <Plural value={numberOfSeats} one="# member" other="# members" />
+ );
const formattedDate = DateTime.fromSeconds(subscription.current_period_end).toFormat(
'LLL dd, yyyy',
);
- return `${formattedTeamMemberQuanity} • Monthly • Renews: ${formattedDate}`;
+ return _(msg`${formattedTeamMemberQuanity} • Monthly • Renews: ${formattedDate}`);
};
return (
<div>
- <SettingsHeader title="Billing" subtitle="Your subscription is currently active." />
+ <SettingsHeader
+ title={_(msg`Billing`)}
+ subtitle={_(msg`Your subscription is currently active.`)}
+ />
<Card gradient className="shadow-sm">
<CardContent className="flex flex-row items-center justify-between p-4">
<div className="flex flex-col text-sm">
<p className="text-foreground font-semibold">
- Current plan: {teamSubscription ? 'Team' : 'Early Adopter Team'}
+ <Trans>Current plan: {teamSubscription ? 'Team' : 'Early Adopter Team'}</Trans>
</p>
<p className="text-muted-foreground mt-0.5">
@@ -66,8 +78,8 @@ export default async function TeamsSettingBillingPage({ params }: TeamsSettingsB
<div
title={
canManageBilling
- ? 'Manage team subscription.'
- : 'You must be an admin of this team to manage billing.'
+ ? _(msg`Manage team subscription.`)
+ : _(msg`You must be an admin of this team to manage billing.`)
}
>
<TeamBillingPortalButton teamId={team.id} />
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/layout.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/layout.tsx
index fe2ee5aee..04ebe3e3f 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/layout.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/layout.tsx
@@ -2,6 +2,9 @@ import React from 'react';
import { notFound } from 'next/navigation';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { AppError, AppErrorCode } from '@documenso/lib/errors/app-error';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -21,6 +24,8 @@ export default async function TeamsSettingsLayout({
children,
params: { teamUrl },
}: TeamSettingsLayoutProps) {
+ setupI18nSSR();
+
const session = await getRequiredServerComponentSession();
try {
@@ -41,7 +46,9 @@ export default async function TeamsSettingsLayout({
return (
<div className="mx-auto w-full max-w-screen-xl px-4 md:px-8">
- <h1 className="text-4xl font-semibold">Team Settings</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team Settings</Trans>
+ </h1>
<div className="mt-4 grid grid-cols-12 gap-x-8 md:mt-8">
<DesktopNav className="hidden md:col-span-3 md:flex" />
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx
index 4617b3d48..0ca35c8c9 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx
@@ -1,3 +1,7 @@
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -12,6 +16,9 @@ export type TeamsSettingsMembersPageProps = {
};
export default async function TeamsSettingsMembersPage({ params }: TeamsSettingsMembersPageProps) {
+ setupI18nSSR();
+
+ const { _ } = useLingui();
const { teamUrl } = params;
const session = await getRequiredServerComponentSession();
@@ -20,7 +27,10 @@ export default async function TeamsSettingsMembersPage({ params }: TeamsSettings
return (
<div>
- <SettingsHeader title="Members" subtitle="Manage the members or invite new members.">
+ <SettingsHeader
+ title={_(msg`Members`)}
+ subtitle={_(msg`Manage the members or invite new members.`)}
+ >
<InviteTeamMembersDialog
teamId={team.id}
currentUserTeamRole={team.currentTeamMember.role}
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx
index ca897a30e..b9ffc4e63 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx
@@ -1,6 +1,8 @@
+import { Trans } from '@lingui/macro';
import { CheckCircle2, Clock } from 'lucide-react';
import { P, match } from 'ts-pattern';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -26,6 +28,8 @@ export type TeamsSettingsPageProps = {
};
export default async function TeamsSettingsPage({ params }: TeamsSettingsPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const session = await getRequiredServerComponentSession();
@@ -53,11 +57,15 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
<section className="mt-6 space-y-6">
{(team.teamEmail || team.emailVerification) && (
<Alert className="p-6" variant="neutral">
- <AlertTitle>Team email</AlertTitle>
+ <AlertTitle>
+ <Trans>Team email</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
- You can view documents associated with this email and use this identity when sending
- documents.
+ <Trans>
+ You can view documents associated with this email and use this identity when sending
+ documents.
+ </Trans>
</AlertDescription>
<hr className="border-border/50 mt-2" />
@@ -90,7 +98,7 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
.with({ teamEmail: P.not(null) }, () => (
<>
<CheckCircle2 className="mr-1.5 text-green-500 dark:text-green-300" />
- Active
+ <Trans>Active</Trans>
</>
))
.with(
@@ -103,14 +111,14 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
() => (
<>
<Clock className="mr-1.5 text-yellow-500 dark:text-yellow-200" />
- Expired
+ <Trans>Expired</Trans>
</>
),
)
.with({ emailVerification: P.not(null) }, () => (
<>
<Clock className="mr-1.5 text-blue-600 dark:text-blue-300" />
- Awaiting email confirmation
+ <Trans>Awaiting email confirmation</Trans>
</>
))
.otherwise(() => null)}
@@ -128,7 +136,9 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
variant="neutral"
>
<div className="mb-4 sm:mb-0">
- <AlertTitle>Team email</AlertTitle>
+ <AlertTitle>
+ <Trans>Team email</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
<ul className="text-muted-foreground mt-0.5 list-inside list-disc text-sm">
@@ -136,7 +146,9 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
{/* <li>Display this name and email when sending documents</li> */}
{/* <li>View documents associated with this email</li> */}
- <span>View documents associated with this email</span>
+ <span>
+ <Trans>View documents associated with this email</Trans>
+ </span>
</ul>
</AlertDescription>
</div>
@@ -153,10 +165,12 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
variant="neutral"
>
<div className="mb-4 sm:mb-0">
- <AlertTitle>Transfer team</AlertTitle>
+ <AlertTitle>
+ <Trans>Transfer team</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
- Transfer the ownership of the team to another team member.
+ <Trans>Transfer the ownership of the team to another team member.</Trans>
</AlertDescription>
</div>
@@ -173,11 +187,15 @@ export default async function TeamsSettingsPage({ params }: TeamsSettingsPagePro
variant="neutral"
>
<div className="mb-4 sm:mb-0">
- <AlertTitle>Delete team</AlertTitle>
+ <AlertTitle>
+ <Trans>Delete team</Trans>
+ </AlertTitle>
<AlertDescription className="mr-2">
- This team, and any associated data excluding billing invoices will be permanently
- deleted.
+ <Trans>
+ This team, and any associated data excluding billing invoices will be
+ permanently deleted.
+ </Trans>
</AlertDescription>
</div>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/public-profile/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/public-profile/page.tsx
index 494faaa9b..b8e6f2cc5 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/public-profile/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/public-profile/page.tsx
@@ -1,3 +1,4 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
import { getTeamPublicProfile } from '@documenso/lib/server-only/team/get-team-public-profile';
@@ -13,6 +14,8 @@ export type TeamsSettingsPublicProfilePageProps = {
export default async function TeamsSettingsPublicProfilePage({
params,
}: TeamsSettingsPublicProfilePageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx
index 15717f326..d97539cfe 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx
@@ -1,5 +1,7 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Edit, Loader, Mail, MoreHorizontal, X } from 'lucide-react';
import type { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -20,23 +22,24 @@ export type TeamsSettingsPageProps = {
};
export const TeamEmailDropdown = ({ team }: TeamsSettingsPageProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: resendEmailVerification, isLoading: isResendingEmailVerification } =
trpc.team.resendTeamEmailVerification.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Email verification has been resent',
+ title: _(msg`Success`),
+ description: _(msg`Email verification has been resent`),
duration: 5000,
});
},
onError: () => {
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to resend verification at this time. Please try again.`),
variant: 'destructive',
duration: 10000,
- description: 'Unable to resend verification at this time. Please try again.',
});
},
});
@@ -61,7 +64,7 @@ export const TeamEmailDropdown = ({ team }: TeamsSettingsPageProps) => {
) : (
<Mail className="mr-2 h-4 w-4" />
)}
- Resend verification
+ <Trans>Resend verification</Trans>
</DropdownMenuItem>
)}
@@ -71,7 +74,7 @@ export const TeamEmailDropdown = ({ team }: TeamsSettingsPageProps) => {
trigger={
<DropdownMenuItem onSelect={(e) => e.preventDefault()}>
<Edit className="mr-2 h-4 w-4" />
- Edit
+ <Trans>Edit</Trans>
</DropdownMenuItem>
}
/>
@@ -83,7 +86,7 @@ export const TeamEmailDropdown = ({ team }: TeamsSettingsPageProps) => {
trigger={
<DropdownMenuItem onSelect={(e) => e.preventDefault()}>
<X className="mr-2 h-4 w-4" />
- Remove
+ <Trans>Remove</Trans>
</DropdownMenuItem>
}
/>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx
index 92f89c01e..8f02b00e2 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx
@@ -2,6 +2,8 @@
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence } from 'framer-motion';
import { canExecuteTeamAction } from '@documenso/lib/utils/teams';
@@ -29,6 +31,7 @@ export const TeamTransferStatus = ({
}: TeamTransferStatusProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const isExpired = transferVerification && isTokenExpired(transferVerification.expiresAt);
@@ -38,8 +41,8 @@ export const TeamTransferStatus = ({
onSuccess: () => {
if (!isExpired) {
toast({
- title: 'Success',
- description: 'The team transfer invitation has been successfully deleted.',
+ title: _(msg`Success`),
+ description: _(msg`The team transfer invitation has been successfully deleted.`),
duration: 5000,
});
}
@@ -48,10 +51,11 @@ export const TeamTransferStatus = ({
},
onError: () => {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to remove this transfer. Please try again or contact support.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to remove this transfer. Please try again or contact support.',
});
},
});
@@ -69,26 +73,36 @@ export const TeamTransferStatus = ({
>
<div>
<AlertTitle>
- {isExpired ? 'Team transfer request expired' : 'Team transfer in progress'}
+ {isExpired ? (
+ <Trans>Team transfer request expired</Trans>
+ ) : (
+ <Trans>Team transfer in progress</Trans>
+ )}
</AlertTitle>
<AlertDescription>
{isExpired ? (
<p className="text-sm">
- The team transfer request to <strong>{transferVerification.name}</strong> has
- expired.
+ <Trans>
+ The team transfer request to <strong>{transferVerification.name}</strong> has
+ expired.
+ </Trans>
</p>
) : (
<section className="text-sm">
<p>
- A request to transfer the ownership of this team has been sent to{' '}
- <strong>
- {transferVerification.name} ({transferVerification.email})
- </strong>
+ <Trans>
+ A request to transfer the ownership of this team has been sent to{' '}
+ <strong>
+ {transferVerification.name} ({transferVerification.email})
+ </strong>
+ </Trans>
</p>
<p>
- If they accept this request, the team will be transferred to their account.
+ <Trans>
+ If they accept this request, the team will be transferred to their account.
+ </Trans>
</p>
</section>
)}
@@ -104,7 +118,7 @@ export const TeamTransferStatus = ({
'hover:bg-transparent hover:text-blue-800': !isExpired,
})}
>
- {isExpired ? 'Close' : 'Cancel'}
+ {isExpired ? <Trans>Close</Trans> : <Trans>Cancel</Trans>}
</Button>
)}
</Alert>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx
index 135a05e85..77112c81c 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx
@@ -1,6 +1,8 @@
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
import { match } from 'ts-pattern';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { AppError, AppErrorCode } from '@documenso/lib/errors/app-error';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
@@ -20,6 +22,8 @@ type ApiTokensPageProps = {
};
export default async function ApiTokensPage({ params }: ApiTokensPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
@@ -35,7 +39,9 @@ export default async function ApiTokensPage({ params }: ApiTokensPageProps) {
return (
<div>
- <h3 className="text-2xl font-semibold">API Tokens</h3>
+ <h3 className="text-2xl font-semibold">
+ <Trans>API Tokens</Trans>
+ </h3>
<p className="text-muted-foreground mt-2 text-sm">
{match(error.code)
.with(AppErrorCode.UNAUTHORIZED, () => error.message)
@@ -47,18 +53,22 @@ export default async function ApiTokensPage({ params }: ApiTokensPageProps) {
return (
<div>
- <h3 className="text-2xl font-semibold">API Tokens</h3>
+ <h3 className="text-2xl font-semibold">
+ <Trans>API Tokens</Trans>
+ </h3>
<p className="text-muted-foreground mt-2 text-sm">
- On this page, you can create new API tokens and manage the existing ones. <br />
- You can view our swagger docs{' '}
- <a
- className="text-primary underline"
- href={`${NEXT_PUBLIC_WEBAPP_URL()}/api/v1/openapi`}
- target="_blank"
- >
- here
- </a>
+ <Trans>
+ On this page, you can create new API tokens and manage the existing ones. <br />
+ You can view our swagger docs{' '}
+ <a
+ className="text-primary underline"
+ href={`${NEXT_PUBLIC_WEBAPP_URL()}/api/v1/openapi`}
+ target="_blank"
+ >
+ here
+ </a>
+ </Trans>
</p>
<hr className="my-4" />
@@ -67,12 +77,14 @@ export default async function ApiTokensPage({ params }: ApiTokensPageProps) {
<hr className="mb-4 mt-8" />
- <h4 className="text-xl font-medium">Your existing tokens</h4>
+ <h4 className="text-xl font-medium">
+ <Trans>Your existing tokens</Trans>
+ </h4>
{tokens.length === 0 && (
<div className="mb-4">
<p className="text-muted-foreground mt-2 text-sm italic">
- Your tokens will be shown here once you create them.
+ <Trans>Your tokens will be shown here once you create them.</Trans>
</p>
</div>
)}
@@ -86,22 +98,30 @@ export default async function ApiTokensPage({ params }: ApiTokensPageProps) {
<h5 className="text-base">{token.name}</h5>
<p className="text-muted-foreground mt-2 text-xs">
- Created on <LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
+ <Trans>
+ Created on{' '}
+ <LocaleDate date={token.createdAt} format={DateTime.DATETIME_FULL} />
+ </Trans>
</p>
{token.expires ? (
<p className="text-muted-foreground mt-1 text-xs">
- Expires on <LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
+ <Trans>
+ Expires on{' '}
+ <LocaleDate date={token.expires} format={DateTime.DATETIME_FULL} />
+ </Trans>
</p>
) : (
<p className="text-muted-foreground mt-1 text-xs">
- Token doesn't have an expiration date
+ <Trans>Token doesn't have an expiration date</Trans>
</p>
)}
</div>
<div>
<DeleteTokenDialog token={token} teamId={team.id}>
- <Button variant="destructive">Delete</Button>
+ <Button variant="destructive">
+ <Trans>Delete</Trans>
+ </Button>
</DeleteTokenDialog>
</div>
</div>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx
index cc7261bda..29c694c2b 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -39,7 +41,9 @@ export type WebhookPageOptions = {
};
export default function WebhookPage({ params }: WebhookPageOptions) {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const team = useCurrentTeam();
@@ -73,16 +77,18 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
});
toast({
- title: 'Webhook updated',
- description: 'The webhook has been updated successfully.',
+ title: _(msg`Webhook updated`),
+ description: _(msg`The webhook has been updated successfully.`),
duration: 5000,
});
router.refresh();
} catch (err) {
toast({
- title: 'Failed to update webhook',
- description: 'We encountered an error while updating the webhook. Please try again later.',
+ title: _(msg`Failed to update webhook`),
+ description: _(
+ msg`We encountered an error while updating the webhook. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -91,8 +97,8 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
return (
<div>
<SettingsHeader
- title="Edit webhook"
- subtitle="On this page, you can edit the webhook and its settings."
+ title={_(msg`Edit webhook`)}
+ subtitle={_(msg`On this page, you can edit the webhook and its settings.`)}
/>
{isLoading && (
@@ -119,7 +125,7 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
</FormControl>
<FormDescription>
- The URL for Documenso to send webhook events to.
+ <Trans>The URL for Documenso to send webhook events to.</Trans>
</FormDescription>
<FormMessage />
@@ -132,7 +138,9 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
name="enabled"
render={({ field }) => (
<FormItem>
- <FormLabel>Enabled</FormLabel>
+ <FormLabel>
+ <Trans>Enabled</Trans>
+ </FormLabel>
<div>
<FormControl>
@@ -155,7 +163,9 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
name="eventTriggers"
render={({ field: { onChange, value } }) => (
<FormItem className="flex flex-col gap-2">
- <FormLabel required>Triggers</FormLabel>
+ <FormLabel required>
+ <Trans>Triggers</Trans>
+ </FormLabel>
<FormControl>
<TriggerMultiSelectCombobox
listValues={value}
@@ -166,7 +176,7 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
</FormControl>
<FormDescription>
- The events that will trigger a webhook to be sent to your URL.
+ <Trans>The events that will trigger a webhook to be sent to your URL.</Trans>
</FormDescription>
<FormMessage />
@@ -185,8 +195,10 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
</FormControl>
<FormDescription>
- A secret that will be sent to your URL so you can verify that the request has
- been sent by Documenso.
+ <Trans>
+ A secret that will be sent to your URL so you can verify that the request has
+ been sent by Documenso.
+ </Trans>
</FormDescription>
<FormMessage />
</FormItem>
@@ -195,7 +207,7 @@ export default function WebhookPage({ params }: WebhookPageOptions) {
<div className="mt-4">
<Button type="submit" loading={form.formState.isSubmitting}>
- Update webhook
+ <Trans>Update webhook</Trans>
</Button>
</div>
</fieldset>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx
index 054664624..5431d55ad 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx
@@ -2,6 +2,8 @@
import Link from 'next/link';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { DateTime } from 'luxon';
@@ -18,6 +20,8 @@ import { LocaleDate } from '~/components/formatter/locale-date';
import { useCurrentTeam } from '~/providers/team';
export default function WebhookPage() {
+ const { _ } = useLingui();
+
const team = useCurrentTeam();
const { data: webhooks, isLoading } = trpc.webhook.getTeamWebhooks.useQuery({
@@ -27,8 +31,8 @@ export default function WebhookPage() {
return (
<div>
<SettingsHeader
- title="Webhooks"
- subtitle="On this page, you can create new Webhooks and manage the existing ones."
+ title={_(msg`Webhooks`)}
+ subtitle={_(msg`On this page, you can create new Webhooks and manage the existing ones.`)}
>
<CreateWebhookDialog />
</SettingsHeader>
@@ -43,7 +47,9 @@ export default function WebhookPage() {
// TODO: Perhaps add some illustrations here to make the page more engaging
<div className="mb-4">
<p className="text-muted-foreground mt-2 text-sm italic">
- You have no webhooks yet. Your webhooks will be shown here once you create them.
+ <Trans>
+ You have no webhooks yet. Your webhooks will be shown here once you create them.
+ </Trans>
</p>
</div>
)}
@@ -71,29 +77,37 @@ export default function WebhookPage() {
</h5>
<Badge variant={webhook.enabled ? 'neutral' : 'warning'} size="small">
- {webhook.enabled ? 'Enabled' : 'Disabled'}
+ {webhook.enabled ? <Trans>Enabled</Trans> : <Trans>Disabled</Trans>}
</Badge>
</div>
<p className="text-muted-foreground mt-2 text-xs">
- Listening to{' '}
- {webhook.eventTriggers
- .map((trigger) => toFriendlyWebhookEventName(trigger))
- .join(', ')}
+ <Trans>
+ Listening to{' '}
+ {webhook.eventTriggers
+ .map((trigger) => toFriendlyWebhookEventName(trigger))
+ .join(', ')}
+ </Trans>
</p>
<p className="text-muted-foreground mt-2 text-xs">
- Created on{' '}
- <LocaleDate date={webhook.createdAt} format={DateTime.DATETIME_FULL} />
+ <Trans>
+ Created on{' '}
+ <LocaleDate date={webhook.createdAt} format={DateTime.DATETIME_FULL} />
+ </Trans>
</p>
</div>
<div className="mt-4 flex flex-shrink-0 gap-4 sm:mt-0">
<Button asChild variant="outline">
- <Link href={`/t/${team.url}/settings/webhooks/${webhook.id}`}>Edit</Link>
+ <Link href={`/t/${team.url}/settings/webhooks/${webhook.id}`}>
+ <Trans>Edit</Trans>
+ </Link>
</Button>
<DeleteWebhookDialog webhook={webhook}>
- <Button variant="destructive">Delete</Button>
+ <Button variant="destructive">
+ <Trans>Delete</Trans>
+ </Button>
</DeleteWebhookDialog>
</div>
</div>
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/templates/[id]/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/templates/[id]/page.tsx
index 3fe7cbf67..a4773e583 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/templates/[id]/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/templates/[id]/page.tsx
@@ -1,5 +1,6 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -13,6 +14,8 @@ type TeamTemplatePageProps = {
};
export default async function TeamTemplatePage({ params }: TeamTemplatePageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(teams)/t/[teamUrl]/templates/page.tsx b/apps/web/src/app/(teams)/t/[teamUrl]/templates/page.tsx
index 6954d8e2d..4bae127ef 100644
--- a/apps/web/src/app/(teams)/t/[teamUrl]/templates/page.tsx
+++ b/apps/web/src/app/(teams)/t/[teamUrl]/templates/page.tsx
@@ -1,5 +1,6 @@
import React from 'react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { getTeamByUrl } from '@documenso/lib/server-only/team/get-team';
@@ -17,6 +18,8 @@ export default async function TeamTemplatesPage({
searchParams = {},
params,
}: TeamTemplatesPageProps) {
+ setupI18nSSR();
+
const { teamUrl } = params;
const { user } = await getRequiredServerComponentSession();
diff --git a/apps/web/src/app/(unauthenticated)/articles/signature-disclosure/page.tsx b/apps/web/src/app/(unauthenticated)/articles/signature-disclosure/page.tsx
index c56f53702..8c79071b9 100644
--- a/apps/web/src/app/(unauthenticated)/articles/signature-disclosure/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/articles/signature-disclosure/page.tsx
@@ -1,8 +1,13 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { Button } from '@documenso/ui/primitives/button';
export default function SignatureDisclosure() {
+ setupI18nSSR();
+
return (
<div>
<article className="prose dark:prose-invert">
@@ -100,7 +105,9 @@ export default function SignatureDisclosure() {
<div className="mt-8">
<Button asChild>
- <Link href="/documents">Back to Documents</Link>
+ <Link href="/documents">
+ <Trans>Back to Documents</Trans>
+ </Link>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(unauthenticated)/check-email/page.tsx b/apps/web/src/app/(unauthenticated)/check-email/page.tsx
index 01f2b389d..a91a2f7a2 100644
--- a/apps/web/src/app/(unauthenticated)/check-email/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/check-email/page.tsx
@@ -1,6 +1,9 @@
import type { Metadata } from 'next';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { Button } from '@documenso/ui/primitives/button';
export const metadata: Metadata = {
@@ -8,18 +11,26 @@ export const metadata: Metadata = {
};
export default function ForgotPasswordPage() {
+ setupI18nSSR();
+
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-4xl font-semibold">Email sent!</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Email sent!</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- A password reset email has been sent, if you have an account you should see it in your
- inbox shortly.
+ <Trans>
+ A password reset email has been sent, if you have an account you should see it in your
+ inbox shortly.
+ </Trans>
</p>
<Button asChild>
- <Link href="/signin">Return to sign in</Link>
+ <Link href="/signin">
+ <Trans>Return to sign in</Trans>
+ </Link>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(unauthenticated)/forgot-password/page.tsx b/apps/web/src/app/(unauthenticated)/forgot-password/page.tsx
index e93c8947c..72a757732 100644
--- a/apps/web/src/app/(unauthenticated)/forgot-password/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/forgot-password/page.tsx
@@ -1,6 +1,10 @@
import type { Metadata } from 'next';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { ForgotPasswordForm } from '~/components/forms/forgot-password';
export const metadata: Metadata = {
@@ -8,23 +12,31 @@ export const metadata: Metadata = {
};
export default function ForgotPasswordPage() {
+ setupI18nSSR();
+
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-3xl font-semibold">Forgot your password?</h1>
+ <h1 className="text-3xl font-semibold">
+ <Trans>Forgot your password?</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- No worries, it happens! Enter your email and we'll email you a special link to reset your
- password.
+ <Trans>
+ No worries, it happens! Enter your email and we'll email you a special link to reset
+ your password.
+ </Trans>
</p>
<ForgotPasswordForm className="mt-4" />
<p className="text-muted-foreground mt-6 text-center text-sm">
- Remembered your password?{' '}
- <Link href="/signin" className="text-primary duration-200 hover:opacity-70">
- Sign In
- </Link>
+ <Trans>
+ Remembered your password?{' '}
+ <Link href="/signin" className="text-primary duration-200 hover:opacity-70">
+ Sign In
+ </Link>
+ </Trans>
</p>
</div>
</div>
diff --git a/apps/web/src/app/(unauthenticated)/layout.tsx b/apps/web/src/app/(unauthenticated)/layout.tsx
index 2016b2adb..994bb3ac2 100644
--- a/apps/web/src/app/(unauthenticated)/layout.tsx
+++ b/apps/web/src/app/(unauthenticated)/layout.tsx
@@ -3,12 +3,15 @@ import React from 'react';
import Image from 'next/image';
import backgroundPattern from '@documenso/assets/images/background-pattern.png';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
type UnauthenticatedLayoutProps = {
children: React.ReactNode;
};
export default function UnauthenticatedLayout({ children }: UnauthenticatedLayoutProps) {
+ setupI18nSSR();
+
return (
<main className="relative flex min-h-screen flex-col items-center justify-center overflow-hidden px-4 py-12 md:p-12 lg:p-24">
<div>
diff --git a/apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx b/apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx
index 1d469eb74..7f594c0ed 100644
--- a/apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx
@@ -1,6 +1,9 @@
import Link from 'next/link';
import { redirect } from 'next/navigation';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getResetTokenValidity } from '@documenso/lib/server-only/user/get-reset-token-validity';
import { ResetPasswordForm } from '~/components/forms/reset-password';
@@ -12,6 +15,8 @@ type ResetPasswordPageProps = {
};
export default async function ResetPasswordPage({ params: { token } }: ResetPasswordPageProps) {
+ setupI18nSSR();
+
const isValid = await getResetTokenValidity({ token });
if (!isValid) {
@@ -21,17 +26,23 @@ export default async function ResetPasswordPage({ params: { token } }: ResetPass
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-4xl font-semibold">Reset Password</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Reset Password</Trans>
+ </h1>
- <p className="text-muted-foreground mt-2 text-sm">Please choose your new password </p>
+ <p className="text-muted-foreground mt-2 text-sm">
+ <Trans>Please choose your new password</Trans>
+ </p>
<ResetPasswordForm token={token} className="mt-4" />
<p className="text-muted-foreground mt-6 text-center text-sm">
- Don't have an account?{' '}
- <Link href="/signup" className="text-primary duration-200 hover:opacity-70">
- Sign up
- </Link>
+ <Trans>
+ Don't have an account?{' '}
+ <Link href="/signup" className="text-primary duration-200 hover:opacity-70">
+ Sign up
+ </Link>
+ </Trans>
</p>
</div>
</div>
diff --git a/apps/web/src/app/(unauthenticated)/reset-password/page.tsx b/apps/web/src/app/(unauthenticated)/reset-password/page.tsx
index 20d4bfe57..ad478a7bb 100644
--- a/apps/web/src/app/(unauthenticated)/reset-password/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/reset-password/page.tsx
@@ -1,6 +1,9 @@
import type { Metadata } from 'next';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { Button } from '@documenso/ui/primitives/button';
export const metadata: Metadata = {
@@ -8,18 +11,26 @@ export const metadata: Metadata = {
};
export default function ResetPasswordPage() {
+ setupI18nSSR();
+
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-3xl font-semibold">Unable to reset password</h1>
+ <h1 className="text-3xl font-semibold">
+ <Trans>Unable to reset password</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- The token you have used to reset your password is either expired or it never existed. If
- you have still forgotten your password, please request a new reset link.
+ <Trans>
+ The token you have used to reset your password is either expired or it never existed. If
+ you have still forgotten your password, please request a new reset link.
+ </Trans>
</p>
<Button className="mt-4" asChild>
- <Link href="/signin">Return to sign in</Link>
+ <Link href="/signin">
+ <Trans>Return to sign in</Trans>
+ </Link>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(unauthenticated)/signin/page.tsx b/apps/web/src/app/(unauthenticated)/signin/page.tsx
index 8efa19abc..bd6d32ffb 100644
--- a/apps/web/src/app/(unauthenticated)/signin/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/signin/page.tsx
@@ -2,8 +2,10 @@ import type { Metadata } from 'next';
import Link from 'next/link';
import { redirect } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { env } from 'next-runtime-env';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import {
IS_GOOGLE_SSO_ENABLED,
IS_OIDC_SSO_ENABLED,
@@ -24,6 +26,8 @@ type SignInPageProps = {
};
export default function SignInPage({ searchParams }: SignInPageProps) {
+ setupI18nSSR();
+
const NEXT_PUBLIC_DISABLE_SIGNUP = env('NEXT_PUBLIC_DISABLE_SIGNUP');
const rawEmail = typeof searchParams.email === 'string' ? searchParams.email : undefined;
@@ -36,10 +40,12 @@ export default function SignInPage({ searchParams }: SignInPageProps) {
return (
<div className="w-screen max-w-lg px-4">
<div className="border-border dark:bg-background z-10 rounded-xl border bg-neutral-100 p-6">
- <h1 className="text-2xl font-semibold">Sign in to your account</h1>
+ <h1 className="text-2xl font-semibold">
+ <Trans>Sign in to your account</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- Welcome back, we are lucky to have you.
+ <Trans>Welcome back, we are lucky to have you.</Trans>
</p>
<hr className="-mx-6 my-4" />
@@ -52,10 +58,12 @@ export default function SignInPage({ searchParams }: SignInPageProps) {
{NEXT_PUBLIC_DISABLE_SIGNUP !== 'true' && (
<p className="text-muted-foreground mt-6 text-center text-sm">
- Don't have an account?{' '}
- <Link href="/signup" className="text-documenso-700 duration-200 hover:opacity-70">
- Sign up
- </Link>
+ <Trans>
+ Don't have an account?{' '}
+ <Link href="/signup" className="text-documenso-700 duration-200 hover:opacity-70">
+ Sign up
+ </Link>
+ </Trans>
</p>
)}
</div>
diff --git a/apps/web/src/app/(unauthenticated)/signup/page.tsx b/apps/web/src/app/(unauthenticated)/signup/page.tsx
index 2373af770..181d10b96 100644
--- a/apps/web/src/app/(unauthenticated)/signup/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/signup/page.tsx
@@ -3,6 +3,7 @@ import { redirect } from 'next/navigation';
import { env } from 'next-runtime-env';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { IS_GOOGLE_SSO_ENABLED, IS_OIDC_SSO_ENABLED } from '@documenso/lib/constants/auth';
import { decryptSecondaryData } from '@documenso/lib/server-only/crypto/decrypt';
@@ -19,6 +20,8 @@ type SignUpPageProps = {
};
export default function SignUpPage({ searchParams }: SignUpPageProps) {
+ setupI18nSSR();
+
const NEXT_PUBLIC_DISABLE_SIGNUP = env('NEXT_PUBLIC_DISABLE_SIGNUP');
if (NEXT_PUBLIC_DISABLE_SIGNUP === 'true') {
diff --git a/apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx b/apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx
index 46d62fc3d..69d0cad8b 100644
--- a/apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx
@@ -1,7 +1,9 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { encryptSecondaryData } from '@documenso/lib/server-only/crypto/encrypt';
import { declineTeamInvitation } from '@documenso/lib/server-only/team/decline-team-invitation';
@@ -19,6 +21,8 @@ type DeclineInvitationPageProps = {
export default async function DeclineInvitationPage({
params: { token },
}: DeclineInvitationPageProps) {
+ setupI18nSSR();
+
const session = await getServerComponentSession();
const teamMemberInvite = await prisma.teamMemberInvite.findUnique({
@@ -31,14 +35,18 @@ export default async function DeclineInvitationPage({
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-4xl font-semibold">Invalid token</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Invalid token</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- This token is invalid or has expired. No action is needed.
+ <Trans>This token is invalid or has expired. No action is needed.</Trans>
</p>
<Button asChild>
- <Link href="/">Return</Link>
+ <Link href="/">
+ <Trans>Return</Trans>
+ </Link>
</Button>
</div>
</div>
@@ -79,18 +87,24 @@ export default async function DeclineInvitationPage({
if (!user) {
return (
<div>
- <h1 className="text-4xl font-semibold">Team invitation</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team invitation</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- You have been invited by <strong>{team.name}</strong> to join their team.
+ <Trans>
+ You have been invited by <strong>{team.name}</strong> to join their team.
+ </Trans>
</p>
<p className="text-muted-foreground mb-4 mt-1 text-sm">
- To decline this invitation you must create an account.
+ <Trans>To decline this invitation you must create an account.</Trans>
</p>
<Button asChild>
- <Link href={`/signup?email=${encodeURIComponent(email)}`}>Create account</Link>
+ <Link href={`/signup?email=${encodeURIComponent(email)}`}>
+ <Trans>Create account</Trans>
+ </Link>
</Button>
</div>
);
@@ -100,19 +114,27 @@ export default async function DeclineInvitationPage({
return (
<div className="w-screen max-w-lg px-4">
- <h1 className="text-4xl font-semibold">Invitation declined</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Invitation declined</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- You have declined the invitation from <strong>{team.name}</strong> to join their team.
+ <Trans>
+ You have declined the invitation from <strong>{team.name}</strong> to join their team.
+ </Trans>
</p>
{isSessionUserTheInvitedUser ? (
<Button asChild>
- <Link href="/">Return to Dashboard</Link>
+ <Link href="/">
+ <Trans>Return to Dashboard</Trans>
+ </Link>
</Button>
) : (
<Button asChild>
- <Link href="/">Return to Home</Link>
+ <Link href="/">
+ <Trans>Return to Home</Trans>
+ </Link>
</Button>
)}
</div>
diff --git a/apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx b/apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx
index 289364ede..5e76f8d65 100644
--- a/apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx
@@ -1,7 +1,9 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { encryptSecondaryData } from '@documenso/lib/server-only/crypto/encrypt';
import { acceptTeamInvitation } from '@documenso/lib/server-only/team/accept-team-invitation';
@@ -19,6 +21,8 @@ type AcceptInvitationPageProps = {
export default async function AcceptInvitationPage({
params: { token },
}: AcceptInvitationPageProps) {
+ setupI18nSSR();
+
const session = await getServerComponentSession();
const teamMemberInvite = await prisma.teamMemberInvite.findUnique({
@@ -31,14 +35,20 @@ export default async function AcceptInvitationPage({
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-4xl font-semibold">Invalid token</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Invalid token</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- This token is invalid or has expired. Please contact your team for a new invitation.
+ <Trans>
+ This token is invalid or has expired. Please contact your team for a new invitation.
+ </Trans>
</p>
<Button asChild>
- <Link href="/">Return</Link>
+ <Link href="/">
+ <Trans>Return</Trans>
+ </Link>
</Button>
</div>
</div>
@@ -82,18 +92,24 @@ export default async function AcceptInvitationPage({
if (!user) {
return (
<div>
- <h1 className="text-4xl font-semibold">Team invitation</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team invitation</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- You have been invited by <strong>{team.name}</strong> to join their team.
+ <Trans>
+ You have been invited by <strong>{team.name}</strong> to join their team.
+ </Trans>
</p>
<p className="text-muted-foreground mb-4 mt-1 text-sm">
- To accept this invitation you must create an account.
+ <Trans>To accept this invitation you must create an account.</Trans>
</p>
<Button asChild>
- <Link href={`/signup?email=${encodeURIComponent(email)}`}>Create account</Link>
+ <Link href={`/signup?email=${encodeURIComponent(email)}`}>
+ <Trans>Create account</Trans>
+ </Link>
</Button>
</div>
);
@@ -103,19 +119,27 @@ export default async function AcceptInvitationPage({
return (
<div>
- <h1 className="text-4xl font-semibold">Invitation accepted!</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Invitation accepted!</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- You have accepted an invitation from <strong>{team.name}</strong> to join their team.
+ <Trans>
+ You have accepted an invitation from <strong>{team.name}</strong> to join their team.
+ </Trans>
</p>
{isSessionUserTheInvitedUser ? (
<Button asChild>
- <Link href="/">Continue</Link>
+ <Link href="/">
+ <Trans>Continue</Trans>
+ </Link>
</Button>
) : (
<Button asChild>
- <Link href={`/signin?email=${encodeURIComponent(email)}`}>Continue to login</Link>
+ <Link href={`/signin?email=${encodeURIComponent(email)}`}>
+ <Trans>Continue to login</Trans>
+ </Link>
</Button>
)}
</div>
diff --git a/apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx b/apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx
index 8d67ca218..8a1b38a46 100644
--- a/apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx
@@ -1,5 +1,8 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { isTokenExpired } from '@documenso/lib/utils/token-verification';
import { prisma } from '@documenso/prisma';
import { Button } from '@documenso/ui/primitives/button';
@@ -11,6 +14,8 @@ type VerifyTeamEmailPageProps = {
};
export default async function VerifyTeamEmailPage({ params: { token } }: VerifyTeamEmailPageProps) {
+ setupI18nSSR();
+
const teamEmailVerification = await prisma.teamEmailVerification.findUnique({
where: {
token,
@@ -24,14 +29,21 @@ export default async function VerifyTeamEmailPage({ params: { token } }: VerifyT
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-4xl font-semibold">Invalid link</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Invalid link</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- This link is invalid or has expired. Please contact your team to resend a verification.
+ <Trans>
+ This link is invalid or has expired. Please contact your team to resend a
+ verification.
+ </Trans>
</p>
<Button asChild>
- <Link href="/">Return</Link>
+ <Link href="/">
+ <Trans>Return</Trans>
+ </Link>
</Button>
</div>
</div>
@@ -65,11 +77,15 @@ export default async function VerifyTeamEmailPage({ params: { token } }: VerifyT
if (isTeamEmailVerificationError) {
return (
<div>
- <h1 className="text-4xl font-semibold">Team email verification</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team email verification</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- Something went wrong while attempting to verify your email address for{' '}
- <strong>{team.name}</strong>. Please try again later.
+ <Trans>
+ Something went wrong while attempting to verify your email address for{' '}
+ <strong>{team.name}</strong>. Please try again later.
+ </Trans>
</p>
</div>
);
@@ -77,14 +93,20 @@ export default async function VerifyTeamEmailPage({ params: { token } }: VerifyT
return (
<div>
- <h1 className="text-4xl font-semibold">Team email verified!</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team email verified!</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- You have verified your email address for <strong>{team.name}</strong>.
+ <Trans>
+ You have verified your email address for <strong>{team.name}</strong>.
+ </Trans>
</p>
<Button asChild>
- <Link href="/">Continue</Link>
+ <Link href="/">
+ <Trans>Continue</Trans>
+ </Link>
</Button>
</div>
);
diff --git a/apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx b/apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx
index 719ec5b76..ae973c203 100644
--- a/apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx
@@ -1,5 +1,8 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { transferTeamOwnership } from '@documenso/lib/server-only/team/transfer-team-ownership';
import { isTokenExpired } from '@documenso/lib/utils/token-verification';
import { prisma } from '@documenso/prisma';
@@ -14,6 +17,8 @@ type VerifyTeamTransferPage = {
export default async function VerifyTeamTransferPage({
params: { token },
}: VerifyTeamTransferPage) {
+ setupI18nSSR();
+
const teamTransferVerification = await prisma.teamTransferVerification.findUnique({
where: {
token,
@@ -27,15 +32,21 @@ export default async function VerifyTeamTransferPage({
return (
<div className="w-screen max-w-lg px-4">
<div className="w-full">
- <h1 className="text-4xl font-semibold">Invalid link</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Invalid link</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- This link is invalid or has expired. Please contact your team to resend a transfer
- request.
+ <Trans>
+ This link is invalid or has expired. Please contact your team to resend a transfer
+ request.
+ </Trans>
</p>
<Button asChild>
- <Link href="/">Return</Link>
+ <Link href="/">
+ <Trans>Return</Trans>
+ </Link>
</Button>
</div>
</div>
@@ -56,11 +67,15 @@ export default async function VerifyTeamTransferPage({
if (isTransferError) {
return (
<div>
- <h1 className="text-4xl font-semibold">Team ownership transfer</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team ownership transfer</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-sm">
- Something went wrong while attempting to transfer the ownership of team{' '}
- <strong>{team.name}</strong> to your. Please try again later or contact support.
+ <Trans>
+ Something went wrong while attempting to transfer the ownership of team{' '}
+ <strong>{team.name}</strong> to your. Please try again later or contact support.
+ </Trans>
</p>
</div>
);
@@ -68,14 +83,21 @@ export default async function VerifyTeamTransferPage({
return (
<div>
- <h1 className="text-4xl font-semibold">Team ownership transferred!</h1>
+ <h1 className="text-4xl font-semibold">
+ <Trans>Team ownership transferred!</Trans>
+ </h1>
<p className="text-muted-foreground mb-4 mt-2 text-sm">
- The ownership of team <strong>{team.name}</strong> has been successfully transferred to you.
+ <Trans>
+ The ownership of team <strong>{team.name}</strong> has been successfully transferred to
+ you.
+ </Trans>
</p>
<Button asChild>
- <Link href={`/t/${team.url}/settings`}>Continue</Link>
+ <Link href={`/t/${team.url}/settings`}>
+ <Trans>Continue</Trans>
+ </Link>
</Button>
</div>
);
diff --git a/apps/web/src/app/(unauthenticated)/unverified-account/page.tsx b/apps/web/src/app/(unauthenticated)/unverified-account/page.tsx
index c5b6fbcff..70b94c2cc 100644
--- a/apps/web/src/app/(unauthenticated)/unverified-account/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/unverified-account/page.tsx
@@ -1,8 +1,13 @@
+import { Trans } from '@lingui/macro';
import { Mails } from 'lucide-react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
import { SendConfirmationEmailForm } from '~/components/forms/send-confirmation-email';
export default function UnverifiedAccount() {
+ setupI18nSSR();
+
return (
<div className="w-screen max-w-lg px-4">
<div className="flex items-start">
@@ -10,15 +15,22 @@ export default function UnverifiedAccount() {
<Mails className="text-primary h-10 w-10" strokeWidth={2} />
</div>
<div className="">
- <h2 className="text-2xl font-bold md:text-4xl">Confirm email</h2>
+ <h2 className="text-2xl font-bold md:text-4xl">
+ <Trans>Confirm email</Trans>
+ </h2>
<p className="text-muted-foreground mt-4">
- To gain access to your account, please confirm your email address by clicking on the
- confirmation link from your inbox.
+ <Trans>
+ To gain access to your account, please confirm your email address by clicking on the
+ confirmation link from your inbox.
+ </Trans>
</p>
<p className="text-muted-foreground mt-4">
- If you don't find the confirmation link in your inbox, you can request a new one below.
+ <Trans>
+ If you don't find the confirmation link in your inbox, you can request a new one
+ below.
+ </Trans>
</p>
<SendConfirmationEmailForm />
diff --git a/apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx b/apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx
index 9536f937c..eeeb61b6c 100644
--- a/apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx
@@ -1,7 +1,9 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { AlertTriangle, CheckCircle2, XCircle, XOctagon } from 'lucide-react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { verifyEmail } from '@documenso/lib/server-only/user/verify-email';
import { Button } from '@documenso/ui/primitives/button';
@@ -12,6 +14,8 @@ export type PageProps = {
};
export default async function VerifyEmailPage({ params: { token } }: PageProps) {
+ setupI18nSSR();
+
if (!token) {
return (
<div className="w-screen max-w-lg px-4">
@@ -20,9 +24,13 @@ export default async function VerifyEmailPage({ params: { token } }: PageProps)
<XOctagon />
</div>
- <h2 className="text-4xl font-semibold">No token provided</h2>
+ <h2 className="text-4xl font-semibold">
+ <Trans>No token provided</Trans>
+ </h2>
<p className="text-muted-foreground mt-2 text-base">
- It seems that there is no token provided. Please check your email and try again.
+ <Trans>
+ It seems that there is no token provided. Please check your email and try again.
+ </Trans>
</p>
</div>
</div>
@@ -40,15 +48,21 @@ export default async function VerifyEmailPage({ params: { token } }: PageProps)
</div>
<div>
- <h2 className="text-2xl font-bold md:text-4xl">Something went wrong</h2>
+ <h2 className="text-2xl font-bold md:text-4xl">
+ <Trans>Something went wrong</Trans>
+ </h2>
<p className="text-muted-foreground mt-4">
- We were unable to verify your email. If your email is not verified already, please try
- again.
+ <Trans>
+ We were unable to verify your email. If your email is not verified already, please
+ try again.
+ </Trans>
</p>
<Button className="mt-4" asChild>
- <Link href="/">Go back home</Link>
+ <Link href="/">
+ <Trans>Go back home</Trans>
+ </Link>
</Button>
</div>
</div>
@@ -65,15 +79,21 @@ export default async function VerifyEmailPage({ params: { token } }: PageProps)
</div>
<div>
- <h2 className="text-2xl font-bold md:text-4xl">Your token has expired!</h2>
+ <h2 className="text-2xl font-bold md:text-4xl">
+ <Trans>Your token has expired!</Trans>
+ </h2>
<p className="text-muted-foreground mt-4">
- It seems that the provided token has expired. We've just sent you another token,
- please check your email and try again.
+ <Trans>
+ It seems that the provided token has expired. We've just sent you another token,
+ please check your email and try again.
+ </Trans>
</p>
<Button className="mt-4" asChild>
- <Link href="/">Go back home</Link>
+ <Link href="/">
+ <Trans>Go back home</Trans>
+ </Link>
</Button>
</div>
</div>
@@ -89,14 +109,20 @@ export default async function VerifyEmailPage({ params: { token } }: PageProps)
</div>
<div>
- <h2 className="text-2xl font-bold md:text-4xl">Email Confirmed!</h2>
+ <h2 className="text-2xl font-bold md:text-4xl">
+ <Trans>Email Confirmed!</Trans>
+ </h2>
<p className="text-muted-foreground mt-4">
- Your email has been successfully confirmed! You can now use all features of Documenso.
+ <Trans>
+ Your email has been successfully confirmed! You can now use all features of Documenso.
+ </Trans>
</p>
<Button className="mt-4" asChild>
- <Link href="/">Go back home</Link>
+ <Link href="/">
+ <Trans>Go back home</Trans>
+ </Link>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/(unauthenticated)/verify-email/page.tsx b/apps/web/src/app/(unauthenticated)/verify-email/page.tsx
index f002ffda6..6fcfaec9b 100644
--- a/apps/web/src/app/(unauthenticated)/verify-email/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/verify-email/page.tsx
@@ -1,8 +1,10 @@
import type { Metadata } from 'next';
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
import { XCircle } from 'lucide-react';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { Button } from '@documenso/ui/primitives/button';
export const metadata: Metadata = {
@@ -10,6 +12,8 @@ export const metadata: Metadata = {
};
export default function EmailVerificationWithoutTokenPage() {
+ setupI18nSSR();
+
return (
<div className="w-screen max-w-lg px-4">
<div className="flex w-full items-start">
@@ -19,16 +23,20 @@ export default function EmailVerificationWithoutTokenPage() {
<div>
<h2 className="text-2xl font-bold md:text-4xl">
- Uh oh! Looks like you're missing a token
+ <Trans>Uh oh! Looks like you're missing a token</Trans>
</h2>
<p className="text-muted-foreground mt-4">
- It seems that there is no token provided, if you are trying to verify your email please
- follow the link in your email.
+ <Trans>
+ It seems that there is no token provided, if you are trying to verify your email
+ please follow the link in your email.
+ </Trans>
</p>
<Button className="mt-4" asChild>
- <Link href="/">Go back home</Link>
+ <Link href="/">
+ <Trans>Go back home</Trans>
+ </Link>
</Button>
</div>
</div>
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index 0f3d1607f..fac94d5c6 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -1,13 +1,18 @@
import { Suspense } from 'react';
import { Caveat, Inter } from 'next/font/google';
+import { cookies, headers } from 'next/headers';
import { AxiomWebVitals } from 'next-axiom';
import { PublicEnvScript } from 'next-runtime-env';
import { FeatureFlagProvider } from '@documenso/lib/client-only/providers/feature-flag';
+import { I18nClientProvider } from '@documenso/lib/client-only/providers/i18n.client';
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { LocaleProvider } from '@documenso/lib/client-only/providers/locale';
-import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
+import { IS_APP_WEB_I18N_ENABLED, NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
+import type { SUPPORTED_LANGUAGE_CODES } from '@documenso/lib/constants/i18n';
+import { ZSupportedLanguageCodeSchema } from '@documenso/lib/constants/i18n';
import { getServerComponentAllFlags } from '@documenso/lib/server-only/feature-flags/get-server-component-feature-flag';
import { getLocale } from '@documenso/lib/server-only/headers/get-locale';
import { TrpcProvider } from '@documenso/trpc/react';
@@ -58,9 +63,34 @@ export default async function RootLayout({ children }: { children: React.ReactNo
const locale = getLocale();
+ let overrideLang: (typeof SUPPORTED_LANGUAGE_CODES)[number] | undefined;
+
+ // Should be safe to remove when we upgrade NextJS.
+ // https://github.com/vercel/next.js/pull/65008
+ // Currently if the middleware sets the cookie, it's not accessible in the cookies
+ // during the same render.
+ // So we go the roundabout way of checking the header for the set-cookie value.
+ if (!cookies().get('i18n')) {
+ const setCookieValue = headers().get('set-cookie');
+ const i18nCookie = setCookieValue?.split(';').find((cookie) => cookie.startsWith('i18n='));
+
+ if (i18nCookie) {
+ const i18n = i18nCookie.split('=')[1];
+
+ overrideLang = ZSupportedLanguageCodeSchema.parse(i18n);
+ }
+ }
+
+ // Disable i18n for now until we get translations.
+ if (!IS_APP_WEB_I18N_ENABLED) {
+ overrideLang = 'en';
+ }
+
+ const { lang, i18n } = setupI18nSSR(overrideLang);
+
return (
<html
- lang="en"
+ lang={lang}
className={cn(fontInter.variable, fontCaveat.variable)}
suppressHydrationWarning
>
@@ -69,6 +99,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
+ {IS_APP_WEB_I18N_ENABLED && <meta name="google" content="notranslate" />}
<PublicEnvScript />
</head>
@@ -83,7 +114,11 @@ export default async function RootLayout({ children }: { children: React.ReactNo
<FeatureFlagProvider initialFlags={flags}>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<TooltipProvider>
- <TrpcProvider>{children}</TrpcProvider>
+ <TrpcProvider>
+ <I18nClientProvider initialLocale={lang} initialMessages={i18n.messages}>
+ {children}
+ </I18nClientProvider>
+ </TrpcProvider>
</TooltipProvider>
</ThemeProvider>
diff --git a/apps/web/src/app/not-found.tsx b/apps/web/src/app/not-found.tsx
index 76017c121..c41b09e39 100644
--- a/apps/web/src/app/not-found.tsx
+++ b/apps/web/src/app/not-found.tsx
@@ -1,24 +1,33 @@
import Link from 'next/link';
+import { Trans } from '@lingui/macro';
+
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
import { getServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
import { Button } from '@documenso/ui/primitives/button';
import NotFoundPartial from '~/components/partials/not-found';
export default async function NotFound() {
+ setupI18nSSR();
+
const { session } = await getServerComponentSession();
return (
<NotFoundPartial>
{session && (
<Button className="w-32" asChild>
- <Link href="/documents">Documents</Link>
+ <Link href="/documents">
+ <Trans>Documents</Trans>
+ </Link>
</Button>
)}
{!session && (
<Button className="w-32" asChild>
- <Link href="/signin">Sign In</Link>
+ <Link href="/signin">
+ <Trans>Sign In</Trans>
+ </Link>
</Button>
)}
</NotFoundPartial>
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 03c6d04b3..8c98cefb1 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -1,3 +1,7 @@
+import { setupI18nSSR } from '@documenso/lib/client-only/providers/i18n.server';
+
export default function DashboardPage() {
- return <div>hello world</div>;
+ setupI18nSSR();
+
+ return <div>Documenso</div>;
}
diff --git a/apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx b/apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx
index cd7cd2305..9f29bb06a 100644
--- a/apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx
+++ b/apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx
@@ -2,6 +2,9 @@
import React from 'react';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { useCopyToClipboard } from '@documenso/lib/client-only/hooks/use-copy-to-clipboard';
import { getRecipientType } from '@documenso/lib/client-only/recipient-type';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
@@ -21,6 +24,8 @@ export type AvatarWithRecipientProps = {
export function AvatarWithRecipient({ recipient, documentStatus }: AvatarWithRecipientProps) {
const [, copy] = useCopyToClipboard();
+
+ const { _ } = useLingui();
const { toast } = useToast();
const signingToken = documentStatus === DocumentStatus.PENDING ? recipient.token : null;
@@ -32,8 +37,8 @@ export function AvatarWithRecipient({ recipient, documentStatus }: AvatarWithRec
void copy(`${NEXT_PUBLIC_WEBAPP_URL()}/sign/${signingToken}`).then(() => {
toast({
- title: 'Copied to clipboard',
- description: 'The signing link has been copied to your clipboard.',
+ title: _(msg`Copied to clipboard`),
+ description: _(msg`The signing link has been copied to your clipboard.`),
});
});
};
@@ -44,7 +49,7 @@ export function AvatarWithRecipient({ recipient, documentStatus }: AvatarWithRec
'cursor-pointer hover:underline': signingToken,
})}
role={signingToken ? 'button' : undefined}
- title={signingToken ? 'Click to copy signing link for sending to recipient' : undefined}
+ title={signingToken ? _(msg`Click to copy signing link for sending to recipient`) : undefined}
onClick={onRecipientClick}
>
<StackAvatar
@@ -56,11 +61,13 @@ export function AvatarWithRecipient({ recipient, documentStatus }: AvatarWithRec
<div
className="text-muted-foreground text-sm"
- title={signingToken ? 'Click to copy signing link for sending to recipient' : undefined}
+ title={
+ signingToken ? _(msg`Click to copy signing link for sending to recipient`) : undefined
+ }
>
<p>{recipient.email}</p>
<p className="text-muted-foreground/70 text-xs">
- {RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName}
+ {_(RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName)}
</p>
</div>
</div>
diff --git a/apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx b/apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx
index 6bc8cf9af..76a80805f 100644
--- a/apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx
+++ b/apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx
@@ -1,5 +1,8 @@
'use client';
+import { Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { getRecipientType } from '@documenso/lib/client-only/recipient-type';
import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
import { recipientAbbreviation } from '@documenso/lib/utils/recipient-formatter';
@@ -23,6 +26,8 @@ export const StackAvatarsWithTooltip = ({
position,
children,
}: StackAvatarsWithTooltipProps) => {
+ const { _ } = useLingui();
+
const waitingRecipients = recipients.filter(
(recipient) => getRecipientType(recipient) === 'waiting',
);
@@ -49,7 +54,9 @@ export const StackAvatarsWithTooltip = ({
>
{completedRecipients.length > 0 && (
<div>
- <h1 className="text-base font-medium">Completed</h1>
+ <h1 className="text-base font-medium">
+ <Trans>Completed</Trans>
+ </h1>
{completedRecipients.map((recipient: Recipient) => (
<div key={recipient.id} className="my-1 flex items-center gap-2">
<StackAvatar
@@ -61,7 +68,7 @@ export const StackAvatarsWithTooltip = ({
<div className="">
<p className="text-muted-foreground text-sm">{recipient.email}</p>
<p className="text-muted-foreground/70 text-xs">
- {RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName}
+ {_(RECIPIENT_ROLES_DESCRIPTION[recipient.role].roleName)}
</p>
</div>
</div>
@@ -71,7 +78,9 @@ export const StackAvatarsWithTooltip = ({
{waitingRecipients.length > 0 && (
<div>
- <h1 className="text-base font-medium">Waiting</h1>
+ <h1 className="text-base font-medium">
+ <Trans>Waiting</Trans>
+ </h1>
{waitingRecipients.map((recipient: Recipient) => (
<AvatarWithRecipient
key={recipient.id}
@@ -84,7 +93,9 @@ export const StackAvatarsWithTooltip = ({
{openedRecipients.length > 0 && (
<div>
- <h1 className="text-base font-medium">Opened</h1>
+ <h1 className="text-base font-medium">
+ <Trans>Opened</Trans>
+ </h1>
{openedRecipients.map((recipient: Recipient) => (
<AvatarWithRecipient
key={recipient.id}
@@ -97,7 +108,9 @@ export const StackAvatarsWithTooltip = ({
{uncompletedRecipients.length > 0 && (
<div>
- <h1 className="text-base font-medium">Uncompleted</h1>
+ <h1 className="text-base font-medium">
+ <Trans>Uncompleted</Trans>
+ </h1>
{uncompletedRecipients.map((recipient: Recipient) => (
<AvatarWithRecipient
key={recipient.id}
diff --git a/apps/web/src/components/(dashboard)/common/command-menu.tsx b/apps/web/src/components/(dashboard)/common/command-menu.tsx
index 812efd4b9..9e02a843e 100644
--- a/apps/web/src/components/(dashboard)/common/command-menu.tsx
+++ b/apps/web/src/components/(dashboard)/common/command-menu.tsx
@@ -4,6 +4,9 @@ import { useCallback, useMemo, useState } from 'react';
import { useRouter } from 'next/navigation';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader, Monitor, Moon, Sun } from 'lucide-react';
import { useTheme } from 'next-themes';
import { useHotkeys } from 'react-hotkeys-hook';
@@ -31,22 +34,22 @@ import { THEMES_TYPE } from '@documenso/ui/primitives/constants';
const DOCUMENTS_PAGES = [
{
- label: 'All documents',
+ label: msg`All documents`,
path: '/documents?status=ALL',
shortcut: DOCUMENTS_PAGE_SHORTCUT.replace('+', ''),
},
- { label: 'Draft documents', path: '/documents?status=DRAFT' },
+ { label: msg`Draft documents`, path: '/documents?status=DRAFT' },
{
- label: 'Completed documents',
+ label: msg`Completed documents`,
path: '/documents?status=COMPLETED',
},
- { label: 'Pending documents', path: '/documents?status=PENDING' },
- { label: 'Inbox documents', path: '/documents?status=INBOX' },
+ { label: msg`Pending documents`, path: '/documents?status=PENDING' },
+ { label: msg`Inbox documents`, path: '/documents?status=INBOX' },
];
const TEMPLATES_PAGES = [
{
- label: 'All templates',
+ label: msg`All templates`,
path: '/templates',
shortcut: TEMPLATES_PAGE_SHORTCUT.replace('+', ''),
},
@@ -54,12 +57,12 @@ const TEMPLATES_PAGES = [
const SETTINGS_PAGES = [
{
- label: 'Settings',
+ label: msg`Settings`,
path: '/settings',
shortcut: SETTINGS_PAGE_SHORTCUT.replace('+', ''),
},
- { label: 'Profile', path: '/settings/profile' },
- { label: 'Password', path: '/settings/password' },
+ { label: msg`Profile`, path: '/settings/profile' },
+ { label: msg`Password`, path: '/settings/password' },
];
export type CommandMenuProps = {
@@ -68,6 +71,7 @@ export type CommandMenuProps = {
};
export function CommandMenu({ open, onOpenChange }: CommandMenuProps) {
+ const { _ } = useLingui();
const { setTheme } = useTheme();
const router = useRouter();
@@ -174,7 +178,7 @@ export function CommandMenu({ open, onOpenChange }: CommandMenuProps) {
<CommandInput
value={search}
onValueChange={setSearch}
- placeholder="Type a command or search..."
+ placeholder={_(msg`Type a command or search...`)}
/>
<CommandList>
@@ -187,26 +191,28 @@ export function CommandMenu({ open, onOpenChange }: CommandMenuProps) {
</div>
</CommandEmpty>
) : (
- <CommandEmpty>No results found.</CommandEmpty>
+ <CommandEmpty>
+ <Trans>No results found.</Trans>
+ </CommandEmpty>
)}
{!currentPage && (
<>
- <CommandGroup className="mx-2 p-0 pb-2" heading="Documents">
+ <CommandGroup className="mx-2 p-0 pb-2" heading={_(msg`Documents`)}>
<Commands push={push} pages={DOCUMENTS_PAGES} />
</CommandGroup>
- <CommandGroup className="mx-2 p-0 pb-2" heading="Templates">
+ <CommandGroup className="mx-2 p-0 pb-2" heading={_(msg`Templates`)}>
<Commands push={push} pages={TEMPLATES_PAGES} />
</CommandGroup>
- <CommandGroup className="mx-2 p-0 pb-2" heading="Settings">
+ <CommandGroup className="mx-2 p-0 pb-2" heading={_(msg`Settings`)}>
<Commands push={push} pages={SETTINGS_PAGES} />
</CommandGroup>
- <CommandGroup className="mx-2 p-0 pb-2" heading="Preferences">
+ <CommandGroup className="mx-2 p-0 pb-2" heading={_(msg`Preferences`)}>
<CommandItem className="-mx-2 -my-1 rounded-lg" onSelect={() => addPage('theme')}>
Change theme
</CommandItem>
</CommandGroup>
{searchResults.length > 0 && (
- <CommandGroup className="mx-2 p-0 pb-2" heading="Your documents">
+ <CommandGroup className="mx-2 p-0 pb-2" heading={_(msg`Your documents`)}>
<Commands push={push} pages={searchResults} />
</CommandGroup>
)}
@@ -223,27 +229,31 @@ const Commands = ({
pages,
}: {
push: (_path: string) => void;
- pages: { label: string; path: string; shortcut?: string; value?: string }[];
+ pages: { label: MessageDescriptor | string; path: string; shortcut?: string; value?: string }[];
}) => {
+ const { _ } = useLingui();
+
return pages.map((page, idx) => (
<CommandItem
className="-mx-2 -my-1 rounded-lg"
key={page.path + idx}
- value={page.value ?? page.label}
+ value={page.value ?? (typeof page.label === 'string' ? page.label : _(page.label))}
onSelect={() => push(page.path)}
>
- {page.label}
+ {typeof page.label === 'string' ? page.label : _(page.label)}
{page.shortcut && <CommandShortcut>{page.shortcut}</CommandShortcut>}
</CommandItem>
));
};
const ThemeCommands = ({ setTheme }: { setTheme: (_theme: string) => void }) => {
+ const { _ } = useLingui();
+
const THEMES = useMemo(
() => [
- { label: 'Light Mode', theme: THEMES_TYPE.LIGHT, icon: Sun },
- { label: 'Dark Mode', theme: THEMES_TYPE.DARK, icon: Moon },
- { label: 'System Theme', theme: THEMES_TYPE.SYSTEM, icon: Monitor },
+ { label: msg`Light Mode`, theme: THEMES_TYPE.LIGHT, icon: Sun },
+ { label: msg`Dark Mode`, theme: THEMES_TYPE.DARK, icon: Moon },
+ { label: msg`System Theme`, theme: THEMES_TYPE.SYSTEM, icon: Monitor },
],
[],
);
@@ -255,7 +265,7 @@ const ThemeCommands = ({ setTheme }: { setTheme: (_theme: string) => void }) =>
className="-my-1 mx-2 rounded-lg first:mt-2 last:mb-2"
>
<theme.icon className="mr-2" />
- {theme.label}
+ {_(theme.label)}
</CommandItem>
));
};
diff --git a/apps/web/src/components/(dashboard)/layout/desktop-nav.tsx b/apps/web/src/components/(dashboard)/layout/desktop-nav.tsx
index 975ef7d0d..0eea958b7 100644
--- a/apps/web/src/components/(dashboard)/layout/desktop-nav.tsx
+++ b/apps/web/src/components/(dashboard)/layout/desktop-nav.tsx
@@ -4,6 +4,8 @@ import { useEffect, useState } from 'react';
import Link from 'next/link';
import { useParams, usePathname } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Search } from 'lucide-react';
import { getRootHref } from '@documenso/lib/utils/params';
@@ -13,11 +15,11 @@ import { Button } from '@documenso/ui/primitives/button';
const navigationLinks = [
{
href: '/documents',
- label: 'Documents',
+ label: msg`Documents`,
},
{
href: '/templates',
- label: 'Templates',
+ label: msg`Templates`,
},
];
@@ -26,6 +28,8 @@ export type DesktopNavProps = HTMLAttributes<HTMLDivElement> & {
};
export const DesktopNav = ({ className, setIsCommandMenuOpen, ...props }: DesktopNavProps) => {
+ const { _ } = useLingui();
+
const pathname = usePathname();
const params = useParams();
@@ -62,7 +66,7 @@ export const DesktopNav = ({ className, setIsCommandMenuOpen, ...props }: Deskto
},
)}
>
- {label}
+ {_(label)}
</Link>
))}
</div>
@@ -74,7 +78,7 @@ export const DesktopNav = ({ className, setIsCommandMenuOpen, ...props }: Deskto
>
<div className="flex items-center">
<Search className="mr-2 h-5 w-5" />
- Search
+ <Trans>Search</Trans>
</div>
<div>
diff --git a/apps/web/src/components/(dashboard)/layout/menu-switcher.tsx b/apps/web/src/components/(dashboard)/layout/menu-switcher.tsx
index a14a3074a..b7e90d839 100644
--- a/apps/web/src/components/(dashboard)/layout/menu-switcher.tsx
+++ b/apps/web/src/components/(dashboard)/layout/menu-switcher.tsx
@@ -3,6 +3,8 @@
import Link from 'next/link';
import { usePathname } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { motion } from 'framer-motion';
import { CheckCircle2, ChevronsUpDown, Plus, Settings2 } from 'lucide-react';
import { signOut } from 'next-auth/react';
@@ -35,6 +37,8 @@ export type MenuSwitcherProps = {
};
export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProps) => {
+ const { _ } = useLingui();
+
const pathname = usePathname();
const isUserAdmin = isAdmin(user);
@@ -65,14 +69,14 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
const formatSecondaryAvatarText = (team?: typeof selectedTeam) => {
if (!team) {
- return 'Personal Account';
+ return _(msg`Personal Account`);
}
if (team.ownerUserId === user.id) {
- return 'Owner';
+ return _(msg`Owner`);
}
- return TEAM_MEMBER_ROLE_MAP[team.currentTeamMember.role];
+ return _(TEAM_MEMBER_ROLE_MAP[team.currentTeamMember.role]);
};
/**
@@ -121,7 +125,9 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
>
{teams ? (
<>
- <DropdownMenuLabel>Personal</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Personal</Trans>
+ </DropdownMenuLabel>
<DropdownMenuItem asChild>
<Link href={formatRedirectUrlOnSwitch()}>
@@ -147,12 +153,14 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
<DropdownMenuLabel>
<div className="flex flex-row items-center justify-between">
- <p>Teams</p>
+ <p>
+ <Trans>Teams</Trans>
+ </p>
<div className="flex flex-row space-x-2">
<DropdownMenuItem asChild>
<Button
- title="Manage teams"
+ title={_(msg`Manage teams`)}
variant="ghost"
className="text-muted-foreground flex h-5 w-5 items-center justify-center p-0"
asChild
@@ -165,7 +173,7 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
<DropdownMenuItem asChild>
<Button
- title="Create team"
+ title={_(msg`Create team`)}
variant="ghost"
className="text-muted-foreground flex h-5 w-5 items-center justify-center p-0"
asChild
@@ -235,7 +243,7 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
href="/settings/teams?action=add-team"
className="flex items-center justify-between"
>
- Create team
+ <Trans>Create team</Trans>
<Plus className="ml-2 h-4 w-4" />
</Link>
</DropdownMenuItem>
@@ -245,18 +253,24 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
{isUserAdmin && (
<DropdownMenuItem className="text-muted-foreground px-4 py-2" asChild>
- <Link href="/admin">Admin panel</Link>
+ <Link href="/admin">
+ <Trans>Admin panel</Trans>
+ </Link>
</DropdownMenuItem>
)}
<DropdownMenuItem className="text-muted-foreground px-4 py-2" asChild>
- <Link href="/settings/profile">User settings</Link>
+ <Link href="/settings/profile">
+ <Trans>User settings</Trans>
+ </Link>
</DropdownMenuItem>
{selectedTeam &&
canExecuteTeamAction('MANAGE_TEAM', selectedTeam.currentTeamMember.role) && (
<DropdownMenuItem className="text-muted-foreground px-4 py-2" asChild>
- <Link href={`/t/${selectedTeam.url}/settings/`}>Team settings</Link>
+ <Link href={`/t/${selectedTeam.url}/settings/`}>
+ <Trans>Team settings</Trans>
+ </Link>
</DropdownMenuItem>
)}
@@ -268,7 +282,7 @@ export const MenuSwitcher = ({ user, teams: initialTeamsData }: MenuSwitcherProp
})
}
>
- Sign Out
+ <Trans>Sign Out</Trans>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
diff --git a/apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx b/apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx
index ff5428298..a118233ff 100644
--- a/apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx
+++ b/apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx
@@ -4,6 +4,8 @@ import Image from 'next/image';
import Link from 'next/link';
import { useParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { signOut } from 'next-auth/react';
import LogoImage from '@documenso/assets/logo.png';
@@ -17,6 +19,8 @@ export type MobileNavigationProps = {
};
export const MobileNavigation = ({ isMenuOpen, onMenuOpenChange }: MobileNavigationProps) => {
+ const { _ } = useLingui();
+
const params = useParams();
const handleMenuItemClick = () => {
@@ -28,19 +32,19 @@ export const MobileNavigation = ({ isMenuOpen, onMenuOpenChange }: MobileNavigat
const menuNavigationLinks = [
{
href: `${rootHref}/documents`,
- text: 'Documents',
+ text: msg`Documents`,
},
{
href: `${rootHref}/templates`,
- text: 'Templates',
+ text: msg`Templates`,
},
{
href: '/settings/teams',
- text: 'Teams',
+ text: msg`Teams`,
},
{
href: '/settings/profile',
- text: 'Settings',
+ text: msg`Settings`,
},
];
@@ -65,7 +69,7 @@ export const MobileNavigation = ({ isMenuOpen, onMenuOpenChange }: MobileNavigat
href={href}
onClick={() => handleMenuItemClick()}
>
- {text}
+ {_(text)}
</Link>
))}
@@ -77,7 +81,7 @@ export const MobileNavigation = ({ isMenuOpen, onMenuOpenChange }: MobileNavigat
})
}
>
- Sign Out
+ <Trans>Sign Out</Trans>
</button>
</div>
diff --git a/apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx b/apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx
index 43eab21c5..271686b80 100644
--- a/apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx
+++ b/apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx
@@ -2,6 +2,8 @@
import { useEffect, useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AlertTriangle } from 'lucide-react';
import { ONE_DAY, ONE_SECOND } from '@documenso/lib/constants/time';
@@ -22,7 +24,9 @@ export type VerifyEmailBannerProps = {
const RESEND_CONFIRMATION_EMAIL_TIMEOUT = 20 * ONE_SECOND;
export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const [isOpen, setIsOpen] = useState(false);
const [isButtonDisabled, setIsButtonDisabled] = useState(false);
@@ -37,8 +41,8 @@ export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
await sendConfirmationEmail({ email: email });
toast({
- title: 'Success',
- description: 'Verification email sent successfully.',
+ title: _(msg`Success`),
+ description: _(msg`Verification email sent successfully.`),
});
setIsOpen(false);
@@ -47,8 +51,8 @@ export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
setIsButtonDisabled(false);
toast({
- title: 'Error',
- description: 'Something went wrong while sending the confirmation email.',
+ title: _(msg`Error`),
+ description: _(msg`Something went wrong while sending the confirmation email.`),
variant: 'destructive',
});
}
@@ -81,7 +85,7 @@ export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
<div className="mx-auto flex max-w-screen-xl items-center justify-center gap-x-4 px-4 py-2 text-sm font-medium text-yellow-900">
<div className="flex items-center">
<AlertTriangle className="mr-2.5 h-5 w-5" />
- Verify your email address to unlock all features.
+ <Trans>Verify your email address to unlock all features.</Trans>
</div>
<div>
@@ -92,7 +96,11 @@ export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
onClick={() => setIsOpen(true)}
size="sm"
>
- {isButtonDisabled ? 'Verification Email Sent' : 'Verify Now'}
+ {isButtonDisabled ? (
+ <Trans>Verification Email Sent</Trans>
+ ) : (
+ <Trans>Verify Now</Trans>
+ )}
</Button>
</div>
</div>
@@ -100,11 +108,15 @@ export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
<Dialog open={isOpen} onOpenChange={setIsOpen}>
<DialogContent>
- <DialogTitle>Verify your email address</DialogTitle>
+ <DialogTitle>
+ <Trans>Verify your email address</Trans>
+ </DialogTitle>
<DialogDescription>
- We've sent a confirmation email to <strong>{email}</strong>. Please check your inbox and
- click the link in the email to verify your account.
+ <Trans>
+ We've sent a confirmation email to <strong>{email}</strong>. Please check your inbox
+ and click the link in the email to verify your account.
+ </Trans>
</DialogDescription>
<div>
@@ -113,7 +125,7 @@ export const VerifyEmailBanner = ({ email }: VerifyEmailBannerProps) => {
loading={isLoading}
onClick={onResendConfirmationEmail}
>
- {isLoading ? 'Sending...' : 'Resend Confirmation Email'}
+ {isLoading ? <Trans>Sending...</Trans> : <Trans>Resend Confirmation Email</Trans>}
</Button>
</div>
</DialogContent>
diff --git a/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx b/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx
index a49e2f284..94285c138 100644
--- a/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx
+++ b/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx
@@ -4,6 +4,8 @@ import { useMemo } from 'react';
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
+import { Trans } from '@lingui/macro';
+
import {
Select,
SelectContent,
@@ -49,10 +51,18 @@ export const PeriodSelector = () => {
</SelectTrigger>
<SelectContent position="popper">
- <SelectItem value="all">All Time</SelectItem>
- <SelectItem value="7d">Last 7 days</SelectItem>
- <SelectItem value="14d">Last 14 days</SelectItem>
- <SelectItem value="30d">Last 30 days</SelectItem>
+ <SelectItem value="all">
+ <Trans>All Time</Trans>
+ </SelectItem>
+ <SelectItem value="7d">
+ <Trans>Last 7 days</Trans>
+ </SelectItem>
+ <SelectItem value="14d">
+ <Trans>Last 14 days</Trans>
+ </SelectItem>
+ <SelectItem value="30d">
+ <Trans>Last 30 days</Trans>
+ </SelectItem>
</SelectContent>
</Select>
);
diff --git a/apps/web/src/components/(dashboard)/settings/layout/activity-back.tsx b/apps/web/src/components/(dashboard)/settings/layout/activity-back.tsx
index d6ab1d080..a7be4d72e 100644
--- a/apps/web/src/components/(dashboard)/settings/layout/activity-back.tsx
+++ b/apps/web/src/components/(dashboard)/settings/layout/activity-back.tsx
@@ -2,6 +2,8 @@
import { useRouter } from 'next/navigation';
+import { Trans } from '@lingui/macro';
+
import { Button } from '@documenso/ui/primitives/button';
export default function ActivityPageBackButton() {
@@ -15,7 +17,7 @@ export default function ActivityPageBackButton() {
void router.back();
}}
>
- Back
+ <Trans>Back</Trans>
</Button>
</div>
);
diff --git a/apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx b/apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx
index 208bedcab..43b1ef988 100644
--- a/apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx
+++ b/apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx
@@ -5,6 +5,7 @@ import type { HTMLAttributes } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { Braces, CreditCard, Globe2Icon, Lock, User, Users, Webhook } from 'lucide-react';
import { useFeatureFlags } from '@documenso/lib/client-only/providers/feature-flag';
@@ -32,7 +33,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<User className="mr-2 h-5 w-5" />
- Profile
+ <Trans>Profile</Trans>
</Button>
</Link>
@@ -46,7 +47,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Globe2Icon className="mr-2 h-5 w-5" />
- Public Profile
+ <Trans>Public Profile</Trans>
</Button>
</Link>
)}
@@ -60,7 +61,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Users className="mr-2 h-5 w-5" />
- Teams
+ <Trans>Teams</Trans>
</Button>
</Link>
@@ -73,7 +74,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Lock className="mr-2 h-5 w-5" />
- Security
+ <Trans>Security</Trans>
</Button>
</Link>
@@ -86,7 +87,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Braces className="mr-2 h-5 w-5" />
- API Tokens
+ <Trans>API Tokens</Trans>
</Button>
</Link>
@@ -99,7 +100,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Webhook className="mr-2 h-5 w-5" />
- Webhooks
+ <Trans>Webhooks</Trans>
</Button>
</Link>
@@ -113,7 +114,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<CreditCard className="mr-2 h-5 w-5" />
- Billing
+ <Trans>Billing</Trans>
</Button>
</Link>
)}
diff --git a/apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx b/apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx
index e6513ac6f..e87d01ba4 100644
--- a/apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx
+++ b/apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx
@@ -5,6 +5,7 @@ import type { HTMLAttributes } from 'react';
import Link from 'next/link';
import { usePathname } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { Braces, CreditCard, Globe2Icon, Lock, User, Users, Webhook } from 'lucide-react';
import { useFeatureFlags } from '@documenso/lib/client-only/providers/feature-flag';
@@ -35,7 +36,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<User className="mr-2 h-5 w-5" />
- Profile
+ <Trans>Profile</Trans>
</Button>
</Link>
@@ -49,7 +50,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Globe2Icon className="mr-2 h-5 w-5" />
- Public Profile
+ <Trans>Public Profile</Trans>
</Button>
</Link>
)}
@@ -63,7 +64,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Users className="mr-2 h-5 w-5" />
- Teams
+ <Trans>Teams</Trans>
</Button>
</Link>
@@ -76,7 +77,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Lock className="mr-2 h-5 w-5" />
- Security
+ <Trans>Security</Trans>
</Button>
</Link>
@@ -89,7 +90,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Braces className="mr-2 h-5 w-5" />
- API Tokens
+ <Trans>API Tokens</Trans>
</Button>
</Link>
@@ -102,7 +103,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Webhook className="mr-2 h-5 w-5" />
- Webhooks
+ <Trans>Webhooks</Trans>
</Button>
</Link>
@@ -116,7 +117,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<CreditCard className="mr-2 h-5 w-5" />
- Billing
+ <Trans>Billing</Trans>
</Button>
</Link>
)}
diff --git a/apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx b/apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx
index 3e7040baf..428470dce 100644
--- a/apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx
+++ b/apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -44,16 +46,18 @@ export default function DeleteTokenDialog({
onDelete,
children,
}: DeleteTokenDialogProps) {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+ const router = useRouter();
+
const [isOpen, setIsOpen] = useState(false);
const deleteMessage = `delete ${token.name}`;
const ZDeleteTokenDialogSchema = z.object({
tokenName: z.literal(deleteMessage, {
- errorMap: () => ({ message: `You must enter '${deleteMessage}' to proceed` }),
+ errorMap: () => ({ message: _(msg`You must enter '${deleteMessage}' to proceed`) }),
}),
});
@@ -80,8 +84,8 @@ export default function DeleteTokenDialog({
});
toast({
- title: 'Token deleted',
- description: 'The token was deleted successfully.',
+ title: _(msg`Token deleted`),
+ description: _(msg`The token was deleted successfully.`),
duration: 5000,
});
@@ -90,11 +94,12 @@ export default function DeleteTokenDialog({
router.refresh();
} catch (error) {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to delete this token. Please try again later.`,
+ ),
variant: 'destructive',
duration: 5000,
- description:
- 'We encountered an unknown error while attempting to delete this token. Please try again later.',
});
}
};
@@ -113,18 +118,22 @@ export default function DeleteTokenDialog({
<DialogTrigger asChild={true}>
{children ?? (
<Button className="mr-4" variant="destructive">
- Delete
+ <Trans>Delete</Trans>
</Button>
)}
</DialogTrigger>
<DialogContent>
<DialogHeader>
- <DialogTitle>Are you sure you want to delete this token?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure you want to delete this token?</Trans>
+ </DialogTitle>
<DialogDescription>
- Please note that this action is irreversible. Once confirmed, your token will be
- permanently deleted.
+ <Trans>
+ Please note that this action is irreversible. Once confirmed, your token will be
+ permanently deleted.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -140,10 +149,12 @@ export default function DeleteTokenDialog({
render={({ field }) => (
<FormItem>
<FormLabel>
- Confirm by typing:{' '}
- <span className="font-sm text-destructive font-semibold">
- {deleteMessage}
- </span>
+ <Trans>
+ Confirm by typing:{' '}
+ <span className="font-sm text-destructive font-semibold">
+ {deleteMessage}
+ </span>
+ </Trans>
</FormLabel>
<FormControl>
@@ -162,7 +173,7 @@ export default function DeleteTokenDialog({
className="flex-1"
onClick={() => setIsOpen(false)}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -172,7 +183,7 @@ export default function DeleteTokenDialog({
disabled={!form.formState.isValid}
loading={form.formState.isSubmitting}
>
- I'm sure! Delete it
+ <Trans>I'm sure! Delete it</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx b/apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx
index 727054655..0d3afd52e 100644
--- a/apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx
+++ b/apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx
@@ -5,6 +5,8 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -48,9 +50,11 @@ export type CreateWebhookDialogProps = {
} & Omit<DialogPrimitive.DialogProps, 'children'>;
export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+ const router = useRouter();
+
const team = useOptionalCurrentTeam();
const [open, setOpen] = useState(false);
@@ -85,8 +89,8 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
setOpen(false);
toast({
- title: 'Webhook created',
- description: 'The webhook was successfully created.',
+ title: _(msg`Webhook created`),
+ description: _(msg`The webhook was successfully created.`),
});
form.reset();
@@ -94,8 +98,8 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
router.refresh();
} catch (err) {
toast({
- title: 'Error',
- description: 'An error occurred while creating the webhook. Please try again.',
+ title: _(msg`Error`),
+ description: _(msg`An error occurred while creating the webhook. Please try again.`),
variant: 'destructive',
});
}
@@ -108,13 +112,21 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
{...props}
>
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild>
- {trigger ?? <Button className="flex-shrink-0">Create Webhook</Button>}
+ {trigger ?? (
+ <Button className="flex-shrink-0">
+ <Trans>Create Webhook</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent className="max-w-lg" position="center">
<DialogHeader>
- <DialogTitle>Create webhook</DialogTitle>
- <DialogDescription>On this page, you can create a new webhook.</DialogDescription>
+ <DialogTitle>
+ <Trans>Create webhook</Trans>
+ </DialogTitle>
+ <DialogDescription>
+ <Trans>On this page, you can create a new webhook.</Trans>
+ </DialogDescription>
</DialogHeader>
<Form {...form}>
@@ -129,13 +141,15 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
name="webhookUrl"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel required>Webhook URL</FormLabel>
+ <FormLabel required>
+ <Trans>Webhook URL</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
</FormControl>
<FormDescription>
- The URL for Documenso to send webhook events to.
+ <Trans>The URL for Documenso to send webhook events to.</Trans>
</FormDescription>
<FormMessage />
@@ -148,7 +162,9 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
name="enabled"
render={({ field }) => (
<FormItem>
- <FormLabel>Enabled</FormLabel>
+ <FormLabel>
+ <Trans>Enabled</Trans>
+ </FormLabel>
<div>
<FormControl>
@@ -171,7 +187,9 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
name="eventTriggers"
render={({ field: { onChange, value } }) => (
<FormItem className="flex flex-col gap-2">
- <FormLabel required>Triggers</FormLabel>
+ <FormLabel required>
+ <Trans>Triggers</Trans>
+ </FormLabel>
<FormControl>
<TriggerMultiSelectCombobox
listValues={value}
@@ -182,7 +200,7 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
</FormControl>
<FormDescription>
- The events that will trigger a webhook to be sent to your URL.
+ <Trans>The events that will trigger a webhook to be sent to your URL.</Trans>
</FormDescription>
<FormMessage />
@@ -195,7 +213,9 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
name="secret"
render={({ field }) => (
<FormItem>
- <FormLabel>Secret</FormLabel>
+ <FormLabel>
+ <Trans>Secret</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput
className="bg-background"
@@ -205,8 +225,11 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
</FormControl>
<FormDescription>
- A secret that will be sent to your URL so you can verify that the request has
- been sent by Documenso.
+ <Trans>
+ A secret that will be sent to your URL so you can verify that the request
+ has been sent by Documenso
+ </Trans>
+ .
</FormDescription>
<FormMessage />
</FormItem>
@@ -216,10 +239,10 @@ export const CreateWebhookDialog = ({ trigger, ...props }: CreateWebhookDialogPr
<DialogFooter>
<div className="flex w-full flex-nowrap gap-4">
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={form.formState.isSubmitting}>
- Create
+ <Trans>Create</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx b/apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx
index e65ae78b8..3ba291132 100644
--- a/apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx
+++ b/apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -40,9 +42,11 @@ export type DeleteWebhookDialogProps = {
};
export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+ const router = useRouter();
+
const team = useOptionalCurrentTeam();
const [open, setOpen] = useState(false);
@@ -51,7 +55,7 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
const ZDeleteWebhookFormSchema = z.object({
webhookUrl: z.literal(deleteMessage, {
- errorMap: () => ({ message: `You must enter '${deleteMessage}' to proceed` }),
+ errorMap: () => ({ message: _(msg`You must enter '${deleteMessage}' to proceed`) }),
}),
});
@@ -71,9 +75,9 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
await deleteWebhook({ id: webhook.id, teamId: team?.id });
toast({
- title: 'Webhook deleted',
+ title: _(msg`Webhook deleted`),
+ description: _(msg`The webhook has been successfully deleted.`),
duration: 5000,
- description: 'The webhook has been successfully deleted.',
});
setOpen(false);
@@ -81,11 +85,12 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
router.refresh();
} catch (error) {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to delete it. Please try again later.`,
+ ),
variant: 'destructive',
duration: 5000,
- description:
- 'We encountered an unknown error while attempting to delete it. Please try again later.',
});
}
};
@@ -101,18 +106,22 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
<DialogTrigger asChild>
{children ?? (
<Button className="mr-4" variant="destructive">
- Delete
+ <Trans>Delete</Trans>
</Button>
)}
</DialogTrigger>
<DialogContent>
<DialogHeader>
- <DialogTitle>Delete Webhook</DialogTitle>
+ <DialogTitle>
+ <Trans>Delete Webhook</Trans>
+ </DialogTitle>
<DialogDescription>
- Please note that this action is irreversible. Once confirmed, your webhook will be
- permanently deleted.
+ <Trans>
+ Please note that this action is irreversible. Once confirmed, your webhook will be
+ permanently deleted.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -128,10 +137,12 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
render={({ field }) => (
<FormItem>
<FormLabel>
- Confirm by typing:{' '}
- <span className="font-sm text-destructive font-semibold">
- {deleteMessage}
- </span>
+ <Trans>
+ Confirm by typing:{' '}
+ <span className="font-sm text-destructive font-semibold">
+ {deleteMessage}
+ </span>
+ </Trans>
</FormLabel>
<FormControl>
<Input className="bg-background" type="text" {...field} />
@@ -149,7 +160,7 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
className="flex-1"
onClick={() => setOpen(false)}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -159,7 +170,7 @@ export const DeleteWebhookDialog = ({ webhook, children }: DeleteWebhookDialogPr
disabled={!form.formState.isValid}
loading={form.formState.isSubmitting}
>
- I'm sure! Delete it
+ <Trans>I'm sure! Delete it</Trans>
</Button>
</div>
</DialogFooter>
diff --git a/apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx b/apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx
index 5636f1931..5d5f2f682 100644
--- a/apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx
+++ b/apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx
@@ -1,5 +1,6 @@
import { useEffect, useState } from 'react';
+import { Plural, Trans } from '@lingui/macro';
import { WebhookTriggerEvents } from '@prisma/client/';
import { Check, ChevronsUpDown } from 'lucide-react';
@@ -60,7 +61,7 @@ export const TriggerMultiSelectCombobox = ({
aria-expanded={isOpen}
className="w-[200px] justify-between"
>
- {selectedValues.length > 0 ? selectedValues.length + ' selected...' : 'Select values...'}
+ <Plural value={selectedValues.length} zero="Select values" other="# selected..." />
<ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
</Button>
</PopoverTrigger>
@@ -72,7 +73,9 @@ export const TriggerMultiSelectCombobox = ({
15,
)}
/>
- <CommandEmpty>No value found.</CommandEmpty>
+ <CommandEmpty>
+ <Trans>No value found.</Trans>
+ </CommandEmpty>
<CommandGroup>
{allEvents.map((value: string, i: number) => (
<CommandItem key={i} onSelect={() => handleSelect(value)}>
diff --git a/apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx b/apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx
index fe894f49f..450464a99 100644
--- a/apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { Plus } from 'lucide-react';
import { useForm } from 'react-hook-form';
@@ -51,6 +53,7 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TCreateTeamEmailFormSchema>({
@@ -73,8 +76,8 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
});
toast({
- title: 'Success',
- description: 'We have sent a confirmation email for verification.',
+ title: _(msg`Success`),
+ description: _(msg`We have sent a confirmation email for verification.`),
duration: 5000,
});
@@ -87,17 +90,18 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
if (error.code === AppErrorCode.ALREADY_EXISTS) {
form.setError('email', {
type: 'manual',
- message: 'This email is already being used by another team.',
+ message: _(msg`This email is already being used by another team.`),
});
return;
}
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to add this email. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to add this email. Please try again later.',
});
}
};
@@ -118,17 +122,19 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
{trigger ?? (
<Button variant="outline" loading={isLoading} className="bg-background">
<Plus className="-ml-1 mr-1 h-5 w-5" />
- Add email
+ <Trans>Add email</Trans>
</Button>
)}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Add team email</DialogTitle>
+ <DialogTitle>
+ <Trans>Add team email</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- A verification email will be sent to the provided email.
+ <Trans>A verification email will be sent to the provided email.</Trans>
</DialogDescription>
</DialogHeader>
@@ -143,7 +149,9 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel required>Name</FormLabel>
+ <FormLabel required>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" placeholder="eg. Legal" {...field} />
</FormControl>
@@ -157,7 +165,9 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input
className="bg-background"
@@ -172,11 +182,11 @@ export const AddTeamEmailDialog = ({ teamId, trigger, ...props }: AddTeamEmailDi
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={form.formState.isSubmitting}>
- Add
+ <Trans>Add</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx b/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx
index f7ee8ca51..c27f3f85d 100644
--- a/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx
@@ -1,5 +1,7 @@
import { useMemo, useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { AnimatePresence, motion } from 'framer-motion';
import { Loader, TagIcon } from 'lucide-react';
@@ -30,6 +32,7 @@ export const CreateTeamCheckoutDialog = ({
onClose,
...props
}: CreateTeamCheckoutDialogProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [interval, setInterval] = useState<'monthly' | 'yearly'>('monthly');
@@ -44,9 +47,10 @@ export const CreateTeamCheckoutDialog = ({
},
onError: () =>
toast({
- title: 'Something went wrong',
- description:
- 'We were unable to create a checkout session. Please try again, or contact support',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We were unable to create a checkout session. Please try again, or contact support`,
+ ),
variant: 'destructive',
}),
});
@@ -77,10 +81,12 @@ export const CreateTeamCheckoutDialog = ({
<Dialog {...props} open={pendingTeamId !== null} onOpenChange={handleOnOpenChange}>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Team checkout</DialogTitle>
+ <DialogTitle>
+ <Trans>Team checkout</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- Payment is required to finalise the creation of your team.
+ <Trans>Payment is required to finalise the creation of your team.</Trans>
</DialogDescription>
</DialogHeader>
@@ -89,7 +95,9 @@ export const CreateTeamCheckoutDialog = ({
{isLoading ? (
<Loader className="text-documenso h-6 w-6 animate-spin" />
) : (
- <p>Something went wrong</p>
+ <p>
+ <Trans>Something went wrong</Trans>
+ </p>
)}
</div>
)}
@@ -136,10 +144,12 @@ export const CreateTeamCheckoutDialog = ({
)}
<div className="text-muted-foreground mt-1.5 text-sm">
- <p>This price includes minimum 5 seats.</p>
+ <p>
+ <Trans>This price includes minimum 5 seats.</Trans>
+ </p>
<p className="mt-1">
- Adding and removing seats will adjust your invoice accordingly.
+ <Trans>Adding and removing seats will adjust your invoice accordingly.</Trans>
</p>
</div>
</CardContent>
@@ -153,7 +163,7 @@ export const CreateTeamCheckoutDialog = ({
disabled={isCreatingCheckout}
onClick={() => onClose()}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -166,7 +176,7 @@ export const CreateTeamCheckoutDialog = ({
})
}
>
- Checkout
+ <Trans>Checkout</Trans>
</Button>
</DialogFooter>
</div>
diff --git a/apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx b/apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx
index 283fd8dad..bff29a493 100644
--- a/apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter, useSearchParams } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -47,6 +49,7 @@ const ZCreateTeamFormSchema = ZCreateTeamMutationSchema.pick({
type TCreateTeamFormSchema = z.infer<typeof ZCreateTeamFormSchema>;
export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const router = useRouter();
@@ -82,8 +85,8 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
}
toast({
- title: 'Success',
- description: 'Your team has been created.',
+ title: _(msg`Success`),
+ description: _(msg`Your team has been created.`),
duration: 5000,
});
} catch (err) {
@@ -92,17 +95,18 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
if (error.code === AppErrorCode.ALREADY_EXISTS) {
form.setError('teamUrl', {
type: 'manual',
- message: 'This URL is already in use.',
+ message: _(msg`This URL is already in use.`),
});
return;
}
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to create a team. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to create a team. Please try again later.',
});
}
};
@@ -131,17 +135,19 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild={true}>
{trigger ?? (
<Button className="flex-shrink-0" variant="secondary">
- Create team
+ <Trans>Create team</Trans>
</Button>
)}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Create team</DialogTitle>
+ <DialogTitle>
+ <Trans>Create team</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- Create a team to collaborate with your team members.
+ <Trans>Create a team to collaborate with your team members.</Trans>
</DialogDescription>
</DialogHeader>
@@ -156,7 +162,9 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
name="teamName"
render={({ field }) => (
<FormItem>
- <FormLabel required>Team Name</FormLabel>
+ <FormLabel required>
+ <Trans>Team Name</Trans>
+ </FormLabel>
<FormControl>
<Input
className="bg-background"
@@ -184,15 +192,19 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
name="teamUrl"
render={({ field }) => (
<FormItem>
- <FormLabel required>Team URL</FormLabel>
+ <FormLabel required>
+ <Trans>Team URL</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
</FormControl>
{!form.formState.errors.teamUrl && (
<span className="text-foreground/50 text-xs font-normal">
- {field.value
- ? `${WEBAPP_BASE_URL}/t/${field.value}`
- : 'A unique URL to identify your team'}
+ {field.value ? (
+ `${WEBAPP_BASE_URL}/t/${field.value}`
+ ) : (
+ <Trans>A unique URL to identify your team</Trans>
+ )}
</span>
)}
@@ -203,7 +215,7 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -211,7 +223,7 @@ export const CreateTeamDialog = ({ trigger, ...props }: CreateTeamDialogProps) =
data-testid="dialog-create-team-button"
loading={form.formState.isSubmitting}
>
- Create Team
+ <Trans>Create Team</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx b/apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx
index 83aa0fa5a..ee974a25b 100644
--- a/apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -42,13 +44,14 @@ export const DeleteTeamDialog = ({ trigger, teamId, teamName }: DeleteTeamDialog
const router = useRouter();
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const deleteMessage = `delete ${teamName}`;
const ZDeleteTeamFormSchema = z.object({
teamName: z.literal(deleteMessage, {
- errorMap: () => ({ message: `You must enter '${deleteMessage}' to proceed` }),
+ errorMap: () => ({ message: _(msg`You must enter '${deleteMessage}' to proceed`) }),
}),
});
@@ -66,8 +69,8 @@ export const DeleteTeamDialog = ({ trigger, teamId, teamName }: DeleteTeamDialog
await deleteTeam({ teamId });
toast({
- title: 'Success',
- description: 'Your team has been successfully deleted.',
+ title: _(msg`Success`),
+ description: _(msg`Your team has been successfully deleted.`),
duration: 5000,
});
@@ -78,20 +81,22 @@ export const DeleteTeamDialog = ({ trigger, teamId, teamName }: DeleteTeamDialog
const error = AppError.parseError(err);
let toastError: Toast = {
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to delete this team. Please try again later.`,
+ ),
variant: 'destructive',
duration: 10000,
- description:
- 'We encountered an unknown error while attempting to delete this team. Please try again later.',
};
if (error.code === 'resource_missing') {
toastError = {
- title: 'Unable to delete team',
+ title: _(msg`Unable to delete team`),
+ description: _(
+ msg`Something went wrong while updating the team billing subscription, please contact support.`,
+ ),
variant: 'destructive',
duration: 15000,
- description:
- 'Something went wrong while updating the team billing subscription, please contact support.',
};
}
@@ -108,16 +113,24 @@ export const DeleteTeamDialog = ({ trigger, teamId, teamName }: DeleteTeamDialog
return (
<Dialog open={open} onOpenChange={(value) => !form.formState.isSubmitting && setOpen(value)}>
<DialogTrigger asChild>
- {trigger ?? <Button variant="destructive">Delete team</Button>}
+ {trigger ?? (
+ <Button variant="destructive">
+ <Trans>Delete team</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Are you sure you wish to delete this team?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure you wish to delete this team?</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- Please note that you will lose access to all documents associated with this team & all
- the members will be removed and notified
+ <Trans>
+ Please note that you will lose access to all documents associated with this team & all
+ the members will be removed and notified
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -133,7 +146,9 @@ export const DeleteTeamDialog = ({ trigger, teamId, teamName }: DeleteTeamDialog
render={({ field }) => (
<FormItem>
<FormLabel>
- Confirm by typing <span className="text-destructive">{deleteMessage}</span>
+ <Trans>
+ Confirm by typing <span className="text-destructive">{deleteMessage}</span>
+ </Trans>
</FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
@@ -145,11 +160,11 @@ export const DeleteTeamDialog = ({ trigger, teamId, teamName }: DeleteTeamDialog
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" variant="destructive" loading={form.formState.isSubmitting}>
- Delete
+ <Trans>Delete</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx b/apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx
index 7ae8ccf1c..be1e1f0e0 100644
--- a/apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx
@@ -2,6 +2,9 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc } from '@documenso/trpc/react';
import { Alert } from '@documenso/ui/primitives/alert';
import { AvatarWithText } from '@documenso/ui/primitives/avatar';
@@ -36,14 +39,15 @@ export const DeleteTeamMemberDialog = ({
}: DeleteTeamMemberDialogProps) => {
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: deleteTeamMembers, isLoading: isDeletingTeamMember } =
trpc.team.deleteTeamMembers.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'You have successfully removed this user from the team.',
+ title: _(msg`Success`),
+ description: _(msg`You have successfully removed this user from the team.`),
duration: 5000,
});
@@ -51,11 +55,12 @@ export const DeleteTeamMemberDialog = ({
},
onError: () => {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to remove this user. Please try again later.`,
+ ),
variant: 'destructive',
duration: 10000,
- description:
- 'We encountered an unknown error while attempting to remove this user. Please try again later.',
});
},
});
@@ -63,16 +68,24 @@ export const DeleteTeamMemberDialog = ({
return (
<Dialog open={open} onOpenChange={(value) => !isDeletingTeamMember && setOpen(value)}>
<DialogTrigger asChild>
- {trigger ?? <Button variant="secondary">Delete team member</Button>}
+ {trigger ?? (
+ <Button variant="secondary">
+ <Trans>Delete team member</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You are about to remove the following user from{' '}
- <span className="font-semibold">{teamName}</span>.
+ <Trans>
+ You are about to remove the following user from{' '}
+ <span className="font-semibold">{teamName}</span>.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -88,7 +101,7 @@ export const DeleteTeamMemberDialog = ({
<fieldset disabled={isDeletingTeamMember}>
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -97,7 +110,7 @@ export const DeleteTeamMemberDialog = ({
loading={isDeletingTeamMember}
onClick={async () => deleteTeamMembers({ teamId, teamMemberIds: [teamMemberId] })}
>
- Delete
+ <Trans>Delete</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx b/apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx
index 4adceda3d..db17a23a7 100644
--- a/apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx
@@ -3,6 +3,8 @@
import { useEffect, useRef, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { Download, Mail, MailIcon, PlusCircle, Trash, Upload, UsersIcon } from 'lucide-react';
import Papa, { type ParseResult } from 'papaparse';
@@ -104,6 +106,7 @@ export const InviteTeamMembersDialog = ({
const fileInputRef = useRef<HTMLInputElement>(null);
const [invitationType, setInvitationType] = useState<TabTypes>('INDIVIDUAL');
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TInviteTeamMembersFormSchema>({
@@ -144,18 +147,19 @@ export const InviteTeamMembersDialog = ({
});
toast({
- title: 'Success',
- description: 'Team invitations have been sent.',
+ title: _(msg`Success`),
+ description: _(msg`Team invitations have been sent.`),
duration: 5000,
});
setOpen(false);
} catch {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to invite team members. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to invite team members. Please try again later.',
});
}
};
@@ -203,9 +207,11 @@ export const InviteTeamMembersDialog = ({
console.error(err.message);
toast({
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`Please check the CSV file and make sure it is according to our format`,
+ ),
variant: 'destructive',
- title: 'Something went wrong',
- description: 'Please check the CSV file and make sure it is according to our format',
});
}
},
@@ -239,15 +245,21 @@ export const InviteTeamMembersDialog = ({
onOpenChange={(value) => !form.formState.isSubmitting && setOpen(value)}
>
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild>
- {trigger ?? <Button variant="secondary">Invite member</Button>}
+ {trigger ?? (
+ <Button variant="secondary">
+ <Trans>Invite member</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Invite team members</DialogTitle>
+ <DialogTitle>
+ <Trans>Invite team members</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- An email containing an invitation will be sent to each member.
+ <Trans>An email containing an invitation will be sent to each member.</Trans>
</DialogDescription>
</DialogHeader>
@@ -260,11 +272,11 @@ export const InviteTeamMembersDialog = ({
<TabsList className="w-full">
<TabsTrigger value="INDIVIDUAL" className="hover:text-foreground w-full">
<MailIcon size={20} className="mr-2" />
- Invite Members
+ <Trans>Invite Members</Trans>
</TabsTrigger>
<TabsTrigger value="BULK" className="hover:text-foreground w-full">
- <UsersIcon size={20} className="mr-2" /> Bulk Import
+ <UsersIcon size={20} className="mr-2" /> <Trans>Bulk Import</Trans>
</TabsTrigger>
</TabsList>
@@ -283,7 +295,11 @@ export const InviteTeamMembersDialog = ({
name={`invitations.${index}.email`}
render={({ field }) => (
<FormItem className="w-full">
- {index === 0 && <FormLabel required>Email address</FormLabel>}
+ {index === 0 && (
+ <FormLabel required>
+ <Trans>Email address</Trans>
+ </FormLabel>
+ )}
<FormControl>
<Input className="bg-background" {...field} />
</FormControl>
@@ -297,7 +313,11 @@ export const InviteTeamMembersDialog = ({
name={`invitations.${index}.role`}
render={({ field }) => (
<FormItem className="w-full">
- {index === 0 && <FormLabel required>Role</FormLabel>}
+ {index === 0 && (
+ <FormLabel required>
+ <Trans>Role</Trans>
+ </FormLabel>
+ )}
<FormControl>
<Select {...field} onValueChange={field.onChange}>
<SelectTrigger className="text-muted-foreground max-w-[200px]">
@@ -307,7 +327,7 @@ export const InviteTeamMembersDialog = ({
<SelectContent position="popper">
{TEAM_MEMBER_ROLE_HIERARCHY[currentUserTeamRole].map((role) => (
<SelectItem key={role} value={role}>
- {TEAM_MEMBER_ROLE_MAP[role] ?? role}
+ {_(TEAM_MEMBER_ROLE_MAP[role]) ?? role}
</SelectItem>
))}
</SelectContent>
@@ -341,17 +361,17 @@ export const InviteTeamMembersDialog = ({
onClick={() => onAddTeamMemberInvite()}
>
<PlusCircle className="mr-2 h-4 w-4" />
- Add more
+ <Trans>Add more</Trans>
</Button>
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={form.formState.isSubmitting}>
{!form.formState.isSubmitting && <Mail className="mr-2 h-4 w-4" />}
- Invite
+ <Trans>Invite</Trans>
</Button>
</DialogFooter>
</fieldset>
@@ -368,7 +388,9 @@ export const InviteTeamMembersDialog = ({
>
<Upload className="h-5 w-5" />
- <p className="mt-1 text-sm">Click here to upload</p>
+ <p className="mt-1 text-sm">
+ <Trans>Click here to upload</Trans>
+ </p>
<input
onChange={onFileInputChange}
@@ -383,7 +405,7 @@ export const InviteTeamMembersDialog = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={downloadTemplate}>
<Download className="mr-2 h-4 w-4" />
- Template
+ <Trans>Template</Trans>
</Button>
</DialogFooter>
</div>
diff --git a/apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx b/apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx
index a16658316..d44f607ee 100644
--- a/apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx
@@ -2,6 +2,9 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { TEAM_MEMBER_ROLE_MAP } from '@documenso/lib/constants/teams';
import type { TeamMemberRole } from '@documenso/prisma/client';
@@ -37,13 +40,14 @@ export const LeaveTeamDialog = ({
}: LeaveTeamDialogProps) => {
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: leaveTeam, isLoading: isLeavingTeam } = trpc.team.leaveTeam.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'You have successfully left this team.',
+ title: _(msg`Success`),
+ description: _(msg`You have successfully left this team.`),
duration: 5000,
});
@@ -51,11 +55,12 @@ export const LeaveTeamDialog = ({
},
onError: () => {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to leave this team. Please try again later.`,
+ ),
variant: 'destructive',
duration: 10000,
- description:
- 'We encountered an unknown error while attempting to leave this team. Please try again later.',
});
},
});
@@ -63,15 +68,21 @@ export const LeaveTeamDialog = ({
return (
<Dialog open={open} onOpenChange={(value) => !isLeavingTeam && setOpen(value)}>
<DialogTrigger asChild>
- {trigger ?? <Button variant="destructive">Leave team</Button>}
+ {trigger ?? (
+ <Button variant="destructive">
+ <Trans>Leave team</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You are about to leave the following team.
+ <Trans>You are about to leave the following team.</Trans>
</DialogDescription>
</DialogHeader>
@@ -81,14 +92,14 @@ export const LeaveTeamDialog = ({
avatarSrc={`${NEXT_PUBLIC_WEBAPP_URL()}/api/avatar/${teamAvatarImageId}`}
avatarFallback={teamName.slice(0, 1).toUpperCase()}
primaryText={teamName}
- secondaryText={TEAM_MEMBER_ROLE_MAP[role]}
+ secondaryText={_(TEAM_MEMBER_ROLE_MAP[role])}
/>
</Alert>
<fieldset disabled={isLeavingTeam}>
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -97,7 +108,7 @@ export const LeaveTeamDialog = ({
loading={isLeavingTeam}
onClick={async () => leaveTeam({ teamId })}
>
- Leave
+ <Trans>Leave</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx b/apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx
index 04fd46d33..7e11b408b 100644
--- a/apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx
@@ -4,6 +4,9 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { extractInitials } from '@documenso/lib/utils/recipient-formatter';
import type { Prisma } from '@documenso/prisma/client';
@@ -42,24 +45,26 @@ export type RemoveTeamEmailDialogProps = {
export const RemoveTeamEmailDialog = ({ trigger, teamName, team }: RemoveTeamEmailDialogProps) => {
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const { mutateAsync: deleteTeamEmail, isLoading: isDeletingTeamEmail } =
trpc.team.deleteTeamEmail.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Team email has been removed',
+ title: _(msg`Success`),
+ description: _(msg`Team email has been removed`),
duration: 5000,
});
},
onError: () => {
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to remove team email at this time. Please try again.`),
variant: 'destructive',
duration: 10000,
- description: 'Unable to remove team email at this time. Please try again.',
});
},
});
@@ -68,17 +73,17 @@ export const RemoveTeamEmailDialog = ({ trigger, teamName, team }: RemoveTeamEma
trpc.team.deleteTeamEmailVerification.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Email verification has been removed',
+ title: _(msg`Success`),
+ description: _(msg`Email verification has been removed`),
duration: 5000,
});
},
onError: () => {
toast({
- title: 'Something went wrong',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to remove email verification at this time. Please try again.`),
variant: 'destructive',
duration: 10000,
- description: 'Unable to remove email verification at this time. Please try again.',
});
},
});
@@ -98,16 +103,24 @@ export const RemoveTeamEmailDialog = ({ trigger, teamName, team }: RemoveTeamEma
return (
<Dialog open={open} onOpenChange={(value) => setOpen(value)}>
<DialogTrigger asChild>
- {trigger ?? <Button variant="destructive">Remove team email</Button>}
+ {trigger ?? (
+ <Button variant="destructive">
+ <Trans>Remove team email</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You are about to delete the following team email from{' '}
- <span className="font-semibold">{teamName}</span>.
+ <Trans>
+ You are about to delete the following team email from{' '}
+ <span className="font-semibold">{teamName}</span>.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -134,7 +147,7 @@ export const RemoveTeamEmailDialog = ({ trigger, teamName, team }: RemoveTeamEma
<fieldset disabled={isDeletingTeamEmail || isDeletingTeamEmailVerification}>
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button
@@ -143,7 +156,7 @@ export const RemoveTeamEmailDialog = ({ trigger, teamName, team }: RemoveTeamEma
loading={isDeletingTeamEmail || isDeletingTeamEmailVerification}
onClick={async () => onRemove()}
>
- Remove
+ <Trans>Remove</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx b/apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx
index fb2d1bdfd..0859945dc 100644
--- a/apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Loader } from 'lucide-react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -56,6 +58,7 @@ export const TransferTeamDialog = ({
const router = useRouter();
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: requestTeamOwnershipTransfer } =
@@ -102,19 +105,20 @@ export const TransferTeamDialog = ({
router.refresh();
toast({
- title: 'Success',
- description: 'An email requesting the transfer of this team has been sent.',
+ title: _(msg`Success`),
+ description: _(msg`An email requesting the transfer of this team has been sent.`),
duration: 5000,
});
setOpen(false);
} catch (err) {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to request a transfer of this team. Please try again later.`,
+ ),
variant: 'destructive',
duration: 10000,
- description:
- 'We encountered an unknown error while attempting to request a transfer of this team. Please try again later.',
});
}
};
@@ -140,7 +144,7 @@ export const TransferTeamDialog = ({
<DialogTrigger asChild>
{trigger ?? (
<Button variant="outline" className="bg-background">
- Transfer team
+ <Trans>Transfer team</Trans>
</Button>
)}
</DialogTrigger>
@@ -148,10 +152,12 @@ export const TransferTeamDialog = ({
{teamMembers && teamMembers.length > 0 ? (
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Transfer team</DialogTitle>
+ <DialogTitle>
+ <Trans>Transfer team</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- Transfer ownership of this team to a selected team member.
+ <Trans>Transfer ownership of this team to a selected team member.</Trans>
</DialogDescription>
</DialogHeader>
@@ -166,7 +172,9 @@ export const TransferTeamDialog = ({
name="newOwnerUserId"
render={({ field }) => (
<FormItem className="w-full">
- <FormLabel required>New team owner</FormLabel>
+ <FormLabel required>
+ <Trans>New team owner</Trans>
+ </FormLabel>
<FormControl>
<Select {...field} onValueChange={field.onChange}>
<SelectTrigger className="text-muted-foreground">
@@ -196,8 +204,10 @@ export const TransferTeamDialog = ({
render={({ field }) => (
<FormItem>
<FormLabel>
- Confirm by typing{' '}
- <span className="text-destructive">{confirmTransferMessage}</span>
+ <Trans>
+ Confirm by typing{' '}
+ <span className="text-destructive">{confirmTransferMessage}</span>
+ </Trans>
</FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
@@ -247,13 +257,17 @@ export const TransferTeamDialog = ({
// </li>
<li>
- Any payment methods attached to this team will remain attached to this
- team. Please contact us if you need to update this information.
+ <Trans>
+ Any payment methods attached to this team will remain attached to this
+ team. Please contact us if you need to update this information.
+ </Trans>
</li>
)}
<li>
- The selected team member will receive an email which they must accept before
- the team is transferred
+ <Trans>
+ The selected team member will receive an email which they must accept
+ before the team is transferred
+ </Trans>
</li>
</ul>
</AlertDescription>
@@ -261,11 +275,11 @@ export const TransferTeamDialog = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" variant="destructive" loading={form.formState.isSubmitting}>
- Request transfer
+ <Trans>Request transfer</Trans>
</Button>
</DialogFooter>
</fieldset>
@@ -281,9 +295,11 @@ export const TransferTeamDialog = ({
<Loader className="text-muted-foreground h-6 w-6 animate-spin" />
) : (
<p className="text-center text-sm">
- {loadingTeamMembersError
- ? 'An error occurred while loading team members. Please try again later.'
- : 'You must have at least one other team member to transfer ownership.'}
+ {loadingTeamMembersError ? (
+ <Trans>An error occurred while loading team members. Please try again later.</Trans>
+ ) : (
+ <Trans>You must have at least one other team member to transfer ownership.</Trans>
+ )}
</p>
)}
</DialogContent>
diff --git a/apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx b/apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx
index c6ab8890a..0cdfca00e 100644
--- a/apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -52,6 +54,7 @@ export const UpdateTeamEmailDialog = ({
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TUpdateTeamEmailFormSchema>({
@@ -73,8 +76,8 @@ export const UpdateTeamEmailDialog = ({
});
toast({
- title: 'Success',
- description: 'Team email was updated.',
+ title: _(msg`Success`),
+ description: _(msg`Team email was updated.`),
duration: 5000,
});
@@ -83,10 +86,11 @@ export const UpdateTeamEmailDialog = ({
setOpen(false);
} catch (err) {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting update the team email. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting update the team email. Please try again later.',
});
}
};
@@ -106,17 +110,19 @@ export const UpdateTeamEmailDialog = ({
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild>
{trigger ?? (
<Button variant="outline" className="bg-background">
- Update team email
+ <Trans>Update team email</Trans>
</Button>
)}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Update team email</DialogTitle>
+ <DialogTitle>
+ <Trans>Update team email</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- To change the email you must remove and add a new email address.
+ <Trans>To change the email you must remove and add a new email address.</Trans>
</DialogDescription>
</DialogHeader>
@@ -131,7 +137,9 @@ export const UpdateTeamEmailDialog = ({
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel required>Name</FormLabel>
+ <FormLabel required>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" placeholder="eg. Legal" {...field} />
</FormControl>
@@ -141,7 +149,9 @@ export const UpdateTeamEmailDialog = ({
/>
<FormItem>
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" value={teamEmail.email} disabled={true} />
</FormControl>
@@ -149,11 +159,11 @@ export const UpdateTeamEmailDialog = ({
<DialogFooter>
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={form.formState.isSubmitting}>
- Update
+ <Trans>Update</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx b/apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx
index cc8ea675f..88313e2e4 100644
--- a/apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx
+++ b/apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx
@@ -3,6 +3,8 @@
import { useEffect, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -64,6 +66,7 @@ export const UpdateTeamMemberDialog = ({
}: UpdateTeamMemberDialogProps) => {
const [open, setOpen] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<ZUpdateTeamMemberSchema>({
@@ -86,18 +89,19 @@ export const UpdateTeamMemberDialog = ({
});
toast({
- title: 'Success',
- description: `You have updated ${teamMemberName}.`,
+ title: _(msg`Success`),
+ description: _(msg`You have updated ${teamMemberName}.`),
duration: 5000,
});
setOpen(false);
} catch {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to update this team member. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update this team member. Please try again later.',
});
}
};
@@ -113,10 +117,11 @@ export const UpdateTeamMemberDialog = ({
setOpen(false);
toast({
- title: 'You cannot modify a team member who has a higher role than you.',
+ title: _(msg`You cannot modify a team member who has a higher role than you.`),
variant: 'destructive',
});
}
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [open, currentUserTeamRole, teamMemberRole, form, toast]);
return (
@@ -126,15 +131,23 @@ export const UpdateTeamMemberDialog = ({
onOpenChange={(value) => !form.formState.isSubmitting && setOpen(value)}
>
<DialogTrigger onClick={(e) => e.stopPropagation()} asChild>
- {trigger ?? <Button variant="secondary">Update team member</Button>}
+ {trigger ?? (
+ <Button variant="secondary">
+ <Trans>Update team member</Trans>
+ </Button>
+ )}
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Update team member</DialogTitle>
+ <DialogTitle>
+ <Trans>Update team member</Trans>
+ </DialogTitle>
<DialogDescription className="mt-4">
- You are currently updating <span className="font-bold">{teamMemberName}.</span>
+ <Trans>
+ You are currently updating <span className="font-bold">{teamMemberName}.</span>
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -146,7 +159,9 @@ export const UpdateTeamMemberDialog = ({
name="role"
render={({ field }) => (
<FormItem className="w-full">
- <FormLabel required>Role</FormLabel>
+ <FormLabel required>
+ <Trans>Role</Trans>
+ </FormLabel>
<FormControl>
<Select {...field} onValueChange={field.onChange}>
<SelectTrigger className="text-muted-foreground">
@@ -156,7 +171,7 @@ export const UpdateTeamMemberDialog = ({
<SelectContent className="w-full" position="popper">
{TEAM_MEMBER_ROLE_HIERARCHY[currentUserTeamRole].map((role) => (
<SelectItem key={role} value={role}>
- {TEAM_MEMBER_ROLE_MAP[role] ?? role}
+ {_(TEAM_MEMBER_ROLE_MAP[role]) ?? role}
</SelectItem>
))}
</SelectContent>
@@ -169,11 +184,11 @@ export const UpdateTeamMemberDialog = ({
<DialogFooter className="mt-4">
<Button type="button" variant="secondary" onClick={() => setOpen(false)}>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
<Button type="submit" loading={form.formState.isSubmitting}>
- Update
+ <Trans>Update</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/(teams)/forms/update-team-form.tsx b/apps/web/src/components/(teams)/forms/update-team-form.tsx
index 142914b8c..c709e2039 100644
--- a/apps/web/src/components/(teams)/forms/update-team-form.tsx
+++ b/apps/web/src/components/(teams)/forms/update-team-form.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence, motion } from 'framer-motion';
import { useForm } from 'react-hook-form';
import type { z } from 'zod';
@@ -39,6 +41,7 @@ type TUpdateTeamFormSchema = z.infer<typeof ZUpdateTeamFormSchema>;
export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm({
@@ -62,8 +65,8 @@ export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogPr
});
toast({
- title: 'Success',
- description: 'Your team has been successfully updated.',
+ title: _(msg`Success`),
+ description: _(msg`Your team has been successfully updated.`),
duration: 5000,
});
@@ -81,17 +84,18 @@ export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogPr
if (error.code === AppErrorCode.ALREADY_EXISTS) {
form.setError('url', {
type: 'manual',
- message: 'This URL is already in use.',
+ message: _(msg`This URL is already in use.`),
});
return;
}
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to update your team. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update your team. Please try again later.',
});
}
};
@@ -105,7 +109,9 @@ export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogPr
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel required>Team Name</FormLabel>
+ <FormLabel required>
+ <Trans>Team Name</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
</FormControl>
@@ -119,15 +125,19 @@ export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogPr
name="url"
render={({ field }) => (
<FormItem className="mt-4">
- <FormLabel required>Team URL</FormLabel>
+ <FormLabel required>
+ <Trans>Team URL</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
</FormControl>
{!form.formState.errors.url && (
<span className="text-foreground/50 text-xs font-normal">
- {field.value
- ? `${WEBAPP_BASE_URL}/t/${field.value}`
- : 'A unique URL to identify your team'}
+ {field.value ? (
+ `${WEBAPP_BASE_URL}/t/${field.value}`
+ ) : (
+ <Trans>A unique URL to identify your team</Trans>
+ )}
</span>
)}
@@ -151,7 +161,7 @@ export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogPr
}}
>
<Button type="button" variant="secondary" onClick={() => form.reset()}>
- Reset
+ <Trans>Reset</Trans>
</Button>
</motion.div>
)}
@@ -163,7 +173,7 @@ export const UpdateTeamForm = ({ teamId, teamName, teamUrl }: UpdateTeamDialogPr
disabled={!form.formState.isDirty}
loading={form.formState.isSubmitting}
>
- Update team
+ <Trans>Update team</Trans>
</Button>
</div>
</fieldset>
diff --git a/apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx b/apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx
index 7c08d174f..296e3fa95 100644
--- a/apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx
+++ b/apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx
@@ -5,6 +5,7 @@ import type { HTMLAttributes } from 'react';
import Link from 'next/link';
import { useParams, usePathname } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { Braces, CreditCard, Globe2Icon, Settings, Users, Webhook } from 'lucide-react';
import { useFeatureFlags } from '@documenso/lib/client-only/providers/feature-flag';
@@ -39,7 +40,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
className={cn('w-full justify-start', pathname === settingsPath && 'bg-secondary')}
>
<Settings className="mr-2 h-5 w-5" />
- General
+ <Trans>General</Trans>
</Button>
</Link>
@@ -53,7 +54,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Globe2Icon className="mr-2 h-5 w-5" />
- Public Profile
+ <Trans>Public Profile</Trans>
</Button>
</Link>
)}
@@ -67,7 +68,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Users className="mr-2 h-5 w-5" />
- Members
+ <Trans>Members</Trans>
</Button>
</Link>
@@ -77,7 +78,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
className={cn('w-full justify-start', pathname?.startsWith(tokensPath) && 'bg-secondary')}
>
<Braces className="mr-2 h-5 w-5" />
- API Tokens
+ <Trans>API Tokens</Trans>
</Button>
</Link>
@@ -90,7 +91,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<Webhook className="mr-2 h-5 w-5" />
- Webhooks
+ <Trans>Webhooks</Trans>
</Button>
</Link>
@@ -104,7 +105,7 @@ export const DesktopNav = ({ className, ...props }: DesktopNavProps) => {
)}
>
<CreditCard className="mr-2 h-5 w-5" />
- Billing
+ <Trans>Billing</Trans>
</Button>
</Link>
)}
diff --git a/apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx b/apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx
index 7bcc4ae82..b5d5aacda 100644
--- a/apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx
+++ b/apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx
@@ -5,6 +5,7 @@ import type { HTMLAttributes } from 'react';
import Link from 'next/link';
import { useParams, usePathname } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { Braces, CreditCard, Globe2Icon, Key, User, Webhook } from 'lucide-react';
import { useFeatureFlags } from '@documenso/lib/client-only/providers/feature-flag';
@@ -47,7 +48,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<User className="mr-2 h-5 w-5" />
- General
+ <Trans>General</Trans>
</Button>
</Link>
@@ -61,7 +62,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Globe2Icon className="mr-2 h-5 w-5" />
- Public Profile
+ <Trans>Public Profile</Trans>
</Button>
</Link>
)}
@@ -75,7 +76,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Key className="mr-2 h-5 w-5" />
- Members
+ <Trans>Members</Trans>
</Button>
</Link>
@@ -85,7 +86,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
className={cn('w-full justify-start', pathname?.startsWith(tokensPath) && 'bg-secondary')}
>
<Braces className="mr-2 h-5 w-5" />
- API Tokens
+ <Trans>API Tokens</Trans>
</Button>
</Link>
@@ -98,7 +99,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<Webhook className="mr-2 h-5 w-5" />
- Webhooks
+ <Trans>Webhooks</Trans>
</Button>
</Link>
@@ -112,7 +113,7 @@ export const MobileNav = ({ className, ...props }: MobileNavProps) => {
)}
>
<CreditCard className="mr-2 h-5 w-5" />
- Billing
+ <Trans>Billing</Trans>
</Button>
</Link>
)}
diff --git a/apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx b/apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx
index 5ece1fc6a..6cc82139f 100644
--- a/apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx
@@ -3,6 +3,9 @@
import Link from 'next/link';
import { useSearchParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { useUpdateSearchParams } from '@documenso/lib/client-only/hooks/use-update-search-params';
import { NEXT_PUBLIC_WEBAPP_URL, WEBAPP_BASE_URL } from '@documenso/lib/constants/app';
import { TEAM_MEMBER_ROLE_MAP } from '@documenso/lib/constants/teams';
@@ -21,6 +24,8 @@ import { LocaleDate } from '~/components/formatter/locale-date';
import { LeaveTeamDialog } from '../dialogs/leave-team-dialog';
export const CurrentUserTeamsDataTable = () => {
+ const { _ } = useLingui();
+
const searchParams = useSearchParams();
const updateSearchParams = useUpdateSearchParams();
@@ -57,7 +62,7 @@ export const CurrentUserTeamsDataTable = () => {
<DataTable
columns={[
{
- header: 'Team',
+ header: _(msg`Team`),
accessorKey: 'name',
cell: ({ row }) => (
<Link href={`/t/${row.original.url}`} scroll={false}>
@@ -74,15 +79,15 @@ export const CurrentUserTeamsDataTable = () => {
),
},
{
- header: 'Role',
+ header: _(msg`Role`),
accessorKey: 'role',
cell: ({ row }) =>
row.original.ownerUserId === row.original.currentTeamMember.userId
? 'Owner'
- : TEAM_MEMBER_ROLE_MAP[row.original.currentTeamMember.role],
+ : _(TEAM_MEMBER_ROLE_MAP[row.original.currentTeamMember.role]),
},
{
- header: 'Member Since',
+ header: _(msg`Member Since`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />,
},
@@ -92,7 +97,9 @@ export const CurrentUserTeamsDataTable = () => {
<div className="flex justify-end space-x-2">
{canExecuteTeamAction('MANAGE_TEAM', row.original.currentTeamMember.role) && (
<Button variant="outline" asChild>
- <Link href={`/t/${row.original.url}/settings`}>Manage</Link>
+ <Link href={`/t/${row.original.url}/settings`}>
+ <Trans>Manage</Trans>
+ </Link>
</Button>
)}
@@ -107,7 +114,7 @@ export const CurrentUserTeamsDataTable = () => {
disabled={row.original.ownerUserId === row.original.currentTeamMember.userId}
onSelect={(e) => e.preventDefault()}
>
- Leave
+ <Trans>Leave</Trans>
</Button>
}
/>
diff --git a/apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx b/apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx
index 64a58375c..010899bc2 100644
--- a/apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx
+++ b/apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx
@@ -1,3 +1,6 @@
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc } from '@documenso/trpc/react';
import { cn } from '@documenso/ui/lib/utils';
import { Button } from '@documenso/ui/primitives/button';
@@ -14,21 +17,23 @@ export const PendingUserTeamsDataTableActions = ({
pendingTeamId,
onPayClick,
}: PendingUserTeamsDataTableActionsProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: deleteTeamPending, isLoading: deletingTeam } =
trpc.team.deleteTeamPending.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Pending team deleted.',
+ title: _(msg`Success`),
+ description: _(msg`Pending team deleted.`),
});
},
onError: () => {
toast({
- title: 'Something went wrong',
- description:
- 'We encountered an unknown error while attempting to delete the pending team. Please try again later.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We encountered an unknown error while attempting to delete the pending team. Please try again later.`,
+ ),
duration: 10000,
variant: 'destructive',
});
@@ -38,7 +43,7 @@ export const PendingUserTeamsDataTableActions = ({
return (
<fieldset disabled={deletingTeam} className={cn('flex justify-end space-x-2', className)}>
<Button variant="outline" onClick={() => onPayClick(pendingTeamId)}>
- Pay
+ <Trans>Pay</Trans>
</Button>
<Button
@@ -46,7 +51,7 @@ export const PendingUserTeamsDataTableActions = ({
loading={deletingTeam}
onClick={async () => deleteTeamPending({ pendingTeamId: pendingTeamId })}
>
- Remove
+ <Trans>Remove</Trans>
</Button>
</fieldset>
);
diff --git a/apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx b/apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx
index 84d4e38df..ccca45db8 100644
--- a/apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx
@@ -4,6 +4,9 @@ import { useEffect, useState } from 'react';
import { useSearchParams } from 'next/navigation';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { useUpdateSearchParams } from '@documenso/lib/client-only/hooks/use-update-search-params';
import { WEBAPP_BASE_URL } from '@documenso/lib/constants/app';
import { ZBaseTableSearchParamsSchema } from '@documenso/lib/types/search-params';
@@ -20,6 +23,8 @@ import { CreateTeamCheckoutDialog } from '../dialogs/create-team-checkout-dialog
import { PendingUserTeamsDataTableActions } from './pending-user-teams-data-table-actions';
export const PendingUserTeamsDataTable = () => {
+ const { _ } = useLingui();
+
const searchParams = useSearchParams();
const updateSearchParams = useUpdateSearchParams();
@@ -68,7 +73,7 @@ export const PendingUserTeamsDataTable = () => {
<DataTable
columns={[
{
- header: 'Team',
+ header: _(msg`Team`),
accessorKey: 'name',
cell: ({ row }) => (
<AvatarWithText
@@ -82,7 +87,7 @@ export const PendingUserTeamsDataTable = () => {
),
},
{
- header: 'Created on',
+ header: _(msg`Created on`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />,
},
diff --git a/apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx b/apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx
index a860ac6d9..baa3a1e72 100644
--- a/apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx
@@ -2,6 +2,8 @@
import Link from 'next/link';
+import { Plural, Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { File } from 'lucide-react';
import { DateTime } from 'luxon';
@@ -17,6 +19,8 @@ export type TeamBillingInvoicesDataTableProps = {
};
export const TeamBillingInvoicesDataTable = ({ teamId }: TeamBillingInvoicesDataTableProps) => {
+ const { _ } = useLingui();
+
const { data, isLoading, isInitialLoading, isLoadingError } = trpc.team.findTeamInvoices.useQuery(
{
teamId,
@@ -46,7 +50,7 @@ export const TeamBillingInvoicesDataTable = ({ teamId }: TeamBillingInvoicesData
<DataTable
columns={[
{
- header: 'Invoice',
+ header: _(msg`Invoice`),
accessorKey: 'created',
cell: ({ row }) => (
<div className="flex max-w-xs items-center gap-2">
@@ -57,27 +61,27 @@ export const TeamBillingInvoicesDataTable = ({ teamId }: TeamBillingInvoicesData
{DateTime.fromSeconds(row.original.created).toFormat('MMMM yyyy')}
</span>
<span className="text-muted-foreground">
- {row.original.quantity} {row.original.quantity > 1 ? 'Seats' : 'Seat'}
+ <Plural value={row.original.quantity} one="# Seat" other="# Seats" />
</span>
</div>
</div>
),
},
{
- header: 'Status',
+ header: _(msg`Status`),
accessorKey: 'status',
cell: ({ row }) => {
const { status, paid } = row.original;
if (!status) {
- return paid ? 'Paid' : 'Unpaid';
+ return paid ? <Trans>Paid</Trans> : <Trans>Unpaid</Trans>;
}
return status.charAt(0).toUpperCase() + status.slice(1);
},
},
{
- header: 'Amount',
+ header: _(msg`Amount`),
accessorKey: 'total',
cell: ({ row }) => formatCurrency(row.original.currency, row.original.total / 100),
},
@@ -91,7 +95,7 @@ export const TeamBillingInvoicesDataTable = ({ teamId }: TeamBillingInvoicesData
disabled={typeof row.original.hostedInvoicePdf !== 'string'}
>
<Link href={row.original.hostedInvoicePdf ?? ''} target="_blank">
- View
+ <Trans>View</Trans>
</Link>
</Button>
@@ -101,7 +105,7 @@ export const TeamBillingInvoicesDataTable = ({ teamId }: TeamBillingInvoicesData
disabled={typeof row.original.hostedInvoicePdf !== 'string'}
>
<Link href={row.original.invoicePdf ?? ''} target="_blank">
- Download
+ <Trans>Download</Trans>
</Link>
</Button>
</div>
diff --git a/apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx b/apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx
index f0e3580e3..fb5f80747 100644
--- a/apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx
@@ -2,6 +2,8 @@
import { useSearchParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { History, MoreHorizontal, Trash2 } from 'lucide-react';
import { useUpdateSearchParams } from '@documenso/lib/client-only/hooks/use-update-search-params';
@@ -32,6 +34,7 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
const searchParams = useSearchParams();
const updateSearchParams = useUpdateSearchParams();
+ const { _ } = useLingui();
const { toast } = useToast();
const parsedSearchParams = ZBaseTableSearchParamsSchema.parse(
@@ -55,14 +58,14 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
trpc.team.resendTeamMemberInvitation.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Invitation has been resent',
+ title: _(msg`Success`),
+ description: _(msg`Invitation has been resent`),
});
},
onError: () => {
toast({
- title: 'Something went wrong',
- description: 'Unable to resend invitation. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to resend invitation. Please try again.`),
variant: 'destructive',
});
},
@@ -72,14 +75,14 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
trpc.team.deleteTeamMemberInvitations.useMutation({
onSuccess: () => {
toast({
- title: 'Success',
- description: 'Invitation has been deleted',
+ title: _(msg`Success`),
+ description: _(msg`Invitation has been deleted`),
});
},
onError: () => {
toast({
- title: 'Something went wrong',
- description: 'Unable to delete invitation. Please try again.',
+ title: _(msg`Something went wrong`),
+ description: _(msg`Unable to delete invitation. Please try again.`),
variant: 'destructive',
});
},
@@ -103,7 +106,7 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
<DataTable
columns={[
{
- header: 'Team Member',
+ header: _(msg`Team Member`),
cell: ({ row }) => {
return (
<AvatarWithText
@@ -117,17 +120,17 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
},
},
{
- header: 'Role',
+ header: _(msg`Role`),
accessorKey: 'role',
- cell: ({ row }) => TEAM_MEMBER_ROLE_MAP[row.original.role] ?? row.original.role,
+ cell: ({ row }) => _(TEAM_MEMBER_ROLE_MAP[row.original.role]) ?? row.original.role,
},
{
- header: 'Invited At',
+ header: _(msg`Invited At`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />,
},
{
- header: 'Actions',
+ header: _(msg`Actions`),
cell: ({ row }) => (
<DropdownMenu>
<DropdownMenuTrigger>
@@ -135,7 +138,9 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
</DropdownMenuTrigger>
<DropdownMenuContent className="w-52" align="start" forceMount>
- <DropdownMenuLabel>Actions</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Actions</Trans>
+ </DropdownMenuLabel>
<DropdownMenuItem
onClick={async () =>
@@ -146,7 +151,7 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
}
>
<History className="mr-2 h-4 w-4" />
- Resend
+ <Trans>Resend</Trans>
</DropdownMenuItem>
<DropdownMenuItem
@@ -158,7 +163,7 @@ export const TeamMemberInvitesDataTable = ({ teamId }: TeamMemberInvitesDataTabl
}
>
<Trash2 className="mr-2 h-4 w-4" />
- Remove
+ <Trans>Remove</Trans>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
diff --git a/apps/web/src/components/(teams)/tables/team-members-data-table.tsx b/apps/web/src/components/(teams)/tables/team-members-data-table.tsx
index 3002ecbb0..87a8dcfa1 100644
--- a/apps/web/src/components/(teams)/tables/team-members-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/team-members-data-table.tsx
@@ -2,6 +2,8 @@
import { useSearchParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Edit, MoreHorizontal, Trash2 } from 'lucide-react';
import { useUpdateSearchParams } from '@documenso/lib/client-only/hooks/use-update-search-params';
@@ -42,6 +44,8 @@ export const TeamMembersDataTable = ({
teamId,
teamName,
}: TeamMembersDataTableProps) => {
+ const { _ } = useLingui();
+
const searchParams = useSearchParams();
const updateSearchParams = useUpdateSearchParams();
@@ -79,7 +83,7 @@ export const TeamMembersDataTable = ({
<DataTable
columns={[
{
- header: 'Team Member',
+ header: _(msg`Team Member`),
cell: ({ row }) => {
const avatarFallbackText = row.original.user.name
? extractInitials(row.original.user.name)
@@ -98,20 +102,20 @@ export const TeamMembersDataTable = ({
},
},
{
- header: 'Role',
+ header: _(msg`Role`),
accessorKey: 'role',
cell: ({ row }) =>
teamOwnerUserId === row.original.userId
? 'Owner'
- : TEAM_MEMBER_ROLE_MAP[row.original.role],
+ : _(TEAM_MEMBER_ROLE_MAP[row.original.role]),
},
{
- header: 'Member Since',
+ header: _(msg`Member Since`),
accessorKey: 'createdAt',
cell: ({ row }) => <LocaleDate date={row.original.createdAt} />,
},
{
- header: 'Actions',
+ header: _(msg`Actions`),
cell: ({ row }) => (
<DropdownMenu>
<DropdownMenuTrigger>
@@ -119,7 +123,9 @@ export const TeamMembersDataTable = ({
</DropdownMenuTrigger>
<DropdownMenuContent className="w-52" align="start" forceMount>
- <DropdownMenuLabel>Actions</DropdownMenuLabel>
+ <DropdownMenuLabel>
+ <Trans>Actions</Trans>
+ </DropdownMenuLabel>
<UpdateTeamMemberDialog
currentUserTeamRole={currentUserTeamRole}
@@ -137,7 +143,7 @@ export const TeamMembersDataTable = ({
title="Update team member role"
>
<Edit className="mr-2 h-4 w-4" />
- Update role
+ <Trans>Update role</Trans>
</DropdownMenuItem>
}
/>
@@ -155,10 +161,10 @@ export const TeamMembersDataTable = ({
teamOwnerUserId === row.original.userId ||
!isTeamRoleWithinUserHierarchy(currentUserTeamRole, row.original.role)
}
- title="Remove team member"
+ title={_(msg`Remove team member`)}
>
<Trash2 className="mr-2 h-4 w-4" />
- Remove
+ <Trans>Remove</Trans>
</DropdownMenuItem>
}
/>
diff --git a/apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx b/apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx
index 24d4089b2..496427f39 100644
--- a/apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx
@@ -5,6 +5,9 @@ import { useEffect, useState } from 'react';
import Link from 'next/link';
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { useDebouncedValue } from '@documenso/lib/client-only/hooks/use-debounced-value';
import type { TeamMemberRole } from '@documenso/prisma/client';
import { Input } from '@documenso/ui/primitives/input';
@@ -26,6 +29,8 @@ export const TeamsMemberPageDataTable = ({
teamName,
teamOwnerUserId,
}: TeamsMemberPageDataTableProps) => {
+ const { _ } = useLingui();
+
const searchParams = useSearchParams();
const router = useRouter();
const pathname = usePathname();
@@ -61,17 +66,21 @@ export const TeamsMemberPageDataTable = ({
<Input
defaultValue={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
- placeholder="Search"
+ placeholder={_(msg`Search`)}
/>
<Tabs value={currentTab} className="flex-shrink-0 overflow-x-auto">
<TabsList>
<TabsTrigger className="min-w-[60px]" value="members" asChild>
- <Link href={pathname ?? '/'}>Active</Link>
+ <Link href={pathname ?? '/'}>
+ <Trans>Active</Trans>
+ </Link>
</TabsTrigger>
<TabsTrigger className="min-w-[60px]" value="invites" asChild>
- <Link href={`${pathname}?tab=invites`}>Pending</Link>
+ <Link href={`${pathname}?tab=invites`}>
+ <Trans>Pending</Trans>
+ </Link>
</TabsTrigger>
</TabsList>
</Tabs>
diff --git a/apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx b/apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx
index 277421263..904c8bb3f 100644
--- a/apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx
+++ b/apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx
@@ -5,6 +5,9 @@ import { useEffect, useState } from 'react';
import Link from 'next/link';
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { useDebouncedValue } from '@documenso/lib/client-only/hooks/use-debounced-value';
import { trpc } from '@documenso/trpc/react';
import { Input } from '@documenso/ui/primitives/input';
@@ -14,6 +17,8 @@ import { CurrentUserTeamsDataTable } from './current-user-teams-data-table';
import { PendingUserTeamsDataTable } from './pending-user-teams-data-table';
export const UserSettingsTeamsPageDataTable = () => {
+ const { _ } = useLingui();
+
const searchParams = useSearchParams();
const router = useRouter();
const pathname = usePathname();
@@ -56,18 +61,20 @@ export const UserSettingsTeamsPageDataTable = () => {
<Input
defaultValue={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
- placeholder="Search"
+ placeholder={_(msg`Search`)}
/>
<Tabs value={currentTab} className="flex-shrink-0 overflow-x-auto">
<TabsList>
<TabsTrigger className="min-w-[60px]" value="active" asChild>
- <Link href={pathname ?? '/'}>Active</Link>
+ <Link href={pathname ?? '/'}>
+ <Trans>Active</Trans>
+ </Link>
</TabsTrigger>
<TabsTrigger className="min-w-[60px]" value="pending" asChild>
<Link href={`${pathname}?tab=pending`}>
- Pending
+ <Trans>Pending</Trans>
{data && data.count > 0 && (
<span className="ml-1 hidden opacity-50 md:inline-block">{data.count}</span>
)}
diff --git a/apps/web/src/components/(teams)/team-billing-portal-button.tsx b/apps/web/src/components/(teams)/team-billing-portal-button.tsx
index 808b9b9ba..f5984fb2c 100644
--- a/apps/web/src/components/(teams)/team-billing-portal-button.tsx
+++ b/apps/web/src/components/(teams)/team-billing-portal-button.tsx
@@ -1,5 +1,8 @@
'use client';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { trpc } from '@documenso/trpc/react';
import { Button } from '@documenso/ui/primitives/button';
import { useToast } from '@documenso/ui/primitives/use-toast';
@@ -10,6 +13,7 @@ export type TeamBillingPortalButtonProps = {
};
export const TeamBillingPortalButton = ({ buttonProps, teamId }: TeamBillingPortalButtonProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { mutateAsync: createBillingPortal, isLoading } =
@@ -22,9 +26,10 @@ export const TeamBillingPortalButton = ({ buttonProps, teamId }: TeamBillingPort
window.open(sessionUrl, '_blank');
} catch (err) {
toast({
- title: 'Something went wrong',
- description:
- 'We are unable to proceed to the billing portal at this time. Please try again, or contact support.',
+ title: _(msg`Something went wrong`),
+ description: _(
+ msg`We are unable to proceed to the billing portal at this time. Please try again, or contact support.`,
+ ),
variant: 'destructive',
duration: 10000,
});
@@ -33,7 +38,7 @@ export const TeamBillingPortalButton = ({ buttonProps, teamId }: TeamBillingPort
return (
<Button {...buttonProps} onClick={async () => handleCreatePortal()} loading={isLoading}>
- Manage subscription
+ <Trans>Manage subscription</Trans>
</Button>
);
};
diff --git a/apps/web/src/components/document/document-history-sheet.tsx b/apps/web/src/components/document/document-history-sheet.tsx
index 25fd798d5..08fcc1e13 100644
--- a/apps/web/src/components/document/document-history-sheet.tsx
+++ b/apps/web/src/components/document/document-history-sheet.tsx
@@ -2,6 +2,7 @@
import { useMemo, useState } from 'react';
+import { Trans } from '@lingui/macro';
import { ArrowRightIcon, Loader } from 'lucide-react';
import { match } from 'ts-pattern';
import { UAParser } from 'ua-parser-js';
@@ -97,12 +98,18 @@ export const DocumentHistorySheet = ({
className="flex w-full max-w-[500px] flex-col overflow-y-auto p-0"
>
<div className="text-foreground px-6 pt-6">
- <h1 className="text-lg font-medium">Document history</h1>
+ <h1 className="text-lg font-medium">
+ <Trans>Document history</Trans>
+ </h1>
<button
className="text-muted-foreground text-sm"
onClick={() => setIsUserDetailsVisible(!isUserDetailsVisible)}
>
- {isUserDetailsVisible ? 'Hide' : 'Show'} additional information
+ {isUserDetailsVisible ? (
+ <Trans>Hide additional information</Trans>
+ ) : (
+ <Trans>Show additional information</Trans>
+ )}
</button>
</div>
@@ -114,12 +121,14 @@ export const DocumentHistorySheet = ({
{isLoadingError && (
<div className="flex h-full flex-col items-center justify-center">
- <p className="text-foreground/80 text-sm">Unable to load document history</p>
+ <p className="text-foreground/80 text-sm">
+ <Trans>Unable to load document history</Trans>
+ </p>
<button
onClick={async () => refetch()}
className="text-foreground/70 hover:text-muted-foreground mt-2 text-sm"
>
- Click here to retry
+ <Trans>Click here to retry</Trans>
</button>
</div>
)}
diff --git a/apps/web/src/components/formatter/document-status.tsx b/apps/web/src/components/formatter/document-status.tsx
index f8a8ef98b..494a9b627 100644
--- a/apps/web/src/components/formatter/document-status.tsx
+++ b/apps/web/src/components/formatter/document-status.tsx
@@ -1,5 +1,8 @@
import type { HTMLAttributes } from 'react';
+import type { MessageDescriptor } from '@lingui/core';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { CheckCircle2, Clock, File } from 'lucide-react';
import type { LucideIcon } from 'lucide-react/dist/lucide-react';
@@ -8,34 +11,40 @@ import { SignatureIcon } from '@documenso/ui/icons/signature';
import { cn } from '@documenso/ui/lib/utils';
type FriendlyStatus = {
- label: string;
+ label: MessageDescriptor;
+ labelExtended: MessageDescriptor;
icon?: LucideIcon;
color: string;
};
export const FRIENDLY_STATUS_MAP: Record<ExtendedDocumentStatus, FriendlyStatus> = {
PENDING: {
- label: 'Pending',
+ label: msg`Pending`,
+ labelExtended: msg`Document pending`,
icon: Clock,
color: 'text-blue-600 dark:text-blue-300',
},
COMPLETED: {
- label: 'Completed',
+ label: msg`Completed`,
+ labelExtended: msg`Document completed`,
icon: CheckCircle2,
color: 'text-green-500 dark:text-green-300',
},
DRAFT: {
- label: 'Draft',
+ label: msg`Draft`,
+ labelExtended: msg`Document draft`,
icon: File,
color: 'text-yellow-500 dark:text-yellow-200',
},
INBOX: {
- label: 'Inbox',
+ label: msg`Inbox`,
+ labelExtended: msg`Document inbox`,
icon: SignatureIcon,
color: 'text-muted-foreground',
},
ALL: {
- label: 'All',
+ label: msg`All`,
+ labelExtended: msg`Document All`,
color: 'text-muted-foreground',
},
};
@@ -51,6 +60,8 @@ export const DocumentStatus = ({
inheritColor,
...props
}: DocumentStatusProps) => {
+ const { _ } = useLingui();
+
const { label, icon: Icon, color } = FRIENDLY_STATUS_MAP[status];
return (
@@ -62,7 +73,7 @@ export const DocumentStatus = ({
})}
/>
)}
- {label}
+ {_(label)}
</span>
);
};
diff --git a/apps/web/src/components/formatter/template-type.tsx b/apps/web/src/components/formatter/template-type.tsx
index f17728391..03a273470 100644
--- a/apps/web/src/components/formatter/template-type.tsx
+++ b/apps/web/src/components/formatter/template-type.tsx
@@ -1,5 +1,8 @@
import type { HTMLAttributes } from 'react';
+import type { MessageDescriptor } from '@lingui/core';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Globe2, Lock } from 'lucide-react';
import type { LucideIcon } from 'lucide-react/dist/lucide-react';
@@ -7,7 +10,7 @@ import type { TemplateType as TemplateTypePrisma } from '@documenso/prisma/clien
import { cn } from '@documenso/ui/lib/utils';
type TemplateTypeIcon = {
- label: string;
+ label: MessageDescriptor;
icon?: LucideIcon;
color: string;
};
@@ -16,12 +19,12 @@ type TemplateTypes = (typeof TemplateTypePrisma)[keyof typeof TemplateTypePrisma
const TEMPLATE_TYPES: Record<TemplateTypes, TemplateTypeIcon> = {
PRIVATE: {
- label: 'Private',
+ label: msg`Private`,
icon: Lock,
color: 'text-blue-600 dark:text-blue-300',
},
PUBLIC: {
- label: 'Public',
+ label: msg`Public`,
icon: Globe2,
color: 'text-green-500 dark:text-green-300',
},
@@ -33,6 +36,8 @@ export type TemplateTypeProps = HTMLAttributes<HTMLSpanElement> & {
};
export const TemplateType = ({ className, type, inheritColor, ...props }: TemplateTypeProps) => {
+ const { _ } = useLingui();
+
const { label, icon: Icon, color } = TEMPLATE_TYPES[type];
return (
@@ -44,7 +49,7 @@ export const TemplateType = ({ className, type, inheritColor, ...props }: Templa
})}
/>
)}
- {label}
+ {_(label)}
</span>
);
};
diff --git a/apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx b/apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx
index 5949d14bb..eef551aa9 100644
--- a/apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx
+++ b/apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx
@@ -5,6 +5,8 @@ import { useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { flushSync } from 'react-dom';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -40,6 +42,7 @@ export type TDisable2FAForm = z.infer<typeof ZDisable2FAForm>;
export const DisableAuthenticatorAppDialog = () => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const [isOpen, setIsOpen] = useState(false);
@@ -60,9 +63,10 @@ export const DisableAuthenticatorAppDialog = () => {
await disable2FA({ token });
toast({
- title: 'Two-factor authentication disabled',
- description:
- 'Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in.',
+ title: _(msg`Two-factor authentication disabled`),
+ description: _(
+ msg`Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in.`,
+ ),
});
flushSync(() => {
@@ -72,9 +76,10 @@ export const DisableAuthenticatorAppDialog = () => {
router.refresh();
} catch (_err) {
toast({
- title: 'Unable to disable two-factor authentication',
- description:
- 'We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again.',
+ title: _(msg`Unable to disable two-factor authentication`),
+ description: _(
+ msg`We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again.`,
+ ),
variant: 'destructive',
});
}
@@ -84,17 +89,21 @@ export const DisableAuthenticatorAppDialog = () => {
<Dialog open={isOpen} onOpenChange={setIsOpen}>
<DialogTrigger asChild={true}>
<Button className="flex-shrink-0" variant="destructive">
- Disable 2FA
+ <Trans>Disable 2FA</Trans>
</Button>
</DialogTrigger>
<DialogContent position="center">
<DialogHeader>
- <DialogTitle>Disable 2FA</DialogTitle>
+ <DialogTitle>
+ <Trans>Disable 2FA</Trans>
+ </DialogTitle>
<DialogDescription>
- Please provide a token from the authenticator, or a backup code. If you do not have a
- backup code available, please contact support.
+ <Trans>
+ Please provide a token from the authenticator, or a backup code. If you do not have a
+ backup code available, please contact support.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -125,12 +134,12 @@ export const DisableAuthenticatorAppDialog = () => {
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Cancel
+ <Trans>Cancel</Trans>
</Button>
</DialogClose>
<Button type="submit" variant="destructive" loading={isDisable2FASubmitting}>
- Disable 2FA
+ <Trans>Disable 2FA</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx b/apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx
index 96cbf6d1f..6be2c814e 100644
--- a/apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx
+++ b/apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx
@@ -5,6 +5,8 @@ import { useEffect, useState } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { renderSVG } from 'uqr';
import { z } from 'zod';
@@ -46,6 +48,7 @@ export type EnableAuthenticatorAppDialogProps = {
};
export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorAppDialogProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const router = useRouter();
@@ -62,9 +65,10 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
} = trpc.twoFactorAuthentication.setup.useMutation({
onError: () => {
toast({
- title: 'Unable to setup two-factor authentication',
- description:
- 'We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again.',
+ title: _(msg`Unable to setup two-factor authentication`),
+ description: _(
+ msg`We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again.`,
+ ),
variant: 'destructive',
});
},
@@ -87,15 +91,17 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
onSuccess?.();
toast({
- title: 'Two-factor authentication enabled',
- description:
- 'You will now be required to enter a code from your authenticator app when signing in.',
+ title: _(msg`Two-factor authentication enabled`),
+ description: _(
+ msg`You will now be required to enter a code from your authenticator app when signing in.`,
+ ),
});
} catch (_err) {
toast({
- title: 'Unable to setup two-factor authentication',
- description:
- 'We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again.',
+ title: _(msg`Unable to setup two-factor authentication`),
+ description: _(
+ msg`We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again.`,
+ ),
variant: 'destructive',
});
}
@@ -144,7 +150,7 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
void handleEnable2FA();
}}
>
- Enable 2FA
+ <Trans>Enable 2FA</Trans>
</Button>
</DialogTrigger>
@@ -154,9 +160,13 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
{recoveryCodes ? (
<div>
<DialogHeader>
- <DialogTitle>Backup codes</DialogTitle>
+ <DialogTitle>
+ <Trans>Backup codes</Trans>
+ </DialogTitle>
<DialogDescription>
- Your recovery codes are listed below. Please store them in a safe place.
+ <Trans>
+ Your recovery codes are listed below. Please store them in a safe place.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -166,20 +176,28 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
<DialogFooter className="mt-4">
<DialogClose asChild>
- <Button variant="secondary">Close</Button>
+ <Button variant="secondary">
+ <Trans>Close</Trans>
+ </Button>
</DialogClose>
- <Button onClick={downloadRecoveryCodes}>Download</Button>
+ <Button onClick={downloadRecoveryCodes}>
+ <Trans>Download</Trans>
+ </Button>
</DialogFooter>
</div>
) : (
<Form {...enable2FAForm}>
<form onSubmit={enable2FAForm.handleSubmit(onEnable2FAFormSubmit)}>
<DialogHeader>
- <DialogTitle>Enable Authenticator App</DialogTitle>
+ <DialogTitle>
+ <Trans>Enable Authenticator App</Trans>
+ </DialogTitle>
<DialogDescription>
- To enable two-factor authentication, scan the following QR code using your
- authenticator app.
+ <Trans>
+ To enable two-factor authentication, scan the following QR code using your
+ authenticator app.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -192,8 +210,10 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
/>
<p className="text-muted-foreground text-sm">
- If your authenticator app does not support QR codes, you can use the following
- code instead:
+ <Trans>
+ If your authenticator app does not support QR codes, you can use the
+ following code instead:
+ </Trans>
</p>
<p className="bg-muted/60 text-muted-foreground rounded-lg p-2 text-center font-mono tracking-widest">
@@ -201,8 +221,10 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
</p>
<p className="text-muted-foreground text-sm">
- Once you have scanned the QR code or entered the code manually, enter the code
- provided by your authenticator app below.
+ <Trans>
+ Once you have scanned the QR code or entered the code manually, enter the
+ code provided by your authenticator app below.
+ </Trans>
</p>
<FormField
@@ -210,7 +232,9 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
control={enable2FAForm.control}
render={({ field }) => (
<FormItem>
- <FormLabel className="text-muted-foreground">Token</FormLabel>
+ <FormLabel className="text-muted-foreground">
+ <Trans>Token</Trans>
+ </FormLabel>
<FormControl>
<PinInput {...field} value={field.value ?? ''} maxLength={6}>
{Array(6)
@@ -229,11 +253,13 @@ export const EnableAuthenticatorAppDialog = ({ onSuccess }: EnableAuthenticatorA
<DialogFooter>
<DialogClose asChild>
- <Button variant="secondary">Cancel</Button>
+ <Button variant="secondary">
+ <Trans>Cancel</Trans>
+ </Button>
</DialogClose>
<Button type="submit" loading={isEnabling2FA}>
- Enable 2FA
+ <Trans>Enable 2FA</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/forms/2fa/recovery-code-list.tsx b/apps/web/src/components/forms/2fa/recovery-code-list.tsx
index d2efb0b4b..2b72883f2 100644
--- a/apps/web/src/components/forms/2fa/recovery-code-list.tsx
+++ b/apps/web/src/components/forms/2fa/recovery-code-list.tsx
@@ -1,3 +1,5 @@
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Copy } from 'lucide-react';
import { useCopyToClipboard } from '@documenso/lib/client-only/hooks/use-copy-to-clipboard';
@@ -8,6 +10,7 @@ export type RecoveryCodeListProps = {
};
export const RecoveryCodeList = ({ recoveryCodes }: RecoveryCodeListProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [, copyToClipboard] = useCopyToClipboard();
@@ -20,14 +23,15 @@ export const RecoveryCodeList = ({ recoveryCodes }: RecoveryCodeListProps) => {
}
toast({
- title: 'Recovery code copied',
- description: 'Your recovery code has been copied to your clipboard.',
+ title: _(msg`Recovery code copied`),
+ description: _(msg`Your recovery code has been copied to your clipboard.`),
});
} catch (_err) {
toast({
- title: 'Unable to copy recovery code',
- description:
- 'We were unable to copy your recovery code to your clipboard. Please try again.',
+ title: _(msg`Unable to copy recovery code`),
+ description: _(
+ msg`We were unable to copy your recovery code to your clipboard. Please try again.`,
+ ),
variant: 'destructive',
});
}
diff --git a/apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx b/apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx
index 3c5c4e5ca..f1f1f3a4e 100644
--- a/apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx
+++ b/apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx
@@ -3,6 +3,7 @@
import { useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans } from '@lingui/macro';
import { useForm } from 'react-hook-form';
import { match } from 'ts-pattern';
import { z } from 'zod';
@@ -73,17 +74,23 @@ export const ViewRecoveryCodesDialog = () => {
return (
<Dialog open={isOpen} onOpenChange={setIsOpen}>
<DialogTrigger asChild>
- <Button className="flex-shrink-0">View Codes</Button>
+ <Button className="flex-shrink-0">
+ <Trans>View Codes</Trans>
+ </Button>
</DialogTrigger>
<DialogContent className="w-full max-w-xl md:max-w-xl lg:max-w-xl">
{recoveryCodes ? (
<div>
<DialogHeader className="mb-4">
- <DialogTitle>View Recovery Codes</DialogTitle>
+ <DialogTitle>
+ <Trans>View Recovery Codes</Trans>
+ </DialogTitle>
<DialogDescription>
- Your recovery codes are listed below. Please store them in a safe place.
+ <Trans>
+ Your recovery codes are listed below. Please store them in a safe place.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -91,20 +98,26 @@ export const ViewRecoveryCodesDialog = () => {
<DialogFooter className="mt-4">
<DialogClose asChild>
- <Button variant="secondary">Close</Button>
+ <Button variant="secondary">
+ <Trans>Close</Trans>
+ </Button>
</DialogClose>
- <Button onClick={downloadRecoveryCodes}>Download</Button>
+ <Button onClick={downloadRecoveryCodes}>
+ <Trans>Download</Trans>
+ </Button>
</DialogFooter>
</div>
) : (
<Form {...viewRecoveryCodesForm}>
<form onSubmit={viewRecoveryCodesForm.handleSubmit((value) => mutate(value))}>
<DialogHeader className="mb-4">
- <DialogTitle>View Recovery Codes</DialogTitle>
+ <DialogTitle>
+ <Trans>View Recovery Codes</Trans>
+ </DialogTitle>
<DialogDescription>
- Please provide a token from your authenticator, or a backup code.
+ <Trans>Please provide a token from your authenticator, or a backup code.</Trans>
</DialogDescription>
</DialogHeader>
@@ -134,13 +147,12 @@ export const ViewRecoveryCodesDialog = () => {
<Alert variant="destructive">
<AlertDescription>
{match(AppError.parseError(error).message)
- .with(
- ErrorCode.INCORRECT_TWO_FACTOR_CODE,
- () => 'Invalid code. Please try again.',
- )
- .otherwise(
- () => 'Something went wrong. Please try again or contact support.',
- )}
+ .with(ErrorCode.INCORRECT_TWO_FACTOR_CODE, () => (
+ <Trans>Invalid code. Please try again.</Trans>
+ ))
+ .otherwise(() => (
+ <Trans>Something went wrong. Please try again or contact support.</Trans>
+ ))}
</AlertDescription>
</Alert>
)}
@@ -148,12 +160,12 @@ export const ViewRecoveryCodesDialog = () => {
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Cancel
+ <Trans>Cancel</Trans>
</Button>
</DialogClose>
<Button type="submit" loading={isLoading}>
- View
+ <Trans>View</Trans>
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/forms/avatar-image.tsx b/apps/web/src/components/forms/avatar-image.tsx
index 20917d204..e253a0feb 100644
--- a/apps/web/src/components/forms/avatar-image.tsx
+++ b/apps/web/src/components/forms/avatar-image.tsx
@@ -5,6 +5,8 @@ import { useMemo } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ErrorCode, useDropzone } from 'react-dropzone';
import { useForm } from 'react-hook-form';
import { match } from 'ts-pattern';
@@ -42,7 +44,9 @@ export type AvatarImageFormProps = {
};
export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const router = useRouter();
const { mutateAsync: setProfileImage } = trpc.profile.setProfileImage.useMutation();
@@ -84,10 +88,10 @@ export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps)
form.setError('bytes', {
type: 'onChange',
message: match(file.errors[0].code)
- .with(ErrorCode.FileTooLarge, () => 'Uploaded file is too large')
- .with(ErrorCode.FileTooSmall, () => 'Uploaded file is too small')
- .with(ErrorCode.FileInvalidType, () => 'Uploaded file not an allowed file type')
- .otherwise(() => 'An unknown error occurred'),
+ .with(ErrorCode.FileTooLarge, () => _(msg`Uploaded file is too large`))
+ .with(ErrorCode.FileTooSmall, () => _(msg`Uploaded file is too small`))
+ .with(ErrorCode.FileInvalidType, () => _(msg`Uploaded file not an allowed file type`))
+ .otherwise(() => _(msg`An unknown error occurred`)),
});
},
});
@@ -100,8 +104,8 @@ export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps)
});
toast({
- title: 'Avatar Updated',
- description: 'Your avatar has been updated successfully.',
+ title: _(msg`Avatar Updated`),
+ description: _(msg`Your avatar has been updated successfully.`),
duration: 5000,
});
@@ -109,16 +113,17 @@ export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps)
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to update the avatar. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update the avatar. Please try again later.',
});
}
}
@@ -136,7 +141,9 @@ export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps)
name="bytes"
render={() => (
<FormItem>
- <FormLabel>Avatar</FormLabel>
+ <FormLabel>
+ <Trans>Avatar</Trans>
+ </FormLabel>
<FormControl>
<div className="flex items-center gap-8">
@@ -159,7 +166,7 @@ export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps)
disabled={form.formState.isSubmitting}
onClick={() => void onFormSubmit({ bytes: null })}
>
- Remove
+ <Trans>Remove</Trans>
</button>
)}
</div>
@@ -172,7 +179,7 @@ export const AvatarImageForm = ({ className, user, team }: AvatarImageFormProps)
loading={form.formState.isSubmitting}
disabled={form.formState.isSubmitting}
>
- Upload Avatar
+ <Trans>Upload Avatar</Trans>
<input {...getInputProps()} />
</Button>
</div>
diff --git a/apps/web/src/components/forms/forgot-password.tsx b/apps/web/src/components/forms/forgot-password.tsx
index 3d9efee42..446e12727 100644
--- a/apps/web/src/components/forms/forgot-password.tsx
+++ b/apps/web/src/components/forms/forgot-password.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -31,9 +33,11 @@ export type ForgotPasswordFormProps = {
};
export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
- const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
+ const router = useRouter();
+
const form = useForm<TForgotPasswordFormSchema>({
values: {
email: '',
@@ -49,9 +53,10 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
await forgotPassword({ email }).catch(() => null);
toast({
- title: 'Reset email sent',
- description:
- 'A password reset email has been sent, if you have an account you should see it in your inbox shortly.',
+ title: _(msg`Reset email sent`),
+ description: _(
+ msg`A password reset email has been sent, if you have an account you should see it in your inbox shortly.`,
+ ),
duration: 5000,
});
@@ -72,7 +77,9 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel>Email</FormLabel>
+ <FormLabel>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input type="email" {...field} />
</FormControl>
@@ -83,7 +90,7 @@ export const ForgotPasswordForm = ({ className }: ForgotPasswordFormProps) => {
</fieldset>
<Button size="lg" loading={isSubmitting}>
- {isSubmitting ? 'Sending Reset Email...' : 'Reset Password'}
+ {isSubmitting ? <Trans>Sending Reset Email...</Trans> : <Trans>Reset Password</Trans>}
</Button>
</form>
</Form>
diff --git a/apps/web/src/components/forms/password.tsx b/apps/web/src/components/forms/password.tsx
index 03f95ff7f..3ff3e18df 100644
--- a/apps/web/src/components/forms/password.tsx
+++ b/apps/web/src/components/forms/password.tsx
@@ -1,6 +1,8 @@
'use client';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -40,6 +42,7 @@ export type PasswordFormProps = {
};
export const PasswordForm = ({ className }: PasswordFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TPasswordFormSchema>({
@@ -65,23 +68,24 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
form.reset();
toast({
- title: 'Password updated',
- description: 'Your password has been updated successfully.',
+ title: _(msg`Password updated`),
+ description: _(msg`Your password has been updated successfully.`),
duration: 5000,
});
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to update your password. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update your password. Please try again later.',
});
}
}
@@ -99,7 +103,9 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
name="currentPassword"
render={({ field }) => (
<FormItem>
- <FormLabel>Current Password</FormLabel>
+ <FormLabel>
+ <Trans>Current Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput autoComplete="current-password" {...field} />
</FormControl>
@@ -113,7 +119,9 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
name="password"
render={({ field }) => (
<FormItem>
- <FormLabel>Password</FormLabel>
+ <FormLabel>
+ <Trans>Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput autoComplete="new-password" {...field} />
</FormControl>
@@ -127,7 +135,9 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
name="repeatedPassword"
render={({ field }) => (
<FormItem>
- <FormLabel>Repeat Password</FormLabel>
+ <FormLabel>
+ <Trans>Repeat Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput autoComplete="new-password" {...field} />
</FormControl>
@@ -139,7 +149,7 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
<div className="ml-auto mt-4">
<Button type="submit" loading={isSubmitting}>
- {isSubmitting ? 'Updating password...' : 'Update password'}
+ {isSubmitting ? <Trans>Updating password...</Trans> : <Trans>Update password</Trans>}
</Button>
</div>
</form>
diff --git a/apps/web/src/components/forms/profile.tsx b/apps/web/src/components/forms/profile.tsx
index 42d69047f..4d4f23b74 100644
--- a/apps/web/src/components/forms/profile.tsx
+++ b/apps/web/src/components/forms/profile.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -44,6 +46,7 @@ export type ProfileFormProps = {
export const ProfileForm = ({ className, user }: ProfileFormProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TProfileFormSchema>({
@@ -66,8 +69,8 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
});
toast({
- title: 'Profile updated',
- description: 'Your profile has been updated successfully.',
+ title: _(msg`Profile updated`),
+ description: _(msg`Your profile has been updated successfully.`),
duration: 5000,
});
@@ -75,16 +78,17 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you In. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to sign you In. Please try again later.',
});
}
}
@@ -102,7 +106,9 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel>Full Name</FormLabel>
+ <FormLabel>
+ <Trans>Full Name</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" {...field} />
</FormControl>
@@ -113,7 +119,7 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
<div>
<Label htmlFor="email" className="text-muted-foreground">
- Email
+ <Trans>Email</Trans>
</Label>
<Input id="email" type="email" className="bg-muted mt-2" value={user.email} disabled />
</div>
@@ -122,7 +128,9 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
name="signature"
render={({ field: { onChange } }) => (
<FormItem>
- <FormLabel>Signature</FormLabel>
+ <FormLabel>
+ <Trans>Signature</Trans>
+ </FormLabel>
<FormControl>
<SignaturePad
className="h-44 w-full"
@@ -139,7 +147,7 @@ export const ProfileForm = ({ className, user }: ProfileFormProps) => {
</fieldset>
<Button type="submit" loading={isSubmitting} className="self-end">
- {isSubmitting ? 'Updating profile...' : 'Update profile'}
+ {isSubmitting ? <Trans>Updating profile...</Trans> : <Trans>Update profile</Trans>}
</Button>
</form>
</Form>
diff --git a/apps/web/src/components/forms/public-profile-claim-dialog.tsx b/apps/web/src/components/forms/public-profile-claim-dialog.tsx
index e3b03a44c..a637c7606 100644
--- a/apps/web/src/components/forms/public-profile-claim-dialog.tsx
+++ b/apps/web/src/components/forms/public-profile-claim-dialog.tsx
@@ -5,6 +5,8 @@ import React, { useState } from 'react';
import Image from 'next/image';
import { zodResolver } from '@hookform/resolvers/zod';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -61,6 +63,7 @@ export const ClaimPublicProfileDialogForm = ({
onClaimed,
user,
}: ClaimPublicProfileDialogFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [claimed, setClaimed] = useState(false);
@@ -92,7 +95,7 @@ export const ClaimPublicProfileDialogForm = ({
if (error.code === AppErrorCode.PROFILE_URL_TAKEN) {
form.setError('url', {
type: 'manual',
- message: 'This username is already taken',
+ message: _(msg`This username is already taken`),
});
} else if (error.code === AppErrorCode.PREMIUM_PROFILE_URL) {
form.setError('url', {
@@ -107,10 +110,11 @@ export const ClaimPublicProfileDialogForm = ({
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to save your details. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to save your details. Please try again later.',
});
}
}
diff --git a/apps/web/src/components/forms/public-profile-form.tsx b/apps/web/src/components/forms/public-profile-form.tsx
index 3607d7fe1..acdb0d350 100644
--- a/apps/web/src/components/forms/public-profile-form.tsx
+++ b/apps/web/src/components/forms/public-profile-form.tsx
@@ -3,6 +3,8 @@
import { useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Plural, Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { motion } from 'framer-motion';
import { AnimatePresence } from 'framer-motion';
import { CheckSquareIcon, CopyIcon } from 'lucide-react';
@@ -53,6 +55,7 @@ export const PublicProfileForm = ({
teamUrl,
onProfileUpdate,
}: PublicProfileFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [, copy] = useCopyToClipboard();
@@ -74,8 +77,8 @@ export const PublicProfileForm = ({
await onProfileUpdate(data);
toast({
- title: 'Success',
- description: 'Your public profile has been updated.',
+ title: _(msg`Success`),
+ description: _(msg`Your public profile has been updated.`),
duration: 5000,
});
@@ -98,10 +101,11 @@ export const PublicProfileForm = ({
default:
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to update your public profile. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update your public profile. Please try again later.',
});
}
}
@@ -110,8 +114,8 @@ export const PublicProfileForm = ({
const onCopy = async () => {
await copy(formatUserProfilePath(form.getValues('url') ?? '')).then(() => {
toast({
- title: 'Copied to clipboard',
- description: 'The profile link has been copied to your clipboard',
+ title: _(msg`Copied to clipboard`),
+ description: _(msg`The profile link has been copied to your clipboard`),
});
});
@@ -138,15 +142,19 @@ export const PublicProfileForm = ({
name="url"
render={({ field }) => (
<FormItem>
- <FormLabel>Public profile URL</FormLabel>
+ <FormLabel>
+ <Trans>Public profile URL</Trans>
+ </FormLabel>
<FormControl>
<Input {...field} disabled={field.disabled || teamUrl !== undefined} />
</FormControl>
{teamUrl && (
<p className="text-muted-foreground text-xs">
- You can update the profile URL by updating the team URL in the general settings
- page.
+ <Trans>
+ You can update the profile URL by updating the team URL in the general
+ settings page.
+ </Trans>
</p>
)}
@@ -186,7 +194,9 @@ export const PublicProfileForm = ({
</Button>
</div>
) : (
- <p>A unique URL to access your profile</p>
+ <p>
+ <Trans>A unique URL to access your profile</Trans>
+ </p>
)}
</div>
)}
@@ -202,7 +212,6 @@ export const PublicProfileForm = ({
name="bio"
render={({ field }) => {
const remaningLength = MAX_PROFILE_BIO_LENGTH - (field.value || '').length;
- const pluralWord = Math.abs(remaningLength) === 1 ? 'character' : 'characters';
return (
<FormItem>
@@ -210,15 +219,27 @@ export const PublicProfileForm = ({
<FormControl>
<Textarea
{...field}
- placeholder={teamUrl ? 'Write about the team' : 'Write about yourself'}
+ placeholder={
+ teamUrl ? _(msg`Write about the team`) : _(msg`Write about yourself`)
+ }
/>
</FormControl>
{!form.formState.errors.bio && (
<p className="text-muted-foreground text-sm">
- {remaningLength >= 0
- ? `${remaningLength} ${pluralWord} remaining`
- : `${Math.abs(remaningLength)} ${pluralWord} over the limit`}
+ {remaningLength >= 0 ? (
+ <Plural
+ value={remaningLength}
+ one={<Trans># character remaining</Trans>}
+ other={<Trans># characters remaining</Trans>}
+ />
+ ) : (
+ <Plural
+ value={Math.abs(remaningLength)}
+ one={<Trans># character over the limit</Trans>}
+ other={<Trans># characters over the limit</Trans>}
+ />
+ )}
</p>
)}
@@ -243,7 +264,7 @@ export const PublicProfileForm = ({
}}
>
<Button type="button" variant="secondary" onClick={() => form.reset()}>
- Reset
+ <Trans>Reset</Trans>
</Button>
</motion.div>
)}
@@ -255,7 +276,7 @@ export const PublicProfileForm = ({
disabled={!form.formState.isDirty}
loading={form.formState.isSubmitting}
>
- Update
+ <Trans>Update</Trans>
</Button>
</div>
</fieldset>
diff --git a/apps/web/src/components/forms/reset-password.tsx b/apps/web/src/components/forms/reset-password.tsx
index 03608a27d..9fb2002d8 100644
--- a/apps/web/src/components/forms/reset-password.tsx
+++ b/apps/web/src/components/forms/reset-password.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -42,6 +44,7 @@ export type ResetPasswordFormProps = {
export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps) => {
const router = useRouter();
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TResetPasswordFormSchema>({
@@ -66,8 +69,8 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps)
form.reset();
toast({
- title: 'Password updated',
- description: 'Your password has been updated successfully.',
+ title: _(msg`Password updated`),
+ description: _(msg`Your password has been updated successfully.`),
duration: 5000,
});
@@ -75,16 +78,17 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps)
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to reset your password. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to reset your password. Please try again later.',
});
}
}
@@ -102,7 +106,9 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps)
name="password"
render={({ field }) => (
<FormItem>
- <FormLabel>Password</FormLabel>
+ <FormLabel>
+ <Trans>Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput {...field} />
</FormControl>
@@ -116,7 +122,9 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps)
name="repeatedPassword"
render={({ field }) => (
<FormItem>
- <FormLabel>Repeat Password</FormLabel>
+ <FormLabel>
+ <Trans>Repeat Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput {...field} />
</FormControl>
@@ -127,7 +135,7 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps)
</fieldset>
<Button type="submit" size="lg" loading={isSubmitting}>
- {isSubmitting ? 'Resetting Password...' : 'Reset Password'}
+ {isSubmitting ? <Trans>Resetting Password...</Trans> : <Trans>Reset Password</Trans>}
</Button>
</form>
</Form>
diff --git a/apps/web/src/components/forms/send-confirmation-email.tsx b/apps/web/src/components/forms/send-confirmation-email.tsx
index 33247bf9f..a11ee2068 100644
--- a/apps/web/src/components/forms/send-confirmation-email.tsx
+++ b/apps/web/src/components/forms/send-confirmation-email.tsx
@@ -1,6 +1,8 @@
'use client';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -29,6 +31,7 @@ export type SendConfirmationEmailFormProps = {
};
export const SendConfirmationEmailForm = ({ className }: SendConfirmationEmailFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const form = useForm<TSendConfirmationEmailFormSchema>({
@@ -47,18 +50,18 @@ export const SendConfirmationEmailForm = ({ className }: SendConfirmationEmailFo
await sendConfirmationEmail({ email });
toast({
- title: 'Confirmation email sent',
- description:
- 'A confirmation email has been sent, and it should arrive in your inbox shortly.',
+ title: _(msg`Confirmation email sent`),
+ description: _(
+ msg`A confirmation email has been sent, and it should arrive in your inbox shortly.`,
+ ),
duration: 5000,
});
form.reset();
} catch (err) {
toast({
- title: 'An error occurred while sending your confirmation email',
- description: 'Please try again and make sure you enter the correct email address.',
- variant: 'destructive',
+ title: _(msg`An error occurred while sending your confirmation email`),
+ description: _(msg`Please try again and make sure you enter the correct email address.`),
});
}
};
@@ -75,7 +78,9 @@ export const SendConfirmationEmailForm = ({ className }: SendConfirmationEmailFo
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel>Email address</FormLabel>
+ <FormLabel>
+ <Trans>Email address</Trans>
+ </FormLabel>
<FormControl>
<Input type="email" {...field} />
</FormControl>
@@ -86,7 +91,7 @@ export const SendConfirmationEmailForm = ({ className }: SendConfirmationEmailFo
<FormMessage />
<Button size="lg" type="submit" disabled={isSubmitting} loading={isSubmitting}>
- Send confirmation email
+ <Trans>Send confirmation email</Trans>
</Button>
</fieldset>
</form>
diff --git a/apps/web/src/components/forms/signin.tsx b/apps/web/src/components/forms/signin.tsx
index 8edccfc45..48b2c13c1 100644
--- a/apps/web/src/components/forms/signin.tsx
+++ b/apps/web/src/components/forms/signin.tsx
@@ -6,6 +6,8 @@ import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { browserSupportsWebAuthn, startAuthentication } from '@simplewebauthn/browser';
import { KeyRoundIcon } from 'lucide-react';
import { signIn } from 'next-auth/react';
@@ -81,6 +83,7 @@ export const SignInForm = ({
isOIDCSSOEnabled,
oidcProviderLabel,
}: SignInFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { getFlag } = useFeatureFlags();
@@ -136,8 +139,8 @@ export const SignInForm = ({
const onSignInWithPasskey = async () => {
if (!browserSupportsWebAuthn()) {
toast({
- title: 'Not supported',
- description: 'Passkeys are not supported on this browser',
+ title: _(msg`Not supported`),
+ description: _(msg`Passkeys are not supported on this browser`),
duration: 10000,
variant: 'destructive',
});
@@ -176,14 +179,14 @@ export const SignInForm = ({
.with(
AppErrorCode.NOT_SETUP,
() =>
- 'This passkey is not configured for this application. Please login and add one in the user settings.',
+ msg`This passkey is not configured for this application. Please login and add one in the user settings.`,
)
- .with(AppErrorCode.EXPIRED_CODE, () => 'This session has expired. Please try again.')
- .otherwise(() => 'Please try again later or login using your normal details');
+ .with(AppErrorCode.EXPIRED_CODE, () => msg`This session has expired. Please try again.`)
+ .otherwise(() => msg`Please try again later or login using your normal details`);
toast({
title: 'Something went wrong',
- description: errorMessage,
+ description: _(errorMessage),
duration: 10000,
variant: 'destructive',
});
@@ -223,17 +226,17 @@ export const SignInForm = ({
router.push(`/unverified-account`);
toast({
- title: 'Unable to sign in',
- description: errorMessage ?? 'An unknown error occurred',
+ title: _(msg`Unable to sign in`),
+ description: errorMessage ?? _(msg`An unknown error occurred`),
});
return;
}
toast({
+ title: _(msg`Unable to sign in`),
+ description: errorMessage ?? _(msg`An unknown error occurred`),
variant: 'destructive',
- title: 'Unable to sign in',
- description: errorMessage ?? 'An unknown error occurred',
});
return;
@@ -246,9 +249,10 @@ export const SignInForm = ({
window.location.href = result.url;
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you In. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you In. Please try again later.`,
+ ),
});
}
};
@@ -258,9 +262,10 @@ export const SignInForm = ({
await signIn('google', { callbackUrl: LOGIN_REDIRECT_PATH });
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you In. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you In. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -271,9 +276,10 @@ export const SignInForm = ({
await signIn('oidc', { callbackUrl: LOGIN_REDIRECT_PATH });
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you In. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you In. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -294,7 +300,9 @@ export const SignInForm = ({
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel>Email</FormLabel>
+ <FormLabel>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input type="email" {...field} />
@@ -310,7 +318,9 @@ export const SignInForm = ({
name="password"
render={({ field }) => (
<FormItem>
- <FormLabel>Password</FormLabel>
+ <FormLabel>
+ <Trans>Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput {...field} />
@@ -323,7 +333,7 @@ export const SignInForm = ({
href="/forgot-password"
className="text-muted-foreground text-sm duration-200 hover:opacity-70"
>
- Forgot your password?
+ <Trans>Forgot your password?</Trans>
</Link>
</p>
</FormItem>
@@ -336,13 +346,15 @@ export const SignInForm = ({
loading={isSubmitting}
className="dark:bg-documenso dark:hover:opacity-90"
>
- {isSubmitting ? 'Signing in...' : 'Sign In'}
+ {isSubmitting ? <Trans>Signing in...</Trans> : <Trans>Sign In</Trans>}
</Button>
{(isGoogleSSOEnabled || isPasskeyEnabled || isOIDCSSOEnabled) && (
<div className="relative flex items-center justify-center gap-x-4 py-2 text-xs uppercase">
<div className="bg-border h-px flex-1" />
- <span className="text-muted-foreground bg-transparent">Or continue with</span>
+ <span className="text-muted-foreground bg-transparent">
+ <Trans>Or continue with</Trans>
+ </span>
<div className="bg-border h-px flex-1" />
</div>
)}
@@ -386,7 +398,7 @@ export const SignInForm = ({
onClick={onSignInWithPasskey}
>
{!isPasskeyLoading && <KeyRoundIcon className="-ml-1 mr-1 h-5 w-5" />}
- Passkey
+ <Trans>Passkey</Trans>
</Button>
)}
</fieldset>
@@ -398,7 +410,9 @@ export const SignInForm = ({
>
<DialogContent>
<DialogHeader>
- <DialogTitle>Two-Factor Authentication</DialogTitle>
+ <DialogTitle>
+ <Trans>Two-Factor Authentication</Trans>
+ </DialogTitle>
</DialogHeader>
<form onSubmit={form.handleSubmit(onFormSubmit)}>
@@ -433,7 +447,9 @@ export const SignInForm = ({
name="backupCode"
render={({ field }) => (
<FormItem>
- <FormLabel> Backup Code</FormLabel>
+ <FormLabel>
+ <Trans>Backup Code</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" {...field} />
</FormControl>
@@ -449,13 +465,15 @@ export const SignInForm = ({
variant="secondary"
onClick={onToggleTwoFactorAuthenticationMethodClick}
>
- {twoFactorAuthenticationMethod === 'totp'
- ? 'Use Backup Code'
- : 'Use Authenticator'}
+ {twoFactorAuthenticationMethod === 'totp' ? (
+ <Trans>Use Backup Code</Trans>
+ ) : (
+ <Trans>Use Authenticator</Trans>
+ )}
</Button>
<Button type="submit" loading={isSubmitting}>
- {isSubmitting ? 'Signing in...' : 'Sign In'}
+ {isSubmitting ? <Trans>Signing in...</Trans> : <Trans>Sign In</Trans>}
</Button>
</DialogFooter>
</fieldset>
diff --git a/apps/web/src/components/forms/signup.tsx b/apps/web/src/components/forms/signup.tsx
index b5a9ffa5b..df7d24e85 100644
--- a/apps/web/src/components/forms/signup.tsx
+++ b/apps/web/src/components/forms/signup.tsx
@@ -3,6 +3,8 @@
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { signIn } from 'next-auth/react';
import { useForm } from 'react-hook-form';
import { FcGoogle } from 'react-icons/fc';
@@ -61,7 +63,9 @@ export const SignUpForm = ({
isGoogleSSOEnabled,
isOIDCSSOEnabled,
}: SignUpFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const analytics = useAnalytics();
const router = useRouter();
@@ -86,9 +90,10 @@ export const SignUpForm = ({
router.push(`/unverified-account`);
toast({
- title: 'Registration Successful',
- description:
- 'You have successfully registered. Please verify your account by clicking on the link you received in the email.',
+ title: _(msg`Registration Successful`),
+ description: _(
+ msg`You have successfully registered. Please verify your account by clicking on the link you received in the email.`,
+ ),
duration: 5000,
});
@@ -99,15 +104,16 @@ export const SignUpForm = ({
} catch (err) {
if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -119,9 +125,10 @@ export const SignUpForm = ({
await signIn('google', { callbackUrl: SIGN_UP_REDIRECT_PATH });
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you Up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you Up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -132,9 +139,10 @@ export const SignUpForm = ({
await signIn('oidc', { callbackUrl: SIGN_UP_REDIRECT_PATH });
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you Up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you Up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -152,7 +160,9 @@ export const SignUpForm = ({
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel>Name</FormLabel>
+ <FormLabel>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" {...field} />
</FormControl>
@@ -166,7 +176,9 @@ export const SignUpForm = ({
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel>Email</FormLabel>
+ <FormLabel>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input type="email" {...field} />
</FormControl>
@@ -180,7 +192,9 @@ export const SignUpForm = ({
name="password"
render={({ field }) => (
<FormItem>
- <FormLabel>Password</FormLabel>
+ <FormLabel>
+ <Trans>Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput {...field} />
</FormControl>
@@ -194,7 +208,9 @@ export const SignUpForm = ({
name="signature"
render={({ field: { onChange } }) => (
<FormItem>
- <FormLabel>Sign Here</FormLabel>
+ <FormLabel>
+ <Trans>Sign Here</Trans>
+ </FormLabel>
<FormControl>
<SignaturePad
className="h-36 w-full"
@@ -216,14 +232,16 @@ export const SignUpForm = ({
loading={isSubmitting}
className="dark:bg-documenso dark:hover:opacity-90"
>
- {isSubmitting ? 'Signing up...' : 'Sign Up'}
+ {isSubmitting ? <Trans>Signing up...</Trans> : <Trans>Sign Up</Trans>}
</Button>
{isGoogleSSOEnabled && (
<>
<div className="relative flex items-center justify-center gap-x-4 py-2 text-xs uppercase">
<div className="bg-border h-px flex-1" />
- <span className="text-muted-foreground bg-transparent">Or</span>
+ <span className="text-muted-foreground bg-transparent">
+ <Trans>Or</Trans>
+ </span>
<div className="bg-border h-px flex-1" />
</div>
@@ -236,7 +254,7 @@ export const SignUpForm = ({
onClick={onSignUpWithGoogleClick}
>
<FcGoogle className="mr-2 h-5 w-5" />
- Sign Up with Google
+ <Trans>Sign Up with Google</Trans>
</Button>
</>
)}
@@ -245,7 +263,9 @@ export const SignUpForm = ({
<>
<div className="relative flex items-center justify-center gap-x-4 py-2 text-xs uppercase">
<div className="bg-border h-px flex-1" />
- <span className="text-muted-foreground bg-transparent">Or</span>
+ <span className="text-muted-foreground bg-transparent">
+ <Trans>Or</Trans>
+ </span>
<div className="bg-border h-px flex-1" />
</div>
@@ -258,7 +278,7 @@ export const SignUpForm = ({
onClick={onSignUpWithOIDCClick}
>
<FcGoogle className="mr-2 h-5 w-5" />
- Sign Up with OIDC
+ <Trans>Sign Up with OIDC</Trans>
</Button>
</>
)}
diff --git a/apps/web/src/components/forms/token.tsx b/apps/web/src/components/forms/token.tsx
index 40a6c9199..b042bd937 100644
--- a/apps/web/src/components/forms/token.tsx
+++ b/apps/web/src/components/forms/token.tsx
@@ -5,6 +5,8 @@ import { useState, useTransition } from 'react';
import { useRouter } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence, motion } from 'framer-motion';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -62,6 +64,8 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
const [isTransitionPending, startTransition] = useTransition();
const [, copy] = useCopyToClipboard();
+
+ const { _ } = useLingui();
const { toast } = useToast();
const [newlyCreatedToken, setNewlyCreatedToken] = useState<NewlyCreatedToken | null>();
@@ -98,13 +102,13 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
}
toast({
- title: 'Token copied to clipboard',
- description: 'The token was copied to your clipboard.',
+ title: _(msg`Token copied to clipboard`),
+ description: _(msg`The token was copied to your clipboard.`),
});
} catch (error) {
toast({
- title: 'Unable to copy token',
- description: 'We were unable to copy the token to your clipboard. Please try again.',
+ title: _(msg`Unable to copy token`),
+ description: _(msg`We were unable to copy the token to your clipboard. Please try again.`),
variant: 'destructive',
});
}
@@ -119,8 +123,8 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
});
toast({
- title: 'Token created',
- description: 'A new token was created successfully.',
+ title: _(msg`Token created`),
+ description: _(msg`A new token was created successfully.`),
duration: 5000,
});
@@ -130,17 +134,18 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
} catch (error) {
if (error instanceof TRPCClientError && error.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: error.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting create the new token. Please try again later.`,
+ ),
variant: 'destructive',
duration: 5000,
- description:
- 'We encountered an unknown error while attempting create the new token. Please try again later.',
});
}
}
@@ -156,7 +161,9 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
name="tokenName"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel className="text-muted-foreground">Token name</FormLabel>
+ <FormLabel className="text-muted-foreground">
+ <Trans>Token name</Trans>
+ </FormLabel>
<div className="flex items-center gap-x-4">
<FormControl className="flex-1">
@@ -165,8 +172,10 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
</div>
<FormDescription className="text-xs italic">
- Please enter a meaningful name for your token. This will help you identify it
- later.
+ <Trans>
+ Please enter a meaningful name for your token. This will help you identify it
+ later.
+ </Trans>
</FormDescription>
<FormMessage />
@@ -180,13 +189,15 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
name="expirationDate"
render={({ field }) => (
<FormItem className="flex-1">
- <FormLabel className="text-muted-foreground">Token expiration date</FormLabel>
+ <FormLabel className="text-muted-foreground">
+ <Trans>Token expiration date</Trans>
+ </FormLabel>
<div className="flex items-center gap-x-4">
<FormControl className="flex-1">
<Select onValueChange={field.onChange} disabled={noExpirationDate}>
<SelectTrigger className="w-full">
- <SelectValue placeholder="Choose..." />
+ <SelectValue placeholder={_(msg`Choose...`)} />
</SelectTrigger>
<SelectContent>
{Object.entries(EXPIRATION_DATES).map(([key, date]) => (
@@ -209,7 +220,9 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
name="enabled"
render={({ field }) => (
<FormItem className="">
- <FormLabel className="text-muted-foreground mt-2">Never expire</FormLabel>
+ <FormLabel className="text-muted-foreground mt-2">
+ <Trans>Never expire</Trans>
+ </FormLabel>
<FormControl>
<div className="block md:py-1.5">
<Switch
@@ -234,7 +247,7 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
disabled={!form.formState.isDirty}
loading={form.formState.isSubmitting || isTransitionPending}
>
- Create token
+ <Trans>Create token</Trans>
</Button>
<div className="md:hidden">
@@ -243,7 +256,7 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
disabled={!form.formState.isDirty}
loading={form.formState.isSubmitting || isTransitionPending}
>
- Create token
+ <Trans>Create token</Trans>
</Button>
</div>
</fieldset>
@@ -261,8 +274,10 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
<Card gradient>
<CardContent className="p-4">
<p className="text-muted-foreground mt-2 text-sm">
- Your token was created successfully! Make sure to copy it because you won't be
- able to see it again!
+ <Trans>
+ Your token was created successfully! Make sure to copy it because you won't be
+ able to see it again!
+ </Trans>
</p>
<p className="bg-muted-foreground/10 my-4 rounded-md px-2.5 py-1 font-mono text-sm">
@@ -270,7 +285,7 @@ export const ApiTokenForm = ({ className, teamId, tokens }: ApiTokenFormProps) =
</p>
<Button variant="outline" onClick={() => void copyToken(newlyCreatedToken.token)}>
- Copy token
+ <Trans>Copy token</Trans>
</Button>
</CardContent>
</Card>
diff --git a/apps/web/src/components/forms/v2/signup.tsx b/apps/web/src/components/forms/v2/signup.tsx
index 16b81587b..b0b9a91de 100644
--- a/apps/web/src/components/forms/v2/signup.tsx
+++ b/apps/web/src/components/forms/v2/signup.tsx
@@ -7,6 +7,8 @@ import Link from 'next/link';
import { useRouter, useSearchParams } from 'next/navigation';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence, motion } from 'framer-motion';
import { signIn } from 'next-auth/react';
import { useForm } from 'react-hook-form';
@@ -83,7 +85,9 @@ export const SignUpFormV2 = ({
isGoogleSSOEnabled,
isOIDCSSOEnabled,
}: SignUpFormV2Props) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const analytics = useAnalytics();
const router = useRouter();
const searchParams = useSearchParams();
@@ -120,9 +124,10 @@ export const SignUpFormV2 = ({
router.push(`/unverified-account`);
toast({
- title: 'Registration Successful',
- description:
- 'You have successfully registered. Please verify your account by clicking on the link you received in the email.',
+ title: _(msg`Registration Successful`),
+ description: _(
+ msg`You have successfully registered. Please verify your account by clicking on the link you received in the email.`,
+ ),
duration: 5000,
});
@@ -137,7 +142,7 @@ export const SignUpFormV2 = ({
if (error.code === AppErrorCode.PROFILE_URL_TAKEN) {
form.setError('url', {
type: 'manual',
- message: 'This username has already been taken',
+ message: _(msg`This username has already been taken`),
});
} else if (error.code === AppErrorCode.PREMIUM_PROFILE_URL) {
form.setError('url', {
@@ -146,15 +151,16 @@ export const SignUpFormV2 = ({
});
} else if (err instanceof TRPCClientError && err.data?.code === 'BAD_REQUEST') {
toast({
- title: 'An error occurred',
+ title: _(msg`An error occurred`),
description: err.message,
variant: 'destructive',
});
} else {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -174,9 +180,10 @@ export const SignUpFormV2 = ({
await signIn('google', { callbackUrl: SIGN_UP_REDIRECT_PATH });
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you Up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you Up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -187,9 +194,10 @@ export const SignUpFormV2 = ({
await signIn('oidc', { callbackUrl: SIGN_UP_REDIRECT_PATH });
} catch (err) {
toast({
- title: 'An unknown error occurred',
- description:
- 'We encountered an unknown error while attempting to sign you Up. Please try again later.',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to sign you Up. Please try again later.`,
+ ),
variant: 'destructive',
});
}
@@ -211,7 +219,7 @@ export const SignUpFormV2 = ({
<div className="relative flex h-full w-full flex-col items-center justify-evenly">
<div className="bg-background rounded-2xl border px-4 py-1 text-sm font-medium">
- User profiles are here!
+ <Trans>User profiles are here!</Trans>
</div>
<AnimatePresence>
@@ -240,22 +248,30 @@ export const SignUpFormV2 = ({
<div className="border-border dark:bg-background relative z-10 flex min-h-[min(850px,80vh)] w-full max-w-lg flex-col rounded-xl border bg-neutral-100 p-6">
{step === 'BASIC_DETAILS' && (
<div className="h-20">
- <h1 className="text-xl font-semibold md:text-2xl">Create a new account</h1>
+ <h1 className="text-xl font-semibold md:text-2xl">
+ <Trans>Create a new account</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-xs md:text-sm">
- Create your account and start using state-of-the-art document signing. Open and
- beautiful signing is within your grasp.
+ <Trans>
+ Create your account and start using state-of-the-art document signing. Open and
+ beautiful signing is within your grasp.
+ </Trans>
</p>
</div>
)}
{step === 'CLAIM_USERNAME' && (
<div className="h-20">
- <h1 className="text-xl font-semibold md:text-2xl">Claim your username now</h1>
+ <h1 className="text-xl font-semibold md:text-2xl">
+ <Trans>Claim your username now</Trans>
+ </h1>
<p className="text-muted-foreground mt-2 text-xs md:text-sm">
- You will get notified & be able to set up your documenso public profile when we launch
- the feature.
+ <Trans>
+ You will get notified & be able to set up your documenso public profile when we
+ launch the feature.
+ </Trans>
</p>
</div>
)}
@@ -280,7 +296,9 @@ export const SignUpFormV2 = ({
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel>Full Name</FormLabel>
+ <FormLabel>
+ <Trans>Full Name</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" {...field} />
</FormControl>
@@ -294,7 +312,9 @@ export const SignUpFormV2 = ({
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel>Email Address</FormLabel>
+ <FormLabel>
+ <Trans>Email Address</Trans>
+ </FormLabel>
<FormControl>
<Input type="email" {...field} />
</FormControl>
@@ -308,7 +328,9 @@ export const SignUpFormV2 = ({
name="password"
render={({ field }) => (
<FormItem>
- <FormLabel>Password</FormLabel>
+ <FormLabel>
+ <Trans>Password</Trans>
+ </FormLabel>
<FormControl>
<PasswordInput {...field} />
@@ -324,7 +346,9 @@ export const SignUpFormV2 = ({
name="signature"
render={({ field: { onChange } }) => (
<FormItem>
- <FormLabel>Sign Here</FormLabel>
+ <FormLabel>
+ <Trans>Sign Here</Trans>
+ </FormLabel>
<FormControl>
<SignaturePad
className="h-36 w-full"
@@ -343,7 +367,9 @@ export const SignUpFormV2 = ({
<>
<div className="relative flex items-center justify-center gap-x-4 py-2 text-xs uppercase">
<div className="bg-border h-px flex-1" />
- <span className="text-muted-foreground bg-transparent">Or</span>
+ <span className="text-muted-foreground bg-transparent">
+ <Trans>Or</Trans>
+ </span>
<div className="bg-border h-px flex-1" />
</div>
</>
@@ -360,7 +386,7 @@ export const SignUpFormV2 = ({
onClick={onSignUpWithGoogleClick}
>
<FcGoogle className="mr-2 h-5 w-5" />
- Sign Up with Google
+ <Trans>Sign Up with Google</Trans>
</Button>
</>
)}
@@ -376,16 +402,21 @@ export const SignUpFormV2 = ({
onClick={onSignUpWithOIDCClick}
>
<FaIdCardClip className="mr-2 h-5 w-5" />
- Sign Up with OIDC
+ <Trans>Sign Up with OIDC</Trans>
</Button>
</>
)}
<p className="text-muted-foreground mt-4 text-sm">
- Already have an account?{' '}
- <Link href="/signin" className="text-documenso-700 duration-200 hover:opacity-70">
- Sign in instead
- </Link>
+ <Trans>
+ Already have an account?{' '}
+ <Link
+ href="/signin"
+ className="text-documenso-700 duration-200 hover:opacity-70"
+ >
+ Sign in instead
+ </Link>
+ </Trans>
</p>
</fieldset>
)}
@@ -403,7 +434,9 @@ export const SignUpFormV2 = ({
name="url"
render={({ field }) => (
<FormItem>
- <FormLabel>Public profile username</FormLabel>
+ <FormLabel>
+ <Trans>Public profile username</Trans>
+ </FormLabel>
<FormControl>
<Input type="text" className="mb-2 mt-2 lowercase" {...field} />
@@ -423,13 +456,19 @@ export const SignUpFormV2 = ({
<div className="mt-6">
{step === 'BASIC_DETAILS' && (
<p className="text-muted-foreground text-sm">
- <span className="font-medium">Basic details</span> 1/2
+ <span className="font-medium">
+ <Trans>Basic details</Trans>
+ </span>{' '}
+ 1/2
</p>
)}
{step === 'CLAIM_USERNAME' && (
<p className="text-muted-foreground text-sm">
- <span className="font-medium">Claim username</span> 2/2
+ <span className="font-medium">
+ <Trans>Claim username</Trans>
+ </span>{' '}
+ 2/2
</p>
)}
@@ -455,7 +494,7 @@ export const SignUpFormV2 = ({
disabled={step === 'BASIC_DETAILS' || form.formState.isSubmitting}
onClick={() => setStep('BASIC_DETAILS')}
>
- Back
+ <Trans>Back</Trans>
</Button>
{/* Continue button */}
@@ -467,7 +506,7 @@ export const SignUpFormV2 = ({
loading={form.formState.isSubmitting}
onClick={onNextClick}
>
- Next
+ <Trans>Next</Trans>
</Button>
)}
@@ -480,7 +519,7 @@ export const SignUpFormV2 = ({
size="lg"
className="flex-1"
>
- Complete
+ <Trans>Complete</Trans>
</Button>
)}
</div>
diff --git a/apps/web/src/components/forms/webhook.tsx b/apps/web/src/components/forms/webhook.tsx
deleted file mode 100644
index e69de29bb..000000000
diff --git a/apps/web/src/components/partials/not-found.tsx b/apps/web/src/components/partials/not-found.tsx
index 86f6eef56..e13382fee 100644
--- a/apps/web/src/components/partials/not-found.tsx
+++ b/apps/web/src/components/partials/not-found.tsx
@@ -3,6 +3,7 @@
import Image from 'next/image';
import { useRouter } from 'next/navigation';
+import { Trans } from '@lingui/macro';
import { motion } from 'framer-motion';
import { ChevronLeft } from 'lucide-react';
@@ -40,12 +41,18 @@ export default function NotFoundPartial({ children }: NotFoundPartialProps) {
<div className="container mx-auto flex h-full min-h-screen items-center px-6 py-32">
<div>
- <p className="text-muted-foreground font-semibold">404 Page not found</p>
+ <p className="text-muted-foreground font-semibold">
+ <Trans>404 Page not found</Trans>
+ </p>
- <h1 className="mt-3 text-2xl font-bold md:text-3xl">Oops! Something went wrong.</h1>
+ <h1 className="mt-3 text-2xl font-bold md:text-3xl">
+ <Trans>Oops! Something went wrong.</Trans>
+ </h1>
<p className="text-muted-foreground mt-4 text-sm">
- The page you are looking for was moved, removed, renamed or might never have existed.
+ <Trans>
+ The page you are looking for was moved, removed, renamed or might never have existed.
+ </Trans>
</p>
<div className="mt-6 flex gap-x-2.5 gap-y-4 md:items-center">
@@ -57,7 +64,7 @@ export default function NotFoundPartial({ children }: NotFoundPartialProps) {
}}
>
<ChevronLeft className="mr-2 h-4 w-4" />
- Go Back
+ <Trans>Go Back</Trans>
</Button>
{children}
diff --git a/apps/web/src/components/templates/manage-public-template-dialog.tsx b/apps/web/src/components/templates/manage-public-template-dialog.tsx
index 7bba43fe5..fb49aa5d1 100644
--- a/apps/web/src/components/templates/manage-public-template-dialog.tsx
+++ b/apps/web/src/components/templates/manage-public-template-dialog.tsx
@@ -3,6 +3,8 @@
import { useEffect, useMemo, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Plural, Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type * as DialogPrimitive from '@radix-ui/react-dialog';
import { CheckCircle2Icon, CircleIcon } from 'lucide-react';
import { useForm } from 'react-hook-form';
@@ -91,6 +93,7 @@ export const ManagePublicTemplateDialog = ({
onIsOpenChange,
...props
}: ManagePublicTemplateDialogProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const [open, onOpenChange] = useState(isOpen);
@@ -129,18 +132,19 @@ export const ManagePublicTemplateDialog = ({
});
toast({
- title: 'Success',
- description: 'Template has been removed from your public profile.',
+ title: _(msg`Success`),
+ description: _(msg`Template has been removed from your public profile.`),
duration: 5000,
});
handleOnOpenChange(false);
} catch {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to remove this template from your profile. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to remove this template from your profile. Please try again later.',
});
}
};
@@ -165,18 +169,19 @@ export const ManagePublicTemplateDialog = ({
});
toast({
- title: 'Success',
- description: 'Template has been updated.',
+ title: _(msg`Success`),
+ description: _(msg`Template has been updated.`),
duration: 5000,
});
onOpenChange(false);
} catch {
toast({
- title: 'An unknown error occurred',
+ title: _(msg`An unknown error occurred`),
+ description: _(
+ msg`We encountered an unknown error while attempting to update the template. Please try again later.`,
+ ),
variant: 'destructive',
- description:
- 'We encountered an unknown error while attempting to update the template. Please try again later.',
});
}
};
@@ -241,11 +246,22 @@ export const ManagePublicTemplateDialog = ({
.with({ currentStep: 'SELECT_TEMPLATE' }, () => (
<DialogContent>
<DialogHeader>
- <DialogTitle>{team?.name || 'Your'} direct signing templates</DialogTitle>
+ <DialogTitle>
+ {team?.name ? (
+ <Trans>{team.name} direct signing templates</Trans>
+ ) : (
+ <Trans>Your direct signing templates</Trans>
+ )}
+ </DialogTitle>
<DialogDescription>
- Select a template you'd like to display on your {team && `team's`} public
- profile
+ {team ? (
+ <Trans>
+ Select a template you'd like to display on your team's public profile
+ </Trans>
+ ) : (
+ <Trans>Select a template you'd like to display on your public profile</Trans>
+ )}
</DialogDescription>
</DialogHeader>
@@ -253,8 +269,12 @@ export const ManagePublicTemplateDialog = ({
<Table overflowHidden>
<TableHeader>
<TableRow>
- <TableHead>Template</TableHead>
- <TableHead>Created</TableHead>
+ <TableHead>
+ <Trans>Template</Trans>
+ </TableHead>
+ <TableHead>
+ <Trans>Created</Trans>
+ </TableHead>
<TableHead></TableHead>
</TableRow>
</TableHeader>
@@ -262,7 +282,9 @@ export const ManagePublicTemplateDialog = ({
{directTemplates.length === 0 && (
<TableRow>
<TableCell colSpan={3} className="h-16 text-center">
- <p className="text-muted-foreground">No valid direct templates found</p>
+ <p className="text-muted-foreground">
+ <Trans>No valid direct templates found</Trans>
+ </p>
</TableCell>
</TableRow>
)}
@@ -296,7 +318,7 @@ export const ManagePublicTemplateDialog = ({
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Close
+ <Trans>Close</Trans>
</Button>
</DialogClose>
@@ -305,7 +327,7 @@ export const ManagePublicTemplateDialog = ({
disabled={selectedTemplateId === null}
onClick={() => onManageStep()}
>
- Continue
+ <Trans>Continue</Trans>
</Button>
</DialogFooter>
</DialogContent>
@@ -313,9 +335,13 @@ export const ManagePublicTemplateDialog = ({
.with({ templateId: P.number, currentStep: 'MANAGE' }, () => (
<DialogContent className="relative">
<DialogHeader>
- <DialogTitle>Configure template</DialogTitle>
+ <DialogTitle>
+ <Trans>Configure template</Trans>
+ </DialogTitle>
- <DialogDescription>Manage details for this public template</DialogDescription>
+ <DialogDescription>
+ <Trans>Manage details for this public template</Trans>
+ </DialogDescription>
</DialogHeader>
<Form {...form}>
@@ -330,7 +356,10 @@ export const ManagePublicTemplateDialog = ({
<FormItem>
<FormLabel required>Title</FormLabel>
<FormControl>
- <Input placeholder="The public name for your template" {...field} />
+ <Input
+ placeholder={_(msg`The public name for your template`)}
+ {...field}
+ />
</FormControl>
<FormMessage />
</FormItem>
@@ -343,24 +372,34 @@ export const ManagePublicTemplateDialog = ({
render={({ field }) => {
const remaningLength =
MAX_TEMPLATE_PUBLIC_DESCRIPTION_LENGTH - (field.value || '').length;
- const pluralWord =
- Math.abs(remaningLength) === 1 ? 'character' : 'characters';
return (
<FormItem>
<FormLabel required>Description</FormLabel>
<FormControl>
<Textarea
- placeholder="The public description that will be displayed with this template"
+ placeholder={_(
+ msg`The public description that will be displayed with this template`,
+ )}
{...field}
/>
</FormControl>
{!form.formState.errors.publicDescription && (
<p className="text-muted-foreground text-sm">
- {remaningLength >= 0
- ? `${remaningLength} ${pluralWord} remaining`
- : `${Math.abs(remaningLength)} ${pluralWord} over the limit`}
+ {remaningLength >= 0 ? (
+ <Plural
+ value={remaningLength}
+ one={<Trans># character remaining</Trans>}
+ other={<Trans># characters remaining</Trans>}
+ />
+ ) : (
+ <Plural
+ value={Math.abs(remaningLength)}
+ one={<Trans># character over the limit</Trans>}
+ other={<Trans># characters over the limit</Trans>}
+ />
+ )}
</p>
)}
@@ -377,16 +416,18 @@ export const ManagePublicTemplateDialog = ({
className="mr-auto w-full sm:w-auto"
onClick={() => setCurrentStep('CONFIRM_DISABLE')}
>
- Disable
+ <Trans>Disable</Trans>
</Button>
)}
<DialogClose asChild>
- <Button variant="secondary">Close</Button>
+ <Button variant="secondary">
+ <Trans>Close</Trans>
+ </Button>
</DialogClose>
<Button type="submit" loading={isUpdatingTemplateSettings}>
- Update
+ <Trans>Update</Trans>
</Button>
</DialogFooter>
</form>
@@ -396,17 +437,19 @@ export const ManagePublicTemplateDialog = ({
.with({ templateId: P.number, currentStep: 'CONFIRM_DISABLE' }, ({ templateId }) => (
<DialogContent className="relative">
<DialogHeader>
- <DialogTitle>Are you sure?</DialogTitle>
+ <DialogTitle>
+ <Trans>Are you sure?</Trans>
+ </DialogTitle>
<DialogDescription>
- The template will be removed from your profile
+ <Trans>The template will be removed from your profile</Trans>
</DialogDescription>
</DialogHeader>
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Cancel
+ <Trans>Cancel</Trans>
</Button>
</DialogClose>
@@ -416,7 +459,7 @@ export const ManagePublicTemplateDialog = ({
loading={isUpdatingTemplateSettings}
onClick={() => void setTemplateToPrivate(templateId)}
>
- Confirm
+ <Trans>Confirm</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/apps/web/src/components/ui/user-profile-skeleton.tsx b/apps/web/src/components/ui/user-profile-skeleton.tsx
index 74026cdbb..8c0fb1906 100644
--- a/apps/web/src/components/ui/user-profile-skeleton.tsx
+++ b/apps/web/src/components/ui/user-profile-skeleton.tsx
@@ -1,5 +1,6 @@
'use client';
+import { Trans } from '@lingui/macro';
import { File, User2 } from 'lucide-react';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
@@ -71,7 +72,7 @@ export const UserProfileSkeleton = ({ className, user, rows = 2 }: UserProfileSk
<div className="flex-shrink-0">
<Button type="button" size="sm" className="pointer-events-none w-32">
- Sign
+ <Trans>Sign</Trans>
</Button>
</div>
</div>
diff --git a/apps/web/src/components/ui/user-profile-timur.tsx b/apps/web/src/components/ui/user-profile-timur.tsx
index 8d1e517ad..ab2500018 100644
--- a/apps/web/src/components/ui/user-profile-timur.tsx
+++ b/apps/web/src/components/ui/user-profile-timur.tsx
@@ -2,6 +2,7 @@
import Image from 'next/image';
+import { Trans } from '@lingui/macro';
import { File } from 'lucide-react';
import timurImage from '@documenso/assets/images/timur.png';
@@ -44,17 +45,19 @@ export const UserProfileTimur = ({ className, rows = 2 }: UserProfileTimurProps)
<VerifiedIcon className="text-primary h-8 w-8" />
</div>
- <p className="text-muted-foreground mt-4 max-w-[40ch] text-center text-sm">Hey I’m Timur</p>
+ <p className="text-muted-foreground mt-4 max-w-[40ch] text-center text-sm">
+ <Trans>Hey I’m Timur</Trans>
+ </p>
<p className="text-muted-foreground mt-1 max-w-[40ch] text-center text-sm">
- Pick any of the following agreements below and start signing to get started
+ <Trans>Pick any of the following agreements below and start signing to get started</Trans>
</p>
</div>
<div className="mt-8 w-full">
<div className="dark:divide-foreground/30 dark:border-foreground/30 divide-y-2 divide-neutral-200 overflow-hidden rounded-lg border-2 border-neutral-200">
<div className="text-muted-foreground dark:bg-foreground/20 bg-neutral-50 p-4 font-medium">
- Documents
+ <Trans>Documents</Trans>
</div>
{Array(rows)
@@ -75,7 +78,7 @@ export const UserProfileTimur = ({ className, rows = 2 }: UserProfileTimurProps)
<div className="flex-shrink-0">
<Button type="button" size="sm" className="pointer-events-none w-32">
- Sign
+ <Trans>Sign</Trans>
</Button>
</div>
</div>
diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.ts
index 46ee93fdf..bea2c56b2 100644
--- a/apps/web/src/middleware.ts
+++ b/apps/web/src/middleware.ts
@@ -5,9 +5,10 @@ import { NextResponse } from 'next/server';
import { getToken } from 'next-auth/jwt';
import { TEAM_URL_ROOT_REGEX } from '@documenso/lib/constants/teams';
+import { extractSupportedLanguage } from '@documenso/lib/utils/i18n';
import { formatDocumentsPath } from '@documenso/lib/utils/teams';
-export default async function middleware(req: NextRequest) {
+async function middleware(req: NextRequest): Promise<NextResponse> {
const preferredTeamUrl = cookies().get('preferred-team-url');
const referrer = req.headers.get('referer');
@@ -78,6 +79,19 @@ export default async function middleware(req: NextRequest) {
return NextResponse.next();
}
+export default async function middlewareWrapper(req: NextRequest) {
+ const response = await middleware(req);
+
+ const lang = extractSupportedLanguage({
+ headers: req.headers,
+ cookies: cookies(),
+ });
+
+ response.cookies.set('i18n', lang);
+
+ return response;
+}
+
export const config = {
matcher: [
/*
diff --git a/package-lock.json b/package-lock.json
index c64912062..b97eaad57 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,6 +14,7 @@
"dependencies": {
"@documenso/pdf-sign": "^0.1.0",
"@lingui/core": "^4.11.1",
+ "@lingui/macro": "^4.11.2",
"inngest-cli": "^0.29.1",
"next-runtime-env": "^3.2.0",
"react": "18.2.0"
@@ -89,7 +90,6 @@
"@documenso/trpc": "*",
"@documenso/ui": "*",
"@hookform/resolvers": "^3.1.0",
- "@lingui/macro": "^4.11.1",
"@lingui/react": "^4.11.1",
"@openstatus/react": "^0.0.3",
"cmdk": "^0.2.1",
@@ -435,7 +435,6 @@
"@documenso/trpc": "*",
"@documenso/ui": "*",
"@hookform/resolvers": "^3.1.0",
- "@lingui/macro": "^4.11.1",
"@lingui/react": "^4.11.1",
"@simplewebauthn/browser": "^9.0.1",
"@simplewebauthn/server": "^9.0.3",
@@ -37185,7 +37184,6 @@
"dependencies": {
"@documenso/lib": "*",
"@hookform/resolvers": "^3.3.0",
- "@lingui/macro": "^4.11.1",
"@lingui/react": "^4.11.1",
"@radix-ui/react-accordion": "^1.1.1",
"@radix-ui/react-alert-dialog": "^1.0.3",
diff --git a/package.json b/package.json
index 2c362c513..d9a7b80a8 100644
--- a/package.json
+++ b/package.json
@@ -64,6 +64,7 @@
"dependencies": {
"@documenso/pdf-sign": "^0.1.0",
"@lingui/core": "^4.11.1",
+ "@lingui/macro": "^4.11.2",
"inngest-cli": "^0.29.1",
"next-runtime-env": "^3.2.0",
"react": "18.2.0"
diff --git a/packages/app-tests/e2e/templates/direct-templates.spec.ts b/packages/app-tests/e2e/templates/direct-templates.spec.ts
index bffd89266..9dc49ee3e 100644
--- a/packages/app-tests/e2e/templates/direct-templates.spec.ts
+++ b/packages/app-tests/e2e/templates/direct-templates.spec.ts
@@ -5,9 +5,8 @@ import { WEBAPP_BASE_URL } from '@documenso/lib/constants/app';
import {
DIRECT_TEMPLATE_RECIPIENT_EMAIL,
DIRECT_TEMPLATE_RECIPIENT_NAME,
-} from '@documenso/lib/constants/template';
+} from '@documenso/lib/constants/direct-templates';
import { createDocumentAuthOptions } from '@documenso/lib/utils/document-auth';
-import { formatDocumentsPath, formatTemplatesPath } from '@documenso/lib/utils/teams';
import { formatDirectTemplatePath } from '@documenso/lib/utils/templates';
import { seedTeam } from '@documenso/prisma/seed/teams';
import { seedDirectTemplate, seedTemplate } from '@documenso/prisma/seed/templates';
@@ -16,6 +15,12 @@ import { seedTestEmail, seedUser } from '@documenso/prisma/seed/users';
import { apiSignin } from '../fixtures/authentication';
import { checkDocumentTabCount } from '../fixtures/documents';
+// Duped from `packages/lib/utils/teams.ts` due to errors when importing that file.
+const formatDocumentsPath = (teamUrl?: string) =>
+ teamUrl ? `/t/${teamUrl}/documents` : '/documents';
+const formatTemplatesPath = (teamUrl?: string) =>
+ teamUrl ? `/t/${teamUrl}/templates` : '/templates';
+
const nanoid = customAlphabet('1234567890abcdef', 10);
test.describe.configure({ mode: 'parallel' });
diff --git a/packages/email/template-components/template-document-invite.tsx b/packages/email/template-components/template-document-invite.tsx
index 644addb71..62d049e13 100644
--- a/packages/email/template-components/template-document-invite.tsx
+++ b/packages/email/template-components/template-document-invite.tsx
@@ -1,4 +1,4 @@
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import type { RecipientRole } from '@documenso/prisma/client';
import { Button, Section, Text } from '../components';
@@ -26,7 +26,7 @@ export const TemplateDocumentInvite = ({
isTeamInvite,
teamName,
}: TemplateDocumentInviteProps) => {
- const { actionVerb, progressiveVerb } = RECIPIENT_ROLES_DESCRIPTION[role];
+ const { actionVerb, progressiveVerb } = RECIPIENT_ROLES_DESCRIPTION_ENG[role];
return (
<>
diff --git a/packages/email/templates/document-created-from-direct-template.tsx b/packages/email/templates/document-created-from-direct-template.tsx
index 0c66f25af..68ad3363b 100644
--- a/packages/email/templates/document-created-from-direct-template.tsx
+++ b/packages/email/templates/document-created-from-direct-template.tsx
@@ -1,4 +1,4 @@
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import config from '@documenso/tailwind-config';
import {
@@ -32,7 +32,7 @@ export const DocumentCreatedFromDirectTemplateEmailTemplate = ({
documentName = 'Open Source Pledge.pdf',
assetBaseUrl = 'http://localhost:3002',
}: DocumentCompletedEmailTemplateProps) => {
- const action = RECIPIENT_ROLES_DESCRIPTION[recipientRole].actioned.toLowerCase();
+ const action = RECIPIENT_ROLES_DESCRIPTION_ENG[recipientRole].actioned.toLowerCase();
const previewText = `Document created from direct template`;
diff --git a/packages/email/templates/document-invite.tsx b/packages/email/templates/document-invite.tsx
index 7e845126b..30c6ae960 100644
--- a/packages/email/templates/document-invite.tsx
+++ b/packages/email/templates/document-invite.tsx
@@ -1,4 +1,4 @@
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import type { RecipientRole } from '@documenso/prisma/client';
import config from '@documenso/tailwind-config';
@@ -40,7 +40,7 @@ export const DocumentInviteEmailTemplate = ({
isTeamInvite = false,
teamName,
}: DocumentInviteEmailTemplateProps) => {
- const action = RECIPIENT_ROLES_DESCRIPTION[role].actionVerb.toLowerCase();
+ const action = RECIPIENT_ROLES_DESCRIPTION_ENG[role].actionVerb.toLowerCase();
const previewText = selfSigner
? `Please ${action} your document ${documentName}`
diff --git a/packages/lib/client-only/providers/i18n.server.tsx b/packages/lib/client-only/providers/i18n.server.tsx
index afee70de7..272b6968e 100644
--- a/packages/lib/client-only/providers/i18n.server.tsx
+++ b/packages/lib/client-only/providers/i18n.server.tsx
@@ -6,7 +6,7 @@ import type { I18n, Messages } from '@lingui/core';
import { setupI18n } from '@lingui/core';
import { setI18n } from '@lingui/react/server';
-import { IS_APP_WEB } from '../../constants/app';
+import { IS_APP_WEB, IS_APP_WEB_I18N_ENABLED } from '../../constants/app';
import { SUPPORTED_LANGUAGE_CODES } from '../../constants/i18n';
import { extractSupportedLanguage } from '../../utils/i18n';
@@ -51,12 +51,17 @@ export const allI18nInstances = SUPPORTED_LANGUAGE_CODES.reduce((acc, locale) =>
* https://lingui.dev/tutorials/react-rsc#pages-layouts-and-lingui
*/
export const setupI18nSSR = (overrideLang?: SupportedLocales) => {
- const lang =
+ let lang =
overrideLang ||
extractSupportedLanguage({
cookies: cookies(),
});
+ // Override web app to be English.
+ if (!IS_APP_WEB_I18N_ENABLED && IS_APP_WEB) {
+ lang = 'en';
+ }
+
// Get and set a ready-made i18n instance for the given language.
const i18n = allI18nInstances[lang];
setI18n(i18n);
diff --git a/packages/lib/constants/app.ts b/packages/lib/constants/app.ts
index c17193677..622878fdf 100644
--- a/packages/lib/constants/app.ts
+++ b/packages/lib/constants/app.ts
@@ -1,5 +1,6 @@
import { env } from 'next-runtime-env';
+export const IS_APP_WEB_I18N_ENABLED = false;
export const APP_DOCUMENT_UPLOAD_SIZE_LIMIT =
Number(process.env.NEXT_PUBLIC_DOCUMENT_SIZE_UPLOAD_LIMIT) || 50;
diff --git a/packages/lib/constants/direct-templates.ts b/packages/lib/constants/direct-templates.ts
new file mode 100644
index 000000000..737062a0f
--- /dev/null
+++ b/packages/lib/constants/direct-templates.ts
@@ -0,0 +1,3 @@
+// Put into a separate file due to Playwright not compiling due to the macro in the templates.ts file.
+export const DIRECT_TEMPLATE_RECIPIENT_EMAIL = '[email protected]';
+export const DIRECT_TEMPLATE_RECIPIENT_NAME = 'Direct link recipient';
diff --git a/packages/lib/constants/recipient-roles.ts b/packages/lib/constants/recipient-roles.ts
index 59af9b3b5..70816dd79 100644
--- a/packages/lib/constants/recipient-roles.ts
+++ b/packages/lib/constants/recipient-roles.ts
@@ -1,29 +1,64 @@
+import type { MessageDescriptor } from '@lingui/core';
+import { msg } from '@lingui/macro';
+
import { RecipientRole } from '@documenso/prisma/client';
export const RECIPIENT_ROLES_DESCRIPTION = {
[RecipientRole.APPROVER]: {
- actionVerb: 'Approve',
- actioned: 'Approved',
- progressiveVerb: 'Approving',
- roleName: 'Approver',
+ actionVerb: msg`Approve`,
+ actioned: msg`Approved`,
+ progressiveVerb: msg`Approving`,
+ roleName: msg`Approver`,
+ },
+ [RecipientRole.CC]: {
+ actionVerb: msg`CC`,
+ actioned: msg`CC'd`,
+ progressiveVerb: msg`CC`,
+ roleName: msg`Cc`,
+ },
+ [RecipientRole.SIGNER]: {
+ actionVerb: msg`Sign`,
+ actioned: msg`Signed`,
+ progressiveVerb: msg`Signing`,
+ roleName: msg`Signer`,
+ },
+ [RecipientRole.VIEWER]: {
+ actionVerb: msg`View`,
+ actioned: msg`Viewed`,
+ progressiveVerb: msg`Viewing`,
+ roleName: msg`Viewer`,
+ },
+} satisfies Record<keyof typeof RecipientRole, unknown>;
+
+/**
+ * Raw english descriptions for emails.
+ *
+ * Todo: Handle i18n for emails.
+ */
+export const RECIPIENT_ROLES_DESCRIPTION_ENG = {
+ [RecipientRole.APPROVER]: {
+ actionVerb: `Approve`,
+ actioned: `Approved`,
+ progressiveVerb: `Approving`,
+ roleName: `Approver`,
},
[RecipientRole.CC]: {
- actionVerb: 'CC',
+ actionVerb: `CC`,
actioned: `CC'd`,
- progressiveVerb: 'CC',
- roleName: 'Cc',
+ progressiveVerb: `CC`,
+ roleName: `Cc`,
},
[RecipientRole.SIGNER]: {
- actionVerb: 'Sign',
- actioned: 'Signed',
- progressiveVerb: 'Signing',
- roleName: 'Signer',
+ actionVerb: `Sign`,
+ actioned: `Signed`,
+ progressiveVerb: `Signing`,
+ roleName: `Signer`,
},
[RecipientRole.VIEWER]: {
- actionVerb: 'View',
- actioned: 'Viewed',
- progressiveVerb: 'Viewing',
- roleName: 'Viewer',
+ actionVerb: `View`,
+ actioned: `Viewed`,
+ progressiveVerb: `Viewing`,
+ roleName: `Viewer`,
},
} satisfies Record<keyof typeof RecipientRole, unknown>;
@@ -34,8 +69,18 @@ export const RECIPIENT_ROLE_TO_EMAIL_TYPE = {
} as const;
export const RECIPIENT_ROLE_SIGNING_REASONS = {
- [RecipientRole.SIGNER]: 'I am a signer of this document',
- [RecipientRole.APPROVER]: 'I am an approver of this document',
- [RecipientRole.CC]: 'I am required to recieve a copy of this document',
- [RecipientRole.VIEWER]: 'I am a viewer of this document',
+ [RecipientRole.SIGNER]: msg`I am a signer of this document`,
+ [RecipientRole.APPROVER]: msg`I am an approver of this document`,
+ [RecipientRole.CC]: msg`I am required to recieve a copy of this document`,
+ [RecipientRole.VIEWER]: msg`I am a viewer of this document`,
+} satisfies Record<keyof typeof RecipientRole, MessageDescriptor>;
+
+/**
+ * Raw english descriptions for certificates.
+ */
+export const RECIPIENT_ROLE_SIGNING_REASONS_ENG = {
+ [RecipientRole.SIGNER]: `I am a signer of this document`,
+ [RecipientRole.APPROVER]: `I am an approver of this document`,
+ [RecipientRole.CC]: `I am required to recieve a copy of this document`,
+ [RecipientRole.VIEWER]: `I am a viewer of this document`,
} satisfies Record<keyof typeof RecipientRole, string>;
diff --git a/packages/lib/constants/teams.ts b/packages/lib/constants/teams.ts
index 67f3ef16f..169be18b2 100644
--- a/packages/lib/constants/teams.ts
+++ b/packages/lib/constants/teams.ts
@@ -1,12 +1,15 @@
+import type { MessageDescriptor } from '@lingui/core';
+import { msg } from '@lingui/macro';
+
import { TeamMemberRole } from '@documenso/prisma/client';
export const TEAM_URL_ROOT_REGEX = new RegExp('^/t/[^/]+$');
export const TEAM_URL_REGEX = new RegExp('^/t/[^/]+');
-export const TEAM_MEMBER_ROLE_MAP: Record<keyof typeof TeamMemberRole, string> = {
- ADMIN: 'Admin',
- MANAGER: 'Manager',
- MEMBER: 'Member',
+export const TEAM_MEMBER_ROLE_MAP: Record<keyof typeof TeamMemberRole, MessageDescriptor> = {
+ ADMIN: msg`Admin`,
+ MANAGER: msg`Manager`,
+ MEMBER: msg`Member`,
};
export const TEAM_MEMBER_ROLE_PERMISSIONS_MAP = {
diff --git a/packages/lib/constants/template.ts b/packages/lib/constants/template.ts
index 029f3e26d..0b9dd50b8 100644
--- a/packages/lib/constants/template.ts
+++ b/packages/lib/constants/template.ts
@@ -1,28 +1,23 @@
+import { msg } from '@lingui/macro';
+
export const TEMPLATE_RECIPIENT_EMAIL_PLACEHOLDER_REGEX = /recipient\.\d+@documenso\.com/i;
export const TEMPLATE_RECIPIENT_NAME_PLACEHOLDER_REGEX = /Recipient \d+/i;
export const DIRECT_TEMPLATE_DOCUMENTATION = [
{
- title: 'Enable Direct Link Signing',
- description:
- 'Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted.',
+ title: msg`Enable Direct Link Signing`,
+ description: msg`Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted.`,
},
{
- title: 'Configure Direct Recipient',
- description:
- 'Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient.',
+ title: msg`Configure Direct Recipient`,
+ description: msg`Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient.`,
},
{
- title: 'Share the Link',
- description:
- 'Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them.',
+ title: msg`Share the Link`,
+ description: msg`Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them.`,
},
{
- title: 'Document Creation',
- description:
- 'After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email.',
+ title: msg`Document Creation`,
+ description: msg`After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email.`,
},
];
-
-export const DIRECT_TEMPLATE_RECIPIENT_EMAIL = '[email protected]';
-export const DIRECT_TEMPLATE_RECIPIENT_NAME = 'Direct link recipient';
diff --git a/packages/lib/constants/toast.ts b/packages/lib/constants/toast.ts
deleted file mode 100644
index d07d273a1..000000000
--- a/packages/lib/constants/toast.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { Toast } from '@documenso/ui/primitives/use-toast';
-
-export const TOAST_DOCUMENT_SHARE_SUCCESS: Toast = {
- title: 'Copied to clipboard',
- description: 'The sharing link has been copied to your clipboard.',
-} as const;
-
-export const TOAST_DOCUMENT_SHARE_ERROR: Toast = {
- variant: 'destructive',
- title: 'Something went wrong',
- description: 'The sharing link could not be created at this time. Please try again.',
- duration: 5000,
-};
diff --git a/packages/lib/jobs/definitions/emails/send-signing-email.ts b/packages/lib/jobs/definitions/emails/send-signing-email.ts
index 43ad730c6..beab38cab 100644
--- a/packages/lib/jobs/definitions/emails/send-signing-email.ts
+++ b/packages/lib/jobs/definitions/emails/send-signing-email.ts
@@ -16,7 +16,7 @@ import {
import { NEXT_PUBLIC_WEBAPP_URL } from '../../../constants/app';
import { FROM_ADDRESS, FROM_NAME } from '../../../constants/email';
import {
- RECIPIENT_ROLES_DESCRIPTION,
+ RECIPIENT_ROLES_DESCRIPTION_ENG,
RECIPIENT_ROLE_TO_EMAIL_TYPE,
} from '../../../constants/recipient-roles';
import { DOCUMENT_AUDIT_LOG_TYPE } from '../../../types/document-audit-logs';
@@ -87,8 +87,8 @@ export const SEND_SIGNING_EMAIL_JOB_DEFINITION = {
const { email, name } = recipient;
const selfSigner = email === user.email;
- const { actionVerb } = RECIPIENT_ROLES_DESCRIPTION[recipient.role];
- const recipientActionVerb = actionVerb.toLowerCase();
+ const recipientActionVerb =
+ RECIPIENT_ROLES_DESCRIPTION_ENG[recipient.role].actionVerb.toLowerCase();
let emailMessage = customEmail?.message || '';
let emailSubject = `Please ${recipientActionVerb} this document`;
diff --git a/packages/lib/server-only/document/resend-document.tsx b/packages/lib/server-only/document/resend-document.tsx
index 8ea39445c..30f104e92 100644
--- a/packages/lib/server-only/document/resend-document.tsx
+++ b/packages/lib/server-only/document/resend-document.tsx
@@ -5,7 +5,7 @@ import { render } from '@documenso/email/render';
import { DocumentInviteEmailTemplate } from '@documenso/email/templates/document-invite';
import { FROM_ADDRESS, FROM_NAME } from '@documenso/lib/constants/email';
import {
- RECIPIENT_ROLES_DESCRIPTION,
+ RECIPIENT_ROLES_DESCRIPTION_ENG,
RECIPIENT_ROLE_TO_EMAIL_TYPE,
} from '@documenso/lib/constants/recipient-roles';
import { DOCUMENT_AUDIT_LOG_TYPE } from '@documenso/lib/types/document-audit-logs';
@@ -97,8 +97,8 @@ export const resendDocument = async ({
const { email, name } = recipient;
const selfSigner = email === user.email;
- const { actionVerb } = RECIPIENT_ROLES_DESCRIPTION[recipient.role];
- const recipientActionVerb = actionVerb.toLowerCase();
+ const recipientActionVerb =
+ RECIPIENT_ROLES_DESCRIPTION_ENG[recipient.role].actionVerb.toLowerCase();
let emailMessage = customEmail?.message || '';
let emailSubject = `Reminder: Please ${recipientActionVerb} this document`;
diff --git a/packages/lib/server-only/recipient/set-recipients-for-template.ts b/packages/lib/server-only/recipient/set-recipients-for-template.ts
index c76a4a5ef..fd446bce0 100644
--- a/packages/lib/server-only/recipient/set-recipients-for-template.ts
+++ b/packages/lib/server-only/recipient/set-recipients-for-template.ts
@@ -1,12 +1,12 @@
import { isUserEnterprise } from '@documenso/ee/server-only/util/is-document-enterprise';
+import {
+ DIRECT_TEMPLATE_RECIPIENT_EMAIL,
+ DIRECT_TEMPLATE_RECIPIENT_NAME,
+} from '@documenso/lib/constants/direct-templates';
import { prisma } from '@documenso/prisma';
import type { Recipient } from '@documenso/prisma/client';
import { RecipientRole } from '@documenso/prisma/client';
-import {
- DIRECT_TEMPLATE_RECIPIENT_EMAIL,
- DIRECT_TEMPLATE_RECIPIENT_NAME,
-} from '../../constants/template';
import { AppError, AppErrorCode } from '../../errors/app-error';
import {
type TRecipientActionAuthTypes,
diff --git a/packages/lib/server-only/template/create-template-direct-link.ts b/packages/lib/server-only/template/create-template-direct-link.ts
index 1ea2dc2ba..5317348c5 100644
--- a/packages/lib/server-only/template/create-template-direct-link.ts
+++ b/packages/lib/server-only/template/create-template-direct-link.ts
@@ -2,13 +2,13 @@
import { nanoid } from 'nanoid';
-import { prisma } from '@documenso/prisma';
-import type { Recipient, TemplateDirectLink } from '@documenso/prisma/client';
-
import {
DIRECT_TEMPLATE_RECIPIENT_EMAIL,
DIRECT_TEMPLATE_RECIPIENT_NAME,
-} from '../../constants/template';
+} from '@documenso/lib/constants/direct-templates';
+import { prisma } from '@documenso/prisma';
+import type { Recipient, TemplateDirectLink } from '@documenso/prisma/client';
+
import { AppError, AppErrorCode } from '../../errors/app-error';
export type CreateTemplateDirectLinkOptions = {
diff --git a/packages/lib/translations/de/common.po b/packages/lib/translations/de/common.po
index 2ccc01506..44ca68e0c 100644
--- a/packages/lib/translations/de/common.po
+++ b/packages/lib/translations/de/common.po
@@ -18,3 +18,729 @@ msgstr ""
"X-Crowdin-File: common.po\n"
"X-Crowdin-File-ID: 4\n"
+#: packages/ui/primitives/data-table-pagination.tsx:30
+msgid "{0} of {1} row(s) selected."
+msgstr ""
+
+#: packages/ui/primitives/data-table-pagination.tsx:41
+msgid "{visibleRows, plural, one {Showing # result.} other {Showing # results.}}"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:53
+msgid "<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \"General Settings\" step"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:95
+msgid "<0>No restrictions</0> - No authentication required"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:77
+msgid "<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:75
+msgid "<0>None</0> - No authentication required"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:89
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:69
+msgid "<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:72
+msgid "<0>Require account</0> - The recipient must be signed in to view the document"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:83
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:63
+msgid "<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings"
+msgstr ""
+
+#: packages/ui/primitives/document-dropzone.tsx:69
+msgid "Add a document"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:305
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:339
+msgid "Add a URL to redirect the user to once the document is signed"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:217
+msgid "Add an external ID to the document. This can be used to identify the document in external systems."
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:256
+msgid "Add an external ID to the template. This can be used to identify in external systems."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:177
+msgid "Add another option"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:230
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:167
+msgid "Add another value"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:359
+msgid "Add myself"
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:369
+msgid "Add Myself"
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:355
+msgid "Add Placeholder Recipient"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:348
+msgid "Add Signer"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:70
+msgid "Add text"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:75
+msgid "Add text to the field"
+msgstr ""
+
+#: packages/lib/constants/teams.ts:10
+msgid "Admin"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:199
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:238
+msgid "Advanced Options"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:510
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:369
+msgid "Advanced settings"
+msgstr ""
+
+#: packages/lib/constants/template.ts:21
+msgid "After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email."
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:8
+msgid "Approve"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:9
+msgid "Approved"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:11
+msgid "Approver"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:10
+msgid "Approving"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:297
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:58
+msgid "Cancel"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:164
+msgid "Cannot remove signer"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:17
+msgid "Cc"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:14
+#: packages/lib/constants/recipient-roles.ts:16
+msgid "CC"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:15
+msgid "CC'd"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:83
+msgid "Character Limit"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:932
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:755
+msgid "Checkbox"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:195
+msgid "Checkbox values"
+msgstr ""
+
+#: packages/ui/primitives/data-table.tsx:154
+msgid "Clear filters"
+msgstr ""
+
+#: packages/ui/primitives/signature-pad/signature-pad.tsx:256
+msgid "Clear Signature"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signature.tsx:394
+msgid "Click to insert field"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx:44
+msgid "Close"
+msgstr ""
+
+#: packages/lib/constants/template.ts:12
+msgid "Configure Direct Recipient"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:511
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:370
+msgid "Configure the {0} field"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/document-flow-root.tsx:141
+msgid "Continue"
+msgstr ""
+
+#: packages/ui/components/document/document-share-button.tsx:46
+msgid "Copied to clipboard"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signature.tsx:360
+msgid "Custom Text"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:828
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:651
+msgid "Date"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:240
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:279
+msgid "Date Format"
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:312
+msgid "Direct link receiver"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:62
+#: packages/ui/primitives/document-flow/add-settings.tsx:166
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:151
+msgid "Document access"
+msgstr ""
+
+#: packages/lib/constants/template.ts:20
+msgid "Document Creation"
+msgstr ""
+
+#: packages/ui/components/document/document-download-button.tsx:68
+msgid "Download"
+msgstr ""
+
+#: packages/ui/primitives/document-dropzone.tsx:162
+msgid "Drag & drop your PDF here."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:958
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:781
+msgid "Dropdown"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:148
+msgid "Dropdown options"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:776
+#: packages/ui/primitives/document-flow/add-signature.tsx:272
+#: packages/ui/primitives/document-flow/add-signers.tsx:232
+#: packages/ui/primitives/document-flow/add-signers.tsx:239
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:599
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:210
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:217
+msgid "Email"
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:184
+msgid "Email Options"
+msgstr ""
+
+#: packages/lib/constants/template.ts:8
+msgid "Enable Direct Link Signing"
+msgstr ""
+
+#: packages/ui/primitives/document-password-dialog.tsx:84
+msgid "Enter password"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:226
+msgid "Error"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:210
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:249
+msgid "External ID"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:227
+msgid "Failed to save settings."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:90
+msgid "Field character limit"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:107
+msgid "Field format"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:50
+msgid "Field label"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:62
+msgid "Field placeholder"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:64
+msgid "Global recipient action authentication"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/document-flow-root.tsx:142
+msgid "Go Back"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:72
+msgid "I am a signer of this document"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:75
+msgid "I am a viewer of this document"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:73
+msgid "I am an approver of this document"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:74
+msgid "I am required to recieve a copy of this document"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:29
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:87
+msgid "Inherit authentication method"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:64
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:69
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:45
+msgid "Label"
+msgstr ""
+
+#: packages/lib/constants/teams.ts:11
+msgid "Manager"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:168
+msgid "Max"
+msgstr ""
+
+#: packages/lib/constants/teams.ts:12
+msgid "Member"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:95
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:215
+msgid "Message <0>(Optional)</0>"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:156
+msgid "Min"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:802
+#: packages/ui/primitives/document-flow/add-signature.tsx:298
+#: packages/ui/primitives/document-flow/add-signers.tsx:265
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:625
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:245
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:251
+msgid "Name"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:52
+msgid "Needs to approve"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:31
+msgid "Needs to sign"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:73
+msgid "Needs to view"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:613
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:464
+msgid "No recipient matching this description was found."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:629
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:480
+msgid "No recipients with this role"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:30
+#: packages/ui/components/document/document-global-auth-access-select.tsx:43
+#: packages/ui/components/document/document-global-auth-action-select.tsx:31
+#: packages/ui/components/document/document-global-auth-action-select.tsx:46
+msgid "No restrictions"
+msgstr ""
+
+#: packages/ui/primitives/data-table.tsx:146
+msgid "No results found"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx:30
+msgid "No signature field found"
+msgstr ""
+
+#: packages/ui/primitives/combobox.tsx:60
+#: packages/ui/primitives/multi-select-combobox.tsx:153
+msgid "No value found."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:880
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:703
+msgid "Number"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:100
+msgid "Number format"
+msgstr ""
+
+#: packages/lib/constants/template.ts:9
+msgid "Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted."
+msgstr ""
+
+#: packages/lib/constants/template.ts:17
+msgid "Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them."
+msgstr ""
+
+#: packages/ui/primitives/data-table-pagination.tsx:77
+msgid "Page {0} of {1}"
+msgstr ""
+
+#: packages/ui/primitives/document-password-dialog.tsx:62
+msgid "Password Required"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:154
+msgid "Pick a number"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:76
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:81
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:57
+msgid "Placeholder"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:906
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:729
+msgid "Radio"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:133
+msgid "Radio values"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:184
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:137
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:136
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:122
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:114
+msgid "Read only"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:95
+msgid "Receives copy"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:39
+#: packages/ui/primitives/document-flow/add-settings.tsx:184
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:169
+msgid "Recipient action authentication"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:298
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:332
+msgid "Redirect URL"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:996
+msgid "Remove"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:174
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:127
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:126
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:112
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:104
+msgid "Required field"
+msgstr ""
+
+#: packages/ui/primitives/data-table-pagination.tsx:55
+msgid "Rows per page"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:296
+msgid "Save"
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:797
+msgid "Save Template"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:105
+msgid "Select"
+msgstr ""
+
+#: packages/ui/primitives/combobox.tsx:38
+msgid "Select an option"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:137
+msgid "Select at least"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:95
+msgid "Select default option"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:124
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:34
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:64
+msgid "Send"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:41
+msgid "Send Document"
+msgstr ""
+
+#: packages/ui/components/document/document-share-button.tsx:135
+msgid "Share Signature Card"
+msgstr ""
+
+#: packages/lib/constants/template.ts:16
+msgid "Share the Link"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:377
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:387
+msgid "Show advanced settings"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:20
+msgid "Sign"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:724
+#: packages/ui/primitives/document-flow/add-signature.tsx:323
+#: packages/ui/primitives/document-flow/field-icon.tsx:52
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:547
+msgid "Signature"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:21
+msgid "Signed"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:23
+msgid "Signer"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:22
+msgid "Signing"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx:34
+msgid "Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding."
+msgstr ""
+
+#: packages/ui/components/document/document-share-button.tsx:51
+msgid "Something went wrong"
+msgstr ""
+
+#: packages/ui/primitives/data-table.tsx:134
+msgid "Something went wrong."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/document-flow-root.tsx:107
+msgid "Step <0>{step} of {maxStep}</0>"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:78
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:195
+msgid "Subject <0>(Optional)</0>"
+msgstr ""
+
+#: packages/ui/primitives/document-password-dialog.tsx:97
+msgid "Submit"
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:134
+msgid "Template title"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:854
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:677
+msgid "Text"
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:44
+msgid "The authentication required for recipients to sign fields"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:68
+msgid "The authentication required for recipients to sign the signature field."
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:67
+msgid "The authentication required for recipients to view the document."
+msgstr ""
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:31
+msgid "The document's name"
+msgstr ""
+
+#: packages/ui/primitives/document-password-dialog.tsx:52
+msgid "The password you have entered is incorrect. Please try again."
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:103
+msgid "The recipient is not required to take any action and receives a copy of the document after it is completed."
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:60
+msgid "The recipient is required to approve the document for it to be completed."
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:39
+msgid "The recipient is required to sign the document for it to be completed."
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:81
+msgid "The recipient is required to view the document for it to be completed."
+msgstr ""
+
+#: packages/ui/components/document/document-share-button.tsx:52
+msgid "The sharing link could not be created at this time. Please try again."
+msgstr ""
+
+#: packages/ui/components/document/document-share-button.tsx:47
+msgid "The sharing link has been copied to your clipboard."
+msgstr ""
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:25
+msgid "The signer's email"
+msgstr ""
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:19
+msgid "The signer's name"
+msgstr ""
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:72
+msgid "This can be overriden by setting the authentication requirements directly on each recipient in the next step."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:685
+msgid "This document has already been sent to this recipient. You can no longer edit this recipient."
+msgstr ""
+
+#: packages/ui/primitives/document-password-dialog.tsx:66
+msgid "This document is password protected. Please enter the password to view the document."
+msgstr ""
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:315
+msgid "This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:165
+msgid "This signer has already received the document."
+msgstr ""
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:48
+msgid "This will override any global settings."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:274
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:309
+msgid "Time Zone"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:145
+msgid "Title"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:971
+msgid "To proceed further, please set at least one value for the {0} field."
+msgstr ""
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:124
+msgid "Update"
+msgstr ""
+
+#: packages/lib/constants/template.ts:13
+msgid "Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient."
+msgstr ""
+
+#: packages/ui/primitives/document-dropzone.tsx:168
+msgid "Upgrade"
+msgstr ""
+
+#: packages/ui/primitives/document-dropzone.tsx:70
+msgid "Upload Template Document"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:130
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:147
+msgid "Validation"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:88
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:93
+msgid "Value"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:26
+msgid "View"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:27
+msgid "Viewed"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:29
+msgid "Viewer"
+msgstr ""
+
+#: packages/lib/constants/recipient-roles.ts:28
+msgid "Viewing"
+msgstr ""
+
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:44
+msgid "You are about to send this document to the recipients. Are you sure you want to continue?"
+msgstr ""
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:11
+msgid "You can use the following variables in your message:"
+msgstr ""
+
+#: packages/ui/primitives/document-dropzone.tsx:43
+msgid "You cannot upload documents at this time."
+msgstr ""
+
+#: packages/ui/primitives/document-dropzone.tsx:69
+msgid "You have reached your document limit."
+msgstr ""
diff --git a/packages/lib/translations/de/marketing.js b/packages/lib/translations/de/marketing.js
index 3830fbe4e..12cf22025 100644
--- a/packages/lib/translations/de/marketing.js
+++ b/packages/lib/translations/de/marketing.js
@@ -1 +1 @@
-/*eslint-disable*/module.exports={messages:JSON.parse("{\"J/hVSQ\":[[\"0\"]],\"u0zktA\":\"5 Standarddokumente pro Monat\",\"rKtmiD\":\"5 Benutzer inbegriffen\",\"vaHmll\":\"Eine 10x bessere Signaturerfahrung.\",\"gBefbz\":[\"Mehr Benutzer hinzufügen für \",[\"0\"]],\"XkF8tv\":\"Alle unsere Kennzahlen, Finanzen und Erkenntnisse sind öffentlich. Wir glauben an Transparenz und möchten unsere Reise mit Ihnen teilen. Mehr erfahren Sie hier: <0>Ankündigung Offene Kennzahlen</0>\",\"tkQ/WI\":\"Erhobener Betrag\",\"qOMroC\":\"API-Zugriff\",\"FNv8t7\":\"Schön.\",\"W/TUoX\":\"Weil Unterschriften gefeiert werden sollten. Deshalb kümmern wir uns um jedes kleinste Detail in unserem Produkt.\",\"astDB+\":\"Blog\",\"7zGun7\":\"Aufbauen oben drauf.\",\"fxgcNV\":\"Kann ich Documenso kommerziell nutzen?\",\"V+D/YP\":\"Karrieren\",\"CWe7wB\":\"Änderungsprotokoll\",\"JZbmjL\":\"Wählen Sie eine Vorlage aus dem Community-App-Store. Oder reichen Sie Ihre eigene Vorlage ein, damit andere sie benutzen können.\",\"chL5IG\":\"Gemeinschaft\",\"p5+XQN\":\"Fertige Dokumente\",\"NApCXa\":\"Fertige Dokumente pro Monat\",\"z5kV0h\":\"Verbindungen\",\"YcfUZ9\":\"Kontaktiere uns\",\"1NJjIG\":\"Erstellen Sie Verbindungen und Automatisierungen mit Zapier und mehr, um sich mit Ihren Lieblingstools zu integrieren.\",\"rr83qK\":\"Erstellen Sie Ihr Konto und beginnen Sie mit der Nutzung modernster Dokumentensignaturen. Offene und schöne Signaturen sind zum Greifen nah.\",\"75ojt0\":\"Kunden mit einer aktiven Abonnements.\",\"pF9qTh\":\"Anpassen und erweitern.\",\"f8fH8W\":\"Design\",\"W6qD1T\":\"Entwickelt für jede Phase Ihrer Reise.\",\"K6KbY4\":\"Direktlink\",\"aLD+Td\":\"Documenso ist eine Gemeinschaftsanstrengung, um ein offenes und lebendiges Ökosystem um ein Werkzeug zu schaffen, das jeder frei nutzen und anpassen kann. Indem wir wirklich offen sind, wollen wir vertrauenswürdige Infrastruktur für die Zukunft des Internets schaffen.\",\"32yG8y\":\"Documenso auf X\",\"+1xAO7\":\"Unterschriften,<0/>endlich Open Source.\",\"TvY/XA\":\"Dokumentation\",\"tSS7hj\":\"Betten Sie Documenso ganz einfach in Ihr Produkt ein. Kopieren und fügen Sie einfach unser React-Widget in Ihre Anwendung ein.\",\"BWMGM4\":\"Einfaches Teilen (Bald).\",\"LRAhFG\":\"Easy Sharing.\",\"V6EY8B\":\"E-Mail- und Discord-Support\",\"C0/bri\":\"Beteiligung\",\"8Zy3YU\":\"Enterprise-Konformität, Lizenz- oder technische Bedürfnisse?\",\"ZSW8id\":\"Alles, was Sie für ein großartiges Signaturerlebnis benötigen.\",\"sXswT6\":\"Schnell.\",\"cT9Z9e\":\"Schneller, intelligenter und schöner.\",\"k/ANik\":\"Finanzen\",\"I7Exsw\":\"Folgen Sie uns auf X\",\"f3Botn\":\"Für Unternehmen, die über mehrere Teams skalieren möchten.\",\"y2DcZj\":\"Für kleine Teams und Einzelpersonen mit grundlegenden Bedürfnissen.\",\"2POOFK\":\"Kostenlos\",\"OdieZe\":\"Aus dem Blog\",\"IPgkVQ\":\"Vollzeit\",\"aSWzT9\":\"Lassen Sie sich bezahlen (Bald).\",\"ZDIydz\":\"Loslegen\",\"c3b0B0\":\"Loslegen\",\"pS8wej\":\"Fangen Sie heute an.\",\"7FPIvI\":\"Erhalten Sie die neuesten Nachrichten von Documenso, einschließlich Produkt-Updates, Team-Ankündigungen und mehr!\",\"kV0qBq\":\"GitHub: Gesamte PRs zusammengeführt\",\"652R6j\":\"GitHub: Gesamte offene Issues\",\"R1aJ0W\":\"GitHub: Gesamtanzahl Sterne\",\"P1ovAc\":\"Globale Gehaltsbänder\",\"IAq/yr\":\"Wachstum\",\"Xi7f+z\":\"Wie kann ich beitragen?\",\"9VGuMA\":\"Wie gehen Sie mit meinen Daten um?\",\"fByw/g\":\"Einzelperson\",\"Csm+TN\":\"Integrierte Zahlungen mit Stripe, sodass Sie sich keine Sorgen ums Bezahlen machen müssen.\",\"phSPy7\":\"Integriert sich mit all Ihren Lieblingstools.\",\"pfjrI2\":\"Gibt es mehr?\",\"LOyqaC\":\"Es liegt an Ihnen. Entweder klonen Sie unser Repository oder nutzen unsere einfach zu bedienende Hosting-Lösung.\",\"PCgMVa\":\"Eintrittsdatum\",\"TgL4dH\":\"Treten Sie der Open Signing-Bewegung bei\",\"wJijgU\":\"Standort\",\"OIowgO\":\"Machen Sie es zu Ihrem eigenen durch erweiterte Anpassung und Einstellbarkeit.\",\"GHelWd\":\"Zusammengeführte PRs\",\"vXBVQZ\":\"Zusammengeführte PRs\",\"+8Nek/\":\"Monatlich\",\"6YtxFj\":\"Name\",\"CtgXe4\":\"Neue Benutzer\",\"OpNhRn\":\"Keine Kreditkarte erforderlich\",\"6C9AxJ\":\"Keine Kreditkarte erforderlich\",\"igwAqT\":\"Keines dieser Angebote passt zu Ihnen? Versuchen Sie das Selbst-Hosting!\",\"jjAtjQ\":\"Offene Issues\",\"b76QYo\":\"Open Source oder Hosted.\",\"OWsQIe\":\"Offenes Startup\",\"Un80BR\":\"OSS-Freunde\",\"6zNyfI\":\"Unsere benutzerdefinierten Vorlagen verfügen über intelligente Regeln, die Ihnen Zeit und Energie sparen können.\",\"+OmhKD\":\"Unsere Enterprise-Lizenz ist ideal für große Organisationen, die auf Documenso für all ihre Signaturanforderungen umsteigen möchten. Sie ist sowohl für unser Cloud-Angebot als auch für selbstgehostete Setups verfügbar und bietet eine breite Palette an Compliance- und Verwaltungsfunktionen.\",\"eK0veR\":\"Our Enterprise License is great large organizations looking to switch to Documenso for all their signing needs. It's availible for our cloud offering as well as self-hosted setups and offer a wide range of compliance and Adminstration Features.\",\"I2ufwS\":\"Unsere selbstgehostete Option ist ideal für kleine Teams und Einzelpersonen, die eine einfache Lösung benötigen. Sie können unser docker-basiertes Setup verwenden, um in wenigen Minuten loszulegen. Übernehmen Sie die Kontrolle mit vollständiger Anpassbarkeit und Datenhoheit.\",\"F9564X\":\"Teilzeit\",\"qJVkX+\":\"Premium Profilname\",\"aHCEmh\":\"Preise\",\"rjGI/Q\":\"Datenschutz\",\"vERlcd\":\"Profil\",\"77/8W2\":\"React Widget (Demnächst).\",\"OYoVNk\":\"Erhalten Sie Ihren persönlichen Link zum Teilen mit allen, die Ihnen wichtig sind.\",\"GDvlUT\":\"Rolle\",\"bUqwb8\":\"Gehalt\",\"GNfoAO\":\"Sparen Sie $60 oder $120\",\"StoBff\":\"Sprachen suchen...\",\"dhi4w4\":\"Sicher. Unsere Rechenzentren befinden sich in Frankfurt (Deutschland) und bieten uns die besten lokalen Datenschutzgesetze. Uns ist die sensible Natur unserer Daten sehr bewusst und wir folgen bewährten Praktiken, um die Sicherheit und Integrität der uns anvertrauten Daten zu gewährleisten.\",\"kZBxnz\":\"Überall senden, verbinden, empfangen und einbetten.\",\"eSfS30\":\"Dienstalter\",\"aoDa18\":\"Shop\",\"5lWFkC\":\"Anmelden\",\"e+RpCP\":\"Registrieren\",\"4yiZOB\":\"Signaturprozess\",\"RkUXMm\":\"Jetzt registrieren\",\"omz3DH\":\"Intelligent.\",\"AvYbUL\":\"Auf GitHub favorisieren\",\"y2dGtU\":\"Favoriten\",\"uAQUqI\":\"Status\",\"XYLcNv\":\"Support\",\"KM6m8p\":\"Team\",\"lm5v+6\":\"Team-Posteingang\",\"CAL6E9\":\"Teams\",\"w4nM1s\":\"Vorlagen-Shop (Demnächst).\",\"yFoQ27\":\"Das ist großartig. Sie können sich die aktuellen <0>Issues</0> ansehen und unserer <1>Discord-Community</1> beitreten, um auf dem neuesten Stand zu bleiben, was die aktuellen Prioritäten sind. In jedem Fall sind wir eine offene Gemeinschaft und begrüßen jegliche Beiträge, technische und nicht-technische ❤️\",\"GE1BlA\":\"Diese Seite entwickelt sich weiter, während wir lernen, was ein großartiges Signing-Unternehmen ausmacht. Wir werden sie aktualisieren, wenn wir mehr zu teilen haben.\",\"MHrjPM\":\"Titel\",\"2YvdxE\":\"Insgesamt Abgeschlossene Dokumente\",\"8e4lIo\":\"Insgesamt Kunden\",\"bPpoCb\":\"Insgesamt Finanzierungsvolumen\",\"vb0Q0/\":\"Gesamtanzahl der Benutzer\",\"mgQhDS\":\"Wirklich Ihr Eigenes.\",\"4McJfQ\":\"Probieren Sie unseren Gratisplan aus\",\"9mkNAn\":\"Twitter-Statistiken\",\"CHzOWB\":\"Unbegrenzte Dokumente pro Monat\",\"BOV7DD\":\"Bis zu 10 Empfänger pro Dokument\",\"vdAd7c\":\"Die Nutzung unserer gehosteten Version ist der einfachste Weg, um zu starten. Sie können einfach abonnieren und mit der Unterzeichnung Ihrer Dokumente beginnen. Wir kümmern uns um die Infrastruktur, damit Sie sich auf Ihr Geschäft konzentrieren können. Zudem profitieren Sie bei der Nutzung unserer gehosteten Version von unseren vertrauenswürdigen Signaturzertifikaten, die Ihnen helfen, Vertrauen bei Ihren Kunden aufzubauen.\",\"W2nDs0\":\"Alle Statistiken anzeigen\",\"WMfAK8\":\"Wir helfen Ihnen gerne unter <0>[email protected]</0> oder <1>in unserem Discord-Support-Kanal</1>. Bitte senden Sie Lucas oder Timur eine Nachricht, um dem Kanal beizutreten, falls Sie noch kein Mitglied sind.\",\"ZaMyxU\":\"Was ist der Unterschied zwischen den Plänen?\",\"8GpyFt\":\"Wenn es um das Senden oder Empfangen eines Vertrags geht, können Sie auf blitzschnelle Geschwindigkeiten zählen.\",\"HEDnID\":\"Wo kann ich Unterstützung bekommen?\",\"sib3h3\":\"Warum sollte ich Documenso gegenüber DocuSign oder einem anderen Signatur-Tool bevorzugen?\",\"cVPDPt\":\"Warum sollte ich Ihren Hosting-Service nutzen?\",\"zkWmBh\":\"Jährlich\",\"8AKApo\":\"Ja! Documenso wird unter der GNU AGPL V3 Open-Source-Lizenz angeboten. Das bedeutet, dass Sie es kostenlos nutzen und sogar an Ihre Bedürfnisse anpassen können, solange Sie Ihre Änderungen unter derselben Lizenz veröffentlichen.\",\"rzQpex\":\"Sie können Documenso kostenlos selbst hosten oder unsere sofort einsatzbereite gehostete Version nutzen. Die gehostete Version bietet zusätzlichen Support, schmerzfreie Skalierbarkeit und mehr. Frühzeitige Anwender erhalten in diesem Jahr Zugriff auf alle Funktionen, die wir entwickeln, ohne zusätzliche Kosten! Für immer! Ja, das beinhaltet später mehrere Benutzer pro Konto. Wenn Sie Documenso für Ihr Unternehmen möchten, sprechen wir gerne über Ihre Bedürfnisse.\",\"1j9aoC\":\"Ihr Browser unterstützt das Video-Tag nicht.\"}")};
\ No newline at end of file
+/*eslint-disable*/module.exports={messages:JSON.parse("{\"J/hVSQ\":[[\"0\"]],\"u0zktA\":\"5 Standarddokumente pro Monat\",\"rKtmiD\":\"5 Benutzer inbegriffen\",\"vaHmll\":\"Eine 10x bessere Signaturerfahrung.\",\"t7ZCoe\":\"Add document\",\"gBefbz\":[\"Mehr Benutzer hinzufügen für \",[\"0\"]],\"XkF8tv\":\"Alle unsere Kennzahlen, Finanzen und Erkenntnisse sind öffentlich. Wir glauben an Transparenz und möchten unsere Reise mit Ihnen teilen. Mehr erfahren Sie hier: <0>Ankündigung Offene Kennzahlen</0>\",\"tkQ/WI\":\"Erhobener Betrag\",\"qOMroC\":\"API-Zugriff\",\"FNv8t7\":\"Schön.\",\"W/TUoX\":\"Weil Unterschriften gefeiert werden sollten. Deshalb kümmern wir uns um jedes kleinste Detail in unserem Produkt.\",\"astDB+\":\"Blog\",\"7zGun7\":\"Aufbauen oben drauf.\",\"fxgcNV\":\"Kann ich Documenso kommerziell nutzen?\",\"V+D/YP\":\"Karrieren\",\"CWe7wB\":\"Änderungsprotokoll\",\"JZbmjL\":\"Wählen Sie eine Vorlage aus dem Community-App-Store. Oder reichen Sie Ihre eigene Vorlage ein, damit andere sie benutzen können.\",\"chL5IG\":\"Gemeinschaft\",\"p5+XQN\":\"Fertige Dokumente\",\"NApCXa\":\"Fertige Dokumente pro Monat\",\"z5kV0h\":\"Verbindungen\",\"YcfUZ9\":\"Kontaktiere uns\",\"1NJjIG\":\"Erstellen Sie Verbindungen und Automatisierungen mit Zapier und mehr, um sich mit Ihren Lieblingstools zu integrieren.\",\"rr83qK\":\"Erstellen Sie Ihr Konto und beginnen Sie mit der Nutzung modernster Dokumentensignaturen. Offene und schöne Signaturen sind zum Greifen nah.\",\"75ojt0\":\"Kunden mit einer aktiven Abonnements.\",\"pF9qTh\":\"Anpassen und erweitern.\",\"f8fH8W\":\"Design\",\"W6qD1T\":\"Entwickelt für jede Phase Ihrer Reise.\",\"K6KbY4\":\"Direktlink\",\"aLD+Td\":\"Documenso ist eine Gemeinschaftsanstrengung, um ein offenes und lebendiges Ökosystem um ein Werkzeug zu schaffen, das jeder frei nutzen und anpassen kann. Indem wir wirklich offen sind, wollen wir vertrauenswürdige Infrastruktur für die Zukunft des Internets schaffen.\",\"32yG8y\":\"Documenso auf X\",\"+1xAO7\":\"Unterschriften,<0/>endlich Open Source.\",\"TvY/XA\":\"Dokumentation\",\"tSS7hj\":\"Betten Sie Documenso ganz einfach in Ihr Produkt ein. Kopieren und fügen Sie einfach unser React-Widget in Ihre Anwendung ein.\",\"BWMGM4\":\"Easy Sharing (Soon).\",\"LRAhFG\":\"Einfaches Teilen.\",\"V6EY8B\":\"E-Mail- und Discord-Support\",\"C0/bri\":\"Beteiligung\",\"JejrgO\":\"Enter your details.\",\"8Zy3YU\":\"Enterprise-Konformität, Lizenz- oder technische Bedürfnisse?\",\"ZSW8id\":\"Alles, was Sie für ein großartiges Signaturerlebnis benötigen.\",\"sXswT6\":\"Schnell.\",\"cT9Z9e\":\"Schneller, intelligenter und schöner.\",\"k/ANik\":\"Finanzen\",\"I7Exsw\":\"Folgen Sie uns auf X\",\"f3Botn\":\"Für Unternehmen, die über mehrere Teams skalieren möchten.\",\"y2DcZj\":\"Für kleine Teams und Einzelpersonen mit grundlegenden Bedürfnissen.\",\"2POOFK\":\"Kostenlos\",\"OdieZe\":\"Aus dem Blog\",\"IPgkVQ\":\"Vollzeit\",\"aSWzT9\":\"Lassen Sie sich bezahlen (Bald).\",\"ZDIydz\":\"Loslegen\",\"c3b0B0\":\"Loslegen\",\"pS8wej\":\"Fangen Sie heute an.\",\"7FPIvI\":\"Erhalten Sie die neuesten Nachrichten von Documenso, einschließlich Produkt-Updates, Team-Ankündigungen und mehr!\",\"kV0qBq\":\"GitHub: Gesamte PRs zusammengeführt\",\"652R6j\":\"GitHub: Gesamte offene Issues\",\"R1aJ0W\":\"GitHub: Gesamtanzahl Sterne\",\"P1ovAc\":\"Globale Gehaltsbänder\",\"IAq/yr\":\"Wachstum\",\"Xi7f+z\":\"Wie kann ich beitragen?\",\"9VGuMA\":\"Wie gehen Sie mit meinen Daten um?\",\"fByw/g\":\"Einzelperson\",\"Csm+TN\":\"Integrierte Zahlungen mit Stripe, sodass Sie sich keine Sorgen ums Bezahlen machen müssen.\",\"phSPy7\":\"Integriert sich mit all Ihren Lieblingstools.\",\"pfjrI2\":\"Gibt es mehr?\",\"LOyqaC\":\"Es liegt an Ihnen. Entweder klonen Sie unser Repository oder nutzen unsere einfach zu bedienende Hosting-Lösung.\",\"PCgMVa\":\"Eintrittsdatum\",\"TgL4dH\":\"Treten Sie der Open Signing-Bewegung bei\",\"wJijgU\":\"Standort\",\"OIowgO\":\"Machen Sie es zu Ihrem eigenen durch erweiterte Anpassung und Einstellbarkeit.\",\"GHelWd\":\"Zusammengeführte PRs\",\"vXBVQZ\":\"Zusammengeführte PRs\",\"+8Nek/\":\"Monatlich\",\"6YtxFj\":\"Name\",\"CtgXe4\":\"Neue Benutzer\",\"OpNhRn\":\"Keine Kreditkarte erforderlich\",\"6C9AxJ\":\"Keine Kreditkarte erforderlich\",\"igwAqT\":\"Keines dieser Angebote passt zu Ihnen? Versuchen Sie das Selbst-Hosting!\",\"jjAtjQ\":\"Offene Issues\",\"b76QYo\":\"Open Source oder Hosted.\",\"OWsQIe\":\"Offenes Startup\",\"Un80BR\":\"OSS-Freunde\",\"6zNyfI\":\"Unsere benutzerdefinierten Vorlagen verfügen über intelligente Regeln, die Ihnen Zeit und Energie sparen können.\",\"+OmhKD\":\"Unsere Enterprise-Lizenz ist ideal für große Organisationen, die auf Documenso für all ihre Signaturanforderungen umsteigen möchten. Sie ist sowohl für unser Cloud-Angebot als auch für selbstgehostete Setups verfügbar und bietet eine breite Palette an Compliance- und Verwaltungsfunktionen.\",\"eK0veR\":\"Our Enterprise License is great large organizations looking to switch to Documenso for all their signing needs. It's availible for our cloud offering as well as self-hosted setups and offer a wide range of compliance and Adminstration Features.\",\"I2ufwS\":\"Unsere selbstgehostete Option ist ideal für kleine Teams und Einzelpersonen, die eine einfache Lösung benötigen. Sie können unser docker-basiertes Setup verwenden, um in wenigen Minuten loszulegen. Übernehmen Sie die Kontrolle mit vollständiger Anpassbarkeit und Datenhoheit.\",\"F9564X\":\"Teilzeit\",\"qJVkX+\":\"Premium Profilname\",\"aHCEmh\":\"Preise\",\"rjGI/Q\":\"Datenschutz\",\"vERlcd\":\"Profil\",\"77/8W2\":\"React Widget (Demnächst).\",\"OYoVNk\":\"Erhalten Sie Ihren persönlichen Link zum Teilen mit allen, die Ihnen wichtig sind.\",\"GDvlUT\":\"Rolle\",\"bUqwb8\":\"Gehalt\",\"GNfoAO\":\"Sparen Sie $60 oder $120\",\"StoBff\":\"Sprachen suchen...\",\"dhi4w4\":\"Sicher. Unsere Rechenzentren befinden sich in Frankfurt (Deutschland) und bieten uns die besten lokalen Datenschutzgesetze. Uns ist die sensible Natur unserer Daten sehr bewusst und wir folgen bewährten Praktiken, um die Sicherheit und Integrität der uns anvertrauten Daten zu gewährleisten.\",\"kZBxnz\":\"Überall senden, verbinden, empfangen und einbetten.\",\"eSfS30\":\"Dienstalter\",\"aoDa18\":\"Shop\",\"c+Fnce\":\"Sign\",\"5lWFkC\":\"Anmelden\",\"e+RpCP\":\"Registrieren\",\"4yiZOB\":\"Signaturprozess\",\"RkUXMm\":\"Jetzt registrieren\",\"omz3DH\":\"Intelligent.\",\"AvYbUL\":\"Auf GitHub favorisieren\",\"y2dGtU\":\"Favoriten\",\"uAQUqI\":\"Status\",\"XYLcNv\":\"Support\",\"KM6m8p\":\"Team\",\"lm5v+6\":\"Team-Posteingang\",\"CAL6E9\":\"Teams\",\"w4nM1s\":\"Vorlagen-Shop (Demnächst).\",\"yFoQ27\":\"Das ist großartig. Sie können sich die aktuellen <0>Issues</0> ansehen und unserer <1>Discord-Community</1> beitreten, um auf dem neuesten Stand zu bleiben, was die aktuellen Prioritäten sind. In jedem Fall sind wir eine offene Gemeinschaft und begrüßen jegliche Beiträge, technische und nicht-technische ❤️\",\"GE1BlA\":\"Diese Seite entwickelt sich weiter, während wir lernen, was ein großartiges Signing-Unternehmen ausmacht. Wir werden sie aktualisieren, wenn wir mehr zu teilen haben.\",\"MHrjPM\":\"Title\",\"2YvdxE\":\"Insgesamt Abgeschlossene Dokumente\",\"8e4lIo\":\"Insgesamt Kunden\",\"bPpoCb\":\"Insgesamt Finanzierungsvolumen\",\"vb0Q0/\":\"Gesamtanzahl der Benutzer\",\"mgQhDS\":\"Wirklich Ihr Eigenes.\",\"4McJfQ\":\"Probieren Sie unseren Gratisplan aus\",\"9mkNAn\":\"Twitter-Statistiken\",\"CHzOWB\":\"Unbegrenzte Dokumente pro Monat\",\"BOV7DD\":\"Bis zu 10 Empfänger pro Dokument\",\"fydTfa\":\"Upload a document and add fields.\",\"vdAd7c\":\"Die Nutzung unserer gehosteten Version ist der einfachste Weg, um zu starten. Sie können einfach abonnieren und mit der Unterzeichnung Ihrer Dokumente beginnen. Wir kümmern uns um die Infrastruktur, damit Sie sich auf Ihr Geschäft konzentrieren können. Zudem profitieren Sie bei der Nutzung unserer gehosteten Version von unseren vertrauenswürdigen Signaturzertifikaten, die Ihnen helfen, Vertrauen bei Ihren Kunden aufzubauen.\",\"W2nDs0\":\"Alle Statistiken anzeigen\",\"WMfAK8\":\"Wir helfen Ihnen gerne unter <0>[email protected]</0> oder <1>in unserem Discord-Support-Kanal</1>. Bitte senden Sie Lucas oder Timur eine Nachricht, um dem Kanal beizutreten, falls Sie noch kein Mitglied sind.\",\"ZaMyxU\":\"Was ist der Unterschied zwischen den Plänen?\",\"8GpyFt\":\"Wenn es um das Senden oder Empfangen eines Vertrags geht, können Sie auf blitzschnelle Geschwindigkeiten zählen.\",\"HEDnID\":\"Wo kann ich Unterstützung bekommen?\",\"sib3h3\":\"Warum sollte ich Documenso gegenüber DocuSign oder einem anderen Signatur-Tool bevorzugen?\",\"cVPDPt\":\"Warum sollte ich Ihren Hosting-Service nutzen?\",\"zkWmBh\":\"Jährlich\",\"8AKApo\":\"Ja! Documenso wird unter der GNU AGPL V3 Open-Source-Lizenz angeboten. Das bedeutet, dass Sie es kostenlos nutzen und sogar an Ihre Bedürfnisse anpassen können, solange Sie Ihre Änderungen unter derselben Lizenz veröffentlichen.\",\"rzQpex\":\"Sie können Documenso kostenlos selbst hosten oder unsere sofort einsatzbereite gehostete Version nutzen. Die gehostete Version bietet zusätzlichen Support, schmerzfreie Skalierbarkeit und mehr. Frühzeitige Anwender erhalten in diesem Jahr Zugriff auf alle Funktionen, die wir entwickeln, ohne zusätzliche Kosten! Für immer! Ja, das beinhaltet später mehrere Benutzer pro Konto. Wenn Sie Documenso für Ihr Unternehmen möchten, sprechen wir gerne über Ihre Bedürfnisse.\",\"1j9aoC\":\"Ihr Browser unterstützt das Video-Tag nicht.\",\"73XXzw\":[[\"0\"],\" of \",[\"1\"],\" row(s) selected.\"],\"lZ4w45\":[[\"visibleRows\",\"plural\",{\"one\":[\"Showing \",\"#\",\" result.\"],\"other\":[\"Showing \",\"#\",\" results.\"]}]],\"AhYxw5\":\"<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \\\"General Settings\\\" step\",\"OepImG\":\"<0>No restrictions</0> - No authentication required\",\"07+JZ2\":\"<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient\",\"jx/lwn\":\"<0>None</0> - No authentication required\",\"CUT3u1\":\"<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings\",\"2PbD3D\":\"<0>Require account</0> - The recipient must be signed in to view the document\",\"QHSbey\":\"<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings\",\"Oy5nEc\":\"Add a document\",\"7Pz5x5\":\"Add a URL to redirect the user to once the document is signed\",\"aILOUH\":\"Add an external ID to the document. This can be used to identify the document in external systems.\",\"bK1dPK\":\"Add an external ID to the template. This can be used to identify in external systems.\",\"nnZ1Sa\":\"Add another option\",\"0/UVRw\":\"Add another value\",\"VaCh6w\":\"Add myself\",\"jAa/lz\":\"Add Myself\",\"29QK6H\":\"Add Placeholder Recipient\",\"vcxlzZ\":\"Add Signer\",\"MwcOtB\":\"Add text\",\"7F2ltK\":\"Add text to the field\",\"U3pytU\":\"Admin\",\"NFIOKv\":\"Advanced Options\",\"VNgKZz\":\"Advanced settings\",\"bNUpvl\":\"After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email.\",\"Z7ZXbT\":\"Approve\",\"7kb4LU\":\"Approved\",\"ca9AbO\":\"Approver\",\"j2Uisd\":\"Approving\",\"dEgA5A\":\"Cancel\",\"brJrDl\":\"Cannot remove signer\",\"RpYfjZ\":\"Cc\",\"XdZeJk\":\"CC\",\"nrL/ZD\":\"CC'd\",\"EEk+d0\":\"Character Limit\",\"G1XxbZ\":\"Checkbox\",\"wbixMe\":\"Checkbox values\",\"u8JHrO\":\"Clear filters\",\"IqxkER\":\"Clear Signature\",\"eZ6/Uj\":\"Click to insert field\",\"yz7wBu\":\"Close\",\"OrcxNk\":\"Configure Direct Recipient\",\"92KLYs\":[\"Configure the \",[\"0\"],\" field\"],\"xGVfLh\":\"Continue\",\"FxVG/l\":\"Copied to clipboard\",\"GB2F11\":\"Custom Text\",\"mYGY3B\":\"Date\",\"4BHv90\":\"Date Format\",\"NLXhq7\":\"Direct link receiver\",\"YScG1E\":\"Document access\",\"rAqi0g\":\"Document Creation\",\"mzI/c+\":\"Download\",\"6GyScL\":\"Drag & drop your PDF here.\",\"iKQcPM\":\"Dropdown\",\"XXvhMd\":\"Dropdown options\",\"O3oNi5\":\"Email\",\"XLpxoj\":\"Email Options\",\"qChNnS\":\"Enable Direct Link Signing\",\"f7sXvi\":\"Enter password\",\"SlfejT\":\"Error\",\"5KfWxA\":\"External ID\",\"4CP+OV\":\"Failed to save settings.\",\"LK3SFK\":\"Field character limit\",\"NYkIsf\":\"Field format\",\"X6Tb6Q\":\"Field label\",\"NaVkSD\":\"Field placeholder\",\"N1UTWT\":\"Global recipient action authentication\",\"sr0UJD\":\"Go Back\",\"uCroPU\":\"I am a signer of this document\",\"K6KTX2\":\"I am a viewer of this document\",\"ngj5km\":\"I am an approver of this document\",\"ZjDoG7\":\"I am required to recieve a copy of this document\",\"fnbcC0\":\"Inherit authentication method\",\"87a/t/\":\"Label\",\"dtOoGl\":\"Manager\",\"CK1KXz\":\"Max\",\"OvoEq7\":\"Member\",\"ziXm9u\":\"Message <0>(Optional)</0>\",\"eTUF28\":\"Min\",\"4nqUV0\":\"Needs to approve\",\"lNQBPg\":\"Needs to sign\",\"eUAUyG\":\"Needs to view\",\"GBIRGD\":\"No recipient matching this description was found.\",\"f34Qxi\":\"No recipients with this role\",\"qQ7oqE\":\"No restrictions\",\"AxPAXW\":\"No results found\",\"pt86ev\":\"No signature field found\",\"CSOFdu\":\"No value found.\",\"HptUxX\":\"Number\",\"bR2sEm\":\"Number format\",\"eY6ns+\":\"Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted.\",\"JE2qy+\":\"Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them.\",\"fpzyLj\":[\"Page \",[\"0\"],\" of \",[\"1\"]],\"8ltyoa\":\"Password Required\",\"ayaTI6\":\"Pick a number\",\"hx1ePY\":\"Placeholder\",\"MtkqZc\":\"Radio\",\"5cEi0C\":\"Radio values\",\"uNQ6eB\":\"Read only\",\"UTnF5X\":\"Receives copy\",\"ZIuo5V\":\"Recipient action authentication\",\"VTB2Rz\":\"Redirect URL\",\"t/YqKh\":\"Remove\",\"8dg+Yo\":\"Required field\",\"xxCtZv\":\"Rows per page\",\"tfDRzk\":\"Save\",\"9Y3hAT\":\"Save Template\",\"rG3WVm\":\"Select\",\"hVPa4O\":\"Select an option\",\"IM+vrQ\":\"Select at least\",\"Gve6FG\":\"Select default option\",\"JlFcis\":\"Send\",\"AEV4wo\":\"Send Document\",\"iE3nGO\":\"Share Signature Card\",\"y+hKWu\":\"Share the Link\",\"ydZ6yi\":\"Show advanced settings\",\"n+8yVN\":\"Signature\",\"PoH7eg\":\"Signed\",\"jTCAGu\":\"Signer\",\"6G8s+q\":\"Signing\",\"kW2h2Z\":\"Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding.\",\"nwtY4N\":\"Something went wrong\",\"kf83Ld\":\"Something went wrong.\",\"WlBiWh\":[\"Step <0>\",[\"step\"],\" of \",[\"maxStep\"],\"</0>\"],\"ki77Td\":\"Subject <0>(Optional)</0>\",\"hQRttt\":\"Submit\",\"URdrTr\":\"Template title\",\"xeiujy\":\"Text\",\"imClgr\":\"The authentication required for recipients to sign fields\",\"yyD2dE\":\"The authentication required for recipients to sign the signature field.\",\"GtDmLf\":\"The authentication required for recipients to view the document.\",\"zAoaPB\":\"The document's name\",\"Ev3GOS\":\"The password you have entered is incorrect. Please try again.\",\"OPnnb6\":\"The recipient is not required to take any action and receives a copy of the document after it is completed.\",\"v8p6Mb\":\"The recipient is required to approve the document for it to be completed.\",\"CPv0TB\":\"The recipient is required to sign the document for it to be completed.\",\"oIvIfH\":\"The recipient is required to view the document for it to be completed.\",\"Br2bvS\":\"The sharing link could not be created at this time. Please try again.\",\"XJIzqY\":\"The sharing link has been copied to your clipboard.\",\"UyM8/E\":\"The signer's email\",\"zHJ+vk\":\"The signer's name\",\"kaEF2i\":\"This can be overriden by setting the authentication requirements directly on each recipient in the next step.\",\"QUZVfd\":\"This document has already been sent to this recipient. You can no longer edit this recipient.\",\"riNGUC\":\"This document is password protected. Please enter the password to view the document.\",\"Qkeh+t\":\"This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them.\",\"l2Xt6u\":\"This signer has already received the document.\",\"6iFh5a\":\"This will override any global settings.\",\"RxsRD6\":\"Time Zone\",\"UWmOq4\":[\"To proceed further, please set at least one value for the \",[\"0\"],\" field.\"],\"EkH9pt\":\"Update\",\"GT+2nz\":\"Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient.\",\"kwkhPe\":\"Upgrade\",\"06fEqf\":\"Upload Template Document\",\"lGWE4b\":\"Validation\",\"wMHvYH\":\"Value\",\"jpctdh\":\"View\",\"vXtpAZ\":\"Viewed\",\"M/TIv1\":\"Viewer\",\"RVWz5F\":\"Viewing\",\"4/hUq0\":\"You are about to send this document to the recipients. Are you sure you want to continue?\",\"rb/T41\":\"You can use the following variables in your message:\",\"9+Ph0R\":\"You cannot upload documents at this time.\",\"m5RA9C\":\"You have reached your document limit.\"}")};
\ No newline at end of file
diff --git a/packages/lib/translations/de/marketing.po b/packages/lib/translations/de/marketing.po
index 8a7fec45b..8c92e06e3 100644
--- a/packages/lib/translations/de/marketing.po
+++ b/packages/lib/translations/de/marketing.po
@@ -34,6 +34,10 @@ msgstr "5 Benutzer inbegriffen"
msgid "A 10x better signing experience."
msgstr "Eine 10x bessere Signaturerfahrung."
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:51
+msgid "Add document"
+msgstr ""
+
#: apps/marketing/src/components/(marketing)/pricing-table.tsx:201
msgid "Add More Users for {0}"
msgstr "Mehr Benutzer hinzufügen für {0}"
@@ -173,6 +177,10 @@ msgstr "E-Mail- und Discord-Support"
msgid "Engagement"
msgstr "Beteiligung"
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:64
+msgid "Enter your details."
+msgstr ""
+
#: apps/marketing/src/components/(marketing)/enterprise.tsx:16
msgid "Enterprise Compliance, License or Technical Needs?"
msgstr "Enterprise-Konformität, Lizenz- oder technische Bedürfnisse?"
@@ -441,6 +449,10 @@ msgstr "Dienstalter"
msgid "Shop"
msgstr "Shop"
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:63
+msgid "Sign"
+msgstr ""
+
#: apps/marketing/src/components/(marketing)/header.tsx:72
#: apps/marketing/src/components/(marketing)/mobile-navigation.tsx:61
msgid "Sign in"
@@ -554,6 +566,10 @@ msgstr "Unbegrenzte Dokumente pro Monat"
msgid "Up to 10 recipients per document"
msgstr "Bis zu 10 Empfänger pro Dokument"
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:52
+msgid "Upload a document and add fields."
+msgstr ""
+
#: apps/marketing/src/app/(marketing)/pricing/page.tsx:123
msgid "Using our hosted version is the easiest way to get started, you can simply subscribe and start signing your documents. We take care of the infrastructure, so you can focus on your business. Additionally, when using our hosted version you benefit from our trusted signing certificates which helps you to build trust with your customers."
msgstr "Die Nutzung unserer gehosteten Version ist der einfachste Weg, um zu starten. Sie können einfach abonnieren und mit der Unterzeichnung Ihrer Dokumente beginnen. Wir kümmern uns um die Infrastruktur, damit Sie sich auf Ihr Geschäft konzentrieren können. Zudem profitieren Sie bei der Nutzung unserer gehosteten Version von unseren vertrauenswürdigen Signaturzertifikaten, die Ihnen helfen, Vertrauen bei Ihren Kunden aufzubauen."
@@ -601,4 +617,3 @@ msgstr "Sie können Documenso kostenlos selbst hosten oder unsere sofort einsatz
#: apps/marketing/src/components/(marketing)/carousel.tsx:265
msgid "Your browser does not support the video tag."
msgstr "Ihr Browser unterstützt das Video-Tag nicht."
-
diff --git a/packages/lib/translations/de/web.js b/packages/lib/translations/de/web.js
index 3975ff70f..317f513aa 100644
--- a/packages/lib/translations/de/web.js
+++ b/packages/lib/translations/de/web.js
@@ -1 +1 @@
-/*eslint-disable*/module.exports={messages:JSON.parse("{}")};
\ No newline at end of file
+/*eslint-disable*/module.exports={messages:JSON.parse("{\"4CkA8m\":[\"\\\"\",[\"0\"],\"\\\" will appear on the document as it has a timezone of \\\"\",[\"timezone\"],\"\\\".\"],\"PGXGNV\":[\"\\\"\",[\"documentTitle\"],\"\\\" has been successfully deleted\"],\"ibh+jM\":[\"(\",[\"0\"],\") has invited you to approve this document\"],\"Hdo1JO\":[\"(\",[\"0\"],\") has invited you to sign this document\"],\"wPU8t5\":[\"(\",[\"0\"],\") has invited you to view this document\"],\"1mCQTM\":[[\"0\",\"plural\",{\"one\":\"(1 character over)\",\"other\":[\"(\",\"#\",\" characters over)\"]}]],\"8laXJX\":[[\"0\",\"plural\",{\"one\":[\"#\",\" character over the limit\"],\"other\":[\"#\",\" characters over the limit\"]}]],\"/7wuBM\":[[\"0\",\"plural\",{\"one\":[\"#\",\" recipient\"],\"other\":[\"#\",\" recipients\"]}]],\"WVvaAa\":[[\"0\",\"plural\",{\"one\":[\"#\",\" Seat\"],\"other\":[\"#\",\" Seats\"]}]],\"mBW/Nj\":[[\"0\",\"plural\",{\"one\":\"<0>You have <1>1</1> pending team invitation</0>\",\"other\":[\"<2>You have <3>\",\"#\",\"</3> pending team invitations</2>\"]}]],\"+Futv0\":[[\"0\",\"plural\",{\"one\":\"1 Recipient\",\"other\":[\"#\",\" Recipients\"]}]],\"/9xV/+\":[[\"0\",\"plural\",{\"one\":\"Waiting on 1 recipient\",\"other\":[\"Waiting on \",\"#\",\" recipients\"]}]],\"NKVaV/\":[[\"0\",\"plural\",{\"zero\":\"Select values\",\"other\":[\"#\",\" selected...\"]}]],\"XZlK7r\":[[\"0\"],\" direct signing templates\"],\"FDQtbR\":[[\"0\"],\" document\"],\"NnFCoc\":[[\"0\"],\" of \",[\"1\"],\" documents remaining this month.\"],\"5YOFTl\":[[\"0\"],\" Recipient(s)\"],\"7VC/RF\":[[\"0\"],\" the document to complete the process.\"],\"fjZZE0\":[[\"charactersRemaining\",\"plural\",{\"one\":\"1 character remaining\",\"other\":[[\"charactersRemaining\"],\" characters remaining\"]}]],\"AQAq/V\":[[\"formattedTeamMemberQuanity\"],\" • Monthly • Renews: \",[\"formattedDate\"]],\"QBOMc/\":[[\"numberOfSeats\",\"plural\",{\"one\":[\"#\",\" member\"],\"other\":[\"#\",\" members\"]}]],\"B/VHou\":[[\"remaningLength\",\"plural\",{\"one\":[\"#\",\" character remaining\"],\"other\":[\"#\",\" characters remaining\"]}]],\"Z5MlD3\":[\"<0>\\\"\",[\"0\"],\"\\\"</0>is no longer available to sign\"],\"xvzJ86\":\"<0>Sender:</0> All\",\"mVRii8\":\"404 Page not found\",\"WZHDfC\":\"404 Profile not found\",\"4lyY0m\":\"404 Team not found\",\"In0QZI\":\"404 Template not found\",\"1a1ztU\":\"A confirmation email has been sent, and it should arrive in your inbox shortly.\",\"0JoPTv\":\"A draft document will be created\",\"pYI9yv\":\"A new token was created successfully.\",\"FnK1CG\":\"A password reset email has been sent, if you have an account you should see it in your inbox shortly.\",\"GtLRrc\":[\"A request to transfer the ownership of this team has been sent to <0>\",[\"0\"],\" (\",[\"1\"],\")</0>\"],\"EUAIAh\":\"A secret that will be sent to your URL so you can verify that the request has been sent by Documenso\",\"FUzxsL\":\"A secret that will be sent to your URL so you can verify that the request has been sent by Documenso.\",\"h39O4b\":\"A unique URL to access your profile\",\"B26oYX\":\"A unique URL to identify your team\",\"YKB66I\":\"A verification email will be sent to the provided email.\",\"g3UF2V\":\"Accept\",\"f8bc61\":\"Accepted team invitation\",\"TKFUnX\":\"Account deleted\",\"bwRvnp\":\"Action\",\"7L01XJ\":\"Actions\",\"F6pfE9\":\"Active\",\"i1lpSD\":\"Active Subscriptions\",\"m16xKo\":\"Add\",\"qkB+9Q\":\"Add all relevant fields for each recipient.\",\"bpOeyo\":\"Add all relevant placeholders for each recipient.\",\"GQ/q/T\":\"Add an authenticator to serve as a secondary authentication method for signing documents.\",\"o7gocE\":\"Add an authenticator to serve as a secondary authentication method when signing in, or when signing documents.\",\"bJUlXv\":\"Add email\",\"S/w/ui\":\"Add Fields\",\"iOiHwJ\":\"Add more\",\"rSRyAh\":\"Add number\",\"w3zmQl\":\"Add passkey\",\"zkvWcK\":\"Add Placeholders\",\"2Rqi1z\":\"Add Signers\",\"eZyoIc\":\"Add Subject\",\"bD3qQ7\":\"Add team email\",\"MwcOtB\":\"Add text\",\"mXXoi9\":\"Add Text\",\"vn6wzk\":\"Add the people who will sign the document.\",\"8XAJNZ\":\"Add the recipients to create the document with\",\"F9ayeh\":\"Add the subject and message you wish to send to signers.\",\"pjVxbn\":\"Adding and removing seats will adjust your invoice accordingly.\",\"VfkDmn\":\"Admin Actions\",\"SsHJsm\":\"Admin panel\",\"N40H+G\":\"All\",\"/LYSFR\":\"All documents\",\"myVKpO\":\"All documents have been processed. Any new documents that are sent or received will show here.\",\"8dC9dh\":\"All inserted signatures will be voided\",\"a809wO\":\"All recipients will be notified\",\"DA2Nma\":\"All templates\",\"5b4J4v\":\"All Time\",\"8URWfv\":\"Allows authenticating using biometrics, password managers, hardware keys, etc.\",\"QN+LeY\":\"Already have an account? <0>Sign in instead</0>\",\"hehnjM\":\"Amount\",\"VeMlGP\":\"An email containing an invitation will be sent to each member.\",\"Cs4Mqi\":\"An email requesting the transfer of this team has been sent.\",\"Vw8l6h\":\"An error occurred\",\"aAZxd7\":\"An error occurred while adding signers.\",\"qFEx41\":\"An error occurred while adding the fields.\",\"ycUtHd\":\"An error occurred while creating document from template.\",\"8jjOHI\":\"An error occurred while creating the webhook. Please try again.\",\"D6tvkq\":\"An error occurred while disabling direct link signing.\",\"HNjVHR\":\"An error occurred while downloading your document.\",\"z7nHXh\":\"An error occurred while duplicating template.\",\"WnEuiF\":\"An error occurred while enabling direct link signing.\",\"eijDci\":\"An error occurred while loading team members. Please try again later.\",\"ZL2b3c\":\"An error occurred while moving the document.\",\"vECB98\":\"An error occurred while moving the template.\",\"677Rs2\":\"An error occurred while removing the signature.\",\"niV8ex\":\"An error occurred while removing the text.\",\"+UiFs2\":\"An error occurred while sending the document.\",\"W8sZtD\":\"An error occurred while sending your confirmation email\",\"CKRkxA\":\"An error occurred while signing the document.\",\"k2HSGs\":\"An error occurred while trying to create a checkout session.\",\"PBvwjZ\":\"An error occurred while updating the document settings.\",\"vNZnKS\":\"An error occurred while updating the signature.\",\"ed1aMc\":\"An error occurred while updating your profile.\",\"hGN3eM\":\"An error occurred while uploading your document.\",\"vW+T+d\":\"An unknown error occurred\",\"Iq1gDI\":\"Any payment methods attached to this team will remain attached to this team. Please contact us if you need to update this information.\",\"ZiooJI\":\"API Tokens\",\"mf2Wzk\":\"App Version\",\"Z7ZXbT\":\"Approve\",\"7kb4LU\":\"Approved\",\"0EvA/s\":\"Are you sure you want to delete this token?\",\"99ZWCN\":[\"Are you sure you want to remove the <0>\",[\"passkeyName\"],\"</0> passkey.\"],\"1D4Rs0\":\"Are you sure you wish to delete this team?\",\"6foA8n\":\"Are you sure?\",\"rgXDlk\":\"Attempts sealing the document again, useful for after a code change has occurred to resolve an erroneous document.\",\"ilRCh1\":\"Audit Log\",\"XiaVj+\":\"Authentication required\",\"kfcRb0\":\"Avatar\",\"uzGcBT\":\"Avatar Updated\",\"q8qrYJ\":\"Awaiting email confirmation\",\"iH8pgl\":\"Back\",\"FL8Lic\":\"Back to Documents\",\"k1bLf+\":\"Background Color\",\"ev7oAJ\":\"Backup Code\",\"M2cci0\":\"Backup codes\",\"eQwW5Q\":\"Banner Updated\",\"3dSIQs\":\"Basic details\",\"R+w/Va\":\"Billing\",\"0DGrp8\":\"Browser\",\"r4lECO\":\"Bulk Import\",\"dMoTGp\":\"By deleting this document, the following will occur:\",\"zjt329\":\"By enabling 2FA, you will be required to enter a code from your authenticator app every time you sign in.\",\"dEgA5A\":\"Cancel\",\"sa1BnH\":\"Cancelled by user\",\"A4tHrb\":\"Charts\",\"znIg+z\":\"Checkout\",\"MeyfTD\":\"Choose an existing recipient from below to continue\",\"iWVl0V\":\"Choose Direct Link Recipient\",\"1qI3Gk\":\"Choose...\",\"1m18m/\":\"Claim account\",\"tvmS/k\":\"Claim username\",\"vRjC9y\":\"Claim your profile later\",\"HiEGc0\":\"Claim your username now\",\"ELiPtq\":\"Click here to get started\",\"BvF90q\":\"Click here to retry\",\"cgfP+i\":\"Click here to upload\",\"L1127j\":\"Click to copy signing link for sending to recipient\",\"eZ6/Uj\":\"Click to insert field\",\"yz7wBu\":\"Close\",\"bD8I7O\":\"Complete\",\"jVAqZz\":\"Complete Approval\",\"0ojNue\":\"Complete Signing\",\"+5y0NQ\":\"Complete Viewing\",\"qqWcBV\":\"Completed\",\"rGm4yZ\":\"Completed documents\",\"p5+XQN\":\"Completed Documents\",\"UfLuLv\":\"Configure general settings for the document.\",\"hIv3aM\":\"Configure general settings for the template.\",\"LVnHGj\":\"Configure template\",\"7VpPHA\":\"Confirm\",\"gMlC/b\":[\"Confirm by typing <0>\",[\"confirmTransferMessage\"],\"</0>\"],\"FQnPC+\":[\"Confirm by typing <0>\",[\"deleteMessage\"],\"</0>\"],\"gv1JXQ\":[\"Confirm by typing: <0>\",[\"deleteMessage\"],\"</0>\"],\"w0Qb5v\":\"Confirm Deletion\",\"CMj4hw\":\"Confirm email\",\"13PnPF\":\"Confirmation email sent\",\"4b3oEV\":\"Content\",\"xGVfLh\":\"Continue\",\"/KgpcA\":\"Continue to login\",\"FxVG/l\":\"Copied to clipboard\",\"phD28x\":\"Copy sharable link\",\"ZxZS0E\":\"Copy Shareable Link\",\"BddwrJ\":\"Copy token\",\"hYgDIe\":\"Create\",\"mpt9T+\":\"Create a new account\",\"kxGCtA\":\"Create a team to collaborate with your team members.\",\"1hMWR6\":\"Create account\",\"H7nlli\":\"Create and send\",\"BYg48B\":\"Create as draft\",\"JqmhmE\":\"Create Direct Link\",\"wtV4WO\":\"Create Direct Signing Link\",\"fDTEKZ\":\"Create document from template\",\"1svIlj\":\"Create now\",\"JLQooE\":\"Create one automatically\",\"YGQVmg\":\"Create team\",\"fWFMgb\":\"Create Team\",\"pzXZ8+\":\"Create token\",\"SiPp29\":\"Create webhook\",\"dkAPxi\":\"Create Webhook\",\"8T5f7o\":\"Create your account and start using state-of-the-art document signing.\",\"rr83qK\":\"Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp.\",\"d+F6q9\":\"Created\",\"88kg0+\":\"Created At\",\"NCIYDF\":\"Created by\",\"45O6zJ\":\"Created on\",\"SVZbH4\":\"Created on <0/>\",\"DCKkhU\":\"Current Password\",\"74XDHP\":[\"Current plan: \",[\"0\"]],\"U0sC6H\":\"Daily\",\"oRVm8M\":\"Dark Mode\",\"mYGY3B\":\"Date\",\"u46WEi\":\"Date created\",\"jbq7j2\":\"Decline\",\"uSS9OX\":\"Declined team invitation\",\"cnGeoo\":\"Delete\",\"ZDGm40\":\"Delete account\",\"vzX5FB\":\"Delete Account\",\"+vDIXN\":\"Delete document\",\"MUynQL\":\"Delete Document\",\"0tFf9L\":\"Delete passkey\",\"MYiaA4\":\"Delete team\",\"WZHJBH\":\"Delete team member\",\"M5Nsil\":\"Delete the document. This action is irreversible so proceed with caution.\",\"ETB4Yh\":\"Delete the users account and all its contents. This action is irreversible and will cancel their subscription, so proceed with caution.\",\"zdyslo\":\"Delete Webhook\",\"IJMZKG\":\"Delete your account and all its contents, including completed documents. This action is irreversible and will cancel your subscription, so proceed with caution.\",\"vGjmyl\":\"Deleted\",\"cmDFUK\":\"Deleting account...\",\"PkSiFP\":\"Deleting document\",\"PEHQTf\":\"Device\",\"YseRvk\":\"direct link\",\"cfARFZ\":\"Direct link\",\"VdX+I4\":\"direct link disabled\",\"nNHqgX\":\"Direct Link Signing\",\"k2FNdx\":\"Direct link signing has been disabled\",\"gsc+pZ\":\"Direct link signing has been enabled\",\"CRdqqs\":\"Direct link templates contain one dynamic recipient placeholder. Anyone with access to this link can sign the document, and it will then appear on your documents page.\",\"WCGIfx\":\"Direct template link deleted\",\"2HKj5L\":[\"Direct template link usage exceeded (\",[\"0\"],\"/\",[\"1\"],\")\"],\"cO9+2L\":\"Disable\",\"qERl58\":\"Disable 2FA\",\"pf7wfS\":\"Disable Two Factor Authentication before deleting your account.\",\"E/QGRL\":\"Disabled\",\"H11Db4\":\"Disabling direct link signing will prevent anyone from accessing the link.\",\"Oq0b7I\":\"Display your name and email in documents\",\"pR1j0x\":\"Do you want to delete this template?\",\"MqL7Ex\":\"Do you want to duplicate this template?\",\"MUwFBV\":\"Documenso will delete <0>all of your documents</0>, along with all of your completed documents, signatures, and all other resources belonging to your Account.\",\"7Zdnlq\":\"Document\",\"kz4vX7\":\"Document All\",\"Pr3c2A\":\"Document Approved\",\"Kvf7iA\":\"Document Cancelled\",\"GOO+sv\":\"Document completed\",\"frw2OP\":\"Document created\",\"ZlIPM3\":\"Document deleted\",\"IvkBV7\":\"Document draft\",\"nF+jHn\":\"Document Duplicated\",\"Zfj12J\":\"Document history\",\"glwlqW\":\"Document ID\",\"WqG6Wi\":\"Document inbox\",\"WrliRN\":\"Document Limit Exceeded!\",\"AGzFn4\":\"Document metrics\",\"w+SPlp\":\"Document moved\",\"G45FNk\":\"Document no longer available to sign\",\"EhII5Z\":\"Document pending\",\"XIvQfe\":\"Document re-sent\",\"S2Wpx4\":\"Document resealed\",\"2r5F7N\":\"Document sent\",\"prbyy5\":\"Document Signed\",\"O832hg\":\"Document signing process will be cancelled\",\"UkHClc\":\"Document status\",\"RDOlfT\":\"Document title\",\"R1TUTP\":\"Document upload disabled due to unpaid invoices\",\"PGrc79\":\"Document uploaded\",\"UfJ5fX\":\"Document Viewed\",\"bTGVhQ\":\"Document will be permanently deleted\",\"E/muDO\":\"Documents\",\"q89WTJ\":\"Documents Received\",\"77Aq1u\":\"Documents Viewed\",\"352VU2\":\"Don't have an account? <0>Sign up</0>\",\"mzI/c+\":\"Download\",\"lojhUl\":\"Download Audit Logs\",\"uKWz9T\":\"Download Certificate\",\"eneWvv\":\"Draft\",\"gWAuiM\":\"Draft documents\",\"8OzE2k\":\"Drafted Documents\",\"QurWnM\":\"Due to an unpaid invoice, your team has been restricted. Please settle the payment to restore full access to your team.\",\"euc6Ns\":\"Duplicate\",\"ePK91l\":\"Edit\",\"fW5sSv\":\"Edit webhook\",\"O3oNi5\":\"Email\",\"ATGYL1\":\"Email address\",\"hzKQCy\":\"Email Address\",\"HmTucU\":\"Email Confirmed!\",\"JHLcvq\":\"Email sent!\",\"bK7p2G\":\"Email verification has been removed\",\"xk9d59\":\"Email verification has been resent\",\"DCRKbe\":\"Enable 2FA\",\"Gndbft\":\"Enable Authenticator App\",\"iNXTYT\":\"Enable direct link signing\",\"qChNnS\":\"Enable Direct Link Signing\",\"RxzN1M\":\"Enabled\",\"y6J8wY\":\"Ends On\",\"C3nD/1\":\"Enter your email\",\"oM8ocD\":\"Enter your email address to receive the completed document.\",\"n9V+ps\":\"Enter your name\",\"v0GDxO\":\"Enter your text here\",\"SlfejT\":\"Error\",\"ZkROsq\":\"Everyone has signed\",\"4MNaCF\":\"Everyone has signed! You will receive an Email copy of the signed document.\",\"uWW+rJ\":\"Exceeded timeout\",\"M1RnFv\":\"Expired\",\"LbGReD\":\"Expires on <0/>\",\"ToQ1L5\":\"Failed to reseal document\",\"YXKrQK\":\"Failed to update recipient\",\"R41XLH\":\"Failed to update webhook\",\"vF68cg\":\"Fields\",\"8rKUka\":[\"File cannot be larger than \",[\"APP_DOCUMENT_UPLOAD_SIZE_LIMIT\"],\"MB\"],\"glx6on\":\"Forgot your password?\",\"/4TFrF\":\"Full Name\",\"Weq9zb\":\"General\",\"sr0UJD\":\"Go Back\",\"+vhBuq\":\"Go back home\",\"1oocIX\":\"Go Back Home\",\"Q46UEs\":\"Go to owner\",\"71XAMD\":\"Go to your <0>public profile settings</0> to add documents.\",\"+pEbZM\":\"Here you can edit your personal details.\",\"gPNXUO\":\"Here you can manage your password and security settings.\",\"rLZFM2\":\"Here's how it works:\",\"C3U9sx\":\"Hey I’m Timur\",\"vLyv1R\":\"Hide\",\"/c6j67\":\"Hide additional information\",\"2+GP4I\":\"I am the owner of this document\",\"Jw3g7g\":\"I'm sure! Delete it\",\"fYt7bZ\":\"If they accept this request, the team will be transferred to their account.\",\"P8EnSP\":\"If you do not want to use the authenticator prompted, you can close it, which will then display the next available authenticator.\",\"usBC38\":\"If you don't find the confirmation link in your inbox, you can request a new one below.\",\"i1sBhX\":\"If your authenticator app does not support QR codes, you can use the following code instead:\",\"Gp4Yi6\":\"Inbox\",\"mIZt96\":\"Inbox documents\",\"nSkB8g\":\"Information\",\"2+B7Tm\":\"Inserted\",\"kgiQxA\":\"Instance Stats\",\"v7dfDY\":\"Invalid code. Please try again.\",\"bajpfj\":\"Invalid file\",\"TN382O\":\"Invalid link\",\"Kx9NEt\":\"Invalid token\",\"lW4qkT\":\"Invitation accepted!\",\"K2fB29\":\"Invitation declined\",\"zbmftZ\":\"Invitation has been deleted\",\"hDYopg\":\"Invitation has been resent\",\"MFKlMB\":\"Invite\",\"+djOzj\":\"Invite member\",\"ZHx/by\":\"Invite Members\",\"qSfH/A\":\"Invite team members\",\"H97wjo\":\"Invited At\",\"IuMGvq\":\"Invoice\",\"pQgy2V\":[\"It looks like \",[\"0\"],\" hasn't added any documents to their profile yet.\"],\"Ji9zm3\":\"It seems that the provided token has expired. We've just sent you another token, please check your email and try again.\",\"PQ53gh\":\"It seems that there is no token provided, if you are trying to verify your email please follow the link in your email.\",\"y51oRm\":\"It seems that there is no token provided. Please check your email and try again.\",\"vfe90m\":\"Last 14 days\",\"uq2BmQ\":\"Last 30 days\",\"ct2SYD\":\"Last 7 days\",\"x5DnMs\":\"Last modified\",\"C3yOz3\":\"Last updated\",\"9aMJpW\":\"Last updated at\",\"JGvwnU\":\"Last used\",\"Mv8CyJ\":\"Leave\",\"v/uzBS\":\"Leave team\",\"cInPuv\":\"Light Mode\",\"0uqjes\":\"Like to have your own public profile with agreements?\",\"jfN/GZ\":\"Link template\",\"T2q4gy\":[\"Listening to \",[\"0\"]],\"qzZ/NB\":\"Load older activity\",\"Jy3ott\":\"Loading document...\",\"KBQH86\":\"Loading Document...\",\"czE0ko\":\"Loading teams...\",\"Z3FXyt\":\"Loading...\",\"z0t9bb\":\"Login\",\"wckWOP\":\"Manage\",\"HQVCTG\":[\"Manage \",[\"0\"],\"'s profile\"],\"Lp5ut7\":\"Manage all teams you are currently associated with.\",\"NwY95d\":\"Manage details for this public template\",\"OcvAVs\":\"Manage Direct Link\",\"g6RCtA\":\"Manage documents\",\"HVAyb8\":\"Manage passkeys\",\"3jHA5d\":\"Manage subscription\",\"L9IOec\":\"Manage Subscription\",\"KuukYs\":\"Manage subscriptions\",\"DHyAij\":\"Manage team subscription.\",\"lLX9Bl\":\"Manage teams\",\"aA0Gfq\":\"Manage the direct link signing for this template\",\"Ruhuv1\":\"Manage the members or invite new members.\",\"Xef1xw\":\"Manage users\",\"T0vQFD\":\"Manage your passkeys.\",\"4a84Cp\":\"Manage your site settings here\",\"Rbs16H\":\"Mark as Viewed\",\"deqwtZ\":\"MAU (created document)\",\"YgNcJU\":\"MAU (had document completed)\",\"Hn6rI0\":\"Member Since\",\"wlQNTg\":\"Members\",\"FaskIK\":\"Modify recipients\",\"+8Nek/\":\"Monthly\",\"MOyLGl\":\"Monthly Active Users: Users that created at least one Document\",\"5G7Dom\":\"Monthly Active Users: Users that had at least one of their documents completed\",\"QWdKwH\":\"Move\",\"YeRZmm\":\"Move Document to Team\",\"QlQmgo\":\"Move Template to Team\",\"wUBLjS\":\"Move to Team\",\"K8Qnlj\":\"Moving...\",\"en+4fS\":\"My templates\",\"6YtxFj\":\"Name\",\"8VD2is\":\"Need to sign documents?\",\"qqeAJM\":\"Never\",\"OEcKyx\":\"Never expire\",\"QWDm5s\":\"New team owner\",\"K6MO8e\":\"New Template\",\"hXzOVo\":\"Next\",\"ZcbBVB\":\"Next field\",\"G5YKES\":\"No active drafts\",\"PsHKvx\":\"No payment required\",\"OBWbru\":\"No public profile templates found\",\"m0I2ba\":\"No recent activity\",\"IMbagb\":\"No recipients\",\"MZbQHL\":\"No results found.\",\"+5xxir\":\"No token provided\",\"s9Rqzv\":\"No valid direct templates found\",\"l08XJv\":\"No valid recipients found\",\"CSOFdu\":\"No value found.\",\"tRFnIp\":\"No worries, it happens! Enter your email and we'll email you a special link to reset your password.\",\"7aaD1O\":\"Not supported\",\"wkT5xx\":\"Nothing to do\",\"Oizhkg\":\"On this page, you can create a new webhook.\",\"aaavFi\":\"On this page, you can create new API tokens and manage the existing ones. <0/>Also see our <1>Documentation</1>.\",\"ZtN+o/\":\"On this page, you can create new API tokens and manage the existing ones. <0/>You can view our swagger docs <1>here</1>\",\"SpqtG7\":\"On this page, you can create new Webhooks and manage the existing ones.\",\"FOWyZB\":\"On this page, you can edit the webhook and its settings.\",\"dM1W5F\":\"Once confirmed, the following will occur:\",\"mZ2nNu\":\"Once you have scanned the QR code or entered the code manually, enter the code provided by your authenticator app below.\",\"udaO9j\":\"Oops! Something went wrong.\",\"OV5wZZ\":\"Opened\",\"ZAVklK\":\"Or\",\"zW+FpA\":\"Or continue with\",\"XUwKbC\":\"Otherwise, the document will be created as a draft.\",\"LtI9AS\":\"Owner\",\"v4nCHK\":\"Paid\",\"FGSN4s\":\"Passkey\",\"8mPPB0\":\"Passkey already exists for the provided authenticator\",\"k/8RhE\":\"Passkey creation cancelled due to one of the following reasons:\",\"knZBf/\":\"Passkey has been removed\",\"1MvYF3\":\"Passkey has been updated\",\"qz7mwn\":\"Passkey name\",\"UZKLEA\":\"Passkeys\",\"v3rPhj\":\"Passkeys allow you to sign in and authenticate using biometrics, password managers, etc.\",\"wsLk4g\":\"Passkeys are not supported on this browser\",\"8ZsakT\":\"Password\",\"ogtYkT\":\"Password updated\",\"4fL/V7\":\"Pay\",\"oyOEbz\":\"Payment is required to finalise the creation of your team.\",\"GptxX/\":\"Payment overdue\",\"UbRKMZ\":\"Pending\",\"Y99ivo\":\"Pending documents\",\"VZJggs\":\"Pending Documents\",\"dSe12f\":\"Pending invitations\",\"pobYPH\":\"Pending team deleted.\",\"7MuXko\":\"Personal\",\"moWIBX\":\"Personal Account\",\"bhE66T\":\"Pick a password\",\"nSCWvF\":\"Pick any of the following agreements below and start signing to get started\",\"LFWYFV\":\"Please check the CSV file and make sure it is according to our format\",\"GUOCNi\":\"Please choose your new password\",\"JcgKEA\":\"Please contact support if you would like to revert this action.\",\"pzDdmv\":\"Please enter a meaningful name for your token. This will help you identify it later.\",\"GqaSjy\":\"Please mark as viewed to complete\",\"jG5btV\":\"Please note that proceeding will remove direct linking recipient and turn it into a placeholder.\",\"Op5XjA\":\"Please note that this action is <0>irreversible</0>.\",\"pIF/uD\":\"Please note that this action is <0>irreversible</0>. Once confirmed, this document will be permanently deleted.\",\"aYytci\":\"Please note that this action is irreversible. Once confirmed, your template will be permanently deleted.\",\"LIf5dA\":\"Please note that this action is irreversible. Once confirmed, your token will be permanently deleted.\",\"bGHA6C\":\"Please note that this action is irreversible. Once confirmed, your webhook will be permanently deleted.\",\"K2Zlri\":\"Please note that you will lose access to all documents associated with this team & all the members will be removed and notified\",\"VJEW4M\":\"Please provide a token from the authenticator, or a backup code. If you do not have a backup code available, please contact support.\",\"Lwg9X/\":\"Please provide a token from your authenticator, or a backup code.\",\"tVQlia\":\"Please try again and make sure you enter the correct email address.\",\"fWCcRl\":\"Please try again later or login using your normal details\",\"PZCqeW\":\"Please try again later.\",\"2oj8HJ\":[\"Please type <0>\",[\"0\"],\"</0> to confirm.\"],\"Q6hhn8\":\"Preferences\",\"ghVdS5\":\"Preview and configure template.\",\"zwBp5t\":\"Private\",\"aWLa3z\":\"Private templates can only be modified and viewed by you.\",\"vERlcd\":\"Profile\",\"H8Zk+q\":\"Profile is currently <0>hidden</0>.\",\"6zFVy3\":\"Profile is currently <0>visible</0>.\",\"srPuxS\":\"Profile updated\",\"7d1a0d\":\"Public\",\"PsWyzr\":\"Public Profile\",\"GCm4vn\":\"Public profile URL\",\"9imnUr\":\"Public profile username\",\"2/o+9Z\":\"Public templates are connected to your public profile. Any modifications to public templates will also appear in your public profile.\",\"Zs+87t\":\"Read only field\",\"ckH3fT\":\"Ready\",\"2DmUfb\":\"Reauthentication is required to sign this field\",\"M1HGuR\":\"Recent activity\",\"I3QpvQ\":\"Recipient\",\"evCX7h\":\"Recipient updated\",\"yPrbsy\":\"Recipients\",\"FDT13r\":\"Recipients metrics\",\"cEfPAe\":\"Recipients will still retain their copy of the document\",\"p8zadb\":\"Recovery code copied\",\"x5rgeJ\":\"Recovery codes\",\"ZCl9NH\":\"Registration Successful\",\"cD+FhI\":\"Remembered your password? <0>Sign In</0>\",\"t/YqKh\":\"Remove\",\"41G745\":\"Remove team email\",\"8xN0jg\":\"Remove team member\",\"JjG/b1\":\"Repeat Password\",\"Ibjxfr\":\"Request transfer\",\"sDXefy\":\"Reseal document\",\"MyjAbr\":\"Resend\",\"bxoWpz\":\"Resend Confirmation Email\",\"HT2UjS\":\"Resend verification\",\"OfhWJH\":\"Reset\",\"wJZvNq\":\"Reset email sent\",\"KbS2K9\":\"Reset Password\",\"NI0xtv\":\"Resetting Password...\",\"2FoHU3\":\"Resolve\",\"bH0aV9\":\"Resolve payment\",\"6gRgw8\":\"Retry\",\"vUOn9d\":\"Return\",\"dRDE6t\":\"Return to Dashboard\",\"OYOJop\":\"Return to Home\",\"Wkb64i\":\"Return to sign in\",\"GXsAby\":\"Revoke\",\"cg+Poy\":\"Revoke access\",\"GDvlUT\":\"Role\",\"5dJK4M\":\"Roles\",\"tfDRzk\":\"Save\",\"A1taO8\":\"Search\",\"pUjzwQ\":\"Search by document title\",\"Bw5X+M\":\"Search by name or email\",\"8VEDbV\":\"Secret\",\"a3LDKx\":\"Security\",\"HUVI3V\":\"Security activity\",\"rG3WVm\":\"Select\",\"9GwDu7\":\"Select a team\",\"vWi2vu\":\"Select a team to move this document to. This action cannot be undone.\",\"JxCKQ1\":\"Select a team to move this template to. This action cannot be undone.\",\"hyn0QC\":\"Select a template you'd like to display on your public profile\",\"9VGtlg\":\"Select a template you'd like to display on your team's public profile\",\"gBqxYg\":\"Select passkey\",\"471O/e\":\"Send confirmation email\",\"HbN1UH\":\"Send document\",\"qaDvSa\":\"Send reminder\",\"HW5fQk\":\"Sender\",\"DgPgBb\":\"Sending Reset Email...\",\"IoAuJG\":\"Sending...\",\"h69WC6\":\"Sent\",\"bWhxXv\":\"Set a password\",\"Tz0i8g\":\"Settings\",\"RDjuBN\":\"Setup\",\"Z8lGw6\":\"Share\",\"lCEhm/\":\"Share Signing Card\",\"8vETh9\":\"Show\",\"FSjwRy\":\"Show additional information\",\"7Ifo0h\":\"Show templates in your public profile for your audience to sign and get started quickly\",\"lDZq9u\":\"Show templates in your team public profile for your audience to sign and get started quickly\",\"c+Fnce\":\"Sign\",\"oKBjbc\":[\"Sign as \",[\"0\"],\" <0>(\",[\"1\"],\")</0>\"],\"M7Y6vg\":[\"Sign as <0>\",[\"0\"],\" <1>(\",[\"1\"],\")</1></0>\"],\"D0JgR3\":[\"Sign as<0>\",[\"0\"],\" <1>(\",[\"1\"],\")</1></0>\"],\"ceklqr\":\"Sign field\",\"vRw782\":\"Sign Here\",\"n1ekoW\":\"Sign In\",\"NxCJcc\":\"Sign in to your account\",\"bHYIks\":\"Sign Out\",\"e+RpCP\":\"Sign up\",\"mErq7F\":\"Sign Up\",\"8fC9B9\":\"Sign Up with Google\",\"l/tATK\":\"Sign Up with OIDC\",\"n+8yVN\":\"Signature\",\"6AjNkO\":\"Signatures Collected\",\"cquXHe\":\"Signatures will appear once the document has been completed\",\"PoH7eg\":\"Signed\",\"XOxZT4\":\"Signing in...\",\"P1wwqN\":\"Signing up...\",\"ltYQCa\":[\"Since \",[\"0\"]],\"67H0kT\":\"Site Banner\",\"aaU5Fl\":\"Site Settings\",\"nwtY4N\":\"Something went wrong\",\"xYdwPA\":[\"Something went wrong while attempting to transfer the ownership of team <0>\",[\"0\"],\"</0> to your. Please try again later or contact support.\"],\"/OggdM\":[\"Something went wrong while attempting to verify your email address for <0>\",[\"0\"],\"</0>. Please try again later.\"],\"oZO7Po\":\"Something went wrong while loading your passkeys.\",\"qDc2pC\":\"Something went wrong while sending the confirmation email.\",\"2U+48H\":\"Something went wrong while updating the team billing subscription, please contact support.\",\"db0Ycb\":\"Something went wrong. Please try again or contact support.\",\"q16m4+\":\"Sorry, we were unable to download the audit logs. Please try again later.\",\"EUyscw\":\"Sorry, we were unable to download the certificate. Please try again later.\",\"29Hx9U\":\"Stats\",\"uAQUqI\":\"Status\",\"EDl9kS\":\"Subscribe\",\"WVzGc2\":\"Subscription\",\"P6F38F\":\"Subscriptions\",\"zzDlyQ\":\"Success\",\"f8RSgi\":\"Successfully created passkey\",\"3WgMId\":\"System Theme\",\"KM6m8p\":\"Team\",\"ZTKtIH\":\"Team checkout\",\"WUM2yD\":\"Team email\",\"rkqgH1\":\"Team Email\",\"5GbQa1\":\"Team email has been removed\",\"rW28ga\":\"Team email verification\",\"/9ZeEl\":\"Team email verified!\",\"Ww6njg\":\"Team email was updated.\",\"h3p3UT\":\"Team invitation\",\"am190B\":\"Team invitations have been sent.\",\"IJFhQ+\":\"Team Member\",\"EEjL2F\":\"Team Name\",\"alTHVO\":\"Team Only\",\"cvMRdF\":\"Team only templates are not linked anywhere and are visible only to your team.\",\"sSUQSW\":\"Team ownership transfer\",\"GzR8VI\":\"Team ownership transferred!\",\"qzHZC+\":\"Team Public Profile\",\"wkzD+0\":\"Team settings\",\"oMfDc9\":\"Team Settings\",\"NONu1b\":\"Team templates\",\"Feqf5k\":\"Team transfer in progress\",\"oXkHk2\":\"Team transfer request expired\",\"IwrHI3\":\"Team URL\",\"CAL6E9\":\"Teams\",\"qKgabb\":\"Teams restricted\",\"/K2CvV\":\"Template\",\"ZTgE3k\":\"Template deleted\",\"7ZORe4\":\"Template document uploaded\",\"Vmoj8n\":\"Template duplicated\",\"3MMlXX\":\"Template has been removed from your public profile.\",\"eupjqf\":\"Template has been updated.\",\"I1vdWI\":\"Template moved\",\"GamjcN\":\"Template saved\",\"iTylMl\":\"Templates\",\"mKknmt\":\"Templates allow you to quickly generate documents with pre-filled recipients and fields.\",\"HmA4Lf\":\"Text Color\",\"jB6Wb0\":\"The account has been deleted successfully.\",\"YPAOfJ\":\"The content to show in the banner, HTML is allowed\",\"+lDHlp\":\"The direct link has been copied to your clipboard\",\"HdogiK\":\"The document has been successfully moved to the selected team.\",\"JaqmMD\":\"The document was created but could not be sent to recipients.\",\"D6V5NE\":\"The document will be hidden from your account\",\"kn3D/u\":\"The document will be immediately sent to recipients if this is checked.\",\"S20Dp9\":\"The events that will trigger a webhook to be sent to your URL.\",\"3BvEti\":[\"The ownership of team <0>\",[\"0\"],\"</0> has been successfully transferred to you.\"],\"jiv3IP\":\"The page you are looking for was moved, removed, renamed or might never have existed.\",\"v7aFZT\":\"The profile link has been copied to your clipboard\",\"L9/hN3\":\"The profile you are looking for could not be found.\",\"M2Tl+5\":\"The public description that will be displayed with this template\",\"Bar5Ss\":\"The public name for your template\",\"RL/wwM\":\"The recipient has been updated successfully\",\"aHhSPO\":\"The selected team member will receive an email which they must accept before the team is transferred\",\"so3oXj\":\"The signing link has been copied to your clipboard.\",\"kXciaM\":\"The site banner is a message that is shown at the top of the site. It can be used to display important information to your users.\",\"XaNqYt\":\"The team transfer invitation has been successfully deleted.\",\"DyE711\":[\"The team transfer request to <0>\",[\"0\"],\"</0> has expired.\"],\"RLyuG2\":\"The team you are looking for may have been removed, renamed or may have never existed.\",\"wIrx7T\":\"The template has been successfully moved to the selected team.\",\"J+X6HZ\":\"The template will be removed from your profile\",\"9VV//K\":\"The template you are looking for may have been disabled, deleted or may have never existed.\",\"tkv54w\":\"The token was copied to your clipboard.\",\"5cysp1\":\"The token was deleted successfully.\",\"oddVEW\":\"The token you have used to reset your password is either expired or it never existed. If you have still forgotten your password, please request a new reset link.\",\"Orj1pl\":\"The URL for Documenso to send webhook events to.\",\"V92DHZ\":\"The webhook has been successfully deleted.\",\"mlHeCX\":\"The webhook has been updated successfully.\",\"V+5KQa\":\"The webhook was successfully created.\",\"k/INkj\":\"There are no active drafts at the current moment. You can upload a document to start drafting.\",\"ySoKla\":\"There are no completed documents yet. Documents that you have created or received will appear here once completed.\",\"9aYXQv\":\"They have permission on your behalf to:\",\"3ap2Vv\":\"This action is not reversible. Please be certain.\",\"6S2SIc\":\"This document could not be deleted at this time. Please try again.\",\"9q30Lx\":\"This document could not be duplicated at this time. Please try again.\",\"u/cYe5\":\"This document could not be re-sent at this time. Please try again.\",\"240BLI\":\"This document has been cancelled by the owner and is no longer available for others to sign.\",\"UdLWn3\":\"This document has been cancelled by the owner.\",\"K8RH4n\":\"This document has been signed by all recipients\",\"1M0Ssi\":\"This document is currently a draft and has not been sent\",\"LLfa/G\":\"This email is already being used by another team.\",\"YrKIxa\":\"This link is invalid or has expired. Please contact your team to resend a transfer request.\",\"iN8uoK\":\"This link is invalid or has expired. Please contact your team to resend a verification.\",\"b7CscR\":\"This passkey has already been registered.\",\"JMu+vE\":\"This passkey is not configured for this application. Please login and add one in the user settings.\",\"0ES9GX\":\"This price includes minimum 5 seats.\",\"0rusOU\":\"This session has expired. Please try again.\",\"ApCva8\":\"This team, and any associated data excluding billing invoices will be permanently deleted.\",\"1ABR2W\":\"This template could not be deleted at this time. Please try again.\",\"PJUOEm\":\"This token is invalid or has expired. No action is needed.\",\"4WY92K\":\"This token is invalid or has expired. Please contact your team for a new invitation.\",\"6HNLKb\":\"This URL is already in use.\",\"/yOKAT\":\"This username has already been taken\",\"ea/Ia+\":\"This username is already taken\",\"LhMjLm\":\"Time\",\"Mz2JN2\":\"Time zone\",\"MHrjPM\":\"Title\",\"TF1e2Y\":\"To accept this invitation you must create an account.\",\"9e4NKS\":\"To change the email you must remove and add a new email address.\",\"E3QGBV\":[\"To confirm, please enter the accounts email address <0/>(\",[\"0\"],\").\"],\"/ngXqQ\":\"To confirm, please enter the reason\",\"Z/LRzj\":\"To decline this invitation you must create an account.\",\"QyrRrh\":\"To enable two-factor authentication, scan the following QR code using your authenticator app.\",\"mX0XNr\":\"To gain access to your account, please confirm your email address by clicking on the confirmation link from your inbox.\",\"THQgMC\":[\"To mark this document as viewed, you need to be logged in as <0>\",[\"0\"],\"</0>\"],\"Tkvndv\":\"Toggle the switch to hide your profile from the public.\",\"X3Df6T\":\"Toggle the switch to show your profile to the public.\",\"TP9/K5\":\"Token\",\"SWyfbd\":\"Token copied to clipboard\",\"OBjhQ4\":\"Token created\",\"B5MBOV\":\"Token deleted\",\"nwwDj8\":\"Token doesn't have an expiration date\",\"v/TQsS\":\"Token expiration date\",\"SKZhW9\":\"Token name\",\"/mWwgA\":\"Total Documents\",\"dKGGPw\":\"Total Recipients\",\"WLfBMX\":\"Total Signers that Signed Up\",\"vb0Q0/\":\"Total Users\",\"PsdN6O\":\"Transfer ownership of this team to a selected team member.\",\"OOrbmP\":\"Transfer team\",\"TAB7/M\":\"Transfer the ownership of the team to another team member.\",\"34nxyb\":\"Triggers\",\"0s6zAM\":\"Two factor authentication\",\"rkM+2p\":\"Two factor authentication recovery codes are used to access your account in the event that you lose access to your authenticator app.\",\"C4pKXW\":\"Two-Factor Authentication\",\"NwChk2\":\"Two-factor authentication disabled\",\"qwpE/S\":\"Two-factor authentication enabled\",\"Rirbh5\":\"Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in.\",\"+zy2Nq\":\"Type\",\"fn5guJ\":\"Type 'delete' to confirm\",\"aLB9e4\":\"Type a command or search...\",\"NKs0zG\":\"Uh oh! Looks like you're missing a token\",\"syy3Gt\":\"Unable to copy recovery code\",\"CRCTCg\":\"Unable to copy token\",\"IFfB53\":\"Unable to create direct template access. Please try again later.\",\"gVlUC8\":\"Unable to decline this team invitation at this time.\",\"Y+wsI7\":\"Unable to delete invitation. Please try again.\",\"UCeveL\":\"Unable to delete team\",\"wp9XuY\":\"Unable to disable two-factor authentication\",\"kIV9PR\":\"Unable to join this team at this time.\",\"KFBm7R\":\"Unable to load document history\",\"NodEs1\":\"Unable to load your public profile templates at this time\",\"vklymD\":\"Unable to remove email verification at this time. Please try again.\",\"w8n1+z\":\"Unable to remove team email at this time. Please try again.\",\"akFhsV\":\"Unable to resend invitation. Please try again.\",\"JQLFI3\":\"Unable to resend verification at this time. Please try again.\",\"jLtRR6\":\"Unable to reset password\",\"QtkcKO\":\"Unable to setup two-factor authentication\",\"N1m2oU\":\"Unable to sign in\",\"dA/8If\":\"Unauthorized\",\"9zMI6W\":\"Uncompleted\",\"29VNqC\":\"Unknown error\",\"7yiFvZ\":\"Unpaid\",\"EkH9pt\":\"Update\",\"CVGIOg\":\"Update Banner\",\"MSfA8z\":\"Update passkey\",\"Q3MPWA\":\"Update password\",\"vXPSuB\":\"Update profile\",\"ih1ndv\":\"Update Recipient\",\"5bRMKt\":\"Update role\",\"qg6EfE\":\"Update team\",\"V8JgFA\":\"Update team email\",\"DDP/NH\":\"Update team member\",\"KAyssy\":\"Update user\",\"iFdgvQ\":\"Update webhook\",\"2uDkRs\":\"Updating password...\",\"6JH8iK\":\"Updating profile...\",\"jUV7CU\":\"Upload Avatar\",\"2npSeV\":\"Uploaded by\",\"bM+XCB\":\"Uploaded file is too large\",\"fXh9EJ\":\"Uploaded file is too small\",\"mnNw0z\":\"Uploaded file not an allowed file type\",\"5UWfU/\":\"Use Authenticator\",\"VLViRK\":\"Use Backup Code\",\"NUXH2v\":\"Use Template\",\"7PzzBU\":\"User\",\"GjhOGB\":\"User ID\",\"DgDMhU\":\"User profiles are here!\",\"lcDO4m\":\"User settings\",\"Sxm8rQ\":\"Users\",\"wMHvYH\":\"Value\",\"BGWaEQ\":\"Verification Email Sent\",\"XZQ6rx\":\"Verification email sent successfully.\",\"ZqWgxB\":\"Verify Now\",\"kuvvht\":\"Verify your email address\",\"c9ZsJU\":\"Verify your email address to unlock all features.\",\"OUPY2G\":\"Verify your email to upload documents.\",\"jpctdh\":\"View\",\"c3aao/\":\"View activity\",\"pTCu0c\":\"View all documents sent to your account\",\"F8qz8t\":\"View all recent security activity related to your account.\",\"t3iQF8\":\"View all security activity related to your account.\",\"t5bHu+\":\"View Codes\",\"Opb2rO\":\"View documents associated with this email\",\"FbRyw+\":\"View invites\",\"kGkM7n\":\"View Original Document\",\"z0hW8A\":\"View Recovery Codes\",\"+SRqZk\":\"View teams\",\"vXtpAZ\":\"Viewed\",\"uUehLT\":\"Waiting\",\"p5sNpe\":\"Waiting for others to sign\",\"CLj7L4\":\"Want to send slick signing links like this one? <0>Check out Documenso.</0>\",\"AVOxgl\":\"Want your own public profile?\",\"bJajhk\":\"We are unable to proceed to the billing portal at this time. Please try again, or contact support.\",\"mrAou1\":\"We are unable to remove this passkey at the moment. Please try again later.\",\"PVmZRU\":\"We are unable to update this passkey at the moment. Please try again later.\",\"4CEdkv\":\"We encountered an error while removing the direct template link. Please try again later.\",\"9dCMy6\":\"We encountered an error while updating the webhook. Please try again later.\",\"/666TS\":\"We encountered an unknown error while attempting create the new token. Please try again later.\",\"ghtOmL\":\"We encountered an unknown error while attempting to add this email. Please try again later.\",\"Z3g6da\":\"We encountered an unknown error while attempting to create a team. Please try again later.\",\"5jf+Ky\":\"We encountered an unknown error while attempting to delete it. Please try again later.\",\"BYsCZ0\":\"We encountered an unknown error while attempting to delete the pending team. Please try again later.\",\"X1sSV9\":\"We encountered an unknown error while attempting to delete this team. Please try again later.\",\"kQiucd\":\"We encountered an unknown error while attempting to delete this token. Please try again later.\",\"QbeZrm\":\"We encountered an unknown error while attempting to delete your account. Please try again later.\",\"RFJXMf\":\"We encountered an unknown error while attempting to invite team members. Please try again later.\",\"NOJmg5\":\"We encountered an unknown error while attempting to leave this team. Please try again later.\",\"p1cQqG\":\"We encountered an unknown error while attempting to remove this template from your profile. Please try again later.\",\"dWt6qq\":\"We encountered an unknown error while attempting to remove this transfer. Please try again or contact support.\",\"Bf8/oy\":\"We encountered an unknown error while attempting to remove this user. Please try again later.\",\"+dHRXe\":\"We encountered an unknown error while attempting to request a transfer of this team. Please try again later.\",\"zKkKFY\":\"We encountered an unknown error while attempting to reset your password. Please try again later.\",\"jMJahr\":\"We encountered an unknown error while attempting to revoke access. Please try again or contact support.\",\"v7NHq3\":\"We encountered an unknown error while attempting to save your details. Please try again later.\",\"H2R2SX\":\"We encountered an unknown error while attempting to sign you In. Please try again later.\",\"lFQvqg\":\"We encountered an unknown error while attempting to sign you up. Please try again later.\",\"tIdO3I\":\"We encountered an unknown error while attempting to sign you Up. Please try again later.\",\"s7WVvm\":\"We encountered an unknown error while attempting to update the avatar. Please try again later.\",\"t2qome\":\"We encountered an unknown error while attempting to update the banner. Please try again later.\",\"KRW9aV\":\"We encountered an unknown error while attempting to update the template. Please try again later.\",\"jSzwNQ\":\"We encountered an unknown error while attempting to update this team member. Please try again later.\",\"ZAGznT\":\"We encountered an unknown error while attempting to update your password. Please try again later.\",\"/YgkWz\":\"We encountered an unknown error while attempting to update your public profile. Please try again later.\",\"PgR2KT\":\"We encountered an unknown error while attempting to update your team. Please try again later.\",\"Fkk/tM\":\"We encountered an unknown error while attempting update the team email. Please try again later.\",\"XdaMt1\":\"We have sent a confirmation email for verification.\",\"Z/3o7q\":\"We were unable to copy the token to your clipboard. Please try again.\",\"/f76sW\":\"We were unable to copy your recovery code to your clipboard. Please try again.\",\"5Elc4g\":\"We were unable to create a checkout session. Please try again, or contact support\",\"bw0W5A\":\"We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again.\",\"Ckd2da\":\"We were unable to log you out at this time.\",\"PGrghQ\":\"We were unable to set your public profile to public. Please try again.\",\"I8Rr9j\":\"We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again.\",\"/Ez2eA\":\"We were unable to submit this document at this time. Please try again later.\",\"zfClNd\":\"We were unable to verify your details. Please try again or contact support\",\"791g1I\":\"We were unable to verify your email. If your email is not verified already, please try again.\",\"xxInDV\":\"We're all empty\",\"lgW1qG\":[\"We've sent a confirmation email to <0>\",[\"email\"],\"</0>. Please check your inbox and click the link in the email to verify your account.\"],\"an6ayw\":\"Webhook created\",\"LnaC5y\":\"Webhook deleted\",\"kxZ7LS\":\"Webhook updated\",\"nuh/Wq\":\"Webhook URL\",\"v1kQyJ\":\"Webhooks\",\"4XSc4l\":\"Weekly\",\"nx8adn\":\"Welcome back, we are lucky to have you.\",\"v+iPzY\":\"When you click continue, you will be prompted to add the first available authenticator on your system.\",\"ks103z\":\"While waiting for them to do so you can create your own Documenso account and get started with document signing right away.\",\"gW6iyU\":\"Who do you want to remind?\",\"WCtNlH\":\"Write about the team\",\"RB+i+e\":\"Write about yourself\",\"zkWmBh\":\"Yearly\",\"kWJmRL\":\"You\",\"H0+WHg\":[\"You are about to complete approving \\\"\",[\"truncatedTitle\"],\"\\\".<0/> Are you sure?\"],\"kzE21T\":[\"You are about to complete signing \\\"\",[\"truncatedTitle\"],\"\\\".<0/> Are you sure?\"],\"9AVWSg\":[\"You are about to complete viewing \\\"\",[\"truncatedTitle\"],\"\\\".<0/> Are you sure?\"],\"wPAx3W\":[\"You are about to delete <0>\\\"\",[\"documentTitle\"],\"\\\"</0>\"],\"bnSqz9\":[\"You are about to delete the following team email from <0>\",[\"teamName\"],\"</0>.\"],\"5K1f43\":[\"You are about to hide <0>\\\"\",[\"documentTitle\"],\"\\\"</0>\"],\"Z7Zba7\":\"You are about to leave the following team.\",\"w4DsUu\":[\"You are about to remove the following user from <0>\",[\"teamName\"],\"</0>.\"],\"3TbP+M\":[\"You are about to revoke access for team <0>\",[\"0\"],\"</0> (\",[\"1\"],\") to use your email.\"],\"km5WYz\":\"You are currently on the <0>Free Plan</0>.\",\"lS8/qb\":[\"You are currently subscribed to <0>\",[\"0\"],\"</0>\"],\"vELAGq\":[\"You are currently updating <0>\",[\"teamMemberName\"],\".</0>\"],\"9Vb1lk\":[\"You are currently updating the <0>\",[\"passkeyName\"],\"</0> passkey.\"],\"fE9efX\":\"You are not authorized to view this page.\",\"xGF8ow\":\"You can choose to enable or disable your profile for public view.\",\"knayUe\":\"You can choose to enable or disable your team profile for public view.\",\"6RWhw7\":\"You can claim your profile later on by going to your profile settings!\",\"wvsTRr\":\"You can update the profile URL by updating the team URL in the general settings page.\",\"MfJtjp\":\"You can view documents associated with this email and use this identity when sending documents.\",\"q1+l2h\":[\"You cannot have more than \",[\"MAXIMUM_PASSKEYS\"],\" passkeys.\"],\"Nv8I50\":\"You cannot modify a team member who has a higher role than you.\",\"tBM5rt\":\"You cannot upload encrypted PDFs\",\"uPZVOC\":\"You currently have an active plan\",\"vGmUyC\":\"You do not currently have a customer record, this should not happen. Please contact support for assistance.\",\"COkiAI\":[\"You have accepted an invitation from <0>\",[\"0\"],\"</0> to join their team.\"],\"rawUsl\":[\"You have been invited by <0>\",[\"0\"],\"</0> to join their team.\"],\"C5iBwQ\":[\"You have declined the invitation from <0>\",[\"0\"],\"</0> to join their team.\"],\"9vc55I\":\"You have no webhooks yet. Your webhooks will be shown here once you create them.\",\"MWXNow\":\"You have not yet created any templates. To create a template please upload one.\",\"qJTcfP\":\"You have not yet created or received any documents. To create a document please upload one.\",\"yvV4GX\":[\"You have reached the maximum limit of \",[\"0\"],\" direct templates. <0>Upgrade your account to continue!</0>\"],\"m5RA9C\":\"You have reached your document limit.\",\"K/3HUN\":\"You have reached your document limit. <0>Upgrade your account to continue!</0>\",\"dURxlX\":\"You have successfully left this team.\",\"vi6pfe\":\"You have successfully registered. Please verify your account by clicking on the link you received in the email.\",\"B5Ovxs\":\"You have successfully removed this user from the team.\",\"PIl3Hg\":\"You have successfully revoked access.\",\"Z1UZXO\":[\"You have updated \",[\"teamMemberName\"],\".\"],\"tD6Cj2\":[\"You have verified your email address for <0>\",[\"0\"],\"</0>.\"],\"pNlz0U\":\"You must be an admin of this team to manage billing.\",\"xIaz3h\":\"You must enter {confirmTransferMessage} to proceed\",\"OGT1bh\":\"You must enter {deleteMessage} to proceed\",\"jifgCp\":\"You must have at least one other team member to transfer ownership.\",\"ID3LkG\":\"You must set a profile URL before enabling your public profile.\",\"zfliFq\":[\"You need to be logged in as <0>\",[\"email\"],\"</0> to view this page.\"],\"1et3k8\":\"You need to be logged in to view this page.\",\"ZR9lKP\":\"You need to setup 2FA to mark this document as viewed.\",\"tKEndc\":\"You will get notified & be able to set up your documenso public profile when we launch the feature.\",\"MBzXsC\":\"You will now be required to enter a code from your authenticator app when signing in.\",\"eWlnaX\":\"You will receive an Email copy of the signed document once everyone has signed.\",\"gmJH7Y\":\"Your account has been deleted successfully.\",\"YL3Iyk\":\"Your avatar has been updated successfully.\",\"c4qhbN\":\"Your banner has been updated successfully.\",\"+Ljs6n\":\"Your current plan is past due. Please update your payment information.\",\"5s2EJQ\":\"Your direct signing templates\",\"pj2JS8\":\"Your document failed to upload.\",\"DIplUX\":\"Your document has been created from the template successfully.\",\"iz6qAJ\":\"Your document has been re-sent successfully.\",\"0KIVTr\":\"Your document has been sent successfully.\",\"vbvBKY\":\"Your document has been successfully duplicated.\",\"TqcK/s\":\"Your document has been uploaded successfully.\",\"xEM9BR\":\"Your document has been uploaded successfully. You will be redirected to the template page.\",\"F2NQI1\":\"Your documents\",\"JQbHxK\":\"Your email has been successfully confirmed! You can now use all features of Documenso.\",\"pSDzas\":[\"Your email is currently being used by team <0>\",[\"0\"],\"</0> (\",[\"1\"],\").\"],\"K6mQ0w\":\"Your existing tokens\",\"Ecp9Z/\":\"Your password has been updated successfully.\",\"/tDdSk\":\"Your payment for teams is overdue. Please settle the payment to avoid any service disruptions.\",\"R+Yx9f\":\"Your profile has been updated successfully.\",\"skqRDH\":\"Your profile has been updated.\",\"kF7YFF\":\"Your public profile has been updated.\",\"XnIGua\":\"Your recovery code has been copied to your clipboard.\",\"/N3QQp\":\"Your recovery codes are listed below. Please store them in a safe place.\",\"o9X4Qf\":\"Your subscription is currently active.\",\"+fTW4I\":\"Your team has been created.\",\"DCGKPd\":\"Your team has been successfully deleted.\",\"7rm0si\":\"Your team has been successfully updated.\",\"icNCVp\":\"Your template has been duplicated successfully.\",\"juxjhy\":\"Your template has been successfully deleted.\",\"BHaG+M\":\"Your template will be duplicated.\",\"WQkZGA\":\"Your templates has been saved successfully.\",\"4OcZNw\":\"Your token has expired!\",\"stera3\":\"Your token was created successfully! Make sure to copy it because you won't be able to see it again!\",\"R5j6t5\":\"Your tokens will be shown here once you create them.\",\"73XXzw\":[[\"0\"],\" of \",[\"1\"],\" row(s) selected.\"],\"lZ4w45\":[[\"visibleRows\",\"plural\",{\"one\":[\"Showing \",\"#\",\" result.\"],\"other\":[\"Showing \",\"#\",\" results.\"]}]],\"AhYxw5\":\"<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \\\"General Settings\\\" step\",\"OepImG\":\"<0>No restrictions</0> - No authentication required\",\"07+JZ2\":\"<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient\",\"jx/lwn\":\"<0>None</0> - No authentication required\",\"CUT3u1\":\"<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings\",\"2PbD3D\":\"<0>Require account</0> - The recipient must be signed in to view the document\",\"QHSbey\":\"<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings\",\"Oy5nEc\":\"Add a document\",\"7Pz5x5\":\"Add a URL to redirect the user to once the document is signed\",\"aILOUH\":\"Add an external ID to the document. This can be used to identify the document in external systems.\",\"bK1dPK\":\"Add an external ID to the template. This can be used to identify in external systems.\",\"nnZ1Sa\":\"Add another option\",\"0/UVRw\":\"Add another value\",\"VaCh6w\":\"Add myself\",\"jAa/lz\":\"Add Myself\",\"29QK6H\":\"Add Placeholder Recipient\",\"vcxlzZ\":\"Add Signer\",\"7F2ltK\":\"Add text to the field\",\"U3pytU\":\"Admin\",\"NFIOKv\":\"Advanced Options\",\"VNgKZz\":\"Advanced settings\",\"bNUpvl\":\"After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email.\",\"ca9AbO\":\"Approver\",\"j2Uisd\":\"Approving\",\"brJrDl\":\"Cannot remove signer\",\"RpYfjZ\":\"Cc\",\"XdZeJk\":\"CC\",\"nrL/ZD\":\"CC'd\",\"EEk+d0\":\"Character Limit\",\"G1XxbZ\":\"Checkbox\",\"wbixMe\":\"Checkbox values\",\"u8JHrO\":\"Clear filters\",\"IqxkER\":\"Clear Signature\",\"OrcxNk\":\"Configure Direct Recipient\",\"92KLYs\":[\"Configure the \",[\"0\"],\" field\"],\"GB2F11\":\"Custom Text\",\"4BHv90\":\"Date Format\",\"NLXhq7\":\"Direct link receiver\",\"YScG1E\":\"Document access\",\"rAqi0g\":\"Document Creation\",\"6GyScL\":\"Drag & drop your PDF here.\",\"iKQcPM\":\"Dropdown\",\"XXvhMd\":\"Dropdown options\",\"XLpxoj\":\"Email Options\",\"f7sXvi\":\"Enter password\",\"5KfWxA\":\"External ID\",\"4CP+OV\":\"Failed to save settings.\",\"LK3SFK\":\"Field character limit\",\"NYkIsf\":\"Field format\",\"X6Tb6Q\":\"Field label\",\"NaVkSD\":\"Field placeholder\",\"N1UTWT\":\"Global recipient action authentication\",\"uCroPU\":\"I am a signer of this document\",\"K6KTX2\":\"I am a viewer of this document\",\"ngj5km\":\"I am an approver of this document\",\"ZjDoG7\":\"I am required to recieve a copy of this document\",\"fnbcC0\":\"Inherit authentication method\",\"87a/t/\":\"Label\",\"dtOoGl\":\"Manager\",\"CK1KXz\":\"Max\",\"OvoEq7\":\"Member\",\"ziXm9u\":\"Message <0>(Optional)</0>\",\"eTUF28\":\"Min\",\"4nqUV0\":\"Needs to approve\",\"lNQBPg\":\"Needs to sign\",\"eUAUyG\":\"Needs to view\",\"GBIRGD\":\"No recipient matching this description was found.\",\"f34Qxi\":\"No recipients with this role\",\"qQ7oqE\":\"No restrictions\",\"AxPAXW\":\"No results found\",\"pt86ev\":\"No signature field found\",\"HptUxX\":\"Number\",\"bR2sEm\":\"Number format\",\"eY6ns+\":\"Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted.\",\"JE2qy+\":\"Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them.\",\"fpzyLj\":[\"Page \",[\"0\"],\" of \",[\"1\"]],\"8ltyoa\":\"Password Required\",\"ayaTI6\":\"Pick a number\",\"hx1ePY\":\"Placeholder\",\"MtkqZc\":\"Radio\",\"5cEi0C\":\"Radio values\",\"uNQ6eB\":\"Read only\",\"UTnF5X\":\"Receives copy\",\"ZIuo5V\":\"Recipient action authentication\",\"VTB2Rz\":\"Redirect URL\",\"8dg+Yo\":\"Required field\",\"xxCtZv\":\"Rows per page\",\"9Y3hAT\":\"Save Template\",\"hVPa4O\":\"Select an option\",\"IM+vrQ\":\"Select at least\",\"Gve6FG\":\"Select default option\",\"JlFcis\":\"Send\",\"AEV4wo\":\"Send Document\",\"iE3nGO\":\"Share Signature Card\",\"y+hKWu\":\"Share the Link\",\"ydZ6yi\":\"Show advanced settings\",\"jTCAGu\":\"Signer\",\"6G8s+q\":\"Signing\",\"kW2h2Z\":\"Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding.\",\"kf83Ld\":\"Something went wrong.\",\"WlBiWh\":[\"Step <0>\",[\"step\"],\" of \",[\"maxStep\"],\"</0>\"],\"ki77Td\":\"Subject <0>(Optional)</0>\",\"hQRttt\":\"Submit\",\"URdrTr\":\"Template title\",\"xeiujy\":\"Text\",\"imClgr\":\"The authentication required for recipients to sign fields\",\"yyD2dE\":\"The authentication required for recipients to sign the signature field.\",\"GtDmLf\":\"The authentication required for recipients to view the document.\",\"zAoaPB\":\"The document's name\",\"Ev3GOS\":\"The password you have entered is incorrect. Please try again.\",\"OPnnb6\":\"The recipient is not required to take any action and receives a copy of the document after it is completed.\",\"v8p6Mb\":\"The recipient is required to approve the document for it to be completed.\",\"CPv0TB\":\"The recipient is required to sign the document for it to be completed.\",\"oIvIfH\":\"The recipient is required to view the document for it to be completed.\",\"Br2bvS\":\"The sharing link could not be created at this time. Please try again.\",\"XJIzqY\":\"The sharing link has been copied to your clipboard.\",\"UyM8/E\":\"The signer's email\",\"zHJ+vk\":\"The signer's name\",\"kaEF2i\":\"This can be overriden by setting the authentication requirements directly on each recipient in the next step.\",\"QUZVfd\":\"This document has already been sent to this recipient. You can no longer edit this recipient.\",\"riNGUC\":\"This document is password protected. Please enter the password to view the document.\",\"Qkeh+t\":\"This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them.\",\"l2Xt6u\":\"This signer has already received the document.\",\"6iFh5a\":\"This will override any global settings.\",\"RxsRD6\":\"Time Zone\",\"UWmOq4\":[\"To proceed further, please set at least one value for the \",[\"0\"],\" field.\"],\"GT+2nz\":\"Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient.\",\"kwkhPe\":\"Upgrade\",\"06fEqf\":\"Upload Template Document\",\"lGWE4b\":\"Validation\",\"M/TIv1\":\"Viewer\",\"RVWz5F\":\"Viewing\",\"4/hUq0\":\"You are about to send this document to the recipients. Are you sure you want to continue?\",\"rb/T41\":\"You can use the following variables in your message:\",\"9+Ph0R\":\"You cannot upload documents at this time.\"}")};
\ No newline at end of file
diff --git a/packages/lib/translations/de/web.po b/packages/lib/translations/de/web.po
index c8c7cd6bb..986ba24e6 100644
--- a/packages/lib/translations/de/web.po
+++ b/packages/lib/translations/de/web.po
@@ -18,3 +18,4361 @@ msgstr ""
"X-Crowdin-File: web.po\n"
"X-Crowdin-File-ID: 8\n"
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:69
+msgid "\"{0}\" will appear on the document as it has a timezone of \"{timezone}\"."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:60
+msgid "\"{documentTitle}\" has been successfully deleted"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx:75
+msgid "({0}) has invited you to approve this document"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx:72
+msgid "({0}) has invited you to sign this document"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx:69
+msgid "({0}) has invited you to view this document"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:311
+msgid "{0, plural, one {(1 character over)} other {(# characters over)}}"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:237
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:397
+msgid "{0, plural, one {# character over the limit} other {# characters over the limit}}"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/page.tsx:82
+msgid "{0, plural, one {# recipient} other {# recipients}}"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:64
+msgid "{0, plural, one {# Seat} other {# Seats}}"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:37
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:66
+msgid "{0, plural, one {<0>You have <1>1</1> pending team invitation</0>} other {<2>You have <3>#</3> pending team invitations</2>}}"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx:102
+msgid "{0, plural, one {1 Recipient} other {# Recipients}}"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:204
+msgid "{0, plural, one {Waiting on 1 recipient} other {Waiting on # recipients}}"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx:64
+msgid "{0, plural, zero {Select values} other {# selected...}}"
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:251
+msgid "{0} direct signing templates"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:66
+msgid "{0} document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:146
+msgid "{0} of {1} documents remaining this month."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:139
+msgid "{0} Recipient(s)"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:67
+msgid "{0} the document to complete the process."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:292
+msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:55
+msgid "{formattedTeamMemberQuanity} • Monthly • Renews: {formattedDate}"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:48
+msgid "{numberOfSeats, plural, one {# member} other {# members}}"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:231
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:391
+msgid "{remaningLength, plural, one {# character remaining} other {# characters remaining}}"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:45
+msgid "<0>\"{0}\"</0>is no longer available to sign"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx:57
+msgid "<0>Sender:</0> All"
+msgstr ""
+
+#: apps/web/src/components/partials/not-found.tsx:45
+msgid "404 Page not found"
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:15
+msgid "404 Profile not found"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:15
+msgid "404 Team not found"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:15
+msgid "404 Template not found"
+msgstr ""
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:55
+msgid "A confirmation email has been sent, and it should arrive in your inbox shortly."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:193
+msgid "A draft document will be created"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:127
+msgid "A new token was created successfully."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/check-email/page.tsx:24
+#: apps/web/src/components/forms/forgot-password.tsx:58
+msgid "A password reset email has been sent, if you have an account you should see it in your inbox shortly."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:94
+msgid "A request to transfer the ownership of this team has been sent to <0>{0} ({1})</0>"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:228
+msgid "A secret that will be sent to your URL so you can verify that the request has been sent by Documenso"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:196
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:198
+msgid "A secret that will be sent to your URL so you can verify that the request has been sent by Documenso."
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:198
+msgid "A unique URL to access your profile"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:206
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:139
+msgid "A unique URL to identify your team"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:137
+msgid "A verification email will be sent to the provided email."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:46
+msgid "Accept"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:26
+msgid "Accepted team invitation"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:51
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:48
+msgid "Account deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:105
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx:104
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:121
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:164
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:118
+msgid "Action"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:103
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:168
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:133
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:142
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:118
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:127
+msgid "Actions"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:101
+#: apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx:76
+#: apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx:71
+msgid "Active"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:68
+msgid "Active Subscriptions"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:189
+msgid "Add"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:143
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:87
+msgid "Add all relevant fields for each recipient."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:82
+msgid "Add all relevant placeholders for each recipient."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:62
+msgid "Add an authenticator to serve as a secondary authentication method for signing documents."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:57
+msgid "Add an authenticator to serve as a secondary authentication method when signing in, or when signing documents."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:125
+msgid "Add email"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:142
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:86
+msgid "Add Fields"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:364
+msgid "Add more"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:270
+msgid "Add number"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:146
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:154
+msgid "Add passkey"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:81
+msgid "Add Placeholders"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:137
+msgid "Add Signers"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:147
+msgid "Add Subject"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:133
+msgid "Add team email"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:256
+msgid "Add text"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:272
+msgid "Add Text"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:138
+msgid "Add the people who will sign the document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:195
+msgid "Add the recipients to create the document with"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:148
+msgid "Add the subject and message you wish to send to signers."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:152
+msgid "Adding and removing seats will adjust your invoice accordingly."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:61
+msgid "Admin Actions"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:257
+msgid "Admin panel"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:46
+msgid "All"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:37
+msgid "All documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:35
+msgid "All documents have been processed. Any new documents that are sent or received will show here."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:145
+msgid "All inserted signatures will be voided"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:148
+msgid "All recipients will be notified"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:52
+msgid "All templates"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:55
+msgid "All Time"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:110
+msgid "Allows authenticating using biometrics, password managers, hardware keys, etc."
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:411
+msgid "Already have an account? <0>Sign in instead</0>"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:84
+msgid "Amount"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:262
+msgid "An email containing an invitation will be sent to each member."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:109
+msgid "An email requesting the transfer of this team has been sent."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:60
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:83
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:60
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:57
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:92
+#: apps/web/src/components/forms/avatar-image.tsx:116
+#: apps/web/src/components/forms/password.tsx:78
+#: apps/web/src/components/forms/profile.tsx:81
+#: apps/web/src/components/forms/reset-password.tsx:81
+#: apps/web/src/components/forms/signup.tsx:107
+#: apps/web/src/components/forms/token.tsx:137
+#: apps/web/src/components/forms/v2/signup.tsx:154
+msgid "An error occurred"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:226
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:176
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:210
+msgid "An error occurred while adding signers."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:256
+msgid "An error occurred while adding the fields."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:153
+msgid "An error occurred while creating document from template."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:102
+msgid "An error occurred while creating the webhook. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:124
+msgid "An error occurred while disabling direct link signing."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:64
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:89
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:76
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:105
+msgid "An error occurred while downloading your document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:52
+msgid "An error occurred while duplicating template."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:123
+msgid "An error occurred while enabling direct link signing."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:299
+msgid "An error occurred while loading team members. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:58
+msgid "An error occurred while moving the document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:57
+msgid "An error occurred while moving the template."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:152
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:126
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:137
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:110
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:148
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:195
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:129
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:175
+msgid "An error occurred while removing the signature."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:196
+msgid "An error occurred while removing the text."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:287
+msgid "An error occurred while sending the document."
+msgstr ""
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:63
+msgid "An error occurred while sending your confirmation email"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:123
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:100
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:106
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:84
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:122
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:150
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:102
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:149
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:168
+msgid "An error occurred while signing the document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:63
+msgid "An error occurred while trying to create a checkout session."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:199
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:153
+msgid "An error occurred while updating the document settings."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:213
+msgid "An error occurred while updating the signature."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:79
+msgid "An error occurred while updating your profile."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:113
+msgid "An error occurred while uploading your document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:66
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:89
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:66
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:63
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:98
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:54
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:97
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:88
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:100
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:105
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:84
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:58
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:158
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:58
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:116
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:89
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:100
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:94
+#: apps/web/src/components/forms/avatar-image.tsx:94
+#: apps/web/src/components/forms/avatar-image.tsx:122
+#: apps/web/src/components/forms/password.tsx:84
+#: apps/web/src/components/forms/profile.tsx:87
+#: apps/web/src/components/forms/public-profile-claim-dialog.tsx:113
+#: apps/web/src/components/forms/public-profile-form.tsx:104
+#: apps/web/src/components/forms/reset-password.tsx:87
+#: apps/web/src/components/forms/signin.tsx:230
+#: apps/web/src/components/forms/signin.tsx:238
+#: apps/web/src/components/forms/signin.tsx:252
+#: apps/web/src/components/forms/signin.tsx:265
+#: apps/web/src/components/forms/signin.tsx:279
+#: apps/web/src/components/forms/signup.tsx:113
+#: apps/web/src/components/forms/signup.tsx:128
+#: apps/web/src/components/forms/signup.tsx:142
+#: apps/web/src/components/forms/token.tsx:143
+#: apps/web/src/components/forms/v2/signup.tsx:160
+#: apps/web/src/components/forms/v2/signup.tsx:183
+#: apps/web/src/components/forms/v2/signup.tsx:197
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:143
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:180
+msgid "An unknown error occurred"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:260
+msgid "Any payment methods attached to this team will remain attached to this team. Please contact us if you need to update this information."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:23
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:43
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:57
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:90
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:93
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:81
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:89
+msgid "API Tokens"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:74
+msgid "App Version"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:89
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:120
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:144
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:122
+msgid "Approve"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:78
+msgid "Approved"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:129
+msgid "Are you sure you want to delete this token?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:188
+msgid "Are you sure you want to remove the <0>{passkeyName}</0> passkey."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:126
+msgid "Are you sure you wish to delete this team?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:98
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:94
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:453
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:81
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:81
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:116
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:441
+msgid "Are you sure?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:66
+msgid "Attempts sealing the document again, useful for after a code change has occurred to resolve an erroneous document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:127
+msgid "Audit Log"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:41
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:57
+msgid "Authentication required"
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:145
+msgid "Avatar"
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:107
+msgid "Avatar Updated"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:121
+msgid "Awaiting email confirmation"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:369
+#: apps/web/src/components/(dashboard)/settings/layout/activity-back.tsx:20
+#: apps/web/src/components/forms/v2/signup.tsx:497
+msgid "Back"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/articles/signature-disclosure/page.tsx:109
+msgid "Back to Documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:146
+msgid "Background Color"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:451
+msgid "Backup Code"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:164
+msgid "Backup codes"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:74
+msgid "Banner Updated"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:460
+msgid "Basic details"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:74
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:61
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:117
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:120
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:108
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:116
+msgid "Billing"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:99
+msgid "Browser"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:279
+msgid "Bulk Import"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:156
+msgid "By deleting this document, the following will occur:"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:114
+msgid "By enabling 2FA, you will be required to enter a code from your authenticator app every time you sign in."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:186
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:190
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:108
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:248
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:157
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:198
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:109
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:81
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:78
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:119
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:470
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:178
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx:74
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:164
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:189
+#: apps/web/src/app/(signing)/sign/[token]/form.tsx:143
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:327
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:110
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:250
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:333
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:163
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:185
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:166
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:218
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:163
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:104
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:369
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:102
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:150
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:278
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:162
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:187
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:137
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:257
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:163
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:452
+msgid "Cancel"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:226
+msgid "Cancelled by user"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:132
+msgid "Charts"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:179
+msgid "Checkout"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:271
+msgid "Choose an existing recipient from below to continue"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:267
+msgid "Choose Direct Link Recipient"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:200
+msgid "Choose..."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:160
+msgid "Claim account"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:469
+msgid "Claim username"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx:28
+msgid "Claim your profile later"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:267
+msgid "Claim your username now"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:130
+msgid "Click here to get started"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:78
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:118
+#: apps/web/src/components/document/document-history-sheet.tsx:131
+msgid "Click here to retry"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:392
+msgid "Click here to upload"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:52
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:65
+msgid "Click to copy signing link for sending to recipient"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:175
+#: apps/web/src/app/(signing)/sign/[token]/form.tsx:107
+msgid "Click to insert field"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:126
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:304
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:125
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:138
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:180
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:102
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:321
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:425
+msgid "Close"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:58
+#: apps/web/src/components/forms/v2/signup.tsx:522
+msgid "Complete"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:67
+msgid "Complete Approval"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:66
+msgid "Complete Signing"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:65
+msgid "Complete Viewing"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:58
+#: apps/web/src/components/formatter/document-status.tsx:28
+msgid "Completed"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:43
+msgid "Completed documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:94
+msgid "Completed Documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:133
+msgid "Configure general settings for the document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:77
+msgid "Configure general settings for the template."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:339
+msgid "Configure template"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:479
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:462
+msgid "Confirm"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:207
+msgid "Confirm by typing <0>{confirmTransferMessage}</0>"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:149
+msgid "Confirm by typing <0>{deleteMessage}</0>"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:152
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:140
+msgid "Confirm by typing: <0>{deleteMessage}</0>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:157
+msgid "Confirm Deletion"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/unverified-account/page.tsx:19
+msgid "Confirm email"
+msgstr ""
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:53
+msgid "Confirmation email sent"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:189
+msgid "Content"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:252
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:135
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:108
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:99
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:330
+msgid "Continue"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:141
+msgid "Continue to login"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:77
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:31
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:163
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:40
+#: apps/web/src/components/forms/public-profile-form.tsx:117
+msgid "Copied to clipboard"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:169
+msgid "Copy sharable link"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:397
+msgid "Copy Shareable Link"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:288
+msgid "Copy token"
+msgstr ""
+
+#: apps/web/src/app/(profile)/profile-header.tsx:83
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:245
+msgid "Create"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:252
+msgid "Create a new account"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:150
+msgid "Create a team to collaborate with your team members."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:106
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:111
+msgid "Create account"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:310
+msgid "Create and send"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:312
+msgid "Create as draft"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx:35
+msgid "Create Direct Link"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:202
+msgid "Create Direct Signing Link"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:189
+msgid "Create document from template"
+msgstr ""
+
+#: apps/web/src/app/(profile)/profile-header.tsx:79
+msgid "Create now"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:352
+msgid "Create one automatically"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:176
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:246
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:138
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:146
+msgid "Create team"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:226
+msgid "Create Team"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:250
+#: apps/web/src/components/forms/token.tsx:259
+msgid "Create token"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:125
+msgid "Create webhook"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:117
+msgid "Create Webhook"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:214
+msgid "Create your account and start using state-of-the-art document signing."
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:256
+msgid "Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:72
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:48
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:68
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:63
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:84
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:276
+msgid "Created"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:35
+msgid "Created At"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:82
+msgid "Created by"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:49
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx:90
+msgid "Created on"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:68
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:89
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:101
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:94
+msgid "Created on <0/>"
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:107
+msgid "Current Password"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:69
+msgid "Current plan: {0}"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:28
+msgid "Daily"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:255
+msgid "Dark Mode"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:70
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:148
+msgid "Date"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:88
+msgid "Date created"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:47
+msgid "Decline"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:26
+msgid "Declined team invitation"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:141
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:187
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:200
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:177
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:211
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:90
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:104
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:91
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:90
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:123
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:109
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:121
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:109
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:167
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:113
+msgid "Delete"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:137
+msgid "Delete account"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:98
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:105
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:83
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:97
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:104
+msgid "Delete Account"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:135
+msgid "Delete document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:85
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:98
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:105
+msgid "Delete Document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:184
+msgid "Delete passkey"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:191
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:118
+msgid "Delete team"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:73
+msgid "Delete team member"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:88
+msgid "Delete the document. This action is irreversible so proceed with caution."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:87
+msgid "Delete the users account and all its contents. This action is irreversible and will cancel their subscription, so proceed with caution."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:117
+msgid "Delete Webhook"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:86
+msgid "Delete your account and all its contents, including completed documents. This action is irreversible and will cancel your subscription, so proceed with caution."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:42
+msgid "Deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:157
+msgid "Deleting account..."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:135
+#~ msgid "Deleting document"
+#~ msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:75
+msgid "Device"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:119
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:46
+msgid "direct link"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:76
+msgid "Direct link"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:46
+msgid "direct link disabled"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:363
+msgid "Direct Link Signing"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:115
+msgid "Direct link signing has been disabled"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:114
+msgid "Direct link signing has been enabled"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:123
+msgid "Direct link templates contain one dynamic recipient placeholder. Anyone with access to this link can sign the document, and it will then appear on your documents page."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:142
+msgid "Direct template link deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:228
+msgid "Direct template link usage exceeded ({0}/{1})"
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:419
+msgid "Disable"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:92
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:99
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:142
+msgid "Disable 2FA"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:116
+msgid "Disable Two Factor Authentication before deleting your account."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:80
+msgid "Disabled"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:380
+msgid "Disabling direct link signing will prevent anyone from accessing the link."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:75
+msgid "Display your name and email in documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:63
+msgid "Do you want to delete this template?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:63
+msgid "Do you want to duplicate this template?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:122
+msgid "Documenso will delete <0>all of your documents</0>, along with all of your completed documents, signatures, and all other resources belonging to your Account."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:122
+msgid "Document"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:47
+msgid "Document All"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:134
+msgid "Document Approved"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:40
+msgid "Document Cancelled"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:29
+msgid "Document completed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:142
+msgid "Document created"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:51
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:147
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:59
+msgid "Document deleted"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:35
+msgid "Document draft"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:58
+msgid "Document Duplicated"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:158
+#: apps/web/src/components/document/document-history-sheet.tsx:102
+msgid "Document history"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:74
+msgid "Document ID"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:41
+msgid "Document inbox"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:68
+msgid "Document Limit Exceeded!"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:82
+msgid "Document metrics"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:49
+msgid "Document moved"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:158
+msgid "Document no longer available to sign"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:23
+msgid "Document pending"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:97
+msgid "Document re-sent"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:36
+msgid "Document resealed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:276
+msgid "Document sent"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:132
+msgid "Document Signed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:142
+msgid "Document signing process will be cancelled"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:78
+msgid "Document status"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:70
+msgid "Document title"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:51
+msgid "Document upload disabled due to unpaid invoices"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:81
+msgid "Document uploaded"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:133
+msgid "Document Viewed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:139
+msgid "Document will be permanently deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:65
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:124
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:113
+#: apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx:82
+#: apps/web/src/app/(dashboard)/documents/[id]/loading.tsx:16
+#: apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx:15
+#: apps/web/src/app/(dashboard)/documents/documents-page-view.tsx:110
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:166
+#: apps/web/src/app/not-found.tsx:21
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:200
+#: apps/web/src/components/(dashboard)/layout/desktop-nav.tsx:18
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:35
+#: apps/web/src/components/ui/user-profile-timur.tsx:60
+msgid "Documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:113
+msgid "Documents Received"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:118
+msgid "Documents Viewed"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx:40
+#: apps/web/src/app/(unauthenticated)/signin/page.tsx:61
+msgid "Don't have an account? <0>Sign up</0>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:111
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:120
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:141
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:160
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:108
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:185
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:107
+msgid "Download"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx:81
+msgid "Download Audit Logs"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx:84
+msgid "Download Certificate"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:34
+msgid "Draft"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:41
+msgid "Draft documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:86
+msgid "Drafted Documents"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:121
+msgid "Due to an unpaid invoice, your team has been restricted. Please settle the payment to restore full access to your team."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:133
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:165
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:85
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:118
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:71
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:91
+msgid "Duplicate"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:104
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:112
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:102
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:154
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:111
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:99
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:62
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:77
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:104
+msgid "Edit"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:94
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:100
+msgid "Edit webhook"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:119
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:114
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:103
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:213
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:220
+#: apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx:118
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:126
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:169
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:153
+#: apps/web/src/components/forms/forgot-password.tsx:81
+#: apps/web/src/components/forms/profile.tsx:122
+#: apps/web/src/components/forms/signin.tsx:304
+#: apps/web/src/components/forms/signup.tsx:180
+msgid "Email"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:134
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:300
+#: apps/web/src/components/forms/send-confirmation-email.tsx:82
+msgid "Email address"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:316
+msgid "Email Address"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:113
+msgid "Email Confirmed!"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/check-email/page.tsx:20
+msgid "Email sent!"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:77
+msgid "Email verification has been removed"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:33
+msgid "Email verification has been resent"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:153
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:262
+msgid "Enable 2FA"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:194
+msgid "Enable Authenticator App"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:251
+msgid "Enable direct link signing"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:374
+msgid "Enable Direct Link Signing"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:123
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:138
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:142
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:80
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:166
+msgid "Enabled"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:38
+msgid "Ends On"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:137
+msgid "Enter your email"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx:135
+msgid "Enter your email address to receive the completed document."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:122
+msgid "Enter your name"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:278
+msgid "Enter your text here"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:41
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:78
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:198
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:225
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:255
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:286
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:57
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:106
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:112
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:152
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:175
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:209
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:51
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:56
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:152
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:122
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:151
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:212
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:99
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:125
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:105
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:136
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:83
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:109
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:121
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:147
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:149
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:194
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:101
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:128
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:148
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:174
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:167
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:195
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:54
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:101
+msgid "Error"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:142
+msgid "Everyone has signed"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:166
+msgid "Everyone has signed! You will receive an Email copy of the signed document."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:232
+msgid "Exceeded timeout"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:114
+msgid "Expired"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:108
+msgid "Expires on <0/>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:42
+msgid "Failed to reseal document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:78
+msgid "Failed to update recipient"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:82
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:88
+msgid "Failed to update webhook"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:143
+msgid "Fields"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:125
+msgid "File cannot be larger than {APP_DOCUMENT_UPLOAD_SIZE_LIMIT}MB"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/forgot-password/page.tsx:21
+#: apps/web/src/components/forms/signin.tsx:336
+msgid "Forgot your password?"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:326
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:193
+#: apps/web/src/components/forms/profile.tsx:110
+#: apps/web/src/components/forms/v2/signup.tsx:300
+msgid "Full Name"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:132
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:76
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:60
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:43
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:51
+msgid "General"
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:30
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:33
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:51
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:32
+#: apps/web/src/components/partials/not-found.tsx:67
+msgid "Go Back"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:64
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:95
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:124
+#: apps/web/src/app/(unauthenticated)/verify-email/page.tsx:38
+msgid "Go back home"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:223
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:57
+msgid "Go Back Home"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:76
+msgid "Go to owner"
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:147
+msgid "Go to your <0>public profile settings</0> to add documents."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/page.tsx:29
+msgid "Here you can edit your personal details."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:35
+msgid "Here you can manage your password and security settings."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:206
+msgid "Here's how it works:"
+msgstr ""
+
+#: apps/web/src/components/ui/user-profile-timur.tsx:49
+msgid "Hey I’m Timur"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:187
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:200
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:155
+msgid "Hide"
+msgstr ""
+
+#: apps/web/src/components/document/document-history-sheet.tsx:109
+msgid "Hide additional information"
+msgstr ""
+
+#: apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx:40
+#~ msgid "I am the owner of this document"
+#~ msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:186
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:173
+msgid "I'm sure! Delete it"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:103
+msgid "If they accept this request, the team will be transferred to their account."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:196
+msgid "If you do not want to use the authenticator prompted, you can close it, which will then display the next available authenticator."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/unverified-account/page.tsx:30
+msgid "If you don't find the confirmation link in your inbox, you can request a new one below."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:213
+msgid "If your authenticator app does not support QR codes, you can use the following code instead:"
+msgstr ""
+
+#: apps/web/src/components/formatter/document-status.tsx:40
+msgid "Inbox"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:47
+msgid "Inbox documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:62
+msgid "Information"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:160
+msgid "Inserted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:60
+msgid "Instance Stats"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:151
+msgid "Invalid code. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:100
+msgid "Invalid file"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:33
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:36
+msgid "Invalid link"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:39
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:39
+msgid "Invalid token"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:123
+msgid "Invitation accepted!"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:118
+msgid "Invitation declined"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:79
+msgid "Invitation has been deleted"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:62
+msgid "Invitation has been resent"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:374
+msgid "Invite"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:250
+msgid "Invite member"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:275
+msgid "Invite Members"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:258
+msgid "Invite team members"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:128
+msgid "Invited At"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:53
+msgid "Invoice"
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:134
+msgid "It looks like {0} hasn't added any documents to their profile yet."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:87
+msgid "It seems that the provided token has expired. We've just sent you another token, please check your email and try again."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/page.tsx:30
+msgid "It seems that there is no token provided, if you are trying to verify your email please follow the link in your email."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:31
+msgid "It seems that there is no token provided. Please check your email and try again."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:61
+msgid "Last 14 days"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:64
+msgid "Last 30 days"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:58
+msgid "Last 7 days"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:52
+msgid "Last modified"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:94
+msgid "Last updated"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:53
+msgid "Last updated at"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:69
+msgid "Last used"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:111
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:117
+msgid "Leave"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:73
+msgid "Leave team"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:254
+msgid "Light Mode"
+msgstr ""
+
+#: apps/web/src/app/(profile)/profile-header.tsx:71
+msgid "Like to have your own public profile with agreements?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:216
+msgid "Link template"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:80
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:85
+msgid "Listening to {0}"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:100
+msgid "Load older activity"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/loading.tsx:33
+msgid "Loading document..."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/loading.tsx:20
+#: apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx:19
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:91
+msgid "Loading Document..."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:92
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:91
+msgid "Loading teams..."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:100
+msgid "Loading..."
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:54
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx:78
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:72
+msgid "Login"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:101
+msgid "Manage"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:88
+msgid "Manage {0}'s profile"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/page.tsx:26
+msgid "Manage all teams you are currently associated with."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:343
+msgid "Manage details for this public template"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx:33
+msgid "Manage Direct Link"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/page.tsx:13
+msgid "Manage documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:118
+msgid "Manage passkeys"
+msgstr ""
+
+#: apps/web/src/components/(teams)/team-billing-portal-button.tsx:41
+msgid "Manage subscription"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:66
+msgid "Manage Subscription"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:24
+msgid "Manage subscriptions"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:81
+msgid "Manage team subscription."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:163
+msgid "Manage teams"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:367
+msgid "Manage the direct link signing for this template"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx:32
+msgid "Manage the members or invite new members."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/page.tsx:35
+msgid "Manage users"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx:33
+msgid "Manage your passkeys."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/page.tsx:27
+msgid "Manage your site settings here"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:120
+msgid "Mark as Viewed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:137
+msgid "MAU (created document)"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:143
+msgid "MAU (had document completed)"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:90
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:113
+msgid "Member Since"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx:31
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:71
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:79
+msgid "Members"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:40
+msgid "Modify recipients"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:30
+msgid "Monthly"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:138
+msgid "Monthly Active Users: Users that created at least one Document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:145
+msgid "Monthly Active Users: Users that had at least one of their documents completed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:122
+msgid "Move"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:78
+msgid "Move Document to Team"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:77
+msgid "Move Template to Team"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:172
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:82
+msgid "Move to Team"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:122
+msgid "Moving..."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:44
+msgid "My templates"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:101
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:99
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:98
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:144
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:59
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:235
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:242
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:119
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:170
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:153
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:141
+#: apps/web/src/components/forms/signup.tsx:164
+msgid "Name"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:210
+msgid "Need to sign documents?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:74
+msgid "Never"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:224
+msgid "Never expire"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:176
+msgid "New team owner"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:96
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:103
+msgid "New Template"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:509
+msgid "Next"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:58
+msgid "Next field"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:24
+msgid "No active drafts"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:42
+msgid "No payment required"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:125
+msgid "No public profile templates found"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:108
+msgid "No recent activity"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:55
+msgid "No recipients"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:195
+msgid "No results found."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:28
+msgid "No token provided"
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:286
+msgid "No valid direct templates found"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:293
+msgid "No valid recipients found"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/multiselect-role-combobox.tsx:64
+#: apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx:77
+msgid "No value found."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/forgot-password/page.tsx:25
+msgid "No worries, it happens! Enter your email and we'll email you a special link to reset your password."
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:142
+msgid "Not supported"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:19
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:34
+msgid "Nothing to do"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:128
+msgid "On this page, you can create a new webhook."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:27
+msgid "On this page, you can create new API tokens and manage the existing ones. <0/>Also see our <1>Documentation</1>."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:61
+msgid "On this page, you can create new API tokens and manage the existing ones. <0/>You can view our swagger docs <1>here</1>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:30
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:35
+msgid "On this page, you can create new Webhooks and manage the existing ones."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:95
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:101
+msgid "On this page, you can edit the webhook and its settings."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:134
+msgid "Once confirmed, the following will occur:"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:224
+msgid "Once you have scanned the QR code or entered the code manually, enter the code provided by your authenticator app below."
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:19
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:19
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:37
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:19
+#: apps/web/src/components/partials/not-found.tsx:49
+msgid "Oops! Something went wrong."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:97
+msgid "Opened"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:337
+#: apps/web/src/components/forms/signup.tsx:243
+#: apps/web/src/components/forms/signup.tsx:267
+#: apps/web/src/components/forms/v2/signup.tsx:371
+msgid "Or"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:356
+msgid "Or continue with"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:289
+msgid "Otherwise, the document will be created as a draft."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:96
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:76
+msgid "Owner"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:77
+msgid "Paid"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:401
+msgid "Passkey"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:229
+msgid "Passkey already exists for the provided authenticator"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:219
+msgid "Passkey creation cancelled due to one of the following reasons:"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:88
+msgid "Passkey has been removed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:68
+msgid "Passkey has been updated"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:177
+msgid "Passkey name"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:106
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx:32
+msgid "Passkeys"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:158
+msgid "Passkeys allow you to sign in and authenticate using biometrics, password managers, etc."
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:143
+msgid "Passkeys are not supported on this browser"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:65
+#: apps/web/src/components/forms/password.tsx:123
+#: apps/web/src/components/forms/reset-password.tsx:110
+#: apps/web/src/components/forms/signin.tsx:322
+#: apps/web/src/components/forms/signup.tsx:196
+#: apps/web/src/components/forms/v2/signup.tsx:332
+msgid "Password"
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:71
+#: apps/web/src/components/forms/reset-password.tsx:72
+msgid "Password updated"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:46
+msgid "Pay"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:89
+msgid "Payment is required to finalise the creation of your team."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:82
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:107
+msgid "Payment overdue"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:115
+#: apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx:82
+#: apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx:77
+#: apps/web/src/components/formatter/document-status.tsx:22
+msgid "Pending"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:46
+msgid "Pending documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:89
+msgid "Pending Documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:62
+msgid "Pending invitations"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:28
+msgid "Pending team deleted."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:129
+msgid "Personal"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:72
+msgid "Personal Account"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:152
+msgid "Pick a password"
+msgstr ""
+
+#: apps/web/src/components/ui/user-profile-timur.tsx:53
+msgid "Pick any of the following agreements below and start signing to get started"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:212
+msgid "Please check the CSV file and make sure it is according to our format"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx:34
+msgid "Please choose your new password"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:174
+msgid "Please contact support if you would like to revert this action."
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:175
+msgid "Please enter a meaningful name for your token. This will help you identify it later."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/form.tsx:127
+msgid "Please mark as viewed to complete"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:457
+msgid "Please note that proceeding will remove direct linking recipient and turn it into a placeholder."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:128
+msgid "Please note that this action is <0>irreversible</0>."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:119
+msgid "Please note that this action is <0>irreversible</0>. Once confirmed, this document will be permanently deleted."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:67
+msgid "Please note that this action is irreversible. Once confirmed, your template will be permanently deleted."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:133
+msgid "Please note that this action is irreversible. Once confirmed, your token will be permanently deleted."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:121
+msgid "Please note that this action is irreversible. Once confirmed, your webhook will be permanently deleted."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:130
+msgid "Please note that you will lose access to all documents associated with this team & all the members will be removed and notified"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:103
+msgid "Please provide a token from the authenticator, or a backup code. If you do not have a backup code available, please contact support."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:120
+msgid "Please provide a token from your authenticator, or a backup code."
+msgstr ""
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:64
+msgid "Please try again and make sure you enter the correct email address."
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:185
+msgid "Please try again later or login using your normal details"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:80
+msgid "Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:134
+msgid "Please type <0>{0}</0> to confirm."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:209
+msgid "Preferences"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:61
+msgid "Preview and configure template."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:133
+#: apps/web/src/components/formatter/template-type.tsx:22
+msgid "Private"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:143
+msgid "Private templates can only be modified and viewed by you."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/page.tsx:28
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:64
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:36
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:39
+msgid "Profile"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:184
+msgid "Profile is currently <0>hidden</0>."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:172
+msgid "Profile is currently <0>visible</0>."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:72
+#: apps/web/src/components/forms/profile.tsx:72
+msgid "Profile updated"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:106
+#: apps/web/src/components/formatter/template-type.tsx:27
+msgid "Public"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:42
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:50
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:53
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:57
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:65
+msgid "Public Profile"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:146
+msgid "Public profile URL"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:438
+msgid "Public profile username"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:110
+msgid "Public templates are connected to your public profile. Any modifications to public templates will also appear in your public profile."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx:144
+msgid "Read only field"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:90
+msgid "Ready"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx:62
+msgid "Reauthentication is required to sign this field"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:57
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:130
+msgid "Recent activity"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:87
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:280
+msgid "Recipient"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:71
+msgid "Recipient updated"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:68
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:34
+msgid "Recipients"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:102
+msgid "Recipients metrics"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:164
+msgid "Recipients will still retain their copy of the document"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:26
+msgid "Recovery code copied"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:84
+msgid "Recovery codes"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:78
+#: apps/web/src/components/forms/signup.tsx:93
+#: apps/web/src/components/forms/v2/signup.tsx:127
+msgid "Registration Successful"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/forgot-password/page.tsx:34
+msgid "Remembered your password? <0>Sign In</0>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:193
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:431
+#: apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx:156
+#: apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx:180
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:89
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:159
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:54
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:166
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:167
+#: apps/web/src/components/forms/avatar-image.tsx:169
+msgid "Remove"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:108
+msgid "Remove team email"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:164
+msgid "Remove team member"
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:139
+#: apps/web/src/components/forms/reset-password.tsx:126
+msgid "Repeat Password"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:282
+msgid "Request transfer"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:61
+msgid "Reseal document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:118
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:154
+msgid "Resend"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:128
+msgid "Resend Confirmation Email"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:67
+msgid "Resend verification"
+msgstr ""
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:164
+#: apps/web/src/components/forms/public-profile-form.tsx:267
+msgid "Reset"
+msgstr ""
+
+#: apps/web/src/components/forms/forgot-password.tsx:56
+msgid "Reset email sent"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx:30
+#: apps/web/src/components/forms/forgot-password.tsx:93
+#: apps/web/src/components/forms/reset-password.tsx:138
+msgid "Reset Password"
+msgstr ""
+
+#: apps/web/src/components/forms/reset-password.tsx:138
+msgid "Resetting Password..."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:99
+msgid "Resolve"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:132
+msgid "Resolve payment"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:168
+msgid "Retry"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:48
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:50
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:45
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:48
+msgid "Return"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:130
+msgid "Return to Dashboard"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:136
+msgid "Return to Home"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/check-email/page.tsx:32
+#: apps/web/src/app/(unauthenticated)/reset-password/page.tsx:32
+msgid "Return to sign in"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:118
+msgid "Revoke"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:87
+msgid "Revoke access"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:283
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:318
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:163
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:82
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:123
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:105
+msgid "Role"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:131
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:108
+msgid "Roles"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:444
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:336
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:342
+msgid "Save"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx:63
+#: apps/web/src/components/(dashboard)/layout/desktop-nav.tsx:81
+#: apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx:69
+#: apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx:64
+msgid "Search"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:63
+msgid "Search by document title"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:86
+msgid "Search by name or email"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:189
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:217
+msgid "Secret"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:34
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:77
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:80
+msgid "Security"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/page.tsx:25
+msgid "Security activity"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:192
+msgid "Select"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:87
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:86
+msgid "Select a team"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:81
+msgid "Select a team to move this document to. This action cannot be undone."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:80
+msgid "Select a team to move this template to. This action cannot be undone."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:263
+msgid "Select a template you'd like to display on your public profile"
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:259
+msgid "Select a template you'd like to display on your team's public profile"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:222
+msgid "Select passkey"
+msgstr ""
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:94
+msgid "Send confirmation email"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:273
+msgid "Send document"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:191
+msgid "Send reminder"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:83
+msgid "Sender"
+msgstr ""
+
+#: apps/web/src/components/forms/forgot-password.tsx:93
+msgid "Sending Reset Email..."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:128
+msgid "Sending..."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:85
+msgid "Sent"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:149
+msgid "Set a password"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/layout.tsx:20
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:60
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:206
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:47
+msgid "Settings"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:196
+msgid "Setup"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:145
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:191
+msgid "Share"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:161
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:203
+msgid "Share Signing Card"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:163
+msgid "Show"
+msgstr ""
+
+#: apps/web/src/components/document/document-history-sheet.tsx:111
+msgid "Show additional information"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:45
+msgid "Show templates in your public profile for your audience to sign and get started quickly"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:52
+msgid "Show templates in your team public profile for your audience to sign and get started quickly"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:83
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:114
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:137
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:192
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:182
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:224
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:121
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:259
+#: apps/web/src/components/ui/user-profile-skeleton.tsx:75
+#: apps/web/src/components/ui/user-profile-timur.tsx:81
+msgid "Sign"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:219
+msgid "Sign as {0} <0>({1})</0>"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:219
+#~ msgid "Sign as <0>{0} <1>({1})</1></0>"
+#~ msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:183
+msgid "Sign as<0>{0} <1>({1})</1></0>"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx:59
+msgid "Sign field"
+msgstr ""
+
+#: apps/web/src/components/forms/signup.tsx:212
+#: apps/web/src/components/forms/v2/signup.tsx:350
+msgid "Sign Here"
+msgstr ""
+
+#: apps/web/src/app/not-found.tsx:29
+#: apps/web/src/components/forms/signin.tsx:349
+#: apps/web/src/components/forms/signin.tsx:476
+msgid "Sign In"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/signin/page.tsx:44
+msgid "Sign in to your account"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:285
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:84
+msgid "Sign Out"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:72
+msgid "Sign up"
+msgstr ""
+
+#: apps/web/src/components/forms/signup.tsx:235
+msgid "Sign Up"
+msgstr ""
+
+#: apps/web/src/components/forms/signup.tsx:257
+#: apps/web/src/components/forms/v2/signup.tsx:389
+msgid "Sign Up with Google"
+msgstr ""
+
+#: apps/web/src/components/forms/signup.tsx:281
+#: apps/web/src/components/forms/v2/signup.tsx:405
+msgid "Sign Up with OIDC"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:170
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:338
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:197
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:227
+#: apps/web/src/components/forms/profile.tsx:132
+msgid "Signature"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:123
+msgid "Signatures Collected"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:200
+msgid "Signatures will appear once the document has been completed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:98
+msgid "Signed"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:349
+#: apps/web/src/components/forms/signin.tsx:476
+msgid "Signing in..."
+msgstr ""
+
+#: apps/web/src/components/forms/signup.tsx:235
+msgid "Signing up..."
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:109
+msgid "Since {0}"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:102
+msgid "Site Banner"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:93
+#: apps/web/src/app/(dashboard)/admin/site-settings/page.tsx:26
+msgid "Site Settings"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:105
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:63
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:88
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx:65
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx:66
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:75
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:104
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:80
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:72
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:62
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:50
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:124
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:73
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:93
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:32
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:32
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:44
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:50
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:79
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:104
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:127
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:151
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:117
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:27
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:43
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:53
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:39
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:52
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:50
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:99
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:210
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:64
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:83
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:33
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:67
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:84
+#: apps/web/src/components/(teams)/team-billing-portal-button.tsx:29
+msgid "Something went wrong"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:75
+msgid "Something went wrong while attempting to transfer the ownership of team <0>{0}</0> to your. Please try again later or contact support."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:85
+msgid "Something went wrong while attempting to verify your email address for <0>{0}</0>. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:158
+msgid "Something went wrong while loading your passkeys."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:55
+msgid "Something went wrong while sending the confirmation email."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:96
+msgid "Something went wrong while updating the team billing subscription, please contact support."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:240
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:154
+msgid "Something went wrong. Please try again or contact support."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx:67
+msgid "Sorry, we were unable to download the audit logs. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx:68
+msgid "Sorry, we were unable to download the certificate. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:37
+msgid "Stats"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:91
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:32
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:97
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:71
+msgid "Status"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:128
+msgid "Subscribe"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:113
+msgid "Subscription"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:79
+msgid "Subscriptions"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:35
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:67
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:87
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:25
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:25
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:37
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:118
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:141
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:32
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:44
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:44
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:79
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:88
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:72
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:49
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:150
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:49
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:57
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:76
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:108
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:79
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:92
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:68
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:27
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:61
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:78
+#: apps/web/src/components/forms/public-profile-form.tsx:80
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:135
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:172
+msgid "Success"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:87
+msgid "Successfully created passkey"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:256
+msgid "System Theme"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:65
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx:76
+msgid "Team"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:85
+msgid "Team checkout"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:61
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:140
+msgid "Team email"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:58
+msgid "Team Email"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:58
+msgid "Team email has been removed"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:81
+msgid "Team email verification"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:97
+msgid "Team email verified!"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:80
+msgid "Team email was updated."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:91
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:96
+msgid "Team invitation"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:151
+msgid "Team invitations have been sent."
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:109
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:86
+msgid "Team Member"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:166
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:113
+msgid "Team Name"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:133
+msgid "Team Only"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:138
+msgid "Team only templates are not linked anywhere and are visible only to your team."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:71
+msgid "Team ownership transfer"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:87
+msgid "Team ownership transferred!"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:49
+msgid "Team Public Profile"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:272
+msgid "Team settings"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/layout.tsx:50
+msgid "Team Settings"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:51
+msgid "Team templates"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:79
+msgid "Team transfer in progress"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:77
+msgid "Team transfer request expired"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:196
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:129
+msgid "Team URL"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/page.tsx:25
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:157
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:43
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:64
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:67
+msgid "Teams"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:83
+msgid "Teams restricted"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:408
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:273
+msgid "Template"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:41
+msgid "Template deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:67
+msgid "Template document uploaded"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:42
+msgid "Template duplicated"
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:136
+msgid "Template has been removed from your public profile."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:173
+msgid "Template has been updated."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:48
+msgid "Template moved"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:198
+msgid "Template saved"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx:60
+#: apps/web/src/app/(dashboard)/templates/templates-page-view.tsx:55
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:203
+#: apps/web/src/components/(dashboard)/layout/desktop-nav.tsx:22
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:39
+msgid "Templates"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:106
+msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:166
+msgid "Text Color"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:52
+msgid "The account has been deleted successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:197
+msgid "The content to show in the banner, HTML is allowed"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:78
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:32
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:164
+msgid "The direct link has been copied to your clipboard"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:50
+msgid "The document has been successfully moved to the selected team."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:159
+msgid "The document was created but could not be sent to recipients."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:161
+msgid "The document will be hidden from your account"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:281
+msgid "The document will be immediately sent to recipients if this is checked."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:175
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:179
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:203
+msgid "The events that will trigger a webhook to be sent to your URL."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:91
+msgid "The ownership of team <0>{0}</0> has been successfully transferred to you."
+msgstr ""
+
+#: apps/web/src/components/partials/not-found.tsx:53
+msgid "The page you are looking for was moved, removed, renamed or might never have existed."
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:118
+msgid "The profile link has been copied to your clipboard"
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:23
+msgid "The profile you are looking for could not be found."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:382
+msgid "The public description that will be displayed with this template"
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:360
+msgid "The public name for your template"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:72
+msgid "The recipient has been updated successfully"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:267
+msgid "The selected team member will receive an email which they must accept before the team is transferred"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:41
+msgid "The signing link has been copied to your clipboard."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:105
+msgid "The site banner is a message that is shown at the top of the site. It can be used to display important information to your users."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:45
+msgid "The team transfer invitation has been successfully deleted."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:86
+msgid "The team transfer request to <0>{0}</0> has expired."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:23
+msgid "The team you are looking for may have been removed, renamed or may have never existed."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:49
+msgid "The template has been successfully moved to the selected team."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:445
+msgid "The template will be removed from your profile"
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:23
+msgid "The template you are looking for may have been disabled, deleted or may have never existed."
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:106
+msgid "The token was copied to your clipboard."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:88
+msgid "The token was deleted successfully."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/reset-password/page.tsx:24
+msgid "The token you have used to reset your password is either expired or it never existed. If you have still forgotten your password, please request a new reset link."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:124
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:128
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:152
+msgid "The URL for Documenso to send webhook events to."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:79
+msgid "The webhook has been successfully deleted."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:81
+msgid "The webhook has been updated successfully."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:93
+msgid "The webhook was successfully created."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:25
+msgid "There are no active drafts at the current moment. You can upload a document to start drafting."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:20
+msgid "There are no completed documents yet. Documents that you have created or received will appear here once completed."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:70
+msgid "They have permission on your behalf to:"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:110
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:110
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:109
+msgid "This action is not reversible. Please be certain."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:81
+msgid "This document could not be deleted at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:73
+msgid "This document could not be duplicated at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:106
+msgid "This document could not be re-sent at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:180
+msgid "This document has been cancelled by the owner and is no longer available for others to sign."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:52
+msgid "This document has been cancelled by the owner."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:193
+msgid "This document has been signed by all recipients"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:196
+msgid "This document is currently a draft and has not been sent"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:93
+msgid "This email is already being used by another team."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:40
+msgid "This link is invalid or has expired. Please contact your team to resend a transfer request."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:37
+msgid "This link is invalid or has expired. Please contact your team to resend a verification."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:208
+msgid "This passkey has already been registered."
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:182
+msgid "This passkey is not configured for this application. Please login and add one in the user settings."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:148
+msgid "This price includes minimum 5 seats."
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:184
+msgid "This session has expired. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:195
+msgid "This team, and any associated data excluding billing invoices will be permanently deleted."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:51
+msgid "This template could not be deleted at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:43
+msgid "This token is invalid or has expired. No action is needed."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:43
+msgid "This token is invalid or has expired. Please contact your team for a new invitation."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:98
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:87
+msgid "This URL is already in use."
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:145
+msgid "This username has already been taken"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-claim-dialog.tsx:98
+msgid "This username is already taken"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx:77
+msgid "Time"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:100
+msgid "Time zone"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:77
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:78
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:89
+msgid "Title"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:106
+msgid "To accept this invitation you must create an account."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:125
+msgid "To change the email you must remove and add a new email address."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:117
+msgid "To confirm, please enter the accounts email address <0/>({0})."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:117
+msgid "To confirm, please enter the reason"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:101
+msgid "To decline this invitation you must create an account."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:197
+msgid "To enable two-factor authentication, scan the following QR code using your authenticator app."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/unverified-account/page.tsx:23
+msgid "To gain access to your account, please confirm your email address by clicking on the confirmation link from your inbox."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx:57
+msgid "To mark this document as viewed, you need to be logged in as <0>{0}</0>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:178
+msgid "Toggle the switch to hide your profile from the public."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:190
+msgid "Toggle the switch to show your profile to the public."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:236
+msgid "Token"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:105
+msgid "Token copied to clipboard"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:126
+msgid "Token created"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:87
+msgid "Token deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:82
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:115
+msgid "Token doesn't have an expiration date"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:193
+msgid "Token expiration date"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:165
+msgid "Token name"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:65
+msgid "Total Documents"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:108
+msgid "Total Recipients"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:150
+msgid "Total Signers that Signed Up"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:64
+msgid "Total Users"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:160
+msgid "Transfer ownership of this team to a selected team member."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:169
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:147
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:156
+msgid "Transfer team"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:173
+msgid "Transfer the ownership of the team to another team member."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:163
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:167
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:191
+msgid "Triggers"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:52
+msgid "Two factor authentication"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:88
+msgid "Two factor authentication recovery codes are used to access your account in the event that you lose access to your authenticator app."
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:414
+msgid "Two-Factor Authentication"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:66
+msgid "Two-factor authentication disabled"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:94
+msgid "Two-factor authentication enabled"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:68
+msgid "Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:155
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:95
+msgid "Type"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:184
+msgid "Type 'delete' to confirm"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:181
+msgid "Type a command or search..."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/page.tsx:26
+msgid "Uh oh! Looks like you're missing a token"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:31
+msgid "Unable to copy recovery code"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:110
+msgid "Unable to copy token"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:105
+msgid "Unable to create direct template access. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:33
+msgid "Unable to decline this team invitation at this time."
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:85
+msgid "Unable to delete invitation. Please try again."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:94
+msgid "Unable to delete team"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:79
+msgid "Unable to disable two-factor authentication"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:33
+msgid "Unable to join this team at this time."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:72
+#: apps/web/src/components/document/document-history-sheet.tsx:125
+msgid "Unable to load document history"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:111
+msgid "Unable to load your public profile templates at this time"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:84
+msgid "Unable to remove email verification at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:65
+msgid "Unable to remove team email at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:68
+msgid "Unable to resend invitation. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:40
+msgid "Unable to resend verification at this time. Please try again."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/reset-password/page.tsx:20
+msgid "Unable to reset password"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:68
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:101
+msgid "Unable to setup two-factor authentication"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:229
+#: apps/web/src/components/forms/signin.tsx:237
+msgid "Unable to sign in"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:166
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:27
+msgid "Unauthorized"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:112
+msgid "Uncompleted"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:23
+msgid "Unknown error"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:77
+msgid "Unpaid"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:181
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:162
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:166
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:191
+#: apps/web/src/components/forms/public-profile-form.tsx:279
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:430
+msgid "Update"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:211
+msgid "Update Banner"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:118
+msgid "Update passkey"
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:152
+msgid "Update password"
+msgstr ""
+
+#: apps/web/src/components/forms/profile.tsx:150
+msgid "Update profile"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:133
+msgid "Update Recipient"
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:146
+msgid "Update role"
+msgstr ""
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:176
+msgid "Update team"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:113
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:121
+msgid "Update team email"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:136
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:144
+msgid "Update team member"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:147
+msgid "Update user"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:208
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:210
+msgid "Update webhook"
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:152
+msgid "Updating password..."
+msgstr ""
+
+#: apps/web/src/components/forms/profile.tsx:150
+msgid "Updating profile..."
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:182
+msgid "Upload Avatar"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:44
+msgid "Uploaded by"
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:91
+msgid "Uploaded file is too large"
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:92
+msgid "Uploaded file is too small"
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:93
+msgid "Uploaded file not an allowed file type"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:471
+msgid "Use Authenticator"
+msgstr ""
+
+#: apps/web/src/components/forms/signin.tsx:469
+msgid "Use Backup Code"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:183
+msgid "Use Template"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx:82
+msgid "User"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:41
+msgid "User ID"
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:222
+msgid "User profiles are here!"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:264
+msgid "User settings"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:51
+msgid "Users"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:165
+msgid "Value"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:100
+msgid "Verification Email Sent"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:45
+msgid "Verification email sent successfully."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:102
+msgid "Verify Now"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:112
+msgid "Verify your email address"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:88
+msgid "Verify your email address to unlock all features."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:56
+msgid "Verify your email to upload documents."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:95
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:126
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:135
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:130
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:98
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:168
+msgid "View"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:140
+msgid "View activity"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:78
+msgid "View all documents sent to your account"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:134
+msgid "View all recent security activity related to your account."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/page.tsx:26
+msgid "View all security activity related to your account."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:78
+msgid "View Codes"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:150
+msgid "View documents associated with this email"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:55
+msgid "View invites"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/document-preview-button.tsx:34
+msgid "View Original Document"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:87
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:116
+msgid "View Recovery Codes"
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:56
+msgid "View teams"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:104
+msgid "Viewed"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:82
+msgid "Waiting"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:150
+msgid "Waiting for others to sign"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:61
+msgid "Want to send slick signing links like this one? <0>Check out Documenso.</0>"
+msgstr ""
+
+#: apps/web/src/app/(profile)/profile-header.tsx:68
+msgid "Want your own public profile?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:40
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:55
+#: apps/web/src/components/(teams)/team-billing-portal-button.tsx:31
+msgid "We are unable to proceed to the billing portal at this time. Please try again, or contact support."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:95
+msgid "We are unable to remove this passkey at the moment. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:75
+msgid "We are unable to update this passkey at the moment. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:153
+msgid "We encountered an error while removing the direct template link. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:84
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:90
+msgid "We encountered an error while updating the webhook. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:145
+msgid "We encountered an unknown error while attempting create the new token. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:102
+msgid "We encountered an unknown error while attempting to add this email. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:107
+msgid "We encountered an unknown error while attempting to create a team. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:90
+msgid "We encountered an unknown error while attempting to delete it. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:35
+msgid "We encountered an unknown error while attempting to delete the pending team. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:86
+msgid "We encountered an unknown error while attempting to delete this team. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:99
+msgid "We encountered an unknown error while attempting to delete this token. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:71
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:68
+msgid "We encountered an unknown error while attempting to delete your account. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:160
+msgid "We encountered an unknown error while attempting to invite team members. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:60
+msgid "We encountered an unknown error while attempting to leave this team. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:145
+msgid "We encountered an unknown error while attempting to remove this template from your profile. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:56
+msgid "We encountered an unknown error while attempting to remove this transfer. Please try again or contact support."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:60
+msgid "We encountered an unknown error while attempting to remove this user. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:118
+msgid "We encountered an unknown error while attempting to request a transfer of this team. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/reset-password.tsx:89
+msgid "We encountered an unknown error while attempting to reset your password. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:46
+msgid "We encountered an unknown error while attempting to revoke access. Please try again or contact support."
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-claim-dialog.tsx:115
+msgid "We encountered an unknown error while attempting to save your details. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/profile.tsx:89
+#: apps/web/src/components/forms/signin.tsx:254
+#: apps/web/src/components/forms/signin.tsx:267
+#: apps/web/src/components/forms/signin.tsx:281
+msgid "We encountered an unknown error while attempting to sign you In. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:100
+#: apps/web/src/components/forms/signup.tsx:115
+#: apps/web/src/components/forms/v2/signup.tsx:162
+msgid "We encountered an unknown error while attempting to sign you up. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/signup.tsx:130
+#: apps/web/src/components/forms/signup.tsx:144
+#: apps/web/src/components/forms/v2/signup.tsx:185
+#: apps/web/src/components/forms/v2/signup.tsx:199
+msgid "We encountered an unknown error while attempting to sign you Up. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:124
+msgid "We encountered an unknown error while attempting to update the avatar. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:92
+msgid "We encountered an unknown error while attempting to update the banner. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:182
+msgid "We encountered an unknown error while attempting to update the template. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:102
+msgid "We encountered an unknown error while attempting to update this team member. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:86
+msgid "We encountered an unknown error while attempting to update your password. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:106
+msgid "We encountered an unknown error while attempting to update your public profile. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:96
+msgid "We encountered an unknown error while attempting to update your team. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:91
+msgid "We encountered an unknown error while attempting update the team email. Please try again later."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:80
+msgid "We have sent a confirmation email for verification."
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:111
+msgid "We were unable to copy the token to your clipboard. Please try again."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:33
+msgid "We were unable to copy your recovery code to your clipboard. Please try again."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:52
+msgid "We were unable to create a checkout session. Please try again, or contact support"
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:81
+msgid "We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again."
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:28
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:44
+msgid "We were unable to log you out at this time."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:125
+msgid "We were unable to set your public profile to public. Please try again."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:70
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:103
+msgid "We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again."
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:119
+msgid "We were unable to submit this document at this time. Please try again later."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:169
+msgid "We were unable to verify your details. Please try again or contact support"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:56
+msgid "We were unable to verify your email. If your email is not verified already, please try again."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:29
+#: apps/web/src/app/(dashboard)/templates/empty-state.tsx:11
+msgid "We're all empty"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:116
+msgid "We've sent a confirmation email to <0>{email}</0>. Please check your inbox and click the link in the email to verify your account."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:92
+msgid "Webhook created"
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:78
+msgid "Webhook deleted"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:74
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:80
+msgid "Webhook updated"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:117
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:145
+msgid "Webhook URL"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:29
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:34
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:103
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:106
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:94
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:102
+msgid "Webhooks"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:29
+msgid "Weekly"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/signin/page.tsx:48
+msgid "Welcome back, we are lucky to have you."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:189
+msgid "When you click continue, you will be prompted to add the first available authenticator on your system."
+msgstr ""
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:139
+msgid "While waiting for them to do so you can create your own Documenso account and get started with document signing right away."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:126
+msgid "Who do you want to remind?"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:223
+msgid "Write about the team"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:223
+msgid "Write about yourself"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:31
+msgid "Yearly"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:45
+msgid "You"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:90
+msgid "You are about to complete approving \"{truncatedTitle}\".<0/> Are you sure?"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:82
+msgid "You are about to complete signing \"{truncatedTitle}\".<0/> Are you sure?"
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:74
+msgid "You are about to complete viewing \"{truncatedTitle}\".<0/> Are you sure?"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:103
+msgid "You are about to delete <0>\"{documentTitle}\"</0>"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:120
+msgid "You are about to delete the following team email from <0>{teamName}</0>."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:107
+msgid "You are about to hide <0>\"{documentTitle}\"</0>"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:85
+msgid "You are about to leave the following team."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:85
+msgid "You are about to remove the following user from <0>{teamName}</0>."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:98
+msgid "You are about to revoke access for team <0>{0}</0> ({1}) to use your email."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:80
+msgid "You are currently on the <0>Free Plan</0>."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:92
+#~ msgid "You are currently subscribed to <0>{0}</0>"
+#~ msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:148
+msgid "You are currently updating <0>{teamMemberName}.</0>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:122
+msgid "You are currently updating the <0>{passkeyName}</0> passkey."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:28
+msgid "You are not authorized to view this page."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:43
+msgid "You can choose to enable or disable your profile for public view."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:50
+msgid "You can choose to enable or disable your team profile for public view."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx:30
+msgid "You can claim your profile later on by going to your profile settings!"
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:154
+msgid "You can update the profile URL by updating the team URL in the general settings page."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:65
+msgid "You can view documents associated with this email and use this identity when sending documents."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:213
+msgid "You cannot have more than {MAXIMUM_PASSKEYS} passkeys."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:120
+msgid "You cannot modify a team member who has a higher role than you."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:101
+msgid "You cannot upload encrypted PDFs"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:97
+#~ msgid "You currently have an active plan"
+#~ msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:45
+msgid "You do not currently have a customer record, this should not happen. Please contact support for assistance."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:127
+msgid "You have accepted an invitation from <0>{0}</0> to join their team."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:95
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:100
+msgid "You have been invited by <0>{0}</0> to join their team."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:122
+msgid "You have declined the invitation from <0>{0}</0> to join their team."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:45
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:50
+msgid "You have no webhooks yet. Your webhooks will be shown here once you create them."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/empty-state.tsx:15
+msgid "You have not yet created any templates. To create a template please upload one."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:30
+msgid "You have not yet created or received any documents. To create a document please upload one."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:234
+msgid "You have reached the maximum limit of {0} direct templates. <0>Upgrade your account to continue!</0>"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:52
+msgid "You have reached your document limit."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:71
+msgid "You have reached your document limit. <0>Upgrade your account to continue!</0>"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:50
+msgid "You have successfully left this team."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:80
+#: apps/web/src/components/forms/signup.tsx:95
+#: apps/web/src/components/forms/v2/signup.tsx:129
+msgid "You have successfully registered. Please verify your account by clicking on the link you received in the email."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:50
+msgid "You have successfully removed this user from the team."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:38
+msgid "You have successfully revoked access."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:93
+msgid "You have updated {teamMemberName}."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:101
+msgid "You have verified your email address for <0>{0}</0>."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:82
+msgid "You must be an admin of this team to manage billing."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:80
+#~ msgid "You must enter '{confirmTransferMessage}' to proceed"
+#~ msgstr ""
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:60
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:58
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:54
+msgid "You must enter '{deleteMessage}' to proceed"
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:301
+msgid "You must have at least one other team member to transfer ownership."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:109
+msgid "You must set a profile URL before enabling your public profile."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:61
+msgid "You need to be logged in as <0>{email}</0> to view this page."
+msgstr ""
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:45
+msgid "You need to be logged in to view this page."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:105
+msgid "You need to setup 2FA to mark this document as viewed."
+msgstr ""
+
+#: apps/web/src/components/forms/v2/signup.tsx:271
+msgid "You will get notified & be able to set up your documenso public profile when we launch the feature."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:96
+msgid "You will now be required to enter a code from your authenticator app when signing in."
+msgstr ""
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:173
+msgid "You will receive an Email copy of the signed document once everyone has signed."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:49
+msgid "Your account has been deleted successfully."
+msgstr ""
+
+#: apps/web/src/components/forms/avatar-image.tsx:108
+msgid "Your avatar has been updated successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:75
+msgid "Your banner has been updated successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:121
+msgid "Your current plan is past due. Please update your payment information."
+msgstr ""
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:253
+msgid "Your direct signing templates"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:124
+msgid "Your document failed to upload."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:143
+msgid "Your document has been created from the template successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:98
+msgid "Your document has been re-sent successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:277
+msgid "Your document has been sent successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:59
+msgid "Your document has been successfully duplicated."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:82
+msgid "Your document has been uploaded successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:69
+msgid "Your document has been uploaded successfully. You will be redirected to the template page."
+msgstr ""
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:215
+msgid "Your documents"
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:117
+msgid "Your email has been successfully confirmed! You can now use all features of Documenso."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:62
+msgid "Your email is currently being used by team <0>{0}</0> ({1})."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:48
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:81
+msgid "Your existing tokens"
+msgstr ""
+
+#: apps/web/src/components/forms/password.tsx:72
+#: apps/web/src/components/forms/reset-password.tsx:73
+msgid "Your password has been updated successfully."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:113
+msgid "Your payment for teams is overdue. Please settle the payment to avoid any service disruptions."
+msgstr ""
+
+#: apps/web/src/components/forms/profile.tsx:73
+msgid "Your profile has been updated successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:73
+msgid "Your profile has been updated."
+msgstr ""
+
+#: apps/web/src/components/forms/public-profile-form.tsx:81
+msgid "Your public profile has been updated."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:27
+msgid "Your recovery code has been copied to your clipboard."
+msgstr ""
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:167
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:91
+msgid "Your recovery codes are listed below. Please store them in a safe place."
+msgstr ""
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:62
+msgid "Your subscription is currently active."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:89
+msgid "Your team has been created."
+msgstr ""
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:73
+msgid "Your team has been successfully deleted."
+msgstr ""
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:69
+msgid "Your team has been successfully updated."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:43
+msgid "Your template has been duplicated successfully."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:42
+msgid "Your template has been successfully deleted."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:67
+msgid "Your template will be duplicated."
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:199
+msgid "Your templates has been saved successfully."
+msgstr ""
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:83
+msgid "Your token has expired!"
+msgstr ""
+
+#: apps/web/src/components/forms/token.tsx:277
+msgid "Your token was created successfully! Make sure to copy it because you won't be able to see it again!"
+msgstr ""
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:54
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:87
+msgid "Your tokens will be shown here once you create them."
+msgstr ""
diff --git a/packages/lib/translations/en/common.po b/packages/lib/translations/en/common.po
index 5710401fa..ce0b7582e 100644
--- a/packages/lib/translations/en/common.po
+++ b/packages/lib/translations/en/common.po
@@ -12,3 +12,730 @@ msgstr ""
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"
+
+#: packages/ui/primitives/data-table-pagination.tsx:30
+msgid "{0} of {1} row(s) selected."
+msgstr "{0} of {1} row(s) selected."
+
+#: packages/ui/primitives/data-table-pagination.tsx:41
+msgid "{visibleRows, plural, one {Showing # result.} other {Showing # results.}}"
+msgstr "{visibleRows, plural, one {Showing # result.} other {Showing # results.}}"
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:53
+msgid "<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \"General Settings\" step"
+msgstr "<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \"General Settings\" step"
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:95
+msgid "<0>No restrictions</0> - No authentication required"
+msgstr "<0>No restrictions</0> - No authentication required"
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:77
+msgid "<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient"
+msgstr "<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient"
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:75
+msgid "<0>None</0> - No authentication required"
+msgstr "<0>None</0> - No authentication required"
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:89
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:69
+msgid "<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings"
+msgstr "<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings"
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:72
+msgid "<0>Require account</0> - The recipient must be signed in to view the document"
+msgstr "<0>Require account</0> - The recipient must be signed in to view the document"
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:83
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:63
+msgid "<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings"
+msgstr "<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings"
+
+#: packages/ui/primitives/document-dropzone.tsx:69
+msgid "Add a document"
+msgstr "Add a document"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:305
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:339
+msgid "Add a URL to redirect the user to once the document is signed"
+msgstr "Add a URL to redirect the user to once the document is signed"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:217
+msgid "Add an external ID to the document. This can be used to identify the document in external systems."
+msgstr "Add an external ID to the document. This can be used to identify the document in external systems."
+
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:256
+msgid "Add an external ID to the template. This can be used to identify in external systems."
+msgstr "Add an external ID to the template. This can be used to identify in external systems."
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:177
+msgid "Add another option"
+msgstr "Add another option"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:230
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:167
+msgid "Add another value"
+msgstr "Add another value"
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:359
+msgid "Add myself"
+msgstr "Add myself"
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:369
+msgid "Add Myself"
+msgstr "Add Myself"
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:355
+msgid "Add Placeholder Recipient"
+msgstr "Add Placeholder Recipient"
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:348
+msgid "Add Signer"
+msgstr "Add Signer"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:70
+msgid "Add text"
+msgstr "Add text"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:75
+msgid "Add text to the field"
+msgstr "Add text to the field"
+
+#: packages/lib/constants/teams.ts:10
+msgid "Admin"
+msgstr "Admin"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:199
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:238
+msgid "Advanced Options"
+msgstr "Advanced Options"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:510
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:369
+msgid "Advanced settings"
+msgstr "Advanced settings"
+
+#: packages/lib/constants/template.ts:21
+msgid "After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email."
+msgstr "After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email."
+
+#: packages/lib/constants/recipient-roles.ts:8
+msgid "Approve"
+msgstr "Approve"
+
+#: packages/lib/constants/recipient-roles.ts:9
+msgid "Approved"
+msgstr "Approved"
+
+#: packages/lib/constants/recipient-roles.ts:11
+msgid "Approver"
+msgstr "Approver"
+
+#: packages/lib/constants/recipient-roles.ts:10
+msgid "Approving"
+msgstr "Approving"
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:297
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:58
+msgid "Cancel"
+msgstr "Cancel"
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:164
+msgid "Cannot remove signer"
+msgstr "Cannot remove signer"
+
+#: packages/lib/constants/recipient-roles.ts:17
+msgid "Cc"
+msgstr "Cc"
+
+#: packages/lib/constants/recipient-roles.ts:14
+#: packages/lib/constants/recipient-roles.ts:16
+msgid "CC"
+msgstr "CC"
+
+#: packages/lib/constants/recipient-roles.ts:15
+msgid "CC'd"
+msgstr "CC'd"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:83
+msgid "Character Limit"
+msgstr "Character Limit"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:932
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:755
+msgid "Checkbox"
+msgstr "Checkbox"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:195
+msgid "Checkbox values"
+msgstr "Checkbox values"
+
+#: packages/ui/primitives/data-table.tsx:154
+msgid "Clear filters"
+msgstr "Clear filters"
+
+#: packages/ui/primitives/signature-pad/signature-pad.tsx:256
+msgid "Clear Signature"
+msgstr "Clear Signature"
+
+#: packages/ui/primitives/document-flow/add-signature.tsx:394
+msgid "Click to insert field"
+msgstr "Click to insert field"
+
+#: packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx:44
+msgid "Close"
+msgstr "Close"
+
+#: packages/lib/constants/template.ts:12
+msgid "Configure Direct Recipient"
+msgstr "Configure Direct Recipient"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:511
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:370
+msgid "Configure the {0} field"
+msgstr "Configure the {0} field"
+
+#: packages/ui/primitives/document-flow/document-flow-root.tsx:141
+msgid "Continue"
+msgstr "Continue"
+
+#: packages/ui/components/document/document-share-button.tsx:46
+msgid "Copied to clipboard"
+msgstr "Copied to clipboard"
+
+#: packages/ui/primitives/document-flow/add-signature.tsx:360
+msgid "Custom Text"
+msgstr "Custom Text"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:828
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:651
+msgid "Date"
+msgstr "Date"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:240
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:279
+msgid "Date Format"
+msgstr "Date Format"
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:312
+msgid "Direct link receiver"
+msgstr "Direct link receiver"
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:62
+#: packages/ui/primitives/document-flow/add-settings.tsx:166
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:151
+msgid "Document access"
+msgstr "Document access"
+
+#: packages/lib/constants/template.ts:20
+msgid "Document Creation"
+msgstr "Document Creation"
+
+#: packages/ui/components/document/document-download-button.tsx:68
+msgid "Download"
+msgstr "Download"
+
+#: packages/ui/primitives/document-dropzone.tsx:162
+msgid "Drag & drop your PDF here."
+msgstr "Drag & drop your PDF here."
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:958
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:781
+msgid "Dropdown"
+msgstr "Dropdown"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:148
+msgid "Dropdown options"
+msgstr "Dropdown options"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:776
+#: packages/ui/primitives/document-flow/add-signature.tsx:272
+#: packages/ui/primitives/document-flow/add-signers.tsx:232
+#: packages/ui/primitives/document-flow/add-signers.tsx:239
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:599
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:210
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:217
+msgid "Email"
+msgstr "Email"
+
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:184
+msgid "Email Options"
+msgstr "Email Options"
+
+#: packages/lib/constants/template.ts:8
+msgid "Enable Direct Link Signing"
+msgstr "Enable Direct Link Signing"
+
+#: packages/ui/primitives/document-password-dialog.tsx:84
+msgid "Enter password"
+msgstr "Enter password"
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:226
+msgid "Error"
+msgstr "Error"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:210
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:249
+msgid "External ID"
+msgstr "External ID"
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:227
+msgid "Failed to save settings."
+msgstr "Failed to save settings."
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:90
+msgid "Field character limit"
+msgstr "Field character limit"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:107
+msgid "Field format"
+msgstr "Field format"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:50
+msgid "Field label"
+msgstr "Field label"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:62
+msgid "Field placeholder"
+msgstr "Field placeholder"
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:64
+msgid "Global recipient action authentication"
+msgstr "Global recipient action authentication"
+
+#: packages/ui/primitives/document-flow/document-flow-root.tsx:142
+msgid "Go Back"
+msgstr "Go Back"
+
+#: packages/lib/constants/recipient-roles.ts:72
+msgid "I am a signer of this document"
+msgstr "I am a signer of this document"
+
+#: packages/lib/constants/recipient-roles.ts:75
+msgid "I am a viewer of this document"
+msgstr "I am a viewer of this document"
+
+#: packages/lib/constants/recipient-roles.ts:73
+msgid "I am an approver of this document"
+msgstr "I am an approver of this document"
+
+#: packages/lib/constants/recipient-roles.ts:74
+msgid "I am required to recieve a copy of this document"
+msgstr "I am required to recieve a copy of this document"
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:29
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:87
+msgid "Inherit authentication method"
+msgstr "Inherit authentication method"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:64
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:69
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:45
+msgid "Label"
+msgstr "Label"
+
+#: packages/lib/constants/teams.ts:11
+msgid "Manager"
+msgstr "Manager"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:168
+msgid "Max"
+msgstr "Max"
+
+#: packages/lib/constants/teams.ts:12
+msgid "Member"
+msgstr "Member"
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:95
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:215
+msgid "Message <0>(Optional)</0>"
+msgstr "Message <0>(Optional)</0>"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:156
+msgid "Min"
+msgstr "Min"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:802
+#: packages/ui/primitives/document-flow/add-signature.tsx:298
+#: packages/ui/primitives/document-flow/add-signers.tsx:265
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:625
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:245
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:251
+msgid "Name"
+msgstr "Name"
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:52
+msgid "Needs to approve"
+msgstr "Needs to approve"
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:31
+msgid "Needs to sign"
+msgstr "Needs to sign"
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:73
+msgid "Needs to view"
+msgstr "Needs to view"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:613
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:464
+msgid "No recipient matching this description was found."
+msgstr "No recipient matching this description was found."
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:629
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:480
+msgid "No recipients with this role"
+msgstr "No recipients with this role"
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:30
+#: packages/ui/components/document/document-global-auth-access-select.tsx:43
+#: packages/ui/components/document/document-global-auth-action-select.tsx:31
+#: packages/ui/components/document/document-global-auth-action-select.tsx:46
+msgid "No restrictions"
+msgstr "No restrictions"
+
+#: packages/ui/primitives/data-table.tsx:146
+msgid "No results found"
+msgstr "No results found"
+
+#: packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx:30
+msgid "No signature field found"
+msgstr "No signature field found"
+
+#: packages/ui/primitives/combobox.tsx:60
+#: packages/ui/primitives/multi-select-combobox.tsx:153
+msgid "No value found."
+msgstr "No value found."
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:880
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:703
+msgid "Number"
+msgstr "Number"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:100
+msgid "Number format"
+msgstr "Number format"
+
+#: packages/lib/constants/template.ts:9
+msgid "Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted."
+msgstr "Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted."
+
+#: packages/lib/constants/template.ts:17
+msgid "Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them."
+msgstr "Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them."
+
+#: packages/ui/primitives/data-table-pagination.tsx:77
+msgid "Page {0} of {1}"
+msgstr "Page {0} of {1}"
+
+#: packages/ui/primitives/document-password-dialog.tsx:62
+msgid "Password Required"
+msgstr "Password Required"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:154
+msgid "Pick a number"
+msgstr "Pick a number"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:76
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:81
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:57
+msgid "Placeholder"
+msgstr "Placeholder"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:906
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:729
+msgid "Radio"
+msgstr "Radio"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:133
+msgid "Radio values"
+msgstr "Radio values"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:184
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:137
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:136
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:122
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:114
+msgid "Read only"
+msgstr "Read only"
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:95
+msgid "Receives copy"
+msgstr "Receives copy"
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:39
+#: packages/ui/primitives/document-flow/add-settings.tsx:184
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:169
+msgid "Recipient action authentication"
+msgstr "Recipient action authentication"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:298
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:332
+msgid "Redirect URL"
+msgstr "Redirect URL"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:996
+msgid "Remove"
+msgstr "Remove"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:174
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:127
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:126
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx:112
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx:104
+msgid "Required field"
+msgstr "Required field"
+
+#: packages/ui/primitives/data-table-pagination.tsx:55
+msgid "Rows per page"
+msgstr "Rows per page"
+
+#: packages/ui/primitives/document-flow/field-item-advanced-settings.tsx:296
+msgid "Save"
+msgstr "Save"
+
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:797
+msgid "Save Template"
+msgstr "Save Template"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:105
+msgid "Select"
+msgstr "Select"
+
+#: packages/ui/primitives/combobox.tsx:38
+msgid "Select an option"
+msgstr "Select an option"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:137
+msgid "Select at least"
+msgstr "Select at least"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx:95
+msgid "Select default option"
+msgstr "Select default option"
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:124
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:34
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:64
+msgid "Send"
+msgstr "Send"
+
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:41
+msgid "Send Document"
+msgstr "Send Document"
+
+#: packages/ui/components/document/document-share-button.tsx:135
+msgid "Share Signature Card"
+msgstr "Share Signature Card"
+
+#: packages/lib/constants/template.ts:16
+msgid "Share the Link"
+msgstr "Share the Link"
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:377
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:387
+msgid "Show advanced settings"
+msgstr "Show advanced settings"
+
+#: packages/lib/constants/recipient-roles.ts:20
+msgid "Sign"
+msgstr "Sign"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:724
+#: packages/ui/primitives/document-flow/add-signature.tsx:323
+#: packages/ui/primitives/document-flow/field-icon.tsx:52
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:547
+msgid "Signature"
+msgstr "Signature"
+
+#: packages/lib/constants/recipient-roles.ts:21
+msgid "Signed"
+msgstr "Signed"
+
+#: packages/lib/constants/recipient-roles.ts:23
+msgid "Signer"
+msgstr "Signer"
+
+#: packages/lib/constants/recipient-roles.ts:22
+msgid "Signing"
+msgstr "Signing"
+
+#: packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx:34
+msgid "Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding."
+msgstr "Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding."
+
+#: packages/ui/components/document/document-share-button.tsx:51
+msgid "Something went wrong"
+msgstr "Something went wrong"
+
+#: packages/ui/primitives/data-table.tsx:134
+msgid "Something went wrong."
+msgstr "Something went wrong."
+
+#: packages/ui/primitives/document-flow/document-flow-root.tsx:107
+msgid "Step <0>{step} of {maxStep}</0>"
+msgstr "Step <0>{step} of {maxStep}</0>"
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:78
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:195
+msgid "Subject <0>(Optional)</0>"
+msgstr "Subject <0>(Optional)</0>"
+
+#: packages/ui/primitives/document-password-dialog.tsx:97
+msgid "Submit"
+msgstr "Submit"
+
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:134
+msgid "Template title"
+msgstr "Template title"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:854
+#: packages/ui/primitives/template-flow/add-template-fields.tsx:677
+msgid "Text"
+msgstr "Text"
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:44
+msgid "The authentication required for recipients to sign fields"
+msgstr "The authentication required for recipients to sign fields"
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:68
+msgid "The authentication required for recipients to sign the signature field."
+msgstr "The authentication required for recipients to sign the signature field."
+
+#: packages/ui/components/document/document-global-auth-access-select.tsx:67
+msgid "The authentication required for recipients to view the document."
+msgstr "The authentication required for recipients to view the document."
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:31
+msgid "The document's name"
+msgstr "The document's name"
+
+#: packages/ui/primitives/document-password-dialog.tsx:52
+msgid "The password you have entered is incorrect. Please try again."
+msgstr "The password you have entered is incorrect. Please try again."
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:103
+msgid "The recipient is not required to take any action and receives a copy of the document after it is completed."
+msgstr "The recipient is not required to take any action and receives a copy of the document after it is completed."
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:60
+msgid "The recipient is required to approve the document for it to be completed."
+msgstr "The recipient is required to approve the document for it to be completed."
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:39
+msgid "The recipient is required to sign the document for it to be completed."
+msgstr "The recipient is required to sign the document for it to be completed."
+
+#: packages/ui/components/recipient/recipient-role-select.tsx:81
+msgid "The recipient is required to view the document for it to be completed."
+msgstr "The recipient is required to view the document for it to be completed."
+
+#: packages/ui/components/document/document-share-button.tsx:52
+msgid "The sharing link could not be created at this time. Please try again."
+msgstr "The sharing link could not be created at this time. Please try again."
+
+#: packages/ui/components/document/document-share-button.tsx:47
+msgid "The sharing link has been copied to your clipboard."
+msgstr "The sharing link has been copied to your clipboard."
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:25
+msgid "The signer's email"
+msgstr "The signer's email"
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:19
+msgid "The signer's name"
+msgstr "The signer's name"
+
+#: packages/ui/components/document/document-global-auth-action-select.tsx:72
+msgid "This can be overriden by setting the authentication requirements directly on each recipient in the next step."
+msgstr "This can be overriden by setting the authentication requirements directly on each recipient in the next step."
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:685
+msgid "This document has already been sent to this recipient. You can no longer edit this recipient."
+msgstr "This document has already been sent to this recipient. You can no longer edit this recipient."
+
+#: packages/ui/primitives/document-password-dialog.tsx:66
+msgid "This document is password protected. Please enter the password to view the document."
+msgstr "This document is password protected. Please enter the password to view the document."
+
+#: packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx:315
+msgid "This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them."
+msgstr "This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them."
+
+#: packages/ui/primitives/document-flow/add-signers.tsx:165
+msgid "This signer has already received the document."
+msgstr "This signer has already received the document."
+
+#: packages/ui/components/recipient/recipient-action-auth-select.tsx:48
+msgid "This will override any global settings."
+msgstr "This will override any global settings."
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:274
+#: packages/ui/primitives/template-flow/add-template-settings.tsx:309
+msgid "Time Zone"
+msgstr "Time Zone"
+
+#: packages/ui/primitives/document-flow/add-settings.tsx:145
+msgid "Title"
+msgstr "Title"
+
+#: packages/ui/primitives/document-flow/add-fields.tsx:971
+msgid "To proceed further, please set at least one value for the {0} field."
+msgstr "To proceed further, please set at least one value for the {0} field."
+
+#: packages/ui/primitives/document-flow/add-subject.tsx:124
+msgid "Update"
+msgstr "Update"
+
+#: packages/lib/constants/template.ts:13
+msgid "Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient."
+msgstr "Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient."
+
+#: packages/ui/primitives/document-dropzone.tsx:168
+msgid "Upgrade"
+msgstr "Upgrade"
+
+#: packages/ui/primitives/document-dropzone.tsx:70
+msgid "Upload Template Document"
+msgstr "Upload Template Document"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx:130
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:147
+msgid "Validation"
+msgstr "Validation"
+
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:88
+#: packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx:93
+msgid "Value"
+msgstr "Value"
+
+#: packages/lib/constants/recipient-roles.ts:26
+msgid "View"
+msgstr "View"
+
+#: packages/lib/constants/recipient-roles.ts:27
+msgid "Viewed"
+msgstr "Viewed"
+
+#: packages/lib/constants/recipient-roles.ts:29
+msgid "Viewer"
+msgstr "Viewer"
+
+#: packages/lib/constants/recipient-roles.ts:28
+msgid "Viewing"
+msgstr "Viewing"
+
+#: packages/ui/primitives/document-flow/send-document-action-dialog.tsx:44
+msgid "You are about to send this document to the recipients. Are you sure you want to continue?"
+msgstr "You are about to send this document to the recipients. Are you sure you want to continue?"
+
+#: packages/ui/components/document/document-send-email-message-helper.tsx:11
+msgid "You can use the following variables in your message:"
+msgstr "You can use the following variables in your message:"
+
+#: packages/ui/primitives/document-dropzone.tsx:43
+msgid "You cannot upload documents at this time."
+msgstr "You cannot upload documents at this time."
+
+#: packages/ui/primitives/document-dropzone.tsx:69
+msgid "You have reached your document limit."
+msgstr "You have reached your document limit."
diff --git a/packages/lib/translations/en/marketing.js b/packages/lib/translations/en/marketing.js
index 7bca3ac53..c600bf92a 100644
--- a/packages/lib/translations/en/marketing.js
+++ b/packages/lib/translations/en/marketing.js
@@ -1 +1 @@
-/*eslint-disable*/module.exports={messages:JSON.parse("{\"J/hVSQ\":[[\"0\"]],\"u0zktA\":\"5 standard documents per month\",\"rKtmiD\":\"5 Users Included\",\"vaHmll\":\"A 10x better signing experience.\",\"gBefbz\":[\"Add More Users for \",[\"0\"]],\"XkF8tv\":\"All our metrics, finances, and learnings are public. We believe in transparency and want to share our journey with you. You can read more about why here: <0>Announcing Open Metrics</0>\",\"tkQ/WI\":\"Amount Raised\",\"qOMroC\":\"API Access\",\"FNv8t7\":\"Beautiful.\",\"W/TUoX\":\"Because signing should be celebrated. That’s why we care about the smallest detail in our product.\",\"astDB+\":\"Blog\",\"7zGun7\":\"Build on top.\",\"fxgcNV\":\"Can I use Documenso commercially?\",\"V+D/YP\":\"Careers\",\"CWe7wB\":\"Changelog\",\"JZbmjL\":\"Choose a template from the community app store. Or submit your own template for others to use.\",\"chL5IG\":\"Community\",\"p5+XQN\":\"Completed Documents\",\"NApCXa\":\"Completed Documents per Month\",\"z5kV0h\":\"Connections\",\"YcfUZ9\":\"Contact Us\",\"1NJjIG\":\"Create connections and automations with Zapier and more to integrate with your favorite tools.\",\"rr83qK\":\"Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp.\",\"75ojt0\":\"Customers with an Active Subscriptions.\",\"pF9qTh\":\"Customise and expand.\",\"f8fH8W\":\"Design\",\"W6qD1T\":\"Designed for every stage of your journey.\",\"K6KbY4\":\"Direct Link\",\"aLD+Td\":\"Documenso is a community effort to create an open and vibrant ecosystem around a tool, everybody is free to use and adapt. By being truly open we want to create trusted infrastructure for the future of the internet.\",\"32yG8y\":\"Documenso on X\",\"+1xAO7\":\"Document signing,<0/>finally open source.\",\"TvY/XA\":\"Documentation\",\"tSS7hj\":\"Easily embed Documenso into your product. Simply copy and paste our react widget into your application.\",\"BWMGM4\":\"Easy Sharing (Soon).\",\"LRAhFG\":\"Easy Sharing.\",\"V6EY8B\":\"Email and Discord Support\",\"C0/bri\":\"Engagement\",\"8Zy3YU\":\"Enterprise Compliance, License or Technical Needs?\",\"ZSW8id\":\"Everything you need for a great signing experience.\",\"sXswT6\":\"Fast.\",\"cT9Z9e\":\"Faster, smarter and more beautiful.\",\"k/ANik\":\"Finances\",\"I7Exsw\":\"Follow us on X\",\"f3Botn\":\"For companies looking to scale across multiple teams.\",\"y2DcZj\":\"For small teams and individuals with basic needs.\",\"2POOFK\":\"Free\",\"OdieZe\":\"From the blog\",\"IPgkVQ\":\"Full-Time\",\"aSWzT9\":\"Get paid (Soon).\",\"ZDIydz\":\"Get started\",\"c3b0B0\":\"Get Started\",\"pS8wej\":\"Get started today.\",\"7FPIvI\":\"Get the latest news from Documenso, including product updates, team announcements and more!\",\"kV0qBq\":\"GitHub: Total Merged PRs\",\"652R6j\":\"GitHub: Total Open Issues\",\"R1aJ0W\":\"GitHub: Total Stars\",\"P1ovAc\":\"Global Salary Bands\",\"IAq/yr\":\"Growth\",\"Xi7f+z\":\"How can I contribute?\",\"9VGuMA\":\"How do you handle my data?\",\"fByw/g\":\"Individual\",\"Csm+TN\":\"Integrated payments with Stripe so you don’t have to worry about getting paid.\",\"phSPy7\":\"Integrates with all your favourite tools.\",\"pfjrI2\":\"Is there more?\",\"LOyqaC\":\"It’s up to you. Either clone our repository or rely on our easy to use hosting solution.\",\"PCgMVa\":\"Join Date\",\"TgL4dH\":\"Join the Open Signing Movement\",\"wJijgU\":\"Location\",\"OIowgO\":\"Make it your own through advanced customization and adjustability.\",\"GHelWd\":\"Merged PR's\",\"vXBVQZ\":\"Merged PRs\",\"+8Nek/\":\"Monthly\",\"6YtxFj\":\"Name\",\"CtgXe4\":\"New Users\",\"OpNhRn\":\"No credit card required\",\"6C9AxJ\":\"No Credit Card required\",\"igwAqT\":\"None of these work for you? Try self-hosting!\",\"jjAtjQ\":\"Open Issues\",\"b76QYo\":\"Open Source or Hosted.\",\"OWsQIe\":\"Open Startup\",\"Un80BR\":\"OSS Friends\",\"6zNyfI\":\"Our custom templates come with smart rules that can help you save time and energy.\",\"+OmhKD\":\"Our Enterprise License is great for large organizations looking to switch to Documenso for all their signing needs. It's available for our cloud offering as well as self-hosted setups and offers a wide range of compliance and Adminstration Features.\",\"eK0veR\":\"Our Enterprise License is great large organizations looking to switch to Documenso for all their signing needs. It's availible for our cloud offering as well as self-hosted setups and offer a wide range of compliance and Adminstration Features.\",\"I2ufwS\":\"Our self-hosted option is great for small teams and individuals who need a simple solution. You can use our docker based setup to get started in minutes. Take control with full customizability and data ownership.\",\"F9564X\":\"Part-Time\",\"qJVkX+\":\"Premium Profile Name\",\"aHCEmh\":\"Pricing\",\"rjGI/Q\":\"Privacy\",\"vERlcd\":\"Profile\",\"77/8W2\":\"React Widget (Soon).\",\"OYoVNk\":\"Receive your personal link to share with everyone you care about.\",\"GDvlUT\":\"Role\",\"bUqwb8\":\"Salary\",\"GNfoAO\":\"Save $60 or $120\",\"StoBff\":\"Search languages...\",\"dhi4w4\":\"Securely. Our data centers are located in Frankfurt (Germany), giving us the best local privacy laws. We are very aware of the sensitive nature of our data and follow best practices to ensure the security and integrity of the data entrusted to us.\",\"kZBxnz\":\"Send, connect, receive and embed everywhere.\",\"eSfS30\":\"Seniority\",\"aoDa18\":\"Shop\",\"5lWFkC\":\"Sign in\",\"e+RpCP\":\"Sign up\",\"4yiZOB\":\"Signing Process\",\"RkUXMm\":\"Signup Now\",\"omz3DH\":\"Smart.\",\"AvYbUL\":\"Star on GitHub\",\"y2dGtU\":\"Stars\",\"uAQUqI\":\"Status\",\"XYLcNv\":\"Support\",\"KM6m8p\":\"Team\",\"lm5v+6\":\"Team Inbox\",\"CAL6E9\":\"Teams\",\"w4nM1s\":\"Template Store (Soon).\",\"yFoQ27\":\"That's awesome. You can take a look at the current <0>Issues</0> and join our <1>Discord Community</1> to keep up to date, on what the current priorities are. In any case, we are an open community and welcome all input, technical and non-technical ❤️\",\"GE1BlA\":\"This page is evolving as we learn what makes a great signing company. We'll update it when we have more to share.\",\"MHrjPM\":\"Title\",\"2YvdxE\":\"Total Completed Documents\",\"8e4lIo\":\"Total Customers\",\"bPpoCb\":\"Total Funding Raised\",\"vb0Q0/\":\"Total Users\",\"mgQhDS\":\"Truly your own.\",\"4McJfQ\":\"Try our Free Plan\",\"9mkNAn\":\"Twitter Stats\",\"CHzOWB\":\"Unlimited Documents per Month\",\"BOV7DD\":\"Up to 10 recipients per document\",\"vdAd7c\":\"Using our hosted version is the easiest way to get started, you can simply subscribe and start signing your documents. We take care of the infrastructure, so you can focus on your business. Additionally, when using our hosted version you benefit from our trusted signing certificates which helps you to build trust with your customers.\",\"W2nDs0\":\"View all stats\",\"WMfAK8\":\"We are happy to assist you at <0>[email protected]</0> or <1>in our Discord-Support-Channel</1> please message either Lucas or Timur to get added to the channel if you are not already a member.\",\"ZaMyxU\":\"What is the difference between the plans?\",\"8GpyFt\":\"When it comes to sending or receiving a contract, you can count on lightning-fast speeds.\",\"HEDnID\":\"Where can I get support?\",\"sib3h3\":\"Why should I prefer Documenso over DocuSign or some other signing tool?\",\"cVPDPt\":\"Why should I use your hosting service?\",\"zkWmBh\":\"Yearly\",\"8AKApo\":\"Yes! Documenso is offered under the GNU AGPL V3 open source license. This means you can use it for free and even modify it to fit your needs, as long as you publish your changes under the same license.\",\"rzQpex\":\"You can self-host Documenso for free or use our ready-to-use hosted version. The hosted version comes with additional support, painless scalability and more. Early adopters will get access to all features we build this year, for no additional cost! Forever! Yes, that includes multiple users per account later. If you want Documenso for your enterprise, we are happy to talk about your needs.\",\"1j9aoC\":\"Your browser does not support the video tag.\"}")};
\ No newline at end of file
+/*eslint-disable*/module.exports={messages:JSON.parse("{\"J/hVSQ\":[[\"0\"]],\"u0zktA\":\"5 standard documents per month\",\"rKtmiD\":\"5 Users Included\",\"vaHmll\":\"A 10x better signing experience.\",\"t7ZCoe\":\"Add document\",\"gBefbz\":[\"Add More Users for \",[\"0\"]],\"XkF8tv\":\"All our metrics, finances, and learnings are public. We believe in transparency and want to share our journey with you. You can read more about why here: <0>Announcing Open Metrics</0>\",\"tkQ/WI\":\"Amount Raised\",\"qOMroC\":\"API Access\",\"FNv8t7\":\"Beautiful.\",\"W/TUoX\":\"Because signing should be celebrated. That’s why we care about the smallest detail in our product.\",\"astDB+\":\"Blog\",\"7zGun7\":\"Build on top.\",\"fxgcNV\":\"Can I use Documenso commercially?\",\"V+D/YP\":\"Careers\",\"CWe7wB\":\"Changelog\",\"JZbmjL\":\"Choose a template from the community app store. Or submit your own template for others to use.\",\"chL5IG\":\"Community\",\"p5+XQN\":\"Completed Documents\",\"NApCXa\":\"Completed Documents per Month\",\"z5kV0h\":\"Connections\",\"YcfUZ9\":\"Contact Us\",\"1NJjIG\":\"Create connections and automations with Zapier and more to integrate with your favorite tools.\",\"rr83qK\":\"Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp.\",\"75ojt0\":\"Customers with an Active Subscriptions.\",\"pF9qTh\":\"Customise and expand.\",\"f8fH8W\":\"Design\",\"W6qD1T\":\"Designed for every stage of your journey.\",\"K6KbY4\":\"Direct Link\",\"aLD+Td\":\"Documenso is a community effort to create an open and vibrant ecosystem around a tool, everybody is free to use and adapt. By being truly open we want to create trusted infrastructure for the future of the internet.\",\"32yG8y\":\"Documenso on X\",\"+1xAO7\":\"Document signing,<0/>finally open source.\",\"TvY/XA\":\"Documentation\",\"tSS7hj\":\"Easily embed Documenso into your product. Simply copy and paste our react widget into your application.\",\"BWMGM4\":\"Easy Sharing (Soon).\",\"LRAhFG\":\"Easy Sharing.\",\"V6EY8B\":\"Email and Discord Support\",\"C0/bri\":\"Engagement\",\"JejrgO\":\"Enter your details.\",\"8Zy3YU\":\"Enterprise Compliance, License or Technical Needs?\",\"ZSW8id\":\"Everything you need for a great signing experience.\",\"sXswT6\":\"Fast.\",\"cT9Z9e\":\"Faster, smarter and more beautiful.\",\"k/ANik\":\"Finances\",\"I7Exsw\":\"Follow us on X\",\"f3Botn\":\"For companies looking to scale across multiple teams.\",\"y2DcZj\":\"For small teams and individuals with basic needs.\",\"2POOFK\":\"Free\",\"OdieZe\":\"From the blog\",\"IPgkVQ\":\"Full-Time\",\"aSWzT9\":\"Get paid (Soon).\",\"ZDIydz\":\"Get started\",\"c3b0B0\":\"Get Started\",\"pS8wej\":\"Get started today.\",\"7FPIvI\":\"Get the latest news from Documenso, including product updates, team announcements and more!\",\"kV0qBq\":\"GitHub: Total Merged PRs\",\"652R6j\":\"GitHub: Total Open Issues\",\"R1aJ0W\":\"GitHub: Total Stars\",\"P1ovAc\":\"Global Salary Bands\",\"IAq/yr\":\"Growth\",\"Xi7f+z\":\"How can I contribute?\",\"9VGuMA\":\"How do you handle my data?\",\"fByw/g\":\"Individual\",\"Csm+TN\":\"Integrated payments with Stripe so you don’t have to worry about getting paid.\",\"phSPy7\":\"Integrates with all your favourite tools.\",\"pfjrI2\":\"Is there more?\",\"LOyqaC\":\"It’s up to you. Either clone our repository or rely on our easy to use hosting solution.\",\"PCgMVa\":\"Join Date\",\"TgL4dH\":\"Join the Open Signing Movement\",\"wJijgU\":\"Location\",\"OIowgO\":\"Make it your own through advanced customization and adjustability.\",\"GHelWd\":\"Merged PR's\",\"vXBVQZ\":\"Merged PRs\",\"+8Nek/\":\"Monthly\",\"6YtxFj\":\"Name\",\"CtgXe4\":\"New Users\",\"OpNhRn\":\"No credit card required\",\"6C9AxJ\":\"No Credit Card required\",\"igwAqT\":\"None of these work for you? Try self-hosting!\",\"jjAtjQ\":\"Open Issues\",\"b76QYo\":\"Open Source or Hosted.\",\"OWsQIe\":\"Open Startup\",\"Un80BR\":\"OSS Friends\",\"6zNyfI\":\"Our custom templates come with smart rules that can help you save time and energy.\",\"+OmhKD\":\"Our Enterprise License is great for large organizations looking to switch to Documenso for all their signing needs. It's available for our cloud offering as well as self-hosted setups and offers a wide range of compliance and Adminstration Features.\",\"eK0veR\":\"Our Enterprise License is great large organizations looking to switch to Documenso for all their signing needs. It's availible for our cloud offering as well as self-hosted setups and offer a wide range of compliance and Adminstration Features.\",\"I2ufwS\":\"Our self-hosted option is great for small teams and individuals who need a simple solution. You can use our docker based setup to get started in minutes. Take control with full customizability and data ownership.\",\"F9564X\":\"Part-Time\",\"qJVkX+\":\"Premium Profile Name\",\"aHCEmh\":\"Pricing\",\"rjGI/Q\":\"Privacy\",\"vERlcd\":\"Profile\",\"77/8W2\":\"React Widget (Soon).\",\"OYoVNk\":\"Receive your personal link to share with everyone you care about.\",\"GDvlUT\":\"Role\",\"bUqwb8\":\"Salary\",\"GNfoAO\":\"Save $60 or $120\",\"StoBff\":\"Search languages...\",\"dhi4w4\":\"Securely. Our data centers are located in Frankfurt (Germany), giving us the best local privacy laws. We are very aware of the sensitive nature of our data and follow best practices to ensure the security and integrity of the data entrusted to us.\",\"kZBxnz\":\"Send, connect, receive and embed everywhere.\",\"eSfS30\":\"Seniority\",\"aoDa18\":\"Shop\",\"c+Fnce\":\"Sign\",\"5lWFkC\":\"Sign in\",\"e+RpCP\":\"Sign up\",\"4yiZOB\":\"Signing Process\",\"RkUXMm\":\"Signup Now\",\"omz3DH\":\"Smart.\",\"AvYbUL\":\"Star on GitHub\",\"y2dGtU\":\"Stars\",\"uAQUqI\":\"Status\",\"XYLcNv\":\"Support\",\"KM6m8p\":\"Team\",\"lm5v+6\":\"Team Inbox\",\"CAL6E9\":\"Teams\",\"w4nM1s\":\"Template Store (Soon).\",\"yFoQ27\":\"That's awesome. You can take a look at the current <0>Issues</0> and join our <1>Discord Community</1> to keep up to date, on what the current priorities are. In any case, we are an open community and welcome all input, technical and non-technical ❤️\",\"GE1BlA\":\"This page is evolving as we learn what makes a great signing company. We'll update it when we have more to share.\",\"MHrjPM\":\"Title\",\"2YvdxE\":\"Total Completed Documents\",\"8e4lIo\":\"Total Customers\",\"bPpoCb\":\"Total Funding Raised\",\"vb0Q0/\":\"Total Users\",\"mgQhDS\":\"Truly your own.\",\"4McJfQ\":\"Try our Free Plan\",\"9mkNAn\":\"Twitter Stats\",\"CHzOWB\":\"Unlimited Documents per Month\",\"BOV7DD\":\"Up to 10 recipients per document\",\"fydTfa\":\"Upload a document and add fields.\",\"vdAd7c\":\"Using our hosted version is the easiest way to get started, you can simply subscribe and start signing your documents. We take care of the infrastructure, so you can focus on your business. Additionally, when using our hosted version you benefit from our trusted signing certificates which helps you to build trust with your customers.\",\"W2nDs0\":\"View all stats\",\"WMfAK8\":\"We are happy to assist you at <0>[email protected]</0> or <1>in our Discord-Support-Channel</1> please message either Lucas or Timur to get added to the channel if you are not already a member.\",\"ZaMyxU\":\"What is the difference between the plans?\",\"8GpyFt\":\"When it comes to sending or receiving a contract, you can count on lightning-fast speeds.\",\"HEDnID\":\"Where can I get support?\",\"sib3h3\":\"Why should I prefer Documenso over DocuSign or some other signing tool?\",\"cVPDPt\":\"Why should I use your hosting service?\",\"zkWmBh\":\"Yearly\",\"8AKApo\":\"Yes! Documenso is offered under the GNU AGPL V3 open source license. This means you can use it for free and even modify it to fit your needs, as long as you publish your changes under the same license.\",\"rzQpex\":\"You can self-host Documenso for free or use our ready-to-use hosted version. The hosted version comes with additional support, painless scalability and more. Early adopters will get access to all features we build this year, for no additional cost! Forever! Yes, that includes multiple users per account later. If you want Documenso for your enterprise, we are happy to talk about your needs.\",\"1j9aoC\":\"Your browser does not support the video tag.\",\"73XXzw\":[[\"0\"],\" of \",[\"1\"],\" row(s) selected.\"],\"lZ4w45\":[[\"visibleRows\",\"plural\",{\"one\":[\"Showing \",\"#\",\" result.\"],\"other\":[\"Showing \",\"#\",\" results.\"]}]],\"AhYxw5\":\"<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \\\"General Settings\\\" step\",\"OepImG\":\"<0>No restrictions</0> - No authentication required\",\"07+JZ2\":\"<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient\",\"jx/lwn\":\"<0>None</0> - No authentication required\",\"CUT3u1\":\"<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings\",\"2PbD3D\":\"<0>Require account</0> - The recipient must be signed in to view the document\",\"QHSbey\":\"<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings\",\"Oy5nEc\":\"Add a document\",\"7Pz5x5\":\"Add a URL to redirect the user to once the document is signed\",\"aILOUH\":\"Add an external ID to the document. This can be used to identify the document in external systems.\",\"bK1dPK\":\"Add an external ID to the template. This can be used to identify in external systems.\",\"nnZ1Sa\":\"Add another option\",\"0/UVRw\":\"Add another value\",\"VaCh6w\":\"Add myself\",\"jAa/lz\":\"Add Myself\",\"29QK6H\":\"Add Placeholder Recipient\",\"vcxlzZ\":\"Add Signer\",\"MwcOtB\":\"Add text\",\"7F2ltK\":\"Add text to the field\",\"U3pytU\":\"Admin\",\"NFIOKv\":\"Advanced Options\",\"VNgKZz\":\"Advanced settings\",\"bNUpvl\":\"After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email.\",\"Z7ZXbT\":\"Approve\",\"7kb4LU\":\"Approved\",\"ca9AbO\":\"Approver\",\"j2Uisd\":\"Approving\",\"dEgA5A\":\"Cancel\",\"brJrDl\":\"Cannot remove signer\",\"RpYfjZ\":\"Cc\",\"XdZeJk\":\"CC\",\"nrL/ZD\":\"CC'd\",\"EEk+d0\":\"Character Limit\",\"G1XxbZ\":\"Checkbox\",\"wbixMe\":\"Checkbox values\",\"u8JHrO\":\"Clear filters\",\"IqxkER\":\"Clear Signature\",\"eZ6/Uj\":\"Click to insert field\",\"yz7wBu\":\"Close\",\"OrcxNk\":\"Configure Direct Recipient\",\"92KLYs\":[\"Configure the \",[\"0\"],\" field\"],\"xGVfLh\":\"Continue\",\"FxVG/l\":\"Copied to clipboard\",\"GB2F11\":\"Custom Text\",\"mYGY3B\":\"Date\",\"4BHv90\":\"Date Format\",\"NLXhq7\":\"Direct link receiver\",\"YScG1E\":\"Document access\",\"rAqi0g\":\"Document Creation\",\"mzI/c+\":\"Download\",\"6GyScL\":\"Drag & drop your PDF here.\",\"iKQcPM\":\"Dropdown\",\"XXvhMd\":\"Dropdown options\",\"O3oNi5\":\"Email\",\"XLpxoj\":\"Email Options\",\"qChNnS\":\"Enable Direct Link Signing\",\"f7sXvi\":\"Enter password\",\"SlfejT\":\"Error\",\"5KfWxA\":\"External ID\",\"4CP+OV\":\"Failed to save settings.\",\"LK3SFK\":\"Field character limit\",\"NYkIsf\":\"Field format\",\"X6Tb6Q\":\"Field label\",\"NaVkSD\":\"Field placeholder\",\"N1UTWT\":\"Global recipient action authentication\",\"sr0UJD\":\"Go Back\",\"uCroPU\":\"I am a signer of this document\",\"K6KTX2\":\"I am a viewer of this document\",\"ngj5km\":\"I am an approver of this document\",\"ZjDoG7\":\"I am required to recieve a copy of this document\",\"fnbcC0\":\"Inherit authentication method\",\"87a/t/\":\"Label\",\"dtOoGl\":\"Manager\",\"CK1KXz\":\"Max\",\"OvoEq7\":\"Member\",\"ziXm9u\":\"Message <0>(Optional)</0>\",\"eTUF28\":\"Min\",\"4nqUV0\":\"Needs to approve\",\"lNQBPg\":\"Needs to sign\",\"eUAUyG\":\"Needs to view\",\"GBIRGD\":\"No recipient matching this description was found.\",\"f34Qxi\":\"No recipients with this role\",\"qQ7oqE\":\"No restrictions\",\"AxPAXW\":\"No results found\",\"pt86ev\":\"No signature field found\",\"CSOFdu\":\"No value found.\",\"HptUxX\":\"Number\",\"bR2sEm\":\"Number format\",\"eY6ns+\":\"Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted.\",\"JE2qy+\":\"Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them.\",\"fpzyLj\":[\"Page \",[\"0\"],\" of \",[\"1\"]],\"8ltyoa\":\"Password Required\",\"ayaTI6\":\"Pick a number\",\"hx1ePY\":\"Placeholder\",\"MtkqZc\":\"Radio\",\"5cEi0C\":\"Radio values\",\"uNQ6eB\":\"Read only\",\"UTnF5X\":\"Receives copy\",\"ZIuo5V\":\"Recipient action authentication\",\"VTB2Rz\":\"Redirect URL\",\"t/YqKh\":\"Remove\",\"8dg+Yo\":\"Required field\",\"xxCtZv\":\"Rows per page\",\"tfDRzk\":\"Save\",\"9Y3hAT\":\"Save Template\",\"rG3WVm\":\"Select\",\"hVPa4O\":\"Select an option\",\"IM+vrQ\":\"Select at least\",\"Gve6FG\":\"Select default option\",\"JlFcis\":\"Send\",\"AEV4wo\":\"Send Document\",\"iE3nGO\":\"Share Signature Card\",\"y+hKWu\":\"Share the Link\",\"ydZ6yi\":\"Show advanced settings\",\"n+8yVN\":\"Signature\",\"PoH7eg\":\"Signed\",\"jTCAGu\":\"Signer\",\"6G8s+q\":\"Signing\",\"kW2h2Z\":\"Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding.\",\"nwtY4N\":\"Something went wrong\",\"kf83Ld\":\"Something went wrong.\",\"WlBiWh\":[\"Step <0>\",[\"step\"],\" of \",[\"maxStep\"],\"</0>\"],\"ki77Td\":\"Subject <0>(Optional)</0>\",\"hQRttt\":\"Submit\",\"URdrTr\":\"Template title\",\"xeiujy\":\"Text\",\"imClgr\":\"The authentication required for recipients to sign fields\",\"yyD2dE\":\"The authentication required for recipients to sign the signature field.\",\"GtDmLf\":\"The authentication required for recipients to view the document.\",\"zAoaPB\":\"The document's name\",\"Ev3GOS\":\"The password you have entered is incorrect. Please try again.\",\"OPnnb6\":\"The recipient is not required to take any action and receives a copy of the document after it is completed.\",\"v8p6Mb\":\"The recipient is required to approve the document for it to be completed.\",\"CPv0TB\":\"The recipient is required to sign the document for it to be completed.\",\"oIvIfH\":\"The recipient is required to view the document for it to be completed.\",\"Br2bvS\":\"The sharing link could not be created at this time. Please try again.\",\"XJIzqY\":\"The sharing link has been copied to your clipboard.\",\"UyM8/E\":\"The signer's email\",\"zHJ+vk\":\"The signer's name\",\"kaEF2i\":\"This can be overriden by setting the authentication requirements directly on each recipient in the next step.\",\"QUZVfd\":\"This document has already been sent to this recipient. You can no longer edit this recipient.\",\"riNGUC\":\"This document is password protected. Please enter the password to view the document.\",\"Qkeh+t\":\"This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them.\",\"l2Xt6u\":\"This signer has already received the document.\",\"6iFh5a\":\"This will override any global settings.\",\"RxsRD6\":\"Time Zone\",\"UWmOq4\":[\"To proceed further, please set at least one value for the \",[\"0\"],\" field.\"],\"EkH9pt\":\"Update\",\"GT+2nz\":\"Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient.\",\"kwkhPe\":\"Upgrade\",\"06fEqf\":\"Upload Template Document\",\"lGWE4b\":\"Validation\",\"wMHvYH\":\"Value\",\"jpctdh\":\"View\",\"vXtpAZ\":\"Viewed\",\"M/TIv1\":\"Viewer\",\"RVWz5F\":\"Viewing\",\"4/hUq0\":\"You are about to send this document to the recipients. Are you sure you want to continue?\",\"rb/T41\":\"You can use the following variables in your message:\",\"9+Ph0R\":\"You cannot upload documents at this time.\",\"m5RA9C\":\"You have reached your document limit.\"}")};
\ No newline at end of file
diff --git a/packages/lib/translations/en/marketing.po b/packages/lib/translations/en/marketing.po
index ade6cf9be..2cd0a190e 100644
--- a/packages/lib/translations/en/marketing.po
+++ b/packages/lib/translations/en/marketing.po
@@ -29,6 +29,10 @@ msgstr "5 Users Included"
msgid "A 10x better signing experience."
msgstr "A 10x better signing experience."
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:51
+msgid "Add document"
+msgstr "Add document"
+
#: apps/marketing/src/components/(marketing)/pricing-table.tsx:201
msgid "Add More Users for {0}"
msgstr "Add More Users for {0}"
@@ -168,6 +172,10 @@ msgstr "Email and Discord Support"
msgid "Engagement"
msgstr "Engagement"
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:64
+msgid "Enter your details."
+msgstr "Enter your details."
+
#: apps/marketing/src/components/(marketing)/enterprise.tsx:16
msgid "Enterprise Compliance, License or Technical Needs?"
msgstr "Enterprise Compliance, License or Technical Needs?"
@@ -436,6 +444,10 @@ msgstr "Seniority"
msgid "Shop"
msgstr "Shop"
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:63
+msgid "Sign"
+msgstr "Sign"
+
#: apps/marketing/src/components/(marketing)/header.tsx:72
#: apps/marketing/src/components/(marketing)/mobile-navigation.tsx:61
msgid "Sign in"
@@ -549,6 +561,10 @@ msgstr "Unlimited Documents per Month"
msgid "Up to 10 recipients per document"
msgstr "Up to 10 recipients per document"
+#: apps/marketing/src/app/(marketing)/singleplayer/client.tsx:52
+msgid "Upload a document and add fields."
+msgstr "Upload a document and add fields."
+
#: apps/marketing/src/app/(marketing)/pricing/page.tsx:123
msgid "Using our hosted version is the easiest way to get started, you can simply subscribe and start signing your documents. We take care of the infrastructure, so you can focus on your business. Additionally, when using our hosted version you benefit from our trusted signing certificates which helps you to build trust with your customers."
msgstr "Using our hosted version is the easiest way to get started, you can simply subscribe and start signing your documents. We take care of the infrastructure, so you can focus on your business. Additionally, when using our hosted version you benefit from our trusted signing certificates which helps you to build trust with your customers."
diff --git a/packages/lib/translations/en/web.js b/packages/lib/translations/en/web.js
index 3975ff70f..317f513aa 100644
--- a/packages/lib/translations/en/web.js
+++ b/packages/lib/translations/en/web.js
@@ -1 +1 @@
-/*eslint-disable*/module.exports={messages:JSON.parse("{}")};
\ No newline at end of file
+/*eslint-disable*/module.exports={messages:JSON.parse("{\"4CkA8m\":[\"\\\"\",[\"0\"],\"\\\" will appear on the document as it has a timezone of \\\"\",[\"timezone\"],\"\\\".\"],\"PGXGNV\":[\"\\\"\",[\"documentTitle\"],\"\\\" has been successfully deleted\"],\"ibh+jM\":[\"(\",[\"0\"],\") has invited you to approve this document\"],\"Hdo1JO\":[\"(\",[\"0\"],\") has invited you to sign this document\"],\"wPU8t5\":[\"(\",[\"0\"],\") has invited you to view this document\"],\"1mCQTM\":[[\"0\",\"plural\",{\"one\":\"(1 character over)\",\"other\":[\"(\",\"#\",\" characters over)\"]}]],\"8laXJX\":[[\"0\",\"plural\",{\"one\":[\"#\",\" character over the limit\"],\"other\":[\"#\",\" characters over the limit\"]}]],\"/7wuBM\":[[\"0\",\"plural\",{\"one\":[\"#\",\" recipient\"],\"other\":[\"#\",\" recipients\"]}]],\"WVvaAa\":[[\"0\",\"plural\",{\"one\":[\"#\",\" Seat\"],\"other\":[\"#\",\" Seats\"]}]],\"mBW/Nj\":[[\"0\",\"plural\",{\"one\":\"<0>You have <1>1</1> pending team invitation</0>\",\"other\":[\"<2>You have <3>\",\"#\",\"</3> pending team invitations</2>\"]}]],\"+Futv0\":[[\"0\",\"plural\",{\"one\":\"1 Recipient\",\"other\":[\"#\",\" Recipients\"]}]],\"/9xV/+\":[[\"0\",\"plural\",{\"one\":\"Waiting on 1 recipient\",\"other\":[\"Waiting on \",\"#\",\" recipients\"]}]],\"NKVaV/\":[[\"0\",\"plural\",{\"zero\":\"Select values\",\"other\":[\"#\",\" selected...\"]}]],\"XZlK7r\":[[\"0\"],\" direct signing templates\"],\"FDQtbR\":[[\"0\"],\" document\"],\"NnFCoc\":[[\"0\"],\" of \",[\"1\"],\" documents remaining this month.\"],\"5YOFTl\":[[\"0\"],\" Recipient(s)\"],\"7VC/RF\":[[\"0\"],\" the document to complete the process.\"],\"fjZZE0\":[[\"charactersRemaining\",\"plural\",{\"one\":\"1 character remaining\",\"other\":[[\"charactersRemaining\"],\" characters remaining\"]}]],\"AQAq/V\":[[\"formattedTeamMemberQuanity\"],\" • Monthly • Renews: \",[\"formattedDate\"]],\"QBOMc/\":[[\"numberOfSeats\",\"plural\",{\"one\":[\"#\",\" member\"],\"other\":[\"#\",\" members\"]}]],\"B/VHou\":[[\"remaningLength\",\"plural\",{\"one\":[\"#\",\" character remaining\"],\"other\":[\"#\",\" characters remaining\"]}]],\"Z5MlD3\":[\"<0>\\\"\",[\"0\"],\"\\\"</0>is no longer available to sign\"],\"xvzJ86\":\"<0>Sender:</0> All\",\"mVRii8\":\"404 Page not found\",\"WZHDfC\":\"404 Profile not found\",\"4lyY0m\":\"404 Team not found\",\"In0QZI\":\"404 Template not found\",\"1a1ztU\":\"A confirmation email has been sent, and it should arrive in your inbox shortly.\",\"0JoPTv\":\"A draft document will be created\",\"pYI9yv\":\"A new token was created successfully.\",\"FnK1CG\":\"A password reset email has been sent, if you have an account you should see it in your inbox shortly.\",\"GtLRrc\":[\"A request to transfer the ownership of this team has been sent to <0>\",[\"0\"],\" (\",[\"1\"],\")</0>\"],\"EUAIAh\":\"A secret that will be sent to your URL so you can verify that the request has been sent by Documenso\",\"FUzxsL\":\"A secret that will be sent to your URL so you can verify that the request has been sent by Documenso.\",\"h39O4b\":\"A unique URL to access your profile\",\"B26oYX\":\"A unique URL to identify your team\",\"YKB66I\":\"A verification email will be sent to the provided email.\",\"g3UF2V\":\"Accept\",\"f8bc61\":\"Accepted team invitation\",\"TKFUnX\":\"Account deleted\",\"bwRvnp\":\"Action\",\"7L01XJ\":\"Actions\",\"F6pfE9\":\"Active\",\"i1lpSD\":\"Active Subscriptions\",\"m16xKo\":\"Add\",\"qkB+9Q\":\"Add all relevant fields for each recipient.\",\"bpOeyo\":\"Add all relevant placeholders for each recipient.\",\"GQ/q/T\":\"Add an authenticator to serve as a secondary authentication method for signing documents.\",\"o7gocE\":\"Add an authenticator to serve as a secondary authentication method when signing in, or when signing documents.\",\"bJUlXv\":\"Add email\",\"S/w/ui\":\"Add Fields\",\"iOiHwJ\":\"Add more\",\"rSRyAh\":\"Add number\",\"w3zmQl\":\"Add passkey\",\"zkvWcK\":\"Add Placeholders\",\"2Rqi1z\":\"Add Signers\",\"eZyoIc\":\"Add Subject\",\"bD3qQ7\":\"Add team email\",\"MwcOtB\":\"Add text\",\"mXXoi9\":\"Add Text\",\"vn6wzk\":\"Add the people who will sign the document.\",\"8XAJNZ\":\"Add the recipients to create the document with\",\"F9ayeh\":\"Add the subject and message you wish to send to signers.\",\"pjVxbn\":\"Adding and removing seats will adjust your invoice accordingly.\",\"VfkDmn\":\"Admin Actions\",\"SsHJsm\":\"Admin panel\",\"N40H+G\":\"All\",\"/LYSFR\":\"All documents\",\"myVKpO\":\"All documents have been processed. Any new documents that are sent or received will show here.\",\"8dC9dh\":\"All inserted signatures will be voided\",\"a809wO\":\"All recipients will be notified\",\"DA2Nma\":\"All templates\",\"5b4J4v\":\"All Time\",\"8URWfv\":\"Allows authenticating using biometrics, password managers, hardware keys, etc.\",\"QN+LeY\":\"Already have an account? <0>Sign in instead</0>\",\"hehnjM\":\"Amount\",\"VeMlGP\":\"An email containing an invitation will be sent to each member.\",\"Cs4Mqi\":\"An email requesting the transfer of this team has been sent.\",\"Vw8l6h\":\"An error occurred\",\"aAZxd7\":\"An error occurred while adding signers.\",\"qFEx41\":\"An error occurred while adding the fields.\",\"ycUtHd\":\"An error occurred while creating document from template.\",\"8jjOHI\":\"An error occurred while creating the webhook. Please try again.\",\"D6tvkq\":\"An error occurred while disabling direct link signing.\",\"HNjVHR\":\"An error occurred while downloading your document.\",\"z7nHXh\":\"An error occurred while duplicating template.\",\"WnEuiF\":\"An error occurred while enabling direct link signing.\",\"eijDci\":\"An error occurred while loading team members. Please try again later.\",\"ZL2b3c\":\"An error occurred while moving the document.\",\"vECB98\":\"An error occurred while moving the template.\",\"677Rs2\":\"An error occurred while removing the signature.\",\"niV8ex\":\"An error occurred while removing the text.\",\"+UiFs2\":\"An error occurred while sending the document.\",\"W8sZtD\":\"An error occurred while sending your confirmation email\",\"CKRkxA\":\"An error occurred while signing the document.\",\"k2HSGs\":\"An error occurred while trying to create a checkout session.\",\"PBvwjZ\":\"An error occurred while updating the document settings.\",\"vNZnKS\":\"An error occurred while updating the signature.\",\"ed1aMc\":\"An error occurred while updating your profile.\",\"hGN3eM\":\"An error occurred while uploading your document.\",\"vW+T+d\":\"An unknown error occurred\",\"Iq1gDI\":\"Any payment methods attached to this team will remain attached to this team. Please contact us if you need to update this information.\",\"ZiooJI\":\"API Tokens\",\"mf2Wzk\":\"App Version\",\"Z7ZXbT\":\"Approve\",\"7kb4LU\":\"Approved\",\"0EvA/s\":\"Are you sure you want to delete this token?\",\"99ZWCN\":[\"Are you sure you want to remove the <0>\",[\"passkeyName\"],\"</0> passkey.\"],\"1D4Rs0\":\"Are you sure you wish to delete this team?\",\"6foA8n\":\"Are you sure?\",\"rgXDlk\":\"Attempts sealing the document again, useful for after a code change has occurred to resolve an erroneous document.\",\"ilRCh1\":\"Audit Log\",\"XiaVj+\":\"Authentication required\",\"kfcRb0\":\"Avatar\",\"uzGcBT\":\"Avatar Updated\",\"q8qrYJ\":\"Awaiting email confirmation\",\"iH8pgl\":\"Back\",\"FL8Lic\":\"Back to Documents\",\"k1bLf+\":\"Background Color\",\"ev7oAJ\":\"Backup Code\",\"M2cci0\":\"Backup codes\",\"eQwW5Q\":\"Banner Updated\",\"3dSIQs\":\"Basic details\",\"R+w/Va\":\"Billing\",\"0DGrp8\":\"Browser\",\"r4lECO\":\"Bulk Import\",\"dMoTGp\":\"By deleting this document, the following will occur:\",\"zjt329\":\"By enabling 2FA, you will be required to enter a code from your authenticator app every time you sign in.\",\"dEgA5A\":\"Cancel\",\"sa1BnH\":\"Cancelled by user\",\"A4tHrb\":\"Charts\",\"znIg+z\":\"Checkout\",\"MeyfTD\":\"Choose an existing recipient from below to continue\",\"iWVl0V\":\"Choose Direct Link Recipient\",\"1qI3Gk\":\"Choose...\",\"1m18m/\":\"Claim account\",\"tvmS/k\":\"Claim username\",\"vRjC9y\":\"Claim your profile later\",\"HiEGc0\":\"Claim your username now\",\"ELiPtq\":\"Click here to get started\",\"BvF90q\":\"Click here to retry\",\"cgfP+i\":\"Click here to upload\",\"L1127j\":\"Click to copy signing link for sending to recipient\",\"eZ6/Uj\":\"Click to insert field\",\"yz7wBu\":\"Close\",\"bD8I7O\":\"Complete\",\"jVAqZz\":\"Complete Approval\",\"0ojNue\":\"Complete Signing\",\"+5y0NQ\":\"Complete Viewing\",\"qqWcBV\":\"Completed\",\"rGm4yZ\":\"Completed documents\",\"p5+XQN\":\"Completed Documents\",\"UfLuLv\":\"Configure general settings for the document.\",\"hIv3aM\":\"Configure general settings for the template.\",\"LVnHGj\":\"Configure template\",\"7VpPHA\":\"Confirm\",\"gMlC/b\":[\"Confirm by typing <0>\",[\"confirmTransferMessage\"],\"</0>\"],\"FQnPC+\":[\"Confirm by typing <0>\",[\"deleteMessage\"],\"</0>\"],\"gv1JXQ\":[\"Confirm by typing: <0>\",[\"deleteMessage\"],\"</0>\"],\"w0Qb5v\":\"Confirm Deletion\",\"CMj4hw\":\"Confirm email\",\"13PnPF\":\"Confirmation email sent\",\"4b3oEV\":\"Content\",\"xGVfLh\":\"Continue\",\"/KgpcA\":\"Continue to login\",\"FxVG/l\":\"Copied to clipboard\",\"phD28x\":\"Copy sharable link\",\"ZxZS0E\":\"Copy Shareable Link\",\"BddwrJ\":\"Copy token\",\"hYgDIe\":\"Create\",\"mpt9T+\":\"Create a new account\",\"kxGCtA\":\"Create a team to collaborate with your team members.\",\"1hMWR6\":\"Create account\",\"H7nlli\":\"Create and send\",\"BYg48B\":\"Create as draft\",\"JqmhmE\":\"Create Direct Link\",\"wtV4WO\":\"Create Direct Signing Link\",\"fDTEKZ\":\"Create document from template\",\"1svIlj\":\"Create now\",\"JLQooE\":\"Create one automatically\",\"YGQVmg\":\"Create team\",\"fWFMgb\":\"Create Team\",\"pzXZ8+\":\"Create token\",\"SiPp29\":\"Create webhook\",\"dkAPxi\":\"Create Webhook\",\"8T5f7o\":\"Create your account and start using state-of-the-art document signing.\",\"rr83qK\":\"Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp.\",\"d+F6q9\":\"Created\",\"88kg0+\":\"Created At\",\"NCIYDF\":\"Created by\",\"45O6zJ\":\"Created on\",\"SVZbH4\":\"Created on <0/>\",\"DCKkhU\":\"Current Password\",\"74XDHP\":[\"Current plan: \",[\"0\"]],\"U0sC6H\":\"Daily\",\"oRVm8M\":\"Dark Mode\",\"mYGY3B\":\"Date\",\"u46WEi\":\"Date created\",\"jbq7j2\":\"Decline\",\"uSS9OX\":\"Declined team invitation\",\"cnGeoo\":\"Delete\",\"ZDGm40\":\"Delete account\",\"vzX5FB\":\"Delete Account\",\"+vDIXN\":\"Delete document\",\"MUynQL\":\"Delete Document\",\"0tFf9L\":\"Delete passkey\",\"MYiaA4\":\"Delete team\",\"WZHJBH\":\"Delete team member\",\"M5Nsil\":\"Delete the document. This action is irreversible so proceed with caution.\",\"ETB4Yh\":\"Delete the users account and all its contents. This action is irreversible and will cancel their subscription, so proceed with caution.\",\"zdyslo\":\"Delete Webhook\",\"IJMZKG\":\"Delete your account and all its contents, including completed documents. This action is irreversible and will cancel your subscription, so proceed with caution.\",\"vGjmyl\":\"Deleted\",\"cmDFUK\":\"Deleting account...\",\"PkSiFP\":\"Deleting document\",\"PEHQTf\":\"Device\",\"YseRvk\":\"direct link\",\"cfARFZ\":\"Direct link\",\"VdX+I4\":\"direct link disabled\",\"nNHqgX\":\"Direct Link Signing\",\"k2FNdx\":\"Direct link signing has been disabled\",\"gsc+pZ\":\"Direct link signing has been enabled\",\"CRdqqs\":\"Direct link templates contain one dynamic recipient placeholder. Anyone with access to this link can sign the document, and it will then appear on your documents page.\",\"WCGIfx\":\"Direct template link deleted\",\"2HKj5L\":[\"Direct template link usage exceeded (\",[\"0\"],\"/\",[\"1\"],\")\"],\"cO9+2L\":\"Disable\",\"qERl58\":\"Disable 2FA\",\"pf7wfS\":\"Disable Two Factor Authentication before deleting your account.\",\"E/QGRL\":\"Disabled\",\"H11Db4\":\"Disabling direct link signing will prevent anyone from accessing the link.\",\"Oq0b7I\":\"Display your name and email in documents\",\"pR1j0x\":\"Do you want to delete this template?\",\"MqL7Ex\":\"Do you want to duplicate this template?\",\"MUwFBV\":\"Documenso will delete <0>all of your documents</0>, along with all of your completed documents, signatures, and all other resources belonging to your Account.\",\"7Zdnlq\":\"Document\",\"kz4vX7\":\"Document All\",\"Pr3c2A\":\"Document Approved\",\"Kvf7iA\":\"Document Cancelled\",\"GOO+sv\":\"Document completed\",\"frw2OP\":\"Document created\",\"ZlIPM3\":\"Document deleted\",\"IvkBV7\":\"Document draft\",\"nF+jHn\":\"Document Duplicated\",\"Zfj12J\":\"Document history\",\"glwlqW\":\"Document ID\",\"WqG6Wi\":\"Document inbox\",\"WrliRN\":\"Document Limit Exceeded!\",\"AGzFn4\":\"Document metrics\",\"w+SPlp\":\"Document moved\",\"G45FNk\":\"Document no longer available to sign\",\"EhII5Z\":\"Document pending\",\"XIvQfe\":\"Document re-sent\",\"S2Wpx4\":\"Document resealed\",\"2r5F7N\":\"Document sent\",\"prbyy5\":\"Document Signed\",\"O832hg\":\"Document signing process will be cancelled\",\"UkHClc\":\"Document status\",\"RDOlfT\":\"Document title\",\"R1TUTP\":\"Document upload disabled due to unpaid invoices\",\"PGrc79\":\"Document uploaded\",\"UfJ5fX\":\"Document Viewed\",\"bTGVhQ\":\"Document will be permanently deleted\",\"E/muDO\":\"Documents\",\"q89WTJ\":\"Documents Received\",\"77Aq1u\":\"Documents Viewed\",\"352VU2\":\"Don't have an account? <0>Sign up</0>\",\"mzI/c+\":\"Download\",\"lojhUl\":\"Download Audit Logs\",\"uKWz9T\":\"Download Certificate\",\"eneWvv\":\"Draft\",\"gWAuiM\":\"Draft documents\",\"8OzE2k\":\"Drafted Documents\",\"QurWnM\":\"Due to an unpaid invoice, your team has been restricted. Please settle the payment to restore full access to your team.\",\"euc6Ns\":\"Duplicate\",\"ePK91l\":\"Edit\",\"fW5sSv\":\"Edit webhook\",\"O3oNi5\":\"Email\",\"ATGYL1\":\"Email address\",\"hzKQCy\":\"Email Address\",\"HmTucU\":\"Email Confirmed!\",\"JHLcvq\":\"Email sent!\",\"bK7p2G\":\"Email verification has been removed\",\"xk9d59\":\"Email verification has been resent\",\"DCRKbe\":\"Enable 2FA\",\"Gndbft\":\"Enable Authenticator App\",\"iNXTYT\":\"Enable direct link signing\",\"qChNnS\":\"Enable Direct Link Signing\",\"RxzN1M\":\"Enabled\",\"y6J8wY\":\"Ends On\",\"C3nD/1\":\"Enter your email\",\"oM8ocD\":\"Enter your email address to receive the completed document.\",\"n9V+ps\":\"Enter your name\",\"v0GDxO\":\"Enter your text here\",\"SlfejT\":\"Error\",\"ZkROsq\":\"Everyone has signed\",\"4MNaCF\":\"Everyone has signed! You will receive an Email copy of the signed document.\",\"uWW+rJ\":\"Exceeded timeout\",\"M1RnFv\":\"Expired\",\"LbGReD\":\"Expires on <0/>\",\"ToQ1L5\":\"Failed to reseal document\",\"YXKrQK\":\"Failed to update recipient\",\"R41XLH\":\"Failed to update webhook\",\"vF68cg\":\"Fields\",\"8rKUka\":[\"File cannot be larger than \",[\"APP_DOCUMENT_UPLOAD_SIZE_LIMIT\"],\"MB\"],\"glx6on\":\"Forgot your password?\",\"/4TFrF\":\"Full Name\",\"Weq9zb\":\"General\",\"sr0UJD\":\"Go Back\",\"+vhBuq\":\"Go back home\",\"1oocIX\":\"Go Back Home\",\"Q46UEs\":\"Go to owner\",\"71XAMD\":\"Go to your <0>public profile settings</0> to add documents.\",\"+pEbZM\":\"Here you can edit your personal details.\",\"gPNXUO\":\"Here you can manage your password and security settings.\",\"rLZFM2\":\"Here's how it works:\",\"C3U9sx\":\"Hey I’m Timur\",\"vLyv1R\":\"Hide\",\"/c6j67\":\"Hide additional information\",\"2+GP4I\":\"I am the owner of this document\",\"Jw3g7g\":\"I'm sure! Delete it\",\"fYt7bZ\":\"If they accept this request, the team will be transferred to their account.\",\"P8EnSP\":\"If you do not want to use the authenticator prompted, you can close it, which will then display the next available authenticator.\",\"usBC38\":\"If you don't find the confirmation link in your inbox, you can request a new one below.\",\"i1sBhX\":\"If your authenticator app does not support QR codes, you can use the following code instead:\",\"Gp4Yi6\":\"Inbox\",\"mIZt96\":\"Inbox documents\",\"nSkB8g\":\"Information\",\"2+B7Tm\":\"Inserted\",\"kgiQxA\":\"Instance Stats\",\"v7dfDY\":\"Invalid code. Please try again.\",\"bajpfj\":\"Invalid file\",\"TN382O\":\"Invalid link\",\"Kx9NEt\":\"Invalid token\",\"lW4qkT\":\"Invitation accepted!\",\"K2fB29\":\"Invitation declined\",\"zbmftZ\":\"Invitation has been deleted\",\"hDYopg\":\"Invitation has been resent\",\"MFKlMB\":\"Invite\",\"+djOzj\":\"Invite member\",\"ZHx/by\":\"Invite Members\",\"qSfH/A\":\"Invite team members\",\"H97wjo\":\"Invited At\",\"IuMGvq\":\"Invoice\",\"pQgy2V\":[\"It looks like \",[\"0\"],\" hasn't added any documents to their profile yet.\"],\"Ji9zm3\":\"It seems that the provided token has expired. We've just sent you another token, please check your email and try again.\",\"PQ53gh\":\"It seems that there is no token provided, if you are trying to verify your email please follow the link in your email.\",\"y51oRm\":\"It seems that there is no token provided. Please check your email and try again.\",\"vfe90m\":\"Last 14 days\",\"uq2BmQ\":\"Last 30 days\",\"ct2SYD\":\"Last 7 days\",\"x5DnMs\":\"Last modified\",\"C3yOz3\":\"Last updated\",\"9aMJpW\":\"Last updated at\",\"JGvwnU\":\"Last used\",\"Mv8CyJ\":\"Leave\",\"v/uzBS\":\"Leave team\",\"cInPuv\":\"Light Mode\",\"0uqjes\":\"Like to have your own public profile with agreements?\",\"jfN/GZ\":\"Link template\",\"T2q4gy\":[\"Listening to \",[\"0\"]],\"qzZ/NB\":\"Load older activity\",\"Jy3ott\":\"Loading document...\",\"KBQH86\":\"Loading Document...\",\"czE0ko\":\"Loading teams...\",\"Z3FXyt\":\"Loading...\",\"z0t9bb\":\"Login\",\"wckWOP\":\"Manage\",\"HQVCTG\":[\"Manage \",[\"0\"],\"'s profile\"],\"Lp5ut7\":\"Manage all teams you are currently associated with.\",\"NwY95d\":\"Manage details for this public template\",\"OcvAVs\":\"Manage Direct Link\",\"g6RCtA\":\"Manage documents\",\"HVAyb8\":\"Manage passkeys\",\"3jHA5d\":\"Manage subscription\",\"L9IOec\":\"Manage Subscription\",\"KuukYs\":\"Manage subscriptions\",\"DHyAij\":\"Manage team subscription.\",\"lLX9Bl\":\"Manage teams\",\"aA0Gfq\":\"Manage the direct link signing for this template\",\"Ruhuv1\":\"Manage the members or invite new members.\",\"Xef1xw\":\"Manage users\",\"T0vQFD\":\"Manage your passkeys.\",\"4a84Cp\":\"Manage your site settings here\",\"Rbs16H\":\"Mark as Viewed\",\"deqwtZ\":\"MAU (created document)\",\"YgNcJU\":\"MAU (had document completed)\",\"Hn6rI0\":\"Member Since\",\"wlQNTg\":\"Members\",\"FaskIK\":\"Modify recipients\",\"+8Nek/\":\"Monthly\",\"MOyLGl\":\"Monthly Active Users: Users that created at least one Document\",\"5G7Dom\":\"Monthly Active Users: Users that had at least one of their documents completed\",\"QWdKwH\":\"Move\",\"YeRZmm\":\"Move Document to Team\",\"QlQmgo\":\"Move Template to Team\",\"wUBLjS\":\"Move to Team\",\"K8Qnlj\":\"Moving...\",\"en+4fS\":\"My templates\",\"6YtxFj\":\"Name\",\"8VD2is\":\"Need to sign documents?\",\"qqeAJM\":\"Never\",\"OEcKyx\":\"Never expire\",\"QWDm5s\":\"New team owner\",\"K6MO8e\":\"New Template\",\"hXzOVo\":\"Next\",\"ZcbBVB\":\"Next field\",\"G5YKES\":\"No active drafts\",\"PsHKvx\":\"No payment required\",\"OBWbru\":\"No public profile templates found\",\"m0I2ba\":\"No recent activity\",\"IMbagb\":\"No recipients\",\"MZbQHL\":\"No results found.\",\"+5xxir\":\"No token provided\",\"s9Rqzv\":\"No valid direct templates found\",\"l08XJv\":\"No valid recipients found\",\"CSOFdu\":\"No value found.\",\"tRFnIp\":\"No worries, it happens! Enter your email and we'll email you a special link to reset your password.\",\"7aaD1O\":\"Not supported\",\"wkT5xx\":\"Nothing to do\",\"Oizhkg\":\"On this page, you can create a new webhook.\",\"aaavFi\":\"On this page, you can create new API tokens and manage the existing ones. <0/>Also see our <1>Documentation</1>.\",\"ZtN+o/\":\"On this page, you can create new API tokens and manage the existing ones. <0/>You can view our swagger docs <1>here</1>\",\"SpqtG7\":\"On this page, you can create new Webhooks and manage the existing ones.\",\"FOWyZB\":\"On this page, you can edit the webhook and its settings.\",\"dM1W5F\":\"Once confirmed, the following will occur:\",\"mZ2nNu\":\"Once you have scanned the QR code or entered the code manually, enter the code provided by your authenticator app below.\",\"udaO9j\":\"Oops! Something went wrong.\",\"OV5wZZ\":\"Opened\",\"ZAVklK\":\"Or\",\"zW+FpA\":\"Or continue with\",\"XUwKbC\":\"Otherwise, the document will be created as a draft.\",\"LtI9AS\":\"Owner\",\"v4nCHK\":\"Paid\",\"FGSN4s\":\"Passkey\",\"8mPPB0\":\"Passkey already exists for the provided authenticator\",\"k/8RhE\":\"Passkey creation cancelled due to one of the following reasons:\",\"knZBf/\":\"Passkey has been removed\",\"1MvYF3\":\"Passkey has been updated\",\"qz7mwn\":\"Passkey name\",\"UZKLEA\":\"Passkeys\",\"v3rPhj\":\"Passkeys allow you to sign in and authenticate using biometrics, password managers, etc.\",\"wsLk4g\":\"Passkeys are not supported on this browser\",\"8ZsakT\":\"Password\",\"ogtYkT\":\"Password updated\",\"4fL/V7\":\"Pay\",\"oyOEbz\":\"Payment is required to finalise the creation of your team.\",\"GptxX/\":\"Payment overdue\",\"UbRKMZ\":\"Pending\",\"Y99ivo\":\"Pending documents\",\"VZJggs\":\"Pending Documents\",\"dSe12f\":\"Pending invitations\",\"pobYPH\":\"Pending team deleted.\",\"7MuXko\":\"Personal\",\"moWIBX\":\"Personal Account\",\"bhE66T\":\"Pick a password\",\"nSCWvF\":\"Pick any of the following agreements below and start signing to get started\",\"LFWYFV\":\"Please check the CSV file and make sure it is according to our format\",\"GUOCNi\":\"Please choose your new password\",\"JcgKEA\":\"Please contact support if you would like to revert this action.\",\"pzDdmv\":\"Please enter a meaningful name for your token. This will help you identify it later.\",\"GqaSjy\":\"Please mark as viewed to complete\",\"jG5btV\":\"Please note that proceeding will remove direct linking recipient and turn it into a placeholder.\",\"Op5XjA\":\"Please note that this action is <0>irreversible</0>.\",\"pIF/uD\":\"Please note that this action is <0>irreversible</0>. Once confirmed, this document will be permanently deleted.\",\"aYytci\":\"Please note that this action is irreversible. Once confirmed, your template will be permanently deleted.\",\"LIf5dA\":\"Please note that this action is irreversible. Once confirmed, your token will be permanently deleted.\",\"bGHA6C\":\"Please note that this action is irreversible. Once confirmed, your webhook will be permanently deleted.\",\"K2Zlri\":\"Please note that you will lose access to all documents associated with this team & all the members will be removed and notified\",\"VJEW4M\":\"Please provide a token from the authenticator, or a backup code. If you do not have a backup code available, please contact support.\",\"Lwg9X/\":\"Please provide a token from your authenticator, or a backup code.\",\"tVQlia\":\"Please try again and make sure you enter the correct email address.\",\"fWCcRl\":\"Please try again later or login using your normal details\",\"PZCqeW\":\"Please try again later.\",\"2oj8HJ\":[\"Please type <0>\",[\"0\"],\"</0> to confirm.\"],\"Q6hhn8\":\"Preferences\",\"ghVdS5\":\"Preview and configure template.\",\"zwBp5t\":\"Private\",\"aWLa3z\":\"Private templates can only be modified and viewed by you.\",\"vERlcd\":\"Profile\",\"H8Zk+q\":\"Profile is currently <0>hidden</0>.\",\"6zFVy3\":\"Profile is currently <0>visible</0>.\",\"srPuxS\":\"Profile updated\",\"7d1a0d\":\"Public\",\"PsWyzr\":\"Public Profile\",\"GCm4vn\":\"Public profile URL\",\"9imnUr\":\"Public profile username\",\"2/o+9Z\":\"Public templates are connected to your public profile. Any modifications to public templates will also appear in your public profile.\",\"Zs+87t\":\"Read only field\",\"ckH3fT\":\"Ready\",\"2DmUfb\":\"Reauthentication is required to sign this field\",\"M1HGuR\":\"Recent activity\",\"I3QpvQ\":\"Recipient\",\"evCX7h\":\"Recipient updated\",\"yPrbsy\":\"Recipients\",\"FDT13r\":\"Recipients metrics\",\"cEfPAe\":\"Recipients will still retain their copy of the document\",\"p8zadb\":\"Recovery code copied\",\"x5rgeJ\":\"Recovery codes\",\"ZCl9NH\":\"Registration Successful\",\"cD+FhI\":\"Remembered your password? <0>Sign In</0>\",\"t/YqKh\":\"Remove\",\"41G745\":\"Remove team email\",\"8xN0jg\":\"Remove team member\",\"JjG/b1\":\"Repeat Password\",\"Ibjxfr\":\"Request transfer\",\"sDXefy\":\"Reseal document\",\"MyjAbr\":\"Resend\",\"bxoWpz\":\"Resend Confirmation Email\",\"HT2UjS\":\"Resend verification\",\"OfhWJH\":\"Reset\",\"wJZvNq\":\"Reset email sent\",\"KbS2K9\":\"Reset Password\",\"NI0xtv\":\"Resetting Password...\",\"2FoHU3\":\"Resolve\",\"bH0aV9\":\"Resolve payment\",\"6gRgw8\":\"Retry\",\"vUOn9d\":\"Return\",\"dRDE6t\":\"Return to Dashboard\",\"OYOJop\":\"Return to Home\",\"Wkb64i\":\"Return to sign in\",\"GXsAby\":\"Revoke\",\"cg+Poy\":\"Revoke access\",\"GDvlUT\":\"Role\",\"5dJK4M\":\"Roles\",\"tfDRzk\":\"Save\",\"A1taO8\":\"Search\",\"pUjzwQ\":\"Search by document title\",\"Bw5X+M\":\"Search by name or email\",\"8VEDbV\":\"Secret\",\"a3LDKx\":\"Security\",\"HUVI3V\":\"Security activity\",\"rG3WVm\":\"Select\",\"9GwDu7\":\"Select a team\",\"vWi2vu\":\"Select a team to move this document to. This action cannot be undone.\",\"JxCKQ1\":\"Select a team to move this template to. This action cannot be undone.\",\"hyn0QC\":\"Select a template you'd like to display on your public profile\",\"9VGtlg\":\"Select a template you'd like to display on your team's public profile\",\"gBqxYg\":\"Select passkey\",\"471O/e\":\"Send confirmation email\",\"HbN1UH\":\"Send document\",\"qaDvSa\":\"Send reminder\",\"HW5fQk\":\"Sender\",\"DgPgBb\":\"Sending Reset Email...\",\"IoAuJG\":\"Sending...\",\"h69WC6\":\"Sent\",\"bWhxXv\":\"Set a password\",\"Tz0i8g\":\"Settings\",\"RDjuBN\":\"Setup\",\"Z8lGw6\":\"Share\",\"lCEhm/\":\"Share Signing Card\",\"8vETh9\":\"Show\",\"FSjwRy\":\"Show additional information\",\"7Ifo0h\":\"Show templates in your public profile for your audience to sign and get started quickly\",\"lDZq9u\":\"Show templates in your team public profile for your audience to sign and get started quickly\",\"c+Fnce\":\"Sign\",\"oKBjbc\":[\"Sign as \",[\"0\"],\" <0>(\",[\"1\"],\")</0>\"],\"M7Y6vg\":[\"Sign as <0>\",[\"0\"],\" <1>(\",[\"1\"],\")</1></0>\"],\"D0JgR3\":[\"Sign as<0>\",[\"0\"],\" <1>(\",[\"1\"],\")</1></0>\"],\"ceklqr\":\"Sign field\",\"vRw782\":\"Sign Here\",\"n1ekoW\":\"Sign In\",\"NxCJcc\":\"Sign in to your account\",\"bHYIks\":\"Sign Out\",\"e+RpCP\":\"Sign up\",\"mErq7F\":\"Sign Up\",\"8fC9B9\":\"Sign Up with Google\",\"l/tATK\":\"Sign Up with OIDC\",\"n+8yVN\":\"Signature\",\"6AjNkO\":\"Signatures Collected\",\"cquXHe\":\"Signatures will appear once the document has been completed\",\"PoH7eg\":\"Signed\",\"XOxZT4\":\"Signing in...\",\"P1wwqN\":\"Signing up...\",\"ltYQCa\":[\"Since \",[\"0\"]],\"67H0kT\":\"Site Banner\",\"aaU5Fl\":\"Site Settings\",\"nwtY4N\":\"Something went wrong\",\"xYdwPA\":[\"Something went wrong while attempting to transfer the ownership of team <0>\",[\"0\"],\"</0> to your. Please try again later or contact support.\"],\"/OggdM\":[\"Something went wrong while attempting to verify your email address for <0>\",[\"0\"],\"</0>. Please try again later.\"],\"oZO7Po\":\"Something went wrong while loading your passkeys.\",\"qDc2pC\":\"Something went wrong while sending the confirmation email.\",\"2U+48H\":\"Something went wrong while updating the team billing subscription, please contact support.\",\"db0Ycb\":\"Something went wrong. Please try again or contact support.\",\"q16m4+\":\"Sorry, we were unable to download the audit logs. Please try again later.\",\"EUyscw\":\"Sorry, we were unable to download the certificate. Please try again later.\",\"29Hx9U\":\"Stats\",\"uAQUqI\":\"Status\",\"EDl9kS\":\"Subscribe\",\"WVzGc2\":\"Subscription\",\"P6F38F\":\"Subscriptions\",\"zzDlyQ\":\"Success\",\"f8RSgi\":\"Successfully created passkey\",\"3WgMId\":\"System Theme\",\"KM6m8p\":\"Team\",\"ZTKtIH\":\"Team checkout\",\"WUM2yD\":\"Team email\",\"rkqgH1\":\"Team Email\",\"5GbQa1\":\"Team email has been removed\",\"rW28ga\":\"Team email verification\",\"/9ZeEl\":\"Team email verified!\",\"Ww6njg\":\"Team email was updated.\",\"h3p3UT\":\"Team invitation\",\"am190B\":\"Team invitations have been sent.\",\"IJFhQ+\":\"Team Member\",\"EEjL2F\":\"Team Name\",\"alTHVO\":\"Team Only\",\"cvMRdF\":\"Team only templates are not linked anywhere and are visible only to your team.\",\"sSUQSW\":\"Team ownership transfer\",\"GzR8VI\":\"Team ownership transferred!\",\"qzHZC+\":\"Team Public Profile\",\"wkzD+0\":\"Team settings\",\"oMfDc9\":\"Team Settings\",\"NONu1b\":\"Team templates\",\"Feqf5k\":\"Team transfer in progress\",\"oXkHk2\":\"Team transfer request expired\",\"IwrHI3\":\"Team URL\",\"CAL6E9\":\"Teams\",\"qKgabb\":\"Teams restricted\",\"/K2CvV\":\"Template\",\"ZTgE3k\":\"Template deleted\",\"7ZORe4\":\"Template document uploaded\",\"Vmoj8n\":\"Template duplicated\",\"3MMlXX\":\"Template has been removed from your public profile.\",\"eupjqf\":\"Template has been updated.\",\"I1vdWI\":\"Template moved\",\"GamjcN\":\"Template saved\",\"iTylMl\":\"Templates\",\"mKknmt\":\"Templates allow you to quickly generate documents with pre-filled recipients and fields.\",\"HmA4Lf\":\"Text Color\",\"jB6Wb0\":\"The account has been deleted successfully.\",\"YPAOfJ\":\"The content to show in the banner, HTML is allowed\",\"+lDHlp\":\"The direct link has been copied to your clipboard\",\"HdogiK\":\"The document has been successfully moved to the selected team.\",\"JaqmMD\":\"The document was created but could not be sent to recipients.\",\"D6V5NE\":\"The document will be hidden from your account\",\"kn3D/u\":\"The document will be immediately sent to recipients if this is checked.\",\"S20Dp9\":\"The events that will trigger a webhook to be sent to your URL.\",\"3BvEti\":[\"The ownership of team <0>\",[\"0\"],\"</0> has been successfully transferred to you.\"],\"jiv3IP\":\"The page you are looking for was moved, removed, renamed or might never have existed.\",\"v7aFZT\":\"The profile link has been copied to your clipboard\",\"L9/hN3\":\"The profile you are looking for could not be found.\",\"M2Tl+5\":\"The public description that will be displayed with this template\",\"Bar5Ss\":\"The public name for your template\",\"RL/wwM\":\"The recipient has been updated successfully\",\"aHhSPO\":\"The selected team member will receive an email which they must accept before the team is transferred\",\"so3oXj\":\"The signing link has been copied to your clipboard.\",\"kXciaM\":\"The site banner is a message that is shown at the top of the site. It can be used to display important information to your users.\",\"XaNqYt\":\"The team transfer invitation has been successfully deleted.\",\"DyE711\":[\"The team transfer request to <0>\",[\"0\"],\"</0> has expired.\"],\"RLyuG2\":\"The team you are looking for may have been removed, renamed or may have never existed.\",\"wIrx7T\":\"The template has been successfully moved to the selected team.\",\"J+X6HZ\":\"The template will be removed from your profile\",\"9VV//K\":\"The template you are looking for may have been disabled, deleted or may have never existed.\",\"tkv54w\":\"The token was copied to your clipboard.\",\"5cysp1\":\"The token was deleted successfully.\",\"oddVEW\":\"The token you have used to reset your password is either expired or it never existed. If you have still forgotten your password, please request a new reset link.\",\"Orj1pl\":\"The URL for Documenso to send webhook events to.\",\"V92DHZ\":\"The webhook has been successfully deleted.\",\"mlHeCX\":\"The webhook has been updated successfully.\",\"V+5KQa\":\"The webhook was successfully created.\",\"k/INkj\":\"There are no active drafts at the current moment. You can upload a document to start drafting.\",\"ySoKla\":\"There are no completed documents yet. Documents that you have created or received will appear here once completed.\",\"9aYXQv\":\"They have permission on your behalf to:\",\"3ap2Vv\":\"This action is not reversible. Please be certain.\",\"6S2SIc\":\"This document could not be deleted at this time. Please try again.\",\"9q30Lx\":\"This document could not be duplicated at this time. Please try again.\",\"u/cYe5\":\"This document could not be re-sent at this time. Please try again.\",\"240BLI\":\"This document has been cancelled by the owner and is no longer available for others to sign.\",\"UdLWn3\":\"This document has been cancelled by the owner.\",\"K8RH4n\":\"This document has been signed by all recipients\",\"1M0Ssi\":\"This document is currently a draft and has not been sent\",\"LLfa/G\":\"This email is already being used by another team.\",\"YrKIxa\":\"This link is invalid or has expired. Please contact your team to resend a transfer request.\",\"iN8uoK\":\"This link is invalid or has expired. Please contact your team to resend a verification.\",\"b7CscR\":\"This passkey has already been registered.\",\"JMu+vE\":\"This passkey is not configured for this application. Please login and add one in the user settings.\",\"0ES9GX\":\"This price includes minimum 5 seats.\",\"0rusOU\":\"This session has expired. Please try again.\",\"ApCva8\":\"This team, and any associated data excluding billing invoices will be permanently deleted.\",\"1ABR2W\":\"This template could not be deleted at this time. Please try again.\",\"PJUOEm\":\"This token is invalid or has expired. No action is needed.\",\"4WY92K\":\"This token is invalid or has expired. Please contact your team for a new invitation.\",\"6HNLKb\":\"This URL is already in use.\",\"/yOKAT\":\"This username has already been taken\",\"ea/Ia+\":\"This username is already taken\",\"LhMjLm\":\"Time\",\"Mz2JN2\":\"Time zone\",\"MHrjPM\":\"Title\",\"TF1e2Y\":\"To accept this invitation you must create an account.\",\"9e4NKS\":\"To change the email you must remove and add a new email address.\",\"E3QGBV\":[\"To confirm, please enter the accounts email address <0/>(\",[\"0\"],\").\"],\"/ngXqQ\":\"To confirm, please enter the reason\",\"Z/LRzj\":\"To decline this invitation you must create an account.\",\"QyrRrh\":\"To enable two-factor authentication, scan the following QR code using your authenticator app.\",\"mX0XNr\":\"To gain access to your account, please confirm your email address by clicking on the confirmation link from your inbox.\",\"THQgMC\":[\"To mark this document as viewed, you need to be logged in as <0>\",[\"0\"],\"</0>\"],\"Tkvndv\":\"Toggle the switch to hide your profile from the public.\",\"X3Df6T\":\"Toggle the switch to show your profile to the public.\",\"TP9/K5\":\"Token\",\"SWyfbd\":\"Token copied to clipboard\",\"OBjhQ4\":\"Token created\",\"B5MBOV\":\"Token deleted\",\"nwwDj8\":\"Token doesn't have an expiration date\",\"v/TQsS\":\"Token expiration date\",\"SKZhW9\":\"Token name\",\"/mWwgA\":\"Total Documents\",\"dKGGPw\":\"Total Recipients\",\"WLfBMX\":\"Total Signers that Signed Up\",\"vb0Q0/\":\"Total Users\",\"PsdN6O\":\"Transfer ownership of this team to a selected team member.\",\"OOrbmP\":\"Transfer team\",\"TAB7/M\":\"Transfer the ownership of the team to another team member.\",\"34nxyb\":\"Triggers\",\"0s6zAM\":\"Two factor authentication\",\"rkM+2p\":\"Two factor authentication recovery codes are used to access your account in the event that you lose access to your authenticator app.\",\"C4pKXW\":\"Two-Factor Authentication\",\"NwChk2\":\"Two-factor authentication disabled\",\"qwpE/S\":\"Two-factor authentication enabled\",\"Rirbh5\":\"Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in.\",\"+zy2Nq\":\"Type\",\"fn5guJ\":\"Type 'delete' to confirm\",\"aLB9e4\":\"Type a command or search...\",\"NKs0zG\":\"Uh oh! Looks like you're missing a token\",\"syy3Gt\":\"Unable to copy recovery code\",\"CRCTCg\":\"Unable to copy token\",\"IFfB53\":\"Unable to create direct template access. Please try again later.\",\"gVlUC8\":\"Unable to decline this team invitation at this time.\",\"Y+wsI7\":\"Unable to delete invitation. Please try again.\",\"UCeveL\":\"Unable to delete team\",\"wp9XuY\":\"Unable to disable two-factor authentication\",\"kIV9PR\":\"Unable to join this team at this time.\",\"KFBm7R\":\"Unable to load document history\",\"NodEs1\":\"Unable to load your public profile templates at this time\",\"vklymD\":\"Unable to remove email verification at this time. Please try again.\",\"w8n1+z\":\"Unable to remove team email at this time. Please try again.\",\"akFhsV\":\"Unable to resend invitation. Please try again.\",\"JQLFI3\":\"Unable to resend verification at this time. Please try again.\",\"jLtRR6\":\"Unable to reset password\",\"QtkcKO\":\"Unable to setup two-factor authentication\",\"N1m2oU\":\"Unable to sign in\",\"dA/8If\":\"Unauthorized\",\"9zMI6W\":\"Uncompleted\",\"29VNqC\":\"Unknown error\",\"7yiFvZ\":\"Unpaid\",\"EkH9pt\":\"Update\",\"CVGIOg\":\"Update Banner\",\"MSfA8z\":\"Update passkey\",\"Q3MPWA\":\"Update password\",\"vXPSuB\":\"Update profile\",\"ih1ndv\":\"Update Recipient\",\"5bRMKt\":\"Update role\",\"qg6EfE\":\"Update team\",\"V8JgFA\":\"Update team email\",\"DDP/NH\":\"Update team member\",\"KAyssy\":\"Update user\",\"iFdgvQ\":\"Update webhook\",\"2uDkRs\":\"Updating password...\",\"6JH8iK\":\"Updating profile...\",\"jUV7CU\":\"Upload Avatar\",\"2npSeV\":\"Uploaded by\",\"bM+XCB\":\"Uploaded file is too large\",\"fXh9EJ\":\"Uploaded file is too small\",\"mnNw0z\":\"Uploaded file not an allowed file type\",\"5UWfU/\":\"Use Authenticator\",\"VLViRK\":\"Use Backup Code\",\"NUXH2v\":\"Use Template\",\"7PzzBU\":\"User\",\"GjhOGB\":\"User ID\",\"DgDMhU\":\"User profiles are here!\",\"lcDO4m\":\"User settings\",\"Sxm8rQ\":\"Users\",\"wMHvYH\":\"Value\",\"BGWaEQ\":\"Verification Email Sent\",\"XZQ6rx\":\"Verification email sent successfully.\",\"ZqWgxB\":\"Verify Now\",\"kuvvht\":\"Verify your email address\",\"c9ZsJU\":\"Verify your email address to unlock all features.\",\"OUPY2G\":\"Verify your email to upload documents.\",\"jpctdh\":\"View\",\"c3aao/\":\"View activity\",\"pTCu0c\":\"View all documents sent to your account\",\"F8qz8t\":\"View all recent security activity related to your account.\",\"t3iQF8\":\"View all security activity related to your account.\",\"t5bHu+\":\"View Codes\",\"Opb2rO\":\"View documents associated with this email\",\"FbRyw+\":\"View invites\",\"kGkM7n\":\"View Original Document\",\"z0hW8A\":\"View Recovery Codes\",\"+SRqZk\":\"View teams\",\"vXtpAZ\":\"Viewed\",\"uUehLT\":\"Waiting\",\"p5sNpe\":\"Waiting for others to sign\",\"CLj7L4\":\"Want to send slick signing links like this one? <0>Check out Documenso.</0>\",\"AVOxgl\":\"Want your own public profile?\",\"bJajhk\":\"We are unable to proceed to the billing portal at this time. Please try again, or contact support.\",\"mrAou1\":\"We are unable to remove this passkey at the moment. Please try again later.\",\"PVmZRU\":\"We are unable to update this passkey at the moment. Please try again later.\",\"4CEdkv\":\"We encountered an error while removing the direct template link. Please try again later.\",\"9dCMy6\":\"We encountered an error while updating the webhook. Please try again later.\",\"/666TS\":\"We encountered an unknown error while attempting create the new token. Please try again later.\",\"ghtOmL\":\"We encountered an unknown error while attempting to add this email. Please try again later.\",\"Z3g6da\":\"We encountered an unknown error while attempting to create a team. Please try again later.\",\"5jf+Ky\":\"We encountered an unknown error while attempting to delete it. Please try again later.\",\"BYsCZ0\":\"We encountered an unknown error while attempting to delete the pending team. Please try again later.\",\"X1sSV9\":\"We encountered an unknown error while attempting to delete this team. Please try again later.\",\"kQiucd\":\"We encountered an unknown error while attempting to delete this token. Please try again later.\",\"QbeZrm\":\"We encountered an unknown error while attempting to delete your account. Please try again later.\",\"RFJXMf\":\"We encountered an unknown error while attempting to invite team members. Please try again later.\",\"NOJmg5\":\"We encountered an unknown error while attempting to leave this team. Please try again later.\",\"p1cQqG\":\"We encountered an unknown error while attempting to remove this template from your profile. Please try again later.\",\"dWt6qq\":\"We encountered an unknown error while attempting to remove this transfer. Please try again or contact support.\",\"Bf8/oy\":\"We encountered an unknown error while attempting to remove this user. Please try again later.\",\"+dHRXe\":\"We encountered an unknown error while attempting to request a transfer of this team. Please try again later.\",\"zKkKFY\":\"We encountered an unknown error while attempting to reset your password. Please try again later.\",\"jMJahr\":\"We encountered an unknown error while attempting to revoke access. Please try again or contact support.\",\"v7NHq3\":\"We encountered an unknown error while attempting to save your details. Please try again later.\",\"H2R2SX\":\"We encountered an unknown error while attempting to sign you In. Please try again later.\",\"lFQvqg\":\"We encountered an unknown error while attempting to sign you up. Please try again later.\",\"tIdO3I\":\"We encountered an unknown error while attempting to sign you Up. Please try again later.\",\"s7WVvm\":\"We encountered an unknown error while attempting to update the avatar. Please try again later.\",\"t2qome\":\"We encountered an unknown error while attempting to update the banner. Please try again later.\",\"KRW9aV\":\"We encountered an unknown error while attempting to update the template. Please try again later.\",\"jSzwNQ\":\"We encountered an unknown error while attempting to update this team member. Please try again later.\",\"ZAGznT\":\"We encountered an unknown error while attempting to update your password. Please try again later.\",\"/YgkWz\":\"We encountered an unknown error while attempting to update your public profile. Please try again later.\",\"PgR2KT\":\"We encountered an unknown error while attempting to update your team. Please try again later.\",\"Fkk/tM\":\"We encountered an unknown error while attempting update the team email. Please try again later.\",\"XdaMt1\":\"We have sent a confirmation email for verification.\",\"Z/3o7q\":\"We were unable to copy the token to your clipboard. Please try again.\",\"/f76sW\":\"We were unable to copy your recovery code to your clipboard. Please try again.\",\"5Elc4g\":\"We were unable to create a checkout session. Please try again, or contact support\",\"bw0W5A\":\"We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again.\",\"Ckd2da\":\"We were unable to log you out at this time.\",\"PGrghQ\":\"We were unable to set your public profile to public. Please try again.\",\"I8Rr9j\":\"We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again.\",\"/Ez2eA\":\"We were unable to submit this document at this time. Please try again later.\",\"zfClNd\":\"We were unable to verify your details. Please try again or contact support\",\"791g1I\":\"We were unable to verify your email. If your email is not verified already, please try again.\",\"xxInDV\":\"We're all empty\",\"lgW1qG\":[\"We've sent a confirmation email to <0>\",[\"email\"],\"</0>. Please check your inbox and click the link in the email to verify your account.\"],\"an6ayw\":\"Webhook created\",\"LnaC5y\":\"Webhook deleted\",\"kxZ7LS\":\"Webhook updated\",\"nuh/Wq\":\"Webhook URL\",\"v1kQyJ\":\"Webhooks\",\"4XSc4l\":\"Weekly\",\"nx8adn\":\"Welcome back, we are lucky to have you.\",\"v+iPzY\":\"When you click continue, you will be prompted to add the first available authenticator on your system.\",\"ks103z\":\"While waiting for them to do so you can create your own Documenso account and get started with document signing right away.\",\"gW6iyU\":\"Who do you want to remind?\",\"WCtNlH\":\"Write about the team\",\"RB+i+e\":\"Write about yourself\",\"zkWmBh\":\"Yearly\",\"kWJmRL\":\"You\",\"H0+WHg\":[\"You are about to complete approving \\\"\",[\"truncatedTitle\"],\"\\\".<0/> Are you sure?\"],\"kzE21T\":[\"You are about to complete signing \\\"\",[\"truncatedTitle\"],\"\\\".<0/> Are you sure?\"],\"9AVWSg\":[\"You are about to complete viewing \\\"\",[\"truncatedTitle\"],\"\\\".<0/> Are you sure?\"],\"wPAx3W\":[\"You are about to delete <0>\\\"\",[\"documentTitle\"],\"\\\"</0>\"],\"bnSqz9\":[\"You are about to delete the following team email from <0>\",[\"teamName\"],\"</0>.\"],\"5K1f43\":[\"You are about to hide <0>\\\"\",[\"documentTitle\"],\"\\\"</0>\"],\"Z7Zba7\":\"You are about to leave the following team.\",\"w4DsUu\":[\"You are about to remove the following user from <0>\",[\"teamName\"],\"</0>.\"],\"3TbP+M\":[\"You are about to revoke access for team <0>\",[\"0\"],\"</0> (\",[\"1\"],\") to use your email.\"],\"km5WYz\":\"You are currently on the <0>Free Plan</0>.\",\"lS8/qb\":[\"You are currently subscribed to <0>\",[\"0\"],\"</0>\"],\"vELAGq\":[\"You are currently updating <0>\",[\"teamMemberName\"],\".</0>\"],\"9Vb1lk\":[\"You are currently updating the <0>\",[\"passkeyName\"],\"</0> passkey.\"],\"fE9efX\":\"You are not authorized to view this page.\",\"xGF8ow\":\"You can choose to enable or disable your profile for public view.\",\"knayUe\":\"You can choose to enable or disable your team profile for public view.\",\"6RWhw7\":\"You can claim your profile later on by going to your profile settings!\",\"wvsTRr\":\"You can update the profile URL by updating the team URL in the general settings page.\",\"MfJtjp\":\"You can view documents associated with this email and use this identity when sending documents.\",\"q1+l2h\":[\"You cannot have more than \",[\"MAXIMUM_PASSKEYS\"],\" passkeys.\"],\"Nv8I50\":\"You cannot modify a team member who has a higher role than you.\",\"tBM5rt\":\"You cannot upload encrypted PDFs\",\"uPZVOC\":\"You currently have an active plan\",\"vGmUyC\":\"You do not currently have a customer record, this should not happen. Please contact support for assistance.\",\"COkiAI\":[\"You have accepted an invitation from <0>\",[\"0\"],\"</0> to join their team.\"],\"rawUsl\":[\"You have been invited by <0>\",[\"0\"],\"</0> to join their team.\"],\"C5iBwQ\":[\"You have declined the invitation from <0>\",[\"0\"],\"</0> to join their team.\"],\"9vc55I\":\"You have no webhooks yet. Your webhooks will be shown here once you create them.\",\"MWXNow\":\"You have not yet created any templates. To create a template please upload one.\",\"qJTcfP\":\"You have not yet created or received any documents. To create a document please upload one.\",\"yvV4GX\":[\"You have reached the maximum limit of \",[\"0\"],\" direct templates. <0>Upgrade your account to continue!</0>\"],\"m5RA9C\":\"You have reached your document limit.\",\"K/3HUN\":\"You have reached your document limit. <0>Upgrade your account to continue!</0>\",\"dURxlX\":\"You have successfully left this team.\",\"vi6pfe\":\"You have successfully registered. Please verify your account by clicking on the link you received in the email.\",\"B5Ovxs\":\"You have successfully removed this user from the team.\",\"PIl3Hg\":\"You have successfully revoked access.\",\"Z1UZXO\":[\"You have updated \",[\"teamMemberName\"],\".\"],\"tD6Cj2\":[\"You have verified your email address for <0>\",[\"0\"],\"</0>.\"],\"pNlz0U\":\"You must be an admin of this team to manage billing.\",\"xIaz3h\":\"You must enter {confirmTransferMessage} to proceed\",\"OGT1bh\":\"You must enter {deleteMessage} to proceed\",\"jifgCp\":\"You must have at least one other team member to transfer ownership.\",\"ID3LkG\":\"You must set a profile URL before enabling your public profile.\",\"zfliFq\":[\"You need to be logged in as <0>\",[\"email\"],\"</0> to view this page.\"],\"1et3k8\":\"You need to be logged in to view this page.\",\"ZR9lKP\":\"You need to setup 2FA to mark this document as viewed.\",\"tKEndc\":\"You will get notified & be able to set up your documenso public profile when we launch the feature.\",\"MBzXsC\":\"You will now be required to enter a code from your authenticator app when signing in.\",\"eWlnaX\":\"You will receive an Email copy of the signed document once everyone has signed.\",\"gmJH7Y\":\"Your account has been deleted successfully.\",\"YL3Iyk\":\"Your avatar has been updated successfully.\",\"c4qhbN\":\"Your banner has been updated successfully.\",\"+Ljs6n\":\"Your current plan is past due. Please update your payment information.\",\"5s2EJQ\":\"Your direct signing templates\",\"pj2JS8\":\"Your document failed to upload.\",\"DIplUX\":\"Your document has been created from the template successfully.\",\"iz6qAJ\":\"Your document has been re-sent successfully.\",\"0KIVTr\":\"Your document has been sent successfully.\",\"vbvBKY\":\"Your document has been successfully duplicated.\",\"TqcK/s\":\"Your document has been uploaded successfully.\",\"xEM9BR\":\"Your document has been uploaded successfully. You will be redirected to the template page.\",\"F2NQI1\":\"Your documents\",\"JQbHxK\":\"Your email has been successfully confirmed! You can now use all features of Documenso.\",\"pSDzas\":[\"Your email is currently being used by team <0>\",[\"0\"],\"</0> (\",[\"1\"],\").\"],\"K6mQ0w\":\"Your existing tokens\",\"Ecp9Z/\":\"Your password has been updated successfully.\",\"/tDdSk\":\"Your payment for teams is overdue. Please settle the payment to avoid any service disruptions.\",\"R+Yx9f\":\"Your profile has been updated successfully.\",\"skqRDH\":\"Your profile has been updated.\",\"kF7YFF\":\"Your public profile has been updated.\",\"XnIGua\":\"Your recovery code has been copied to your clipboard.\",\"/N3QQp\":\"Your recovery codes are listed below. Please store them in a safe place.\",\"o9X4Qf\":\"Your subscription is currently active.\",\"+fTW4I\":\"Your team has been created.\",\"DCGKPd\":\"Your team has been successfully deleted.\",\"7rm0si\":\"Your team has been successfully updated.\",\"icNCVp\":\"Your template has been duplicated successfully.\",\"juxjhy\":\"Your template has been successfully deleted.\",\"BHaG+M\":\"Your template will be duplicated.\",\"WQkZGA\":\"Your templates has been saved successfully.\",\"4OcZNw\":\"Your token has expired!\",\"stera3\":\"Your token was created successfully! Make sure to copy it because you won't be able to see it again!\",\"R5j6t5\":\"Your tokens will be shown here once you create them.\",\"73XXzw\":[[\"0\"],\" of \",[\"1\"],\" row(s) selected.\"],\"lZ4w45\":[[\"visibleRows\",\"plural\",{\"one\":[\"Showing \",\"#\",\" result.\"],\"other\":[\"Showing \",\"#\",\" results.\"]}]],\"AhYxw5\":\"<0>Inherit authentication method</0> - Use the global action signing authentication method configured in the \\\"General Settings\\\" step\",\"OepImG\":\"<0>No restrictions</0> - No authentication required\",\"07+JZ2\":\"<0>No restrictions</0> - The document can be accessed directly by the URL sent to the recipient\",\"jx/lwn\":\"<0>None</0> - No authentication required\",\"CUT3u1\":\"<0>Require 2FA</0> - The recipient must have an account and 2FA enabled via their settings\",\"2PbD3D\":\"<0>Require account</0> - The recipient must be signed in to view the document\",\"QHSbey\":\"<0>Require passkey</0> - The recipient must have an account and passkey configured via their settings\",\"Oy5nEc\":\"Add a document\",\"7Pz5x5\":\"Add a URL to redirect the user to once the document is signed\",\"aILOUH\":\"Add an external ID to the document. This can be used to identify the document in external systems.\",\"bK1dPK\":\"Add an external ID to the template. This can be used to identify in external systems.\",\"nnZ1Sa\":\"Add another option\",\"0/UVRw\":\"Add another value\",\"VaCh6w\":\"Add myself\",\"jAa/lz\":\"Add Myself\",\"29QK6H\":\"Add Placeholder Recipient\",\"vcxlzZ\":\"Add Signer\",\"7F2ltK\":\"Add text to the field\",\"U3pytU\":\"Admin\",\"NFIOKv\":\"Advanced Options\",\"VNgKZz\":\"Advanced settings\",\"bNUpvl\":\"After submission, a document will be automatically generated and added to your documents page. You will also receive a notification via email.\",\"ca9AbO\":\"Approver\",\"j2Uisd\":\"Approving\",\"brJrDl\":\"Cannot remove signer\",\"RpYfjZ\":\"Cc\",\"XdZeJk\":\"CC\",\"nrL/ZD\":\"CC'd\",\"EEk+d0\":\"Character Limit\",\"G1XxbZ\":\"Checkbox\",\"wbixMe\":\"Checkbox values\",\"u8JHrO\":\"Clear filters\",\"IqxkER\":\"Clear Signature\",\"OrcxNk\":\"Configure Direct Recipient\",\"92KLYs\":[\"Configure the \",[\"0\"],\" field\"],\"GB2F11\":\"Custom Text\",\"4BHv90\":\"Date Format\",\"NLXhq7\":\"Direct link receiver\",\"YScG1E\":\"Document access\",\"rAqi0g\":\"Document Creation\",\"6GyScL\":\"Drag & drop your PDF here.\",\"iKQcPM\":\"Dropdown\",\"XXvhMd\":\"Dropdown options\",\"XLpxoj\":\"Email Options\",\"f7sXvi\":\"Enter password\",\"5KfWxA\":\"External ID\",\"4CP+OV\":\"Failed to save settings.\",\"LK3SFK\":\"Field character limit\",\"NYkIsf\":\"Field format\",\"X6Tb6Q\":\"Field label\",\"NaVkSD\":\"Field placeholder\",\"N1UTWT\":\"Global recipient action authentication\",\"uCroPU\":\"I am a signer of this document\",\"K6KTX2\":\"I am a viewer of this document\",\"ngj5km\":\"I am an approver of this document\",\"ZjDoG7\":\"I am required to recieve a copy of this document\",\"fnbcC0\":\"Inherit authentication method\",\"87a/t/\":\"Label\",\"dtOoGl\":\"Manager\",\"CK1KXz\":\"Max\",\"OvoEq7\":\"Member\",\"ziXm9u\":\"Message <0>(Optional)</0>\",\"eTUF28\":\"Min\",\"4nqUV0\":\"Needs to approve\",\"lNQBPg\":\"Needs to sign\",\"eUAUyG\":\"Needs to view\",\"GBIRGD\":\"No recipient matching this description was found.\",\"f34Qxi\":\"No recipients with this role\",\"qQ7oqE\":\"No restrictions\",\"AxPAXW\":\"No results found\",\"pt86ev\":\"No signature field found\",\"HptUxX\":\"Number\",\"bR2sEm\":\"Number format\",\"eY6ns+\":\"Once enabled, you can select any active recipient to be a direct link signing recipient, or create a new one. This recipient type cannot be edited or deleted.\",\"JE2qy+\":\"Once your template is set up, share the link anywhere you want. The person who opens the link will be able to enter their information in the direct link recipient field and complete any other fields assigned to them.\",\"fpzyLj\":[\"Page \",[\"0\"],\" of \",[\"1\"]],\"8ltyoa\":\"Password Required\",\"ayaTI6\":\"Pick a number\",\"hx1ePY\":\"Placeholder\",\"MtkqZc\":\"Radio\",\"5cEi0C\":\"Radio values\",\"uNQ6eB\":\"Read only\",\"UTnF5X\":\"Receives copy\",\"ZIuo5V\":\"Recipient action authentication\",\"VTB2Rz\":\"Redirect URL\",\"8dg+Yo\":\"Required field\",\"xxCtZv\":\"Rows per page\",\"9Y3hAT\":\"Save Template\",\"hVPa4O\":\"Select an option\",\"IM+vrQ\":\"Select at least\",\"Gve6FG\":\"Select default option\",\"JlFcis\":\"Send\",\"AEV4wo\":\"Send Document\",\"iE3nGO\":\"Share Signature Card\",\"y+hKWu\":\"Share the Link\",\"ydZ6yi\":\"Show advanced settings\",\"jTCAGu\":\"Signer\",\"6G8s+q\":\"Signing\",\"kW2h2Z\":\"Some signers have not been assigned a signature field. Please assign at least 1 signature field to each signer before proceeding.\",\"kf83Ld\":\"Something went wrong.\",\"WlBiWh\":[\"Step <0>\",[\"step\"],\" of \",[\"maxStep\"],\"</0>\"],\"ki77Td\":\"Subject <0>(Optional)</0>\",\"hQRttt\":\"Submit\",\"URdrTr\":\"Template title\",\"xeiujy\":\"Text\",\"imClgr\":\"The authentication required for recipients to sign fields\",\"yyD2dE\":\"The authentication required for recipients to sign the signature field.\",\"GtDmLf\":\"The authentication required for recipients to view the document.\",\"zAoaPB\":\"The document's name\",\"Ev3GOS\":\"The password you have entered is incorrect. Please try again.\",\"OPnnb6\":\"The recipient is not required to take any action and receives a copy of the document after it is completed.\",\"v8p6Mb\":\"The recipient is required to approve the document for it to be completed.\",\"CPv0TB\":\"The recipient is required to sign the document for it to be completed.\",\"oIvIfH\":\"The recipient is required to view the document for it to be completed.\",\"Br2bvS\":\"The sharing link could not be created at this time. Please try again.\",\"XJIzqY\":\"The sharing link has been copied to your clipboard.\",\"UyM8/E\":\"The signer's email\",\"zHJ+vk\":\"The signer's name\",\"kaEF2i\":\"This can be overriden by setting the authentication requirements directly on each recipient in the next step.\",\"QUZVfd\":\"This document has already been sent to this recipient. You can no longer edit this recipient.\",\"riNGUC\":\"This document is password protected. Please enter the password to view the document.\",\"Qkeh+t\":\"This field cannot be modified or deleted. When you share this template's direct link or add it to your public profile, anyone who accesses it can input their name and email, and fill in the fields assigned to them.\",\"l2Xt6u\":\"This signer has already received the document.\",\"6iFh5a\":\"This will override any global settings.\",\"RxsRD6\":\"Time Zone\",\"UWmOq4\":[\"To proceed further, please set at least one value for the \",[\"0\"],\" field.\"],\"GT+2nz\":\"Update the role and add fields as required for the direct recipient. The individual who uses the direct link will sign the document as the direct recipient.\",\"kwkhPe\":\"Upgrade\",\"06fEqf\":\"Upload Template Document\",\"lGWE4b\":\"Validation\",\"M/TIv1\":\"Viewer\",\"RVWz5F\":\"Viewing\",\"4/hUq0\":\"You are about to send this document to the recipients. Are you sure you want to continue?\",\"rb/T41\":\"You can use the following variables in your message:\",\"9+Ph0R\":\"You cannot upload documents at this time.\"}")};
\ No newline at end of file
diff --git a/packages/lib/translations/en/web.po b/packages/lib/translations/en/web.po
index 5710401fa..2b9fe7461 100644
--- a/packages/lib/translations/en/web.po
+++ b/packages/lib/translations/en/web.po
@@ -12,3 +12,4362 @@ msgstr ""
"Last-Translator: \n"
"Language-Team: \n"
"Plural-Forms: \n"
+
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:69
+msgid "\"{0}\" will appear on the document as it has a timezone of \"{timezone}\"."
+msgstr "\"{0}\" will appear on the document as it has a timezone of \"{timezone}\"."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:60
+msgid "\"{documentTitle}\" has been successfully deleted"
+msgstr "\"{documentTitle}\" has been successfully deleted"
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx:75
+msgid "({0}) has invited you to approve this document"
+msgstr "({0}) has invited you to approve this document"
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx:72
+msgid "({0}) has invited you to sign this document"
+msgstr "({0}) has invited you to sign this document"
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-page-view.tsx:69
+msgid "({0}) has invited you to view this document"
+msgstr "({0}) has invited you to view this document"
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:311
+msgid "{0, plural, one {(1 character over)} other {(# characters over)}}"
+msgstr "{0, plural, one {(1 character over)} other {(# characters over)}}"
+
+#: apps/web/src/components/forms/public-profile-form.tsx:237
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:397
+msgid "{0, plural, one {# character over the limit} other {# characters over the limit}}"
+msgstr "{0, plural, one {# character over the limit} other {# characters over the limit}}"
+
+#: apps/web/src/app/(recipient)/d/[token]/page.tsx:82
+msgid "{0, plural, one {# recipient} other {# recipients}}"
+msgstr "{0, plural, one {# recipient} other {# recipients}}"
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:64
+msgid "{0, plural, one {# Seat} other {# Seats}}"
+msgstr "{0, plural, one {# Seat} other {# Seats}}"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:37
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:66
+msgid "{0, plural, one {<0>You have <1>1</1> pending team invitation</0>} other {<2>You have <3>#</3> pending team invitations</2>}}"
+msgstr "{0, plural, one {<0>You have <1>1</1> pending team invitation</0>} other {<2>You have <3>#</3> pending team invitations</2>}}"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx:102
+msgid "{0, plural, one {1 Recipient} other {# Recipients}}"
+msgstr "{0, plural, one {1 Recipient} other {# Recipients}}"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:204
+msgid "{0, plural, one {Waiting on 1 recipient} other {Waiting on # recipients}}"
+msgstr "{0, plural, one {Waiting on 1 recipient} other {Waiting on # recipients}}"
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx:64
+msgid "{0, plural, zero {Select values} other {# selected...}}"
+msgstr "{0, plural, zero {Select values} other {# selected...}}"
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:251
+msgid "{0} direct signing templates"
+msgstr "{0} direct signing templates"
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:66
+msgid "{0} document"
+msgstr "{0} document"
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:146
+msgid "{0} of {1} documents remaining this month."
+msgstr "{0} of {1} documents remaining this month."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:139
+msgid "{0} Recipient(s)"
+msgstr "{0} Recipient(s)"
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:67
+msgid "{0} the document to complete the process."
+msgstr "{0} the document to complete the process."
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:292
+msgid "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
+msgstr "{charactersRemaining, plural, one {1 character remaining} other {{charactersRemaining} characters remaining}}"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:55
+msgid "{formattedTeamMemberQuanity} • Monthly • Renews: {formattedDate}"
+msgstr "{formattedTeamMemberQuanity} • Monthly • Renews: {formattedDate}"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:48
+msgid "{numberOfSeats, plural, one {# member} other {# members}}"
+msgstr "{numberOfSeats, plural, one {# member} other {# members}}"
+
+#: apps/web/src/components/forms/public-profile-form.tsx:231
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:391
+msgid "{remaningLength, plural, one {# character remaining} other {# characters remaining}}"
+msgstr "{remaningLength, plural, one {# character remaining} other {# characters remaining}}"
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:45
+msgid "<0>\"{0}\"</0>is no longer available to sign"
+msgstr "<0>\"{0}\"</0>is no longer available to sign"
+
+#: apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx:57
+msgid "<0>Sender:</0> All"
+msgstr "<0>Sender:</0> All"
+
+#: apps/web/src/components/partials/not-found.tsx:45
+msgid "404 Page not found"
+msgstr "404 Page not found"
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:15
+msgid "404 Profile not found"
+msgstr "404 Profile not found"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:15
+msgid "404 Team not found"
+msgstr "404 Team not found"
+
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:15
+msgid "404 Template not found"
+msgstr "404 Template not found"
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:55
+msgid "A confirmation email has been sent, and it should arrive in your inbox shortly."
+msgstr "A confirmation email has been sent, and it should arrive in your inbox shortly."
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:193
+msgid "A draft document will be created"
+msgstr "A draft document will be created"
+
+#: apps/web/src/components/forms/token.tsx:127
+msgid "A new token was created successfully."
+msgstr "A new token was created successfully."
+
+#: apps/web/src/app/(unauthenticated)/check-email/page.tsx:24
+#: apps/web/src/components/forms/forgot-password.tsx:58
+msgid "A password reset email has been sent, if you have an account you should see it in your inbox shortly."
+msgstr "A password reset email has been sent, if you have an account you should see it in your inbox shortly."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:94
+msgid "A request to transfer the ownership of this team has been sent to <0>{0} ({1})</0>"
+msgstr "A request to transfer the ownership of this team has been sent to <0>{0} ({1})</0>"
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:228
+msgid "A secret that will be sent to your URL so you can verify that the request has been sent by Documenso"
+msgstr "A secret that will be sent to your URL so you can verify that the request has been sent by Documenso"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:196
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:198
+msgid "A secret that will be sent to your URL so you can verify that the request has been sent by Documenso."
+msgstr "A secret that will be sent to your URL so you can verify that the request has been sent by Documenso."
+
+#: apps/web/src/components/forms/public-profile-form.tsx:198
+msgid "A unique URL to access your profile"
+msgstr "A unique URL to access your profile"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:206
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:139
+msgid "A unique URL to identify your team"
+msgstr "A unique URL to identify your team"
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:137
+msgid "A verification email will be sent to the provided email."
+msgstr "A verification email will be sent to the provided email."
+
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:46
+msgid "Accept"
+msgstr "Accept"
+
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:26
+msgid "Accepted team invitation"
+msgstr "Accepted team invitation"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:51
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:48
+msgid "Account deleted"
+msgstr "Account deleted"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:105
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx:104
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:121
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:164
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:118
+msgid "Action"
+msgstr "Action"
+
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:103
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:168
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:133
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:142
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:118
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:127
+msgid "Actions"
+msgstr "Actions"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:101
+#: apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx:76
+#: apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx:71
+msgid "Active"
+msgstr "Active"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:68
+msgid "Active Subscriptions"
+msgstr "Active Subscriptions"
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:189
+msgid "Add"
+msgstr "Add"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:143
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:87
+msgid "Add all relevant fields for each recipient."
+msgstr "Add all relevant fields for each recipient."
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:82
+msgid "Add all relevant placeholders for each recipient."
+msgstr "Add all relevant placeholders for each recipient."
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:62
+msgid "Add an authenticator to serve as a secondary authentication method for signing documents."
+msgstr "Add an authenticator to serve as a secondary authentication method for signing documents."
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:57
+msgid "Add an authenticator to serve as a secondary authentication method when signing in, or when signing documents."
+msgstr "Add an authenticator to serve as a secondary authentication method when signing in, or when signing documents."
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:125
+msgid "Add email"
+msgstr "Add email"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:142
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:86
+msgid "Add Fields"
+msgstr "Add Fields"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:364
+msgid "Add more"
+msgstr "Add more"
+
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:270
+msgid "Add number"
+msgstr "Add number"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:146
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:154
+msgid "Add passkey"
+msgstr "Add passkey"
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:81
+msgid "Add Placeholders"
+msgstr "Add Placeholders"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:137
+msgid "Add Signers"
+msgstr "Add Signers"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:147
+msgid "Add Subject"
+msgstr "Add Subject"
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:133
+msgid "Add team email"
+msgstr "Add team email"
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:256
+msgid "Add text"
+msgstr "Add text"
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:272
+msgid "Add Text"
+msgstr "Add Text"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:138
+msgid "Add the people who will sign the document."
+msgstr "Add the people who will sign the document."
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:195
+msgid "Add the recipients to create the document with"
+msgstr "Add the recipients to create the document with"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:148
+msgid "Add the subject and message you wish to send to signers."
+msgstr "Add the subject and message you wish to send to signers."
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:152
+msgid "Adding and removing seats will adjust your invoice accordingly."
+msgstr "Adding and removing seats will adjust your invoice accordingly."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:61
+msgid "Admin Actions"
+msgstr "Admin Actions"
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:257
+msgid "Admin panel"
+msgstr "Admin panel"
+
+#: apps/web/src/components/formatter/document-status.tsx:46
+msgid "All"
+msgstr "All"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:37
+msgid "All documents"
+msgstr "All documents"
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:35
+msgid "All documents have been processed. Any new documents that are sent or received will show here."
+msgstr "All documents have been processed. Any new documents that are sent or received will show here."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:145
+msgid "All inserted signatures will be voided"
+msgstr "All inserted signatures will be voided"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:148
+msgid "All recipients will be notified"
+msgstr "All recipients will be notified"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:52
+msgid "All templates"
+msgstr "All templates"
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:55
+msgid "All Time"
+msgstr "All Time"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:110
+msgid "Allows authenticating using biometrics, password managers, hardware keys, etc."
+msgstr "Allows authenticating using biometrics, password managers, hardware keys, etc."
+
+#: apps/web/src/components/forms/v2/signup.tsx:411
+msgid "Already have an account? <0>Sign in instead</0>"
+msgstr "Already have an account? <0>Sign in instead</0>"
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:84
+msgid "Amount"
+msgstr "Amount"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:262
+msgid "An email containing an invitation will be sent to each member."
+msgstr "An email containing an invitation will be sent to each member."
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:109
+msgid "An email requesting the transfer of this team has been sent."
+msgstr "An email requesting the transfer of this team has been sent."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:60
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:83
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:60
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:57
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:92
+#: apps/web/src/components/forms/avatar-image.tsx:116
+#: apps/web/src/components/forms/password.tsx:78
+#: apps/web/src/components/forms/profile.tsx:81
+#: apps/web/src/components/forms/reset-password.tsx:81
+#: apps/web/src/components/forms/signup.tsx:107
+#: apps/web/src/components/forms/token.tsx:137
+#: apps/web/src/components/forms/v2/signup.tsx:154
+msgid "An error occurred"
+msgstr "An error occurred"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:226
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:176
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:210
+msgid "An error occurred while adding signers."
+msgstr "An error occurred while adding signers."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:256
+msgid "An error occurred while adding the fields."
+msgstr "An error occurred while adding the fields."
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:153
+msgid "An error occurred while creating document from template."
+msgstr "An error occurred while creating document from template."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:102
+msgid "An error occurred while creating the webhook. Please try again."
+msgstr "An error occurred while creating the webhook. Please try again."
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:124
+msgid "An error occurred while disabling direct link signing."
+msgstr "An error occurred while disabling direct link signing."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:64
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:89
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:76
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:105
+msgid "An error occurred while downloading your document."
+msgstr "An error occurred while downloading your document."
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:52
+msgid "An error occurred while duplicating template."
+msgstr "An error occurred while duplicating template."
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:123
+msgid "An error occurred while enabling direct link signing."
+msgstr "An error occurred while enabling direct link signing."
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:299
+msgid "An error occurred while loading team members. Please try again later."
+msgstr "An error occurred while loading team members. Please try again later."
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:58
+msgid "An error occurred while moving the document."
+msgstr "An error occurred while moving the document."
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:57
+msgid "An error occurred while moving the template."
+msgstr "An error occurred while moving the template."
+
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:152
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:126
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:137
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:110
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:148
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:195
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:129
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:175
+msgid "An error occurred while removing the signature."
+msgstr "An error occurred while removing the signature."
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:196
+msgid "An error occurred while removing the text."
+msgstr "An error occurred while removing the text."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:287
+msgid "An error occurred while sending the document."
+msgstr "An error occurred while sending the document."
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:63
+msgid "An error occurred while sending your confirmation email"
+msgstr "An error occurred while sending your confirmation email"
+
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:123
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:100
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:106
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:84
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:122
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:150
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:102
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:149
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:168
+msgid "An error occurred while signing the document."
+msgstr "An error occurred while signing the document."
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:63
+msgid "An error occurred while trying to create a checkout session."
+msgstr "An error occurred while trying to create a checkout session."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:199
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:153
+msgid "An error occurred while updating the document settings."
+msgstr "An error occurred while updating the document settings."
+
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:213
+msgid "An error occurred while updating the signature."
+msgstr "An error occurred while updating the signature."
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:79
+msgid "An error occurred while updating your profile."
+msgstr "An error occurred while updating your profile."
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:113
+msgid "An error occurred while uploading your document."
+msgstr "An error occurred while uploading your document."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:66
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:89
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:66
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:63
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:98
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:54
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:97
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:88
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:100
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:105
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:84
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:58
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:158
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:58
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:116
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:89
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:100
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:94
+#: apps/web/src/components/forms/avatar-image.tsx:94
+#: apps/web/src/components/forms/avatar-image.tsx:122
+#: apps/web/src/components/forms/password.tsx:84
+#: apps/web/src/components/forms/profile.tsx:87
+#: apps/web/src/components/forms/public-profile-claim-dialog.tsx:113
+#: apps/web/src/components/forms/public-profile-form.tsx:104
+#: apps/web/src/components/forms/reset-password.tsx:87
+#: apps/web/src/components/forms/signin.tsx:230
+#: apps/web/src/components/forms/signin.tsx:238
+#: apps/web/src/components/forms/signin.tsx:252
+#: apps/web/src/components/forms/signin.tsx:265
+#: apps/web/src/components/forms/signin.tsx:279
+#: apps/web/src/components/forms/signup.tsx:113
+#: apps/web/src/components/forms/signup.tsx:128
+#: apps/web/src/components/forms/signup.tsx:142
+#: apps/web/src/components/forms/token.tsx:143
+#: apps/web/src/components/forms/v2/signup.tsx:160
+#: apps/web/src/components/forms/v2/signup.tsx:183
+#: apps/web/src/components/forms/v2/signup.tsx:197
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:143
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:180
+msgid "An unknown error occurred"
+msgstr "An unknown error occurred"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:260
+msgid "Any payment methods attached to this team will remain attached to this team. Please contact us if you need to update this information."
+msgstr "Any payment methods attached to this team will remain attached to this team. Please contact us if you need to update this information."
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:23
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:43
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:57
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:90
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:93
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:81
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:89
+msgid "API Tokens"
+msgstr "API Tokens"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:74
+msgid "App Version"
+msgstr "App Version"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:89
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:120
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:144
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:122
+msgid "Approve"
+msgstr "Approve"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:78
+msgid "Approved"
+msgstr "Approved"
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:129
+msgid "Are you sure you want to delete this token?"
+msgstr "Are you sure you want to delete this token?"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:188
+msgid "Are you sure you want to remove the <0>{passkeyName}</0> passkey."
+msgstr "Are you sure you want to remove the <0>{passkeyName}</0> passkey."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:126
+msgid "Are you sure you wish to delete this team?"
+msgstr "Are you sure you wish to delete this team?"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:98
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:94
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:453
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:81
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:81
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:116
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:441
+msgid "Are you sure?"
+msgstr "Are you sure?"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:66
+msgid "Attempts sealing the document again, useful for after a code change has occurred to resolve an erroneous document."
+msgstr "Attempts sealing the document again, useful for after a code change has occurred to resolve an erroneous document."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:127
+msgid "Audit Log"
+msgstr "Audit Log"
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:41
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:57
+msgid "Authentication required"
+msgstr "Authentication required"
+
+#: apps/web/src/components/forms/avatar-image.tsx:145
+msgid "Avatar"
+msgstr "Avatar"
+
+#: apps/web/src/components/forms/avatar-image.tsx:107
+msgid "Avatar Updated"
+msgstr "Avatar Updated"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:121
+msgid "Awaiting email confirmation"
+msgstr "Awaiting email confirmation"
+
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:369
+#: apps/web/src/components/(dashboard)/settings/layout/activity-back.tsx:20
+#: apps/web/src/components/forms/v2/signup.tsx:497
+msgid "Back"
+msgstr "Back"
+
+#: apps/web/src/app/(unauthenticated)/articles/signature-disclosure/page.tsx:109
+msgid "Back to Documents"
+msgstr "Back to Documents"
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:146
+msgid "Background Color"
+msgstr "Background Color"
+
+#: apps/web/src/components/forms/signin.tsx:451
+msgid "Backup Code"
+msgstr "Backup Code"
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:164
+msgid "Backup codes"
+msgstr "Backup codes"
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:74
+msgid "Banner Updated"
+msgstr "Banner Updated"
+
+#: apps/web/src/components/forms/v2/signup.tsx:460
+msgid "Basic details"
+msgstr "Basic details"
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:74
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:61
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:117
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:120
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:108
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:116
+msgid "Billing"
+msgstr "Billing"
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:99
+msgid "Browser"
+msgstr "Browser"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:279
+msgid "Bulk Import"
+msgstr "Bulk Import"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:156
+msgid "By deleting this document, the following will occur:"
+msgstr "By deleting this document, the following will occur:"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:114
+msgid "By enabling 2FA, you will be required to enter a code from your authenticator app every time you sign in."
+msgstr "By enabling 2FA, you will be required to enter a code from your authenticator app every time you sign in."
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:186
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:190
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:108
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:248
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:157
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:198
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:109
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:81
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:78
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:119
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:470
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:178
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx:74
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:164
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:189
+#: apps/web/src/app/(signing)/sign/[token]/form.tsx:143
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:215
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:327
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:110
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:250
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:333
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:176
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:242
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:163
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:185
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:166
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:218
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:163
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:104
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:369
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:102
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:150
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:278
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:162
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:187
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:137
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:257
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:163
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:452
+msgid "Cancel"
+msgstr "Cancel"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:226
+msgid "Cancelled by user"
+msgstr "Cancelled by user"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:132
+msgid "Charts"
+msgstr "Charts"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:179
+msgid "Checkout"
+msgstr "Checkout"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:271
+msgid "Choose an existing recipient from below to continue"
+msgstr "Choose an existing recipient from below to continue"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:267
+msgid "Choose Direct Link Recipient"
+msgstr "Choose Direct Link Recipient"
+
+#: apps/web/src/components/forms/token.tsx:200
+msgid "Choose..."
+msgstr "Choose..."
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:160
+msgid "Claim account"
+msgstr "Claim account"
+
+#: apps/web/src/components/forms/v2/signup.tsx:469
+msgid "Claim username"
+msgstr "Claim username"
+
+#: apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx:28
+msgid "Claim your profile later"
+msgstr "Claim your profile later"
+
+#: apps/web/src/components/forms/v2/signup.tsx:267
+msgid "Claim your username now"
+msgstr "Claim your username now"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:130
+msgid "Click here to get started"
+msgstr "Click here to get started"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:78
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:118
+#: apps/web/src/components/document/document-history-sheet.tsx:131
+msgid "Click here to retry"
+msgstr "Click here to retry"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:392
+msgid "Click here to upload"
+msgstr "Click here to upload"
+
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:52
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:65
+msgid "Click to copy signing link for sending to recipient"
+msgstr "Click to copy signing link for sending to recipient"
+
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:175
+#: apps/web/src/app/(signing)/sign/[token]/form.tsx:107
+msgid "Click to insert field"
+msgstr "Click to insert field"
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:126
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:304
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:125
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:138
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:121
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:180
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:102
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:321
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:425
+msgid "Close"
+msgstr "Close"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:58
+#: apps/web/src/components/forms/v2/signup.tsx:522
+msgid "Complete"
+msgstr "Complete"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:67
+msgid "Complete Approval"
+msgstr "Complete Approval"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:66
+msgid "Complete Signing"
+msgstr "Complete Signing"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:65
+msgid "Complete Viewing"
+msgstr "Complete Viewing"
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:58
+#: apps/web/src/components/formatter/document-status.tsx:28
+msgid "Completed"
+msgstr "Completed"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:43
+msgid "Completed documents"
+msgstr "Completed documents"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:94
+msgid "Completed Documents"
+msgstr "Completed Documents"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:133
+msgid "Configure general settings for the document."
+msgstr "Configure general settings for the document."
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:77
+msgid "Configure general settings for the template."
+msgstr "Configure general settings for the template."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:339
+msgid "Configure template"
+msgstr "Configure template"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:479
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:462
+msgid "Confirm"
+msgstr "Confirm"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:207
+msgid "Confirm by typing <0>{confirmTransferMessage}</0>"
+msgstr "Confirm by typing <0>{confirmTransferMessage}</0>"
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:149
+msgid "Confirm by typing <0>{deleteMessage}</0>"
+msgstr "Confirm by typing <0>{deleteMessage}</0>"
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:152
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:140
+msgid "Confirm by typing: <0>{deleteMessage}</0>"
+msgstr "Confirm by typing: <0>{deleteMessage}</0>"
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:157
+msgid "Confirm Deletion"
+msgstr "Confirm Deletion"
+
+#: apps/web/src/app/(unauthenticated)/unverified-account/page.tsx:19
+msgid "Confirm email"
+msgstr "Confirm email"
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:53
+msgid "Confirmation email sent"
+msgstr "Confirmation email sent"
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:189
+msgid "Content"
+msgstr "Content"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:252
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:135
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:108
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:99
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:330
+msgid "Continue"
+msgstr "Continue"
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:141
+msgid "Continue to login"
+msgstr "Continue to login"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:77
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:31
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:163
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:40
+#: apps/web/src/components/forms/public-profile-form.tsx:117
+msgid "Copied to clipboard"
+msgstr "Copied to clipboard"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:169
+msgid "Copy sharable link"
+msgstr "Copy sharable link"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:397
+msgid "Copy Shareable Link"
+msgstr "Copy Shareable Link"
+
+#: apps/web/src/components/forms/token.tsx:288
+msgid "Copy token"
+msgstr "Copy token"
+
+#: apps/web/src/app/(profile)/profile-header.tsx:83
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:245
+msgid "Create"
+msgstr "Create"
+
+#: apps/web/src/components/forms/v2/signup.tsx:252
+msgid "Create a new account"
+msgstr "Create a new account"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:150
+msgid "Create a team to collaborate with your team members."
+msgstr "Create a team to collaborate with your team members."
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:106
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:111
+msgid "Create account"
+msgstr "Create account"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:310
+msgid "Create and send"
+msgstr "Create and send"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:312
+msgid "Create as draft"
+msgstr "Create as draft"
+
+#: apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx:35
+msgid "Create Direct Link"
+msgstr "Create Direct Link"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:202
+msgid "Create Direct Signing Link"
+msgstr "Create Direct Signing Link"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:189
+msgid "Create document from template"
+msgstr "Create document from template"
+
+#: apps/web/src/app/(profile)/profile-header.tsx:79
+msgid "Create now"
+msgstr "Create now"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:352
+msgid "Create one automatically"
+msgstr "Create one automatically"
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:176
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:246
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:138
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:146
+msgid "Create team"
+msgstr "Create team"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:226
+msgid "Create Team"
+msgstr "Create Team"
+
+#: apps/web/src/components/forms/token.tsx:250
+#: apps/web/src/components/forms/token.tsx:259
+msgid "Create token"
+msgstr "Create token"
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:125
+msgid "Create webhook"
+msgstr "Create webhook"
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:117
+msgid "Create Webhook"
+msgstr "Create Webhook"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:214
+msgid "Create your account and start using state-of-the-art document signing."
+msgstr "Create your account and start using state-of-the-art document signing."
+
+#: apps/web/src/components/forms/v2/signup.tsx:256
+msgid "Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp."
+msgstr "Create your account and start using state-of-the-art document signing. Open and beautiful signing is within your grasp."
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:72
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:48
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:68
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:63
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:84
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:276
+msgid "Created"
+msgstr "Created"
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:35
+msgid "Created At"
+msgstr "Created At"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:82
+msgid "Created by"
+msgstr "Created by"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:49
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx:90
+msgid "Created on"
+msgstr "Created on"
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:68
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:89
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:101
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:94
+msgid "Created on <0/>"
+msgstr "Created on <0/>"
+
+#: apps/web/src/components/forms/password.tsx:107
+msgid "Current Password"
+msgstr "Current Password"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:69
+msgid "Current plan: {0}"
+msgstr "Current plan: {0}"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:28
+msgid "Daily"
+msgstr "Daily"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:255
+msgid "Dark Mode"
+msgstr "Dark Mode"
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:70
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:148
+msgid "Date"
+msgstr "Date"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:88
+msgid "Date created"
+msgstr "Date created"
+
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:47
+msgid "Decline"
+msgstr "Decline"
+
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:26
+msgid "Declined team invitation"
+msgstr "Declined team invitation"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:141
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:187
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:200
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:177
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:211
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:90
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:104
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:91
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:90
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:123
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:109
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:121
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:109
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:167
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:113
+msgid "Delete"
+msgstr "Delete"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:137
+msgid "Delete account"
+msgstr "Delete account"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:98
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:105
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:83
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:97
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:104
+msgid "Delete Account"
+msgstr "Delete Account"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:135
+msgid "Delete document"
+msgstr "Delete document"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:85
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:98
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:105
+msgid "Delete Document"
+msgstr "Delete Document"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:184
+msgid "Delete passkey"
+msgstr "Delete passkey"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:191
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:118
+msgid "Delete team"
+msgstr "Delete team"
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:73
+msgid "Delete team member"
+msgstr "Delete team member"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:88
+msgid "Delete the document. This action is irreversible so proceed with caution."
+msgstr "Delete the document. This action is irreversible so proceed with caution."
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:87
+msgid "Delete the users account and all its contents. This action is irreversible and will cancel their subscription, so proceed with caution."
+msgstr "Delete the users account and all its contents. This action is irreversible and will cancel their subscription, so proceed with caution."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:117
+msgid "Delete Webhook"
+msgstr "Delete Webhook"
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:86
+msgid "Delete your account and all its contents, including completed documents. This action is irreversible and will cancel your subscription, so proceed with caution."
+msgstr "Delete your account and all its contents, including completed documents. This action is irreversible and will cancel your subscription, so proceed with caution."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:42
+msgid "Deleted"
+msgstr "Deleted"
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:157
+msgid "Deleting account..."
+msgstr "Deleting account..."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:135
+#~ msgid "Deleting document"
+#~ msgstr "Deleting document"
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/user-security-activity-data-table.tsx:75
+msgid "Device"
+msgstr "Device"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:119
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:46
+msgid "direct link"
+msgstr "direct link"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:76
+msgid "Direct link"
+msgstr "Direct link"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:46
+msgid "direct link disabled"
+msgstr "direct link disabled"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:363
+msgid "Direct Link Signing"
+msgstr "Direct Link Signing"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:115
+msgid "Direct link signing has been disabled"
+msgstr "Direct link signing has been disabled"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:114
+msgid "Direct link signing has been enabled"
+msgstr "Direct link signing has been enabled"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:123
+msgid "Direct link templates contain one dynamic recipient placeholder. Anyone with access to this link can sign the document, and it will then appear on your documents page."
+msgstr "Direct link templates contain one dynamic recipient placeholder. Anyone with access to this link can sign the document, and it will then appear on your documents page."
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:142
+msgid "Direct template link deleted"
+msgstr "Direct template link deleted"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:228
+msgid "Direct template link usage exceeded ({0}/{1})"
+msgstr "Direct template link usage exceeded ({0}/{1})"
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:419
+msgid "Disable"
+msgstr "Disable"
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:92
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:99
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:142
+msgid "Disable 2FA"
+msgstr "Disable 2FA"
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:116
+msgid "Disable Two Factor Authentication before deleting your account."
+msgstr "Disable Two Factor Authentication before deleting your account."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:80
+msgid "Disabled"
+msgstr "Disabled"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:380
+msgid "Disabling direct link signing will prevent anyone from accessing the link."
+msgstr "Disabling direct link signing will prevent anyone from accessing the link."
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:75
+msgid "Display your name and email in documents"
+msgstr "Display your name and email in documents"
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:63
+msgid "Do you want to delete this template?"
+msgstr "Do you want to delete this template?"
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:63
+msgid "Do you want to duplicate this template?"
+msgstr "Do you want to duplicate this template?"
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:122
+msgid "Documenso will delete <0>all of your documents</0>, along with all of your completed documents, signatures, and all other resources belonging to your Account."
+msgstr "Documenso will delete <0>all of your documents</0>, along with all of your completed documents, signatures, and all other resources belonging to your Account."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:122
+msgid "Document"
+msgstr "Document"
+
+#: apps/web/src/components/formatter/document-status.tsx:47
+msgid "Document All"
+msgstr "Document All"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:134
+msgid "Document Approved"
+msgstr "Document Approved"
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:40
+msgid "Document Cancelled"
+msgstr "Document Cancelled"
+
+#: apps/web/src/components/formatter/document-status.tsx:29
+msgid "Document completed"
+msgstr "Document completed"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:142
+msgid "Document created"
+msgstr "Document created"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:51
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:147
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:59
+msgid "Document deleted"
+msgstr "Document deleted"
+
+#: apps/web/src/components/formatter/document-status.tsx:35
+msgid "Document draft"
+msgstr "Document draft"
+
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:58
+msgid "Document Duplicated"
+msgstr "Document Duplicated"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:158
+#: apps/web/src/components/document/document-history-sheet.tsx:102
+msgid "Document history"
+msgstr "Document history"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:74
+msgid "Document ID"
+msgstr "Document ID"
+
+#: apps/web/src/components/formatter/document-status.tsx:41
+msgid "Document inbox"
+msgstr "Document inbox"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:68
+msgid "Document Limit Exceeded!"
+msgstr "Document Limit Exceeded!"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:82
+msgid "Document metrics"
+msgstr "Document metrics"
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:49
+msgid "Document moved"
+msgstr "Document moved"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:158
+msgid "Document no longer available to sign"
+msgstr "Document no longer available to sign"
+
+#: apps/web/src/components/formatter/document-status.tsx:23
+msgid "Document pending"
+msgstr "Document pending"
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:97
+msgid "Document re-sent"
+msgstr "Document re-sent"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:36
+msgid "Document resealed"
+msgstr "Document resealed"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:276
+msgid "Document sent"
+msgstr "Document sent"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:132
+msgid "Document Signed"
+msgstr "Document Signed"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:142
+msgid "Document signing process will be cancelled"
+msgstr "Document signing process will be cancelled"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:78
+msgid "Document status"
+msgstr "Document status"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:70
+msgid "Document title"
+msgstr "Document title"
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:51
+msgid "Document upload disabled due to unpaid invoices"
+msgstr "Document upload disabled due to unpaid invoices"
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:81
+msgid "Document uploaded"
+msgstr "Document uploaded"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:133
+msgid "Document Viewed"
+msgstr "Document Viewed"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:139
+msgid "Document will be permanently deleted"
+msgstr "Document will be permanently deleted"
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:65
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:124
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:113
+#: apps/web/src/app/(dashboard)/documents/[id]/edit/document-edit-page-view.tsx:82
+#: apps/web/src/app/(dashboard)/documents/[id]/loading.tsx:16
+#: apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx:15
+#: apps/web/src/app/(dashboard)/documents/documents-page-view.tsx:110
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:166
+#: apps/web/src/app/not-found.tsx:21
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:200
+#: apps/web/src/components/(dashboard)/layout/desktop-nav.tsx:18
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:35
+#: apps/web/src/components/ui/user-profile-timur.tsx:60
+msgid "Documents"
+msgstr "Documents"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:113
+msgid "Documents Received"
+msgstr "Documents Received"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:118
+msgid "Documents Viewed"
+msgstr "Documents Viewed"
+
+#: apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx:40
+#: apps/web/src/app/(unauthenticated)/signin/page.tsx:61
+msgid "Don't have an account? <0>Sign up</0>"
+msgstr "Don't have an account? <0>Sign up</0>"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:111
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:120
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:141
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:160
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:108
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:185
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:107
+msgid "Download"
+msgstr "Download"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx:81
+msgid "Download Audit Logs"
+msgstr "Download Audit Logs"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx:84
+msgid "Download Certificate"
+msgstr "Download Certificate"
+
+#: apps/web/src/components/formatter/document-status.tsx:34
+msgid "Draft"
+msgstr "Draft"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:41
+msgid "Draft documents"
+msgstr "Draft documents"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:86
+msgid "Drafted Documents"
+msgstr "Drafted Documents"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:121
+msgid "Due to an unpaid invoice, your team has been restricted. Please settle the payment to restore full access to your team."
+msgstr "Due to an unpaid invoice, your team has been restricted. Please settle the payment to restore full access to your team."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:133
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:165
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:85
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:118
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:71
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:91
+msgid "Duplicate"
+msgstr "Duplicate"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:104
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:112
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:102
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:154
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:111
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:99
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:62
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:77
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:104
+msgid "Edit"
+msgstr "Edit"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:94
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:100
+msgid "Edit webhook"
+msgstr "Edit webhook"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:119
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:114
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:103
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:213
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:220
+#: apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx:118
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:126
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:169
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:153
+#: apps/web/src/components/forms/forgot-password.tsx:81
+#: apps/web/src/components/forms/profile.tsx:122
+#: apps/web/src/components/forms/signin.tsx:304
+#: apps/web/src/components/forms/signup.tsx:180
+msgid "Email"
+msgstr "Email"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:134
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:300
+#: apps/web/src/components/forms/send-confirmation-email.tsx:82
+msgid "Email address"
+msgstr "Email address"
+
+#: apps/web/src/components/forms/v2/signup.tsx:316
+msgid "Email Address"
+msgstr "Email Address"
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:113
+msgid "Email Confirmed!"
+msgstr "Email Confirmed!"
+
+#: apps/web/src/app/(unauthenticated)/check-email/page.tsx:20
+msgid "Email sent!"
+msgstr "Email sent!"
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:77
+msgid "Email verification has been removed"
+msgstr "Email verification has been removed"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:33
+msgid "Email verification has been resent"
+msgstr "Email verification has been resent"
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:153
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:262
+msgid "Enable 2FA"
+msgstr "Enable 2FA"
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:194
+msgid "Enable Authenticator App"
+msgstr "Enable Authenticator App"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:251
+msgid "Enable direct link signing"
+msgstr "Enable direct link signing"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:374
+msgid "Enable Direct Link Signing"
+msgstr "Enable Direct Link Signing"
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:123
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:138
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:142
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:80
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:166
+msgid "Enabled"
+msgstr "Enabled"
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:38
+msgid "Ends On"
+msgstr "Ends On"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:137
+msgid "Enter your email"
+msgstr "Enter your email"
+
+#: apps/web/src/app/(recipient)/d/[token]/configure-direct-template.tsx:135
+msgid "Enter your email address to receive the completed document."
+msgstr "Enter your email address to receive the completed document."
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:122
+msgid "Enter your name"
+msgstr "Enter your name"
+
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:278
+msgid "Enter your text here"
+msgstr "Enter your text here"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:41
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:78
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:198
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:225
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:255
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:286
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:57
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:106
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:112
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:152
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:175
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:209
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:51
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:56
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:152
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:122
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:151
+#: apps/web/src/app/(signing)/sign/[token]/checkbox-field.tsx:212
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:99
+#: apps/web/src/app/(signing)/sign/[token]/date-field.tsx:125
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:105
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:136
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:83
+#: apps/web/src/app/(signing)/sign/[token]/email-field.tsx:109
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:121
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:147
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:149
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:194
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:101
+#: apps/web/src/app/(signing)/sign/[token]/radio-field.tsx:128
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:148
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:174
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:167
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:195
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:54
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:101
+msgid "Error"
+msgstr "Error"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:142
+msgid "Everyone has signed"
+msgstr "Everyone has signed"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:166
+msgid "Everyone has signed! You will receive an Email copy of the signed document."
+msgstr "Everyone has signed! You will receive an Email copy of the signed document."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:232
+msgid "Exceeded timeout"
+msgstr "Exceeded timeout"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:114
+msgid "Expired"
+msgstr "Expired"
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:108
+msgid "Expires on <0/>"
+msgstr "Expires on <0/>"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:42
+msgid "Failed to reseal document"
+msgstr "Failed to reseal document"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:78
+msgid "Failed to update recipient"
+msgstr "Failed to update recipient"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:82
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:88
+msgid "Failed to update webhook"
+msgstr "Failed to update webhook"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:143
+msgid "Fields"
+msgstr "Fields"
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:125
+msgid "File cannot be larger than {APP_DOCUMENT_UPLOAD_SIZE_LIMIT}MB"
+msgstr "File cannot be larger than {APP_DOCUMENT_UPLOAD_SIZE_LIMIT}MB"
+
+#: apps/web/src/app/(unauthenticated)/forgot-password/page.tsx:21
+#: apps/web/src/components/forms/signin.tsx:336
+msgid "Forgot your password?"
+msgstr "Forgot your password?"
+
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:326
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:193
+#: apps/web/src/components/forms/profile.tsx:110
+#: apps/web/src/components/forms/v2/signup.tsx:300
+msgid "Full Name"
+msgstr "Full Name"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:132
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:76
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:60
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:43
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:51
+msgid "General"
+msgstr "General"
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:30
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:33
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:51
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:32
+#: apps/web/src/components/partials/not-found.tsx:67
+msgid "Go Back"
+msgstr "Go Back"
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:64
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:95
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:124
+#: apps/web/src/app/(unauthenticated)/verify-email/page.tsx:38
+msgid "Go back home"
+msgstr "Go back home"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:223
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:57
+msgid "Go Back Home"
+msgstr "Go Back Home"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:76
+msgid "Go to owner"
+msgstr "Go to owner"
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:147
+msgid "Go to your <0>public profile settings</0> to add documents."
+msgstr "Go to your <0>public profile settings</0> to add documents."
+
+#: apps/web/src/app/(dashboard)/settings/profile/page.tsx:29
+msgid "Here you can edit your personal details."
+msgstr "Here you can edit your personal details."
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:35
+msgid "Here you can manage your password and security settings."
+msgstr "Here you can manage your password and security settings."
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:206
+msgid "Here's how it works:"
+msgstr "Here's how it works:"
+
+#: apps/web/src/components/ui/user-profile-timur.tsx:49
+msgid "Hey I’m Timur"
+msgstr "Hey I’m Timur"
+
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:187
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:200
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:155
+msgid "Hide"
+msgstr "Hide"
+
+#: apps/web/src/components/document/document-history-sheet.tsx:109
+msgid "Hide additional information"
+msgstr "Hide additional information"
+
+#: apps/web/src/app/(internal)/%5F%5Fhtmltopdf/certificate/page.tsx:40
+#~ msgid "I am the owner of this document"
+#~ msgstr "I am the owner of this document"
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:186
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:173
+msgid "I'm sure! Delete it"
+msgstr "I'm sure! Delete it"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:103
+msgid "If they accept this request, the team will be transferred to their account."
+msgstr "If they accept this request, the team will be transferred to their account."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:196
+msgid "If you do not want to use the authenticator prompted, you can close it, which will then display the next available authenticator."
+msgstr "If you do not want to use the authenticator prompted, you can close it, which will then display the next available authenticator."
+
+#: apps/web/src/app/(unauthenticated)/unverified-account/page.tsx:30
+msgid "If you don't find the confirmation link in your inbox, you can request a new one below."
+msgstr "If you don't find the confirmation link in your inbox, you can request a new one below."
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:213
+msgid "If your authenticator app does not support QR codes, you can use the following code instead:"
+msgstr "If your authenticator app does not support QR codes, you can use the following code instead:"
+
+#: apps/web/src/components/formatter/document-status.tsx:40
+msgid "Inbox"
+msgstr "Inbox"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:47
+msgid "Inbox documents"
+msgstr "Inbox documents"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:62
+msgid "Information"
+msgstr "Information"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:160
+msgid "Inserted"
+msgstr "Inserted"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:60
+msgid "Instance Stats"
+msgstr "Instance Stats"
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:151
+msgid "Invalid code. Please try again."
+msgstr "Invalid code. Please try again."
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:100
+msgid "Invalid file"
+msgstr "Invalid file"
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:33
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:36
+msgid "Invalid link"
+msgstr "Invalid link"
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:39
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:39
+msgid "Invalid token"
+msgstr "Invalid token"
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:123
+msgid "Invitation accepted!"
+msgstr "Invitation accepted!"
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:118
+msgid "Invitation declined"
+msgstr "Invitation declined"
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:79
+msgid "Invitation has been deleted"
+msgstr "Invitation has been deleted"
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:62
+msgid "Invitation has been resent"
+msgstr "Invitation has been resent"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:374
+msgid "Invite"
+msgstr "Invite"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:250
+msgid "Invite member"
+msgstr "Invite member"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:275
+msgid "Invite Members"
+msgstr "Invite Members"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:258
+msgid "Invite team members"
+msgstr "Invite team members"
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:128
+msgid "Invited At"
+msgstr "Invited At"
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:53
+msgid "Invoice"
+msgstr "Invoice"
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:134
+msgid "It looks like {0} hasn't added any documents to their profile yet."
+msgstr "It looks like {0} hasn't added any documents to their profile yet."
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:87
+msgid "It seems that the provided token has expired. We've just sent you another token, please check your email and try again."
+msgstr "It seems that the provided token has expired. We've just sent you another token, please check your email and try again."
+
+#: apps/web/src/app/(unauthenticated)/verify-email/page.tsx:30
+msgid "It seems that there is no token provided, if you are trying to verify your email please follow the link in your email."
+msgstr "It seems that there is no token provided, if you are trying to verify your email please follow the link in your email."
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:31
+msgid "It seems that there is no token provided. Please check your email and try again."
+msgstr "It seems that there is no token provided. Please check your email and try again."
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:61
+msgid "Last 14 days"
+msgstr "Last 14 days"
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:64
+msgid "Last 30 days"
+msgstr "Last 30 days"
+
+#: apps/web/src/components/(dashboard)/period-selector/period-selector.tsx:58
+msgid "Last 7 days"
+msgstr "Last 7 days"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:52
+msgid "Last modified"
+msgstr "Last modified"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:94
+msgid "Last updated"
+msgstr "Last updated"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:53
+msgid "Last updated at"
+msgstr "Last updated at"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:69
+msgid "Last used"
+msgstr "Last used"
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:111
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:117
+msgid "Leave"
+msgstr "Leave"
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:73
+msgid "Leave team"
+msgstr "Leave team"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:254
+msgid "Light Mode"
+msgstr "Light Mode"
+
+#: apps/web/src/app/(profile)/profile-header.tsx:71
+msgid "Like to have your own public profile with agreements?"
+msgstr "Like to have your own public profile with agreements?"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:216
+msgid "Link template"
+msgstr "Link template"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:80
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:85
+msgid "Listening to {0}"
+msgstr "Listening to {0}"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:100
+msgid "Load older activity"
+msgstr "Load older activity"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/loading.tsx:33
+msgid "Loading document..."
+msgstr "Loading document..."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/loading.tsx:20
+#: apps/web/src/app/(dashboard)/documents/[id]/sent/page.tsx:19
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:91
+msgid "Loading Document..."
+msgstr "Loading Document..."
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:92
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:91
+msgid "Loading teams..."
+msgstr "Loading teams..."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:100
+msgid "Loading..."
+msgstr "Loading..."
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:54
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx:78
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:72
+msgid "Login"
+msgstr "Login"
+
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:101
+msgid "Manage"
+msgstr "Manage"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:88
+msgid "Manage {0}'s profile"
+msgstr "Manage {0}'s profile"
+
+#: apps/web/src/app/(dashboard)/settings/teams/page.tsx:26
+msgid "Manage all teams you are currently associated with."
+msgstr "Manage all teams you are currently associated with."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:343
+msgid "Manage details for this public template"
+msgstr "Manage details for this public template"
+
+#: apps/web/src/app/(dashboard)/templates/[id]/template-direct-link-dialog-wrapper.tsx:33
+msgid "Manage Direct Link"
+msgstr "Manage Direct Link"
+
+#: apps/web/src/app/(dashboard)/admin/documents/page.tsx:13
+msgid "Manage documents"
+msgstr "Manage documents"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:118
+msgid "Manage passkeys"
+msgstr "Manage passkeys"
+
+#: apps/web/src/components/(teams)/team-billing-portal-button.tsx:41
+msgid "Manage subscription"
+msgstr "Manage subscription"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:66
+msgid "Manage Subscription"
+msgstr "Manage Subscription"
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:24
+msgid "Manage subscriptions"
+msgstr "Manage subscriptions"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:81
+msgid "Manage team subscription."
+msgstr "Manage team subscription."
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:163
+msgid "Manage teams"
+msgstr "Manage teams"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:367
+msgid "Manage the direct link signing for this template"
+msgstr "Manage the direct link signing for this template"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx:32
+msgid "Manage the members or invite new members."
+msgstr "Manage the members or invite new members."
+
+#: apps/web/src/app/(dashboard)/admin/users/page.tsx:35
+msgid "Manage users"
+msgstr "Manage users"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx:33
+msgid "Manage your passkeys."
+msgstr "Manage your passkeys."
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/page.tsx:27
+msgid "Manage your site settings here"
+msgstr "Manage your site settings here"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:120
+msgid "Mark as Viewed"
+msgstr "Mark as Viewed"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:137
+msgid "MAU (created document)"
+msgstr "MAU (created document)"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:143
+msgid "MAU (had document completed)"
+msgstr "MAU (had document completed)"
+
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:90
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:113
+msgid "Member Since"
+msgstr "Member Since"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/members/page.tsx:31
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:71
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:79
+msgid "Members"
+msgstr "Members"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:40
+msgid "Modify recipients"
+msgstr "Modify recipients"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:30
+msgid "Monthly"
+msgstr "Monthly"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:138
+msgid "Monthly Active Users: Users that created at least one Document"
+msgstr "Monthly Active Users: Users that created at least one Document"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:145
+msgid "Monthly Active Users: Users that had at least one of their documents completed"
+msgstr "Monthly Active Users: Users that had at least one of their documents completed"
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:122
+msgid "Move"
+msgstr "Move"
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:78
+msgid "Move Document to Team"
+msgstr "Move Document to Team"
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:77
+msgid "Move Template to Team"
+msgstr "Move Template to Team"
+
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:172
+#: apps/web/src/app/(dashboard)/templates/data-table-action-dropdown.tsx:82
+msgid "Move to Team"
+msgstr "Move to Team"
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:122
+msgid "Moving..."
+msgstr "Moving..."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:44
+msgid "My templates"
+msgstr "My templates"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:101
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:99
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:98
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:144
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:59
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:235
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:242
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:119
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:170
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:153
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:141
+#: apps/web/src/components/forms/signup.tsx:164
+msgid "Name"
+msgstr "Name"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:210
+msgid "Need to sign documents?"
+msgstr "Need to sign documents?"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table.tsx:74
+msgid "Never"
+msgstr "Never"
+
+#: apps/web/src/components/forms/token.tsx:224
+msgid "Never expire"
+msgstr "Never expire"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:176
+msgid "New team owner"
+msgstr "New team owner"
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:96
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:103
+msgid "New Template"
+msgstr "New Template"
+
+#: apps/web/src/components/forms/v2/signup.tsx:509
+msgid "Next"
+msgstr "Next"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:58
+msgid "Next field"
+msgstr "Next field"
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:24
+msgid "No active drafts"
+msgstr "No active drafts"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:42
+msgid "No payment required"
+msgstr "No payment required"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:125
+msgid "No public profile templates found"
+msgstr "No public profile templates found"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:108
+msgid "No recent activity"
+msgstr "No recent activity"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:55
+msgid "No recipients"
+msgstr "No recipients"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:195
+msgid "No results found."
+msgstr "No results found."
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:28
+msgid "No token provided"
+msgstr "No token provided"
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:286
+msgid "No valid direct templates found"
+msgstr "No valid direct templates found"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:293
+msgid "No valid recipients found"
+msgstr "No valid recipients found"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/multiselect-role-combobox.tsx:64
+#: apps/web/src/components/(dashboard)/settings/webhooks/trigger-multiselect-combobox.tsx:77
+msgid "No value found."
+msgstr "No value found."
+
+#: apps/web/src/app/(unauthenticated)/forgot-password/page.tsx:25
+msgid "No worries, it happens! Enter your email and we'll email you a special link to reset your password."
+msgstr "No worries, it happens! Enter your email and we'll email you a special link to reset your password."
+
+#: apps/web/src/components/forms/signin.tsx:142
+msgid "Not supported"
+msgstr "Not supported"
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:19
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:34
+msgid "Nothing to do"
+msgstr "Nothing to do"
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:128
+msgid "On this page, you can create a new webhook."
+msgstr "On this page, you can create a new webhook."
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:27
+msgid "On this page, you can create new API tokens and manage the existing ones. <0/>Also see our <1>Documentation</1>."
+msgstr "On this page, you can create new API tokens and manage the existing ones. <0/>Also see our <1>Documentation</1>."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:61
+msgid "On this page, you can create new API tokens and manage the existing ones. <0/>You can view our swagger docs <1>here</1>"
+msgstr "On this page, you can create new API tokens and manage the existing ones. <0/>You can view our swagger docs <1>here</1>"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:30
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:35
+msgid "On this page, you can create new Webhooks and manage the existing ones."
+msgstr "On this page, you can create new Webhooks and manage the existing ones."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:95
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:101
+msgid "On this page, you can edit the webhook and its settings."
+msgstr "On this page, you can edit the webhook and its settings."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:134
+msgid "Once confirmed, the following will occur:"
+msgstr "Once confirmed, the following will occur:"
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:224
+msgid "Once you have scanned the QR code or entered the code manually, enter the code provided by your authenticator app below."
+msgstr "Once you have scanned the QR code or entered the code manually, enter the code provided by your authenticator app below."
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:19
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:19
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:37
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:19
+#: apps/web/src/components/partials/not-found.tsx:49
+msgid "Oops! Something went wrong."
+msgstr "Oops! Something went wrong."
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:97
+msgid "Opened"
+msgstr "Opened"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:337
+#: apps/web/src/components/forms/signup.tsx:243
+#: apps/web/src/components/forms/signup.tsx:267
+#: apps/web/src/components/forms/v2/signup.tsx:371
+msgid "Or"
+msgstr "Or"
+
+#: apps/web/src/components/forms/signin.tsx:356
+msgid "Or continue with"
+msgstr "Or continue with"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:289
+msgid "Otherwise, the document will be created as a draft."
+msgstr "Otherwise, the document will be created as a draft."
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:96
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:76
+msgid "Owner"
+msgstr "Owner"
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:77
+msgid "Paid"
+msgstr "Paid"
+
+#: apps/web/src/components/forms/signin.tsx:401
+msgid "Passkey"
+msgstr "Passkey"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:229
+msgid "Passkey already exists for the provided authenticator"
+msgstr "Passkey already exists for the provided authenticator"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:219
+msgid "Passkey creation cancelled due to one of the following reasons:"
+msgstr "Passkey creation cancelled due to one of the following reasons:"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:88
+msgid "Passkey has been removed"
+msgstr "Passkey has been removed"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:68
+msgid "Passkey has been updated"
+msgstr "Passkey has been updated"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:177
+msgid "Passkey name"
+msgstr "Passkey name"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:106
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/page.tsx:32
+msgid "Passkeys"
+msgstr "Passkeys"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:158
+msgid "Passkeys allow you to sign in and authenticate using biometrics, password managers, etc."
+msgstr "Passkeys allow you to sign in and authenticate using biometrics, password managers, etc."
+
+#: apps/web/src/components/forms/signin.tsx:143
+msgid "Passkeys are not supported on this browser"
+msgstr "Passkeys are not supported on this browser"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:65
+#: apps/web/src/components/forms/password.tsx:123
+#: apps/web/src/components/forms/reset-password.tsx:110
+#: apps/web/src/components/forms/signin.tsx:322
+#: apps/web/src/components/forms/signup.tsx:196
+#: apps/web/src/components/forms/v2/signup.tsx:332
+msgid "Password"
+msgstr "Password"
+
+#: apps/web/src/components/forms/password.tsx:71
+#: apps/web/src/components/forms/reset-password.tsx:72
+msgid "Password updated"
+msgstr "Password updated"
+
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:46
+msgid "Pay"
+msgstr "Pay"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:89
+msgid "Payment is required to finalise the creation of your team."
+msgstr "Payment is required to finalise the creation of your team."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:82
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:107
+msgid "Payment overdue"
+msgstr "Payment overdue"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:115
+#: apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx:82
+#: apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx:77
+#: apps/web/src/components/formatter/document-status.tsx:22
+msgid "Pending"
+msgstr "Pending"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:46
+msgid "Pending documents"
+msgstr "Pending documents"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:89
+msgid "Pending Documents"
+msgstr "Pending Documents"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:62
+msgid "Pending invitations"
+msgstr "Pending invitations"
+
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:28
+msgid "Pending team deleted."
+msgstr "Pending team deleted."
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:129
+msgid "Personal"
+msgstr "Personal"
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:72
+msgid "Personal Account"
+msgstr "Personal Account"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:152
+msgid "Pick a password"
+msgstr "Pick a password"
+
+#: apps/web/src/components/ui/user-profile-timur.tsx:53
+msgid "Pick any of the following agreements below and start signing to get started"
+msgstr "Pick any of the following agreements below and start signing to get started"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:212
+msgid "Please check the CSV file and make sure it is according to our format"
+msgstr "Please check the CSV file and make sure it is according to our format"
+
+#: apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx:34
+msgid "Please choose your new password"
+msgstr "Please choose your new password"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:174
+msgid "Please contact support if you would like to revert this action."
+msgstr "Please contact support if you would like to revert this action."
+
+#: apps/web/src/components/forms/token.tsx:175
+msgid "Please enter a meaningful name for your token. This will help you identify it later."
+msgstr "Please enter a meaningful name for your token. This will help you identify it later."
+
+#: apps/web/src/app/(signing)/sign/[token]/form.tsx:127
+msgid "Please mark as viewed to complete"
+msgstr "Please mark as viewed to complete"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:457
+msgid "Please note that proceeding will remove direct linking recipient and turn it into a placeholder."
+msgstr "Please note that proceeding will remove direct linking recipient and turn it into a placeholder."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:128
+msgid "Please note that this action is <0>irreversible</0>."
+msgstr "Please note that this action is <0>irreversible</0>."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:119
+msgid "Please note that this action is <0>irreversible</0>. Once confirmed, this document will be permanently deleted."
+msgstr "Please note that this action is <0>irreversible</0>. Once confirmed, this document will be permanently deleted."
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:67
+msgid "Please note that this action is irreversible. Once confirmed, your template will be permanently deleted."
+msgstr "Please note that this action is irreversible. Once confirmed, your template will be permanently deleted."
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:133
+msgid "Please note that this action is irreversible. Once confirmed, your token will be permanently deleted."
+msgstr "Please note that this action is irreversible. Once confirmed, your token will be permanently deleted."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:121
+msgid "Please note that this action is irreversible. Once confirmed, your webhook will be permanently deleted."
+msgstr "Please note that this action is irreversible. Once confirmed, your webhook will be permanently deleted."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:130
+msgid "Please note that you will lose access to all documents associated with this team & all the members will be removed and notified"
+msgstr "Please note that you will lose access to all documents associated with this team & all the members will be removed and notified"
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:103
+msgid "Please provide a token from the authenticator, or a backup code. If you do not have a backup code available, please contact support."
+msgstr "Please provide a token from the authenticator, or a backup code. If you do not have a backup code available, please contact support."
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:120
+msgid "Please provide a token from your authenticator, or a backup code."
+msgstr "Please provide a token from your authenticator, or a backup code."
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:64
+msgid "Please try again and make sure you enter the correct email address."
+msgstr "Please try again and make sure you enter the correct email address."
+
+#: apps/web/src/components/forms/signin.tsx:185
+msgid "Please try again later or login using your normal details"
+msgstr "Please try again later or login using your normal details"
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:80
+msgid "Please try again later."
+msgstr "Please try again later."
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:134
+msgid "Please type <0>{0}</0> to confirm."
+msgstr "Please type <0>{0}</0> to confirm."
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:209
+msgid "Preferences"
+msgstr "Preferences"
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:61
+msgid "Preview and configure template."
+msgstr "Preview and configure template."
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:133
+#: apps/web/src/components/formatter/template-type.tsx:22
+msgid "Private"
+msgstr "Private"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:143
+msgid "Private templates can only be modified and viewed by you."
+msgstr "Private templates can only be modified and viewed by you."
+
+#: apps/web/src/app/(dashboard)/settings/profile/page.tsx:28
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:64
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:36
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:39
+msgid "Profile"
+msgstr "Profile"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:184
+msgid "Profile is currently <0>hidden</0>."
+msgstr "Profile is currently <0>hidden</0>."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:172
+msgid "Profile is currently <0>visible</0>."
+msgstr "Profile is currently <0>visible</0>."
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:72
+#: apps/web/src/components/forms/profile.tsx:72
+msgid "Profile updated"
+msgstr "Profile updated"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:106
+#: apps/web/src/components/formatter/template-type.tsx:27
+msgid "Public"
+msgstr "Public"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:42
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:50
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:53
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:57
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:65
+msgid "Public Profile"
+msgstr "Public Profile"
+
+#: apps/web/src/components/forms/public-profile-form.tsx:146
+msgid "Public profile URL"
+msgstr "Public profile URL"
+
+#: apps/web/src/components/forms/v2/signup.tsx:438
+msgid "Public profile username"
+msgstr "Public profile username"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:110
+msgid "Public templates are connected to your public profile. Any modifications to public templates will also appear in your public profile."
+msgstr "Public templates are connected to your public profile. Any modifications to public templates will also appear in your public profile."
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx:144
+msgid "Read only field"
+msgstr "Read only field"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:90
+msgid "Ready"
+msgstr "Ready"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx:62
+msgid "Reauthentication is required to sign this field"
+msgstr "Reauthentication is required to sign this field"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:57
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:130
+msgid "Recent activity"
+msgstr "Recent activity"
+
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:87
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:280
+msgid "Recipient"
+msgstr "Recipient"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:71
+msgid "Recipient updated"
+msgstr "Recipient updated"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/page.tsx:68
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:34
+msgid "Recipients"
+msgstr "Recipients"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:102
+msgid "Recipients metrics"
+msgstr "Recipients metrics"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:164
+msgid "Recipients will still retain their copy of the document"
+msgstr "Recipients will still retain their copy of the document"
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:26
+msgid "Recovery code copied"
+msgstr "Recovery code copied"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:84
+msgid "Recovery codes"
+msgstr "Recovery codes"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:78
+#: apps/web/src/components/forms/signup.tsx:93
+#: apps/web/src/components/forms/v2/signup.tsx:127
+msgid "Registration Successful"
+msgstr "Registration Successful"
+
+#: apps/web/src/app/(unauthenticated)/forgot-password/page.tsx:34
+msgid "Remembered your password? <0>Sign In</0>"
+msgstr "Remembered your password? <0>Sign In</0>"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:193
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:431
+#: apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx:156
+#: apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx:180
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:89
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:159
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:54
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:166
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:167
+#: apps/web/src/components/forms/avatar-image.tsx:169
+msgid "Remove"
+msgstr "Remove"
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:108
+msgid "Remove team email"
+msgstr "Remove team email"
+
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:164
+msgid "Remove team member"
+msgstr "Remove team member"
+
+#: apps/web/src/components/forms/password.tsx:139
+#: apps/web/src/components/forms/reset-password.tsx:126
+msgid "Repeat Password"
+msgstr "Repeat Password"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:282
+msgid "Request transfer"
+msgstr "Request transfer"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:61
+msgid "Reseal document"
+msgstr "Reseal document"
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:118
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:154
+msgid "Resend"
+msgstr "Resend"
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:128
+msgid "Resend Confirmation Email"
+msgstr "Resend Confirmation Email"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:67
+msgid "Resend verification"
+msgstr "Resend verification"
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:164
+#: apps/web/src/components/forms/public-profile-form.tsx:267
+msgid "Reset"
+msgstr "Reset"
+
+#: apps/web/src/components/forms/forgot-password.tsx:56
+msgid "Reset email sent"
+msgstr "Reset email sent"
+
+#: apps/web/src/app/(unauthenticated)/reset-password/[token]/page.tsx:30
+#: apps/web/src/components/forms/forgot-password.tsx:93
+#: apps/web/src/components/forms/reset-password.tsx:138
+msgid "Reset Password"
+msgstr "Reset Password"
+
+#: apps/web/src/components/forms/reset-password.tsx:138
+msgid "Resetting Password..."
+msgstr "Resetting Password..."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:99
+msgid "Resolve"
+msgstr "Resolve"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:132
+msgid "Resolve payment"
+msgstr "Resolve payment"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:168
+msgid "Retry"
+msgstr "Retry"
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:48
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:50
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:45
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:48
+msgid "Return"
+msgstr "Return"
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:130
+msgid "Return to Dashboard"
+msgstr "Return to Dashboard"
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:136
+msgid "Return to Home"
+msgstr "Return to Home"
+
+#: apps/web/src/app/(unauthenticated)/check-email/page.tsx:32
+#: apps/web/src/app/(unauthenticated)/reset-password/page.tsx:32
+msgid "Return to sign in"
+msgstr "Return to sign in"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:118
+msgid "Revoke"
+msgstr "Revoke"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:87
+msgid "Revoke access"
+msgstr "Revoke access"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:283
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:318
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:163
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:82
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:123
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:105
+msgid "Role"
+msgstr "Role"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:131
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:108
+msgid "Roles"
+msgstr "Roles"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:444
+#: apps/web/src/app/(signing)/sign/[token]/number-field.tsx:336
+#: apps/web/src/app/(signing)/sign/[token]/text-field.tsx:342
+msgid "Save"
+msgstr "Save"
+
+#: apps/web/src/app/(dashboard)/documents/data-table-sender-filter.tsx:63
+#: apps/web/src/components/(dashboard)/layout/desktop-nav.tsx:81
+#: apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx:69
+#: apps/web/src/components/(teams)/tables/user-settings-teams-page-data-table.tsx:64
+msgid "Search"
+msgstr "Search"
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:63
+msgid "Search by document title"
+msgstr "Search by document title"
+
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:86
+msgid "Search by name or email"
+msgstr "Search by name or email"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:189
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:217
+msgid "Secret"
+msgstr "Secret"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:34
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:77
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:80
+msgid "Security"
+msgstr "Security"
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/page.tsx:25
+msgid "Security activity"
+msgstr "Security activity"
+
+#: apps/web/src/app/(signing)/sign/[token]/dropdown-field.tsx:192
+msgid "Select"
+msgstr "Select"
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:87
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:86
+msgid "Select a team"
+msgstr "Select a team"
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:81
+msgid "Select a team to move this document to. This action cannot be undone."
+msgstr "Select a team to move this document to. This action cannot be undone."
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:80
+msgid "Select a team to move this template to. This action cannot be undone."
+msgstr "Select a team to move this template to. This action cannot be undone."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:263
+msgid "Select a template you'd like to display on your public profile"
+msgstr "Select a template you'd like to display on your public profile"
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:259
+msgid "Select a template you'd like to display on your team's public profile"
+msgstr "Select a template you'd like to display on your team's public profile"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:222
+msgid "Select passkey"
+msgstr "Select passkey"
+
+#: apps/web/src/components/forms/send-confirmation-email.tsx:94
+msgid "Send confirmation email"
+msgstr "Send confirmation email"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:273
+msgid "Send document"
+msgstr "Send document"
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:191
+msgid "Send reminder"
+msgstr "Send reminder"
+
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:83
+msgid "Sender"
+msgstr "Sender"
+
+#: apps/web/src/components/forms/forgot-password.tsx:93
+msgid "Sending Reset Email..."
+msgstr "Sending Reset Email..."
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:128
+msgid "Sending..."
+msgstr "Sending..."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:85
+msgid "Sent"
+msgstr "Sent"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:149
+msgid "Set a password"
+msgstr "Set a password"
+
+#: apps/web/src/app/(dashboard)/settings/layout.tsx:20
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:60
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:206
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:47
+msgid "Settings"
+msgstr "Settings"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:196
+msgid "Setup"
+msgstr "Setup"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:145
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:191
+msgid "Share"
+msgstr "Share"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:161
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:203
+msgid "Share Signing Card"
+msgstr "Share Signing Card"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:163
+msgid "Show"
+msgstr "Show"
+
+#: apps/web/src/components/document/document-history-sheet.tsx:111
+msgid "Show additional information"
+msgstr "Show additional information"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:45
+msgid "Show templates in your public profile for your audience to sign and get started quickly"
+msgstr "Show templates in your public profile for your audience to sign and get started quickly"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:52
+msgid "Show templates in your team public profile for your audience to sign and get started quickly"
+msgstr "Show templates in your team public profile for your audience to sign and get started quickly"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:83
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:114
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:137
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:192
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:182
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:224
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:121
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:259
+#: apps/web/src/components/ui/user-profile-skeleton.tsx:75
+#: apps/web/src/components/ui/user-profile-timur.tsx:81
+msgid "Sign"
+msgstr "Sign"
+
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:219
+msgid "Sign as {0} <0>({1})</0>"
+msgstr "Sign as {0} <0>({1})</0>"
+
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:219
+#~ msgid "Sign as <0>{0} <1>({1})</1></0>"
+#~ msgstr "Sign as <0>{0} <1>({1})</1></0>"
+
+#: apps/web/src/app/(signing)/sign/[token]/name-field.tsx:183
+msgid "Sign as<0>{0} <1>({1})</1></0>"
+msgstr "Sign as<0>{0} <1>({1})</1></0>"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-dialog.tsx:59
+msgid "Sign field"
+msgstr "Sign field"
+
+#: apps/web/src/components/forms/signup.tsx:212
+#: apps/web/src/components/forms/v2/signup.tsx:350
+msgid "Sign Here"
+msgstr "Sign Here"
+
+#: apps/web/src/app/not-found.tsx:29
+#: apps/web/src/components/forms/signin.tsx:349
+#: apps/web/src/components/forms/signin.tsx:476
+msgid "Sign In"
+msgstr "Sign In"
+
+#: apps/web/src/app/(unauthenticated)/signin/page.tsx:44
+msgid "Sign in to your account"
+msgstr "Sign in to your account"
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:285
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:84
+msgid "Sign Out"
+msgstr "Sign Out"
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:72
+msgid "Sign up"
+msgstr "Sign up"
+
+#: apps/web/src/components/forms/signup.tsx:235
+msgid "Sign Up"
+msgstr "Sign Up"
+
+#: apps/web/src/components/forms/signup.tsx:257
+#: apps/web/src/components/forms/v2/signup.tsx:389
+msgid "Sign Up with Google"
+msgstr "Sign Up with Google"
+
+#: apps/web/src/components/forms/signup.tsx:281
+#: apps/web/src/components/forms/v2/signup.tsx:405
+msgid "Sign Up with OIDC"
+msgstr "Sign Up with OIDC"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:170
+#: apps/web/src/app/(recipient)/d/[token]/sign-direct-template.tsx:338
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:197
+#: apps/web/src/app/(signing)/sign/[token]/signature-field.tsx:227
+#: apps/web/src/components/forms/profile.tsx:132
+msgid "Signature"
+msgstr "Signature"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:123
+msgid "Signatures Collected"
+msgstr "Signatures Collected"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:200
+msgid "Signatures will appear once the document has been completed"
+msgstr "Signatures will appear once the document has been completed"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:98
+msgid "Signed"
+msgstr "Signed"
+
+#: apps/web/src/components/forms/signin.tsx:349
+#: apps/web/src/components/forms/signin.tsx:476
+msgid "Signing in..."
+msgstr "Signing in..."
+
+#: apps/web/src/components/forms/signup.tsx:235
+msgid "Signing up..."
+msgstr "Signing up..."
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:109
+msgid "Since {0}"
+msgstr "Since {0}"
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:102
+msgid "Site Banner"
+msgstr "Site Banner"
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:93
+#: apps/web/src/app/(dashboard)/admin/site-settings/page.tsx:26
+msgid "Site Settings"
+msgstr "Site Settings"
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:105
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:63
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-dropdown.tsx:88
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx:65
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx:66
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:75
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:104
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:80
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:72
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:62
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:50
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:124
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:73
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:93
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:32
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:32
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:44
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:50
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:79
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:104
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:127
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:151
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:117
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:27
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:43
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:53
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:39
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:52
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:50
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:99
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:210
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:64
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:83
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:33
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:67
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:84
+#: apps/web/src/components/(teams)/team-billing-portal-button.tsx:29
+msgid "Something went wrong"
+msgstr "Something went wrong"
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:75
+msgid "Something went wrong while attempting to transfer the ownership of team <0>{0}</0> to your. Please try again later or contact support."
+msgstr "Something went wrong while attempting to transfer the ownership of team <0>{0}</0> to your. Please try again later or contact support."
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:85
+msgid "Something went wrong while attempting to verify your email address for <0>{0}</0>. Please try again later."
+msgstr "Something went wrong while attempting to verify your email address for <0>{0}</0>. Please try again later."
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-passkey.tsx:158
+msgid "Something went wrong while loading your passkeys."
+msgstr "Something went wrong while loading your passkeys."
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:55
+msgid "Something went wrong while sending the confirmation email."
+msgstr "Something went wrong while sending the confirmation email."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:96
+msgid "Something went wrong while updating the team billing subscription, please contact support."
+msgstr "Something went wrong while updating the team billing subscription, please contact support."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:240
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:154
+msgid "Something went wrong. Please try again or contact support."
+msgstr "Something went wrong. Please try again or contact support."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-audit-log-button.tsx:67
+msgid "Sorry, we were unable to download the audit logs. Please try again later."
+msgstr "Sorry, we were unable to download the audit logs. Please try again later."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/download-certificate-button.tsx:68
+msgid "Sorry, we were unable to download the certificate. Please try again later."
+msgstr "Sorry, we were unable to download the certificate. Please try again later."
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:37
+msgid "Stats"
+msgstr "Stats"
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:91
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:32
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:97
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:71
+msgid "Status"
+msgstr "Status"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:128
+msgid "Subscribe"
+msgstr "Subscribe"
+
+#: apps/web/src/app/(dashboard)/admin/users/data-table-users.tsx:113
+msgid "Subscription"
+msgstr "Subscription"
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:79
+msgid "Subscriptions"
+msgstr "Subscriptions"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/admin-actions.tsx:35
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:67
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:87
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:25
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:25
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:37
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:118
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:141
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:32
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:44
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:44
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:79
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:88
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:72
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:49
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:150
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:49
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:57
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:76
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:108
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:79
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:92
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:68
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:27
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:61
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:78
+#: apps/web/src/components/forms/public-profile-form.tsx:80
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:135
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:172
+msgid "Success"
+msgstr "Success"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:87
+msgid "Successfully created passkey"
+msgstr "Successfully created passkey"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:256
+msgid "System Theme"
+msgstr "System Theme"
+
+#: apps/web/src/components/(teams)/tables/current-user-teams-data-table.tsx:65
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table.tsx:76
+msgid "Team"
+msgstr "Team"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:85
+msgid "Team checkout"
+msgstr "Team checkout"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:61
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:140
+msgid "Team email"
+msgstr "Team email"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:58
+msgid "Team Email"
+msgstr "Team Email"
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:58
+msgid "Team email has been removed"
+msgstr "Team email has been removed"
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:81
+msgid "Team email verification"
+msgstr "Team email verification"
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:97
+msgid "Team email verified!"
+msgstr "Team email verified!"
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:80
+msgid "Team email was updated."
+msgstr "Team email was updated."
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:91
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:96
+msgid "Team invitation"
+msgstr "Team invitation"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:151
+msgid "Team invitations have been sent."
+msgstr "Team invitations have been sent."
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:109
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:86
+msgid "Team Member"
+msgstr "Team Member"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:166
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:113
+msgid "Team Name"
+msgstr "Team Name"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:133
+msgid "Team Only"
+msgstr "Team Only"
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:138
+msgid "Team only templates are not linked anywhere and are visible only to your team."
+msgstr "Team only templates are not linked anywhere and are visible only to your team."
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:71
+msgid "Team ownership transfer"
+msgstr "Team ownership transfer"
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:87
+msgid "Team ownership transferred!"
+msgstr "Team ownership transferred!"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:49
+msgid "Team Public Profile"
+msgstr "Team Public Profile"
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:272
+msgid "Team settings"
+msgstr "Team settings"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/layout.tsx:50
+msgid "Team Settings"
+msgstr "Team Settings"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:51
+msgid "Team templates"
+msgstr "Team templates"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:79
+msgid "Team transfer in progress"
+msgstr "Team transfer in progress"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:77
+msgid "Team transfer request expired"
+msgstr "Team transfer request expired"
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:196
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:129
+msgid "Team URL"
+msgstr "Team URL"
+
+#: apps/web/src/app/(dashboard)/settings/teams/page.tsx:25
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:157
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:43
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:64
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:67
+msgid "Teams"
+msgstr "Teams"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:83
+msgid "Teams restricted"
+msgstr "Teams restricted"
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:408
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:273
+msgid "Template"
+msgstr "Template"
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:41
+msgid "Template deleted"
+msgstr "Template deleted"
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:67
+msgid "Template document uploaded"
+msgstr "Template document uploaded"
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:42
+msgid "Template duplicated"
+msgstr "Template duplicated"
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:136
+msgid "Template has been removed from your public profile."
+msgstr "Template has been removed from your public profile."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:173
+msgid "Template has been updated."
+msgstr "Template has been updated."
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:48
+msgid "Template moved"
+msgstr "Template moved"
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:198
+msgid "Template saved"
+msgstr "Template saved"
+
+#: apps/web/src/app/(dashboard)/templates/[id]/template-page-view.tsx:60
+#: apps/web/src/app/(dashboard)/templates/templates-page-view.tsx:55
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:203
+#: apps/web/src/components/(dashboard)/layout/desktop-nav.tsx:22
+#: apps/web/src/components/(dashboard)/layout/mobile-navigation.tsx:39
+msgid "Templates"
+msgstr "Templates"
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:106
+msgid "Templates allow you to quickly generate documents with pre-filled recipients and fields."
+msgstr "Templates allow you to quickly generate documents with pre-filled recipients and fields."
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:166
+msgid "Text Color"
+msgstr "Text Color"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:52
+msgid "The account has been deleted successfully."
+msgstr "The account has been deleted successfully."
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:197
+msgid "The content to show in the banner, HTML is allowed"
+msgstr "The content to show in the banner, HTML is allowed"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:78
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-badge.tsx:32
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:164
+msgid "The direct link has been copied to your clipboard"
+msgstr "The direct link has been copied to your clipboard"
+
+#: apps/web/src/app/(dashboard)/documents/move-document-dialog.tsx:50
+msgid "The document has been successfully moved to the selected team."
+msgstr "The document has been successfully moved to the selected team."
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:159
+msgid "The document was created but could not be sent to recipients."
+msgstr "The document was created but could not be sent to recipients."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:161
+msgid "The document will be hidden from your account"
+msgstr "The document will be hidden from your account"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:281
+msgid "The document will be immediately sent to recipients if this is checked."
+msgstr "The document will be immediately sent to recipients if this is checked."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:175
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:179
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:203
+msgid "The events that will trigger a webhook to be sent to your URL."
+msgstr "The events that will trigger a webhook to be sent to your URL."
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:91
+msgid "The ownership of team <0>{0}</0> has been successfully transferred to you."
+msgstr "The ownership of team <0>{0}</0> has been successfully transferred to you."
+
+#: apps/web/src/components/partials/not-found.tsx:53
+msgid "The page you are looking for was moved, removed, renamed or might never have existed."
+msgstr "The page you are looking for was moved, removed, renamed or might never have existed."
+
+#: apps/web/src/components/forms/public-profile-form.tsx:118
+msgid "The profile link has been copied to your clipboard"
+msgstr "The profile link has been copied to your clipboard"
+
+#: apps/web/src/app/(profile)/p/[url]/not-found.tsx:23
+msgid "The profile you are looking for could not be found."
+msgstr "The profile you are looking for could not be found."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:382
+msgid "The public description that will be displayed with this template"
+msgstr "The public description that will be displayed with this template"
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:360
+msgid "The public name for your template"
+msgstr "The public name for your template"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:72
+msgid "The recipient has been updated successfully"
+msgstr "The recipient has been updated successfully"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:267
+msgid "The selected team member will receive an email which they must accept before the team is transferred"
+msgstr "The selected team member will receive an email which they must accept before the team is transferred"
+
+#: apps/web/src/components/(dashboard)/avatar/avatar-with-recipient.tsx:41
+msgid "The signing link has been copied to your clipboard."
+msgstr "The signing link has been copied to your clipboard."
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:105
+msgid "The site banner is a message that is shown at the top of the site. It can be used to display important information to your users."
+msgstr "The site banner is a message that is shown at the top of the site. It can be used to display important information to your users."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:45
+msgid "The team transfer invitation has been successfully deleted."
+msgstr "The team transfer invitation has been successfully deleted."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:86
+msgid "The team transfer request to <0>{0}</0> has expired."
+msgstr "The team transfer request to <0>{0}</0> has expired."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/not-found.tsx:23
+msgid "The team you are looking for may have been removed, renamed or may have never existed."
+msgstr "The team you are looking for may have been removed, renamed or may have never existed."
+
+#: apps/web/src/app/(dashboard)/templates/move-template-dialog.tsx:49
+msgid "The template has been successfully moved to the selected team."
+msgstr "The template has been successfully moved to the selected team."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:445
+msgid "The template will be removed from your profile"
+msgstr "The template will be removed from your profile"
+
+#: apps/web/src/app/(recipient)/d/[token]/not-found.tsx:23
+msgid "The template you are looking for may have been disabled, deleted or may have never existed."
+msgstr "The template you are looking for may have been disabled, deleted or may have never existed."
+
+#: apps/web/src/components/forms/token.tsx:106
+msgid "The token was copied to your clipboard."
+msgstr "The token was copied to your clipboard."
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:88
+msgid "The token was deleted successfully."
+msgstr "The token was deleted successfully."
+
+#: apps/web/src/app/(unauthenticated)/reset-password/page.tsx:24
+msgid "The token you have used to reset your password is either expired or it never existed. If you have still forgotten your password, please request a new reset link."
+msgstr "The token you have used to reset your password is either expired or it never existed. If you have still forgotten your password, please request a new reset link."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:124
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:128
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:152
+msgid "The URL for Documenso to send webhook events to."
+msgstr "The URL for Documenso to send webhook events to."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:79
+msgid "The webhook has been successfully deleted."
+msgstr "The webhook has been successfully deleted."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:75
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:81
+msgid "The webhook has been updated successfully."
+msgstr "The webhook has been updated successfully."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:93
+msgid "The webhook was successfully created."
+msgstr "The webhook was successfully created."
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:25
+msgid "There are no active drafts at the current moment. You can upload a document to start drafting."
+msgstr "There are no active drafts at the current moment. You can upload a document to start drafting."
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:20
+msgid "There are no completed documents yet. Documents that you have created or received will appear here once completed."
+msgstr "There are no completed documents yet. Documents that you have created or received will appear here once completed."
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:70
+msgid "They have permission on your behalf to:"
+msgstr "They have permission on your behalf to:"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:110
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:110
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:109
+msgid "This action is not reversible. Please be certain."
+msgstr "This action is not reversible. Please be certain."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:81
+msgid "This document could not be deleted at this time. Please try again."
+msgstr "This document could not be deleted at this time. Please try again."
+
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:73
+msgid "This document could not be duplicated at this time. Please try again."
+msgstr "This document could not be duplicated at this time. Please try again."
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:106
+msgid "This document could not be re-sent at this time. Please try again."
+msgstr "This document could not be re-sent at this time. Please try again."
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:180
+msgid "This document has been cancelled by the owner and is no longer available for others to sign."
+msgstr "This document has been cancelled by the owner and is no longer available for others to sign."
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:52
+msgid "This document has been cancelled by the owner."
+msgstr "This document has been cancelled by the owner."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:193
+msgid "This document has been signed by all recipients"
+msgstr "This document has been signed by all recipients"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view.tsx:196
+msgid "This document is currently a draft and has not been sent"
+msgstr "This document is currently a draft and has not been sent"
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:93
+msgid "This email is already being used by another team."
+msgstr "This email is already being used by another team."
+
+#: apps/web/src/app/(unauthenticated)/team/verify/transfer/[token]/page.tsx:40
+msgid "This link is invalid or has expired. Please contact your team to resend a transfer request."
+msgstr "This link is invalid or has expired. Please contact your team to resend a transfer request."
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:37
+msgid "This link is invalid or has expired. Please contact your team to resend a verification."
+msgstr "This link is invalid or has expired. Please contact your team to resend a verification."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:208
+msgid "This passkey has already been registered."
+msgstr "This passkey has already been registered."
+
+#: apps/web/src/components/forms/signin.tsx:182
+msgid "This passkey is not configured for this application. Please login and add one in the user settings."
+msgstr "This passkey is not configured for this application. Please login and add one in the user settings."
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:148
+msgid "This price includes minimum 5 seats."
+msgstr "This price includes minimum 5 seats."
+
+#: apps/web/src/components/forms/signin.tsx:184
+msgid "This session has expired. Please try again."
+msgstr "This session has expired. Please try again."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:195
+msgid "This team, and any associated data excluding billing invoices will be permanently deleted."
+msgstr "This team, and any associated data excluding billing invoices will be permanently deleted."
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:51
+msgid "This template could not be deleted at this time. Please try again."
+msgstr "This template could not be deleted at this time. Please try again."
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:43
+msgid "This token is invalid or has expired. No action is needed."
+msgstr "This token is invalid or has expired. No action is needed."
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:43
+msgid "This token is invalid or has expired. Please contact your team for a new invitation."
+msgstr "This token is invalid or has expired. Please contact your team for a new invitation."
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:98
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:87
+msgid "This URL is already in use."
+msgstr "This URL is already in use."
+
+#: apps/web/src/components/forms/v2/signup.tsx:145
+msgid "This username has already been taken"
+msgstr "This username has already been taken"
+
+#: apps/web/src/components/forms/public-profile-claim-dialog.tsx:98
+msgid "This username is already taken"
+msgstr "This username is already taken"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx:77
+msgid "Time"
+msgstr "Time"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-page-view.tsx:100
+msgid "Time zone"
+msgstr "Time zone"
+
+#: apps/web/src/app/(dashboard)/admin/documents/document-results.tsx:77
+#: apps/web/src/app/(dashboard)/documents/data-table.tsx:78
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:89
+msgid "Title"
+msgstr "Title"
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:106
+msgid "To accept this invitation you must create an account."
+msgstr "To accept this invitation you must create an account."
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:125
+msgid "To change the email you must remove and add a new email address."
+msgstr "To change the email you must remove and add a new email address."
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:117
+msgid "To confirm, please enter the accounts email address <0/>({0})."
+msgstr "To confirm, please enter the accounts email address <0/>({0})."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/super-delete-document-dialog.tsx:117
+msgid "To confirm, please enter the reason"
+msgstr "To confirm, please enter the reason"
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:101
+msgid "To decline this invitation you must create an account."
+msgstr "To decline this invitation you must create an account."
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:197
+msgid "To enable two-factor authentication, scan the following QR code using your authenticator app."
+msgstr "To enable two-factor authentication, scan the following QR code using your authenticator app."
+
+#: apps/web/src/app/(unauthenticated)/unverified-account/page.tsx:23
+msgid "To gain access to your account, please confirm your email address by clicking on the confirmation link from your inbox."
+msgstr "To gain access to your account, please confirm your email address by clicking on the confirmation link from your inbox."
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-account.tsx:57
+msgid "To mark this document as viewed, you need to be logged in as <0>{0}</0>"
+msgstr "To mark this document as viewed, you need to be logged in as <0>{0}</0>"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:178
+msgid "Toggle the switch to hide your profile from the public."
+msgstr "Toggle the switch to hide your profile from the public."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:190
+msgid "Toggle the switch to show your profile to the public."
+msgstr "Toggle the switch to show your profile to the public."
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:236
+msgid "Token"
+msgstr "Token"
+
+#: apps/web/src/components/forms/token.tsx:105
+msgid "Token copied to clipboard"
+msgstr "Token copied to clipboard"
+
+#: apps/web/src/components/forms/token.tsx:126
+msgid "Token created"
+msgstr "Token created"
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:87
+msgid "Token deleted"
+msgstr "Token deleted"
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:82
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:115
+msgid "Token doesn't have an expiration date"
+msgstr "Token doesn't have an expiration date"
+
+#: apps/web/src/components/forms/token.tsx:193
+msgid "Token expiration date"
+msgstr "Token expiration date"
+
+#: apps/web/src/components/forms/token.tsx:165
+msgid "Token name"
+msgstr "Token name"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:65
+msgid "Total Documents"
+msgstr "Total Documents"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:108
+msgid "Total Recipients"
+msgstr "Total Recipients"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:150
+msgid "Total Signers that Signed Up"
+msgstr "Total Signers that Signed Up"
+
+#: apps/web/src/app/(dashboard)/admin/stats/page.tsx:64
+msgid "Total Users"
+msgstr "Total Users"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:160
+msgid "Transfer ownership of this team to a selected team member."
+msgstr "Transfer ownership of this team to a selected team member."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:169
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:147
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:156
+msgid "Transfer team"
+msgstr "Transfer team"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:173
+msgid "Transfer the ownership of the team to another team member."
+msgstr "Transfer the ownership of the team to another team member."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:163
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:167
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:191
+msgid "Triggers"
+msgstr "Triggers"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:52
+msgid "Two factor authentication"
+msgstr "Two factor authentication"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:88
+msgid "Two factor authentication recovery codes are used to access your account in the event that you lose access to your authenticator app."
+msgstr "Two factor authentication recovery codes are used to access your account in the event that you lose access to your authenticator app."
+
+#: apps/web/src/components/forms/signin.tsx:414
+msgid "Two-Factor Authentication"
+msgstr "Two-Factor Authentication"
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:66
+msgid "Two-factor authentication disabled"
+msgstr "Two-factor authentication disabled"
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:94
+msgid "Two-factor authentication enabled"
+msgstr "Two-factor authentication enabled"
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:68
+msgid "Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in."
+msgstr "Two-factor authentication has been disabled for your account. You will no longer be required to enter a code from your authenticator app when signing in."
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:155
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:95
+msgid "Type"
+msgstr "Type"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:184
+msgid "Type 'delete' to confirm"
+msgstr "Type 'delete' to confirm"
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:181
+msgid "Type a command or search..."
+msgstr "Type a command or search..."
+
+#: apps/web/src/app/(unauthenticated)/verify-email/page.tsx:26
+msgid "Uh oh! Looks like you're missing a token"
+msgstr "Uh oh! Looks like you're missing a token"
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:31
+msgid "Unable to copy recovery code"
+msgstr "Unable to copy recovery code"
+
+#: apps/web/src/components/forms/token.tsx:110
+msgid "Unable to copy token"
+msgstr "Unable to copy token"
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:105
+msgid "Unable to create direct template access. Please try again later."
+msgstr "Unable to create direct template access. Please try again later."
+
+#: apps/web/src/app/(dashboard)/settings/teams/decline-team-invitation-button.tsx:33
+msgid "Unable to decline this team invitation at this time."
+msgstr "Unable to decline this team invitation at this time."
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:85
+msgid "Unable to delete invitation. Please try again."
+msgstr "Unable to delete invitation. Please try again."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:94
+msgid "Unable to delete team"
+msgstr "Unable to delete team"
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:79
+msgid "Unable to disable two-factor authentication"
+msgstr "Unable to disable two-factor authentication"
+
+#: apps/web/src/app/(dashboard)/settings/teams/accept-team-invitation-button.tsx:33
+msgid "Unable to join this team at this time."
+msgstr "Unable to join this team at this time."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recent-activity.tsx:72
+#: apps/web/src/components/document/document-history-sheet.tsx:125
+msgid "Unable to load document history"
+msgstr "Unable to load document history"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:111
+msgid "Unable to load your public profile templates at this time"
+msgstr "Unable to load your public profile templates at this time"
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:84
+msgid "Unable to remove email verification at this time. Please try again."
+msgstr "Unable to remove email verification at this time. Please try again."
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:65
+msgid "Unable to remove team email at this time. Please try again."
+msgstr "Unable to remove team email at this time. Please try again."
+
+#: apps/web/src/components/(teams)/tables/team-member-invites-data-table.tsx:68
+msgid "Unable to resend invitation. Please try again."
+msgstr "Unable to resend invitation. Please try again."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-email-dropdown.tsx:40
+msgid "Unable to resend verification at this time. Please try again."
+msgstr "Unable to resend verification at this time. Please try again."
+
+#: apps/web/src/app/(unauthenticated)/reset-password/page.tsx:20
+msgid "Unable to reset password"
+msgstr "Unable to reset password"
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:68
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:101
+msgid "Unable to setup two-factor authentication"
+msgstr "Unable to setup two-factor authentication"
+
+#: apps/web/src/components/forms/signin.tsx:229
+#: apps/web/src/components/forms/signin.tsx:237
+msgid "Unable to sign in"
+msgstr "Unable to sign in"
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:166
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:27
+msgid "Unauthorized"
+msgstr "Unauthorized"
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:112
+msgid "Uncompleted"
+msgstr "Uncompleted"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:23
+msgid "Unknown error"
+msgstr "Unknown error"
+
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:77
+msgid "Unpaid"
+msgstr "Unpaid"
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-templates-data-table.tsx:181
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:162
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:166
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:191
+#: apps/web/src/components/forms/public-profile-form.tsx:279
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:430
+msgid "Update"
+msgstr "Update"
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:211
+msgid "Update Banner"
+msgstr "Update Banner"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:118
+msgid "Update passkey"
+msgstr "Update passkey"
+
+#: apps/web/src/components/forms/password.tsx:152
+msgid "Update password"
+msgstr "Update password"
+
+#: apps/web/src/components/forms/profile.tsx:150
+msgid "Update profile"
+msgstr "Update profile"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:133
+msgid "Update Recipient"
+msgstr "Update Recipient"
+
+#: apps/web/src/components/(teams)/tables/team-members-data-table.tsx:146
+msgid "Update role"
+msgstr "Update role"
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:176
+msgid "Update team"
+msgstr "Update team"
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:113
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:121
+msgid "Update team email"
+msgstr "Update team email"
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:136
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:144
+msgid "Update team member"
+msgstr "Update team member"
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:147
+msgid "Update user"
+msgstr "Update user"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:208
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:210
+msgid "Update webhook"
+msgstr "Update webhook"
+
+#: apps/web/src/components/forms/password.tsx:152
+msgid "Updating password..."
+msgstr "Updating password..."
+
+#: apps/web/src/components/forms/profile.tsx:150
+msgid "Updating profile..."
+msgstr "Updating profile..."
+
+#: apps/web/src/components/forms/avatar-image.tsx:182
+msgid "Upload Avatar"
+msgstr "Upload Avatar"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:44
+msgid "Uploaded by"
+msgstr "Uploaded by"
+
+#: apps/web/src/components/forms/avatar-image.tsx:91
+msgid "Uploaded file is too large"
+msgstr "Uploaded file is too large"
+
+#: apps/web/src/components/forms/avatar-image.tsx:92
+msgid "Uploaded file is too small"
+msgstr "Uploaded file is too small"
+
+#: apps/web/src/components/forms/avatar-image.tsx:93
+msgid "Uploaded file not an allowed file type"
+msgstr "Uploaded file not an allowed file type"
+
+#: apps/web/src/components/forms/signin.tsx:471
+msgid "Use Authenticator"
+msgstr "Use Authenticator"
+
+#: apps/web/src/components/forms/signin.tsx:469
+msgid "Use Backup Code"
+msgstr "Use Backup Code"
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:183
+msgid "Use Template"
+msgstr "Use Template"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/logs/document-logs-data-table.tsx:82
+msgid "User"
+msgstr "User"
+
+#: apps/web/src/app/(dashboard)/admin/subscriptions/page.tsx:41
+msgid "User ID"
+msgstr "User ID"
+
+#: apps/web/src/components/forms/v2/signup.tsx:222
+msgid "User profiles are here!"
+msgstr "User profiles are here!"
+
+#: apps/web/src/components/(dashboard)/layout/menu-switcher.tsx:264
+msgid "User settings"
+msgstr "User settings"
+
+#: apps/web/src/app/(dashboard)/admin/nav.tsx:51
+msgid "Users"
+msgstr "Users"
+
+#: apps/web/src/app/(dashboard)/admin/documents/[id]/recipient-item.tsx:165
+msgid "Value"
+msgstr "Value"
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:100
+msgid "Verification Email Sent"
+msgstr "Verification Email Sent"
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:45
+msgid "Verification email sent successfully."
+msgstr "Verification email sent successfully."
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:102
+msgid "Verify Now"
+msgstr "Verify Now"
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:112
+msgid "Verify your email address"
+msgstr "Verify your email address"
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:88
+msgid "Verify your email address to unlock all features."
+msgstr "Verify your email address to unlock all features."
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:56
+msgid "Verify your email to upload documents."
+msgstr "Verify your email to upload documents."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-button.tsx:95
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:126
+#: apps/web/src/app/(dashboard)/documents/data-table-action-button.tsx:135
+#: apps/web/src/app/(dashboard)/documents/data-table-action-dropdown.tsx:130
+#: apps/web/src/components/(teams)/tables/team-billing-invoices-data-table.tsx:98
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:168
+msgid "View"
+msgstr "View"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:140
+msgid "View activity"
+msgstr "View activity"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:78
+msgid "View all documents sent to your account"
+msgstr "View all documents sent to your account"
+
+#: apps/web/src/app/(dashboard)/settings/security/page.tsx:134
+msgid "View all recent security activity related to your account."
+msgstr "View all recent security activity related to your account."
+
+#: apps/web/src/app/(dashboard)/settings/security/activity/page.tsx:26
+msgid "View all security activity related to your account."
+msgstr "View all security activity related to your account."
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:78
+msgid "View Codes"
+msgstr "View Codes"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:150
+msgid "View documents associated with this email"
+msgstr "View documents associated with this email"
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-invitations.tsx:55
+msgid "View invites"
+msgstr "View invites"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/document-preview-button.tsx:34
+msgid "View Original Document"
+msgstr "View Original Document"
+
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:87
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:116
+msgid "View Recovery Codes"
+msgstr "View Recovery Codes"
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:56
+msgid "View teams"
+msgstr "View teams"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-recipients.tsx:104
+msgid "Viewed"
+msgstr "Viewed"
+
+#: apps/web/src/components/(dashboard)/avatar/stack-avatars-with-tooltip.tsx:82
+msgid "Waiting"
+msgstr "Waiting"
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:150
+msgid "Waiting for others to sign"
+msgstr "Waiting for others to sign"
+
+#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:61
+msgid "Want to send slick signing links like this one? <0>Check out Documenso.</0>"
+msgstr "Want to send slick signing links like this one? <0>Check out Documenso.</0>"
+
+#: apps/web/src/app/(profile)/profile-header.tsx:68
+msgid "Want your own public profile?"
+msgstr "Want your own public profile?"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:40
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:55
+#: apps/web/src/components/(teams)/team-billing-portal-button.tsx:31
+msgid "We are unable to proceed to the billing portal at this time. Please try again, or contact support."
+msgstr "We are unable to proceed to the billing portal at this time. Please try again, or contact support."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:95
+msgid "We are unable to remove this passkey at the moment. Please try again later."
+msgstr "We are unable to remove this passkey at the moment. Please try again later."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:75
+msgid "We are unable to update this passkey at the moment. Please try again later."
+msgstr "We are unable to update this passkey at the moment. Please try again later."
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:153
+msgid "We encountered an error while removing the direct template link. Please try again later."
+msgstr "We encountered an error while removing the direct template link. Please try again later."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:84
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:90
+msgid "We encountered an error while updating the webhook. Please try again later."
+msgstr "We encountered an error while updating the webhook. Please try again later."
+
+#: apps/web/src/components/forms/token.tsx:145
+msgid "We encountered an unknown error while attempting create the new token. Please try again later."
+msgstr "We encountered an unknown error while attempting create the new token. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:102
+msgid "We encountered an unknown error while attempting to add this email. Please try again later."
+msgstr "We encountered an unknown error while attempting to add this email. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:107
+msgid "We encountered an unknown error while attempting to create a team. Please try again later."
+msgstr "We encountered an unknown error while attempting to create a team. Please try again later."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:90
+msgid "We encountered an unknown error while attempting to delete it. Please try again later."
+msgstr "We encountered an unknown error while attempting to delete it. Please try again later."
+
+#: apps/web/src/components/(teams)/tables/pending-user-teams-data-table-actions.tsx:35
+msgid "We encountered an unknown error while attempting to delete the pending team. Please try again later."
+msgstr "We encountered an unknown error while attempting to delete the pending team. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:86
+msgid "We encountered an unknown error while attempting to delete this team. Please try again later."
+msgstr "We encountered an unknown error while attempting to delete this team. Please try again later."
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:99
+msgid "We encountered an unknown error while attempting to delete this token. Please try again later."
+msgstr "We encountered an unknown error while attempting to delete this token. Please try again later."
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/delete-user-dialog.tsx:71
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:68
+msgid "We encountered an unknown error while attempting to delete your account. Please try again later."
+msgstr "We encountered an unknown error while attempting to delete your account. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/invite-team-member-dialog.tsx:160
+msgid "We encountered an unknown error while attempting to invite team members. Please try again later."
+msgstr "We encountered an unknown error while attempting to invite team members. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:60
+msgid "We encountered an unknown error while attempting to leave this team. Please try again later."
+msgstr "We encountered an unknown error while attempting to leave this team. Please try again later."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:145
+msgid "We encountered an unknown error while attempting to remove this template from your profile. Please try again later."
+msgstr "We encountered an unknown error while attempting to remove this template from your profile. Please try again later."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/team-transfer-status.tsx:56
+msgid "We encountered an unknown error while attempting to remove this transfer. Please try again or contact support."
+msgstr "We encountered an unknown error while attempting to remove this transfer. Please try again or contact support."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:60
+msgid "We encountered an unknown error while attempting to remove this user. Please try again later."
+msgstr "We encountered an unknown error while attempting to remove this user. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:118
+msgid "We encountered an unknown error while attempting to request a transfer of this team. Please try again later."
+msgstr "We encountered an unknown error while attempting to request a transfer of this team. Please try again later."
+
+#: apps/web/src/components/forms/reset-password.tsx:89
+msgid "We encountered an unknown error while attempting to reset your password. Please try again later."
+msgstr "We encountered an unknown error while attempting to reset your password. Please try again later."
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:46
+msgid "We encountered an unknown error while attempting to revoke access. Please try again or contact support."
+msgstr "We encountered an unknown error while attempting to revoke access. Please try again or contact support."
+
+#: apps/web/src/components/forms/public-profile-claim-dialog.tsx:115
+msgid "We encountered an unknown error while attempting to save your details. Please try again later."
+msgstr "We encountered an unknown error while attempting to save your details. Please try again later."
+
+#: apps/web/src/components/forms/profile.tsx:89
+#: apps/web/src/components/forms/signin.tsx:254
+#: apps/web/src/components/forms/signin.tsx:267
+#: apps/web/src/components/forms/signin.tsx:281
+msgid "We encountered an unknown error while attempting to sign you In. Please try again later."
+msgstr "We encountered an unknown error while attempting to sign you In. Please try again later."
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:100
+#: apps/web/src/components/forms/signup.tsx:115
+#: apps/web/src/components/forms/v2/signup.tsx:162
+msgid "We encountered an unknown error while attempting to sign you up. Please try again later."
+msgstr "We encountered an unknown error while attempting to sign you up. Please try again later."
+
+#: apps/web/src/components/forms/signup.tsx:130
+#: apps/web/src/components/forms/signup.tsx:144
+#: apps/web/src/components/forms/v2/signup.tsx:185
+#: apps/web/src/components/forms/v2/signup.tsx:199
+msgid "We encountered an unknown error while attempting to sign you Up. Please try again later."
+msgstr "We encountered an unknown error while attempting to sign you Up. Please try again later."
+
+#: apps/web/src/components/forms/avatar-image.tsx:124
+msgid "We encountered an unknown error while attempting to update the avatar. Please try again later."
+msgstr "We encountered an unknown error while attempting to update the avatar. Please try again later."
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:92
+msgid "We encountered an unknown error while attempting to update the banner. Please try again later."
+msgstr "We encountered an unknown error while attempting to update the banner. Please try again later."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:182
+msgid "We encountered an unknown error while attempting to update the template. Please try again later."
+msgstr "We encountered an unknown error while attempting to update the template. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:102
+msgid "We encountered an unknown error while attempting to update this team member. Please try again later."
+msgstr "We encountered an unknown error while attempting to update this team member. Please try again later."
+
+#: apps/web/src/components/forms/password.tsx:86
+msgid "We encountered an unknown error while attempting to update your password. Please try again later."
+msgstr "We encountered an unknown error while attempting to update your password. Please try again later."
+
+#: apps/web/src/components/forms/public-profile-form.tsx:106
+msgid "We encountered an unknown error while attempting to update your public profile. Please try again later."
+msgstr "We encountered an unknown error while attempting to update your public profile. Please try again later."
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:96
+msgid "We encountered an unknown error while attempting to update your team. Please try again later."
+msgstr "We encountered an unknown error while attempting to update your team. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/update-team-email-dialog.tsx:91
+msgid "We encountered an unknown error while attempting update the team email. Please try again later."
+msgstr "We encountered an unknown error while attempting update the team email. Please try again later."
+
+#: apps/web/src/components/(teams)/dialogs/add-team-email-dialog.tsx:80
+msgid "We have sent a confirmation email for verification."
+msgstr "We have sent a confirmation email for verification."
+
+#: apps/web/src/components/forms/token.tsx:111
+msgid "We were unable to copy the token to your clipboard. Please try again."
+msgstr "We were unable to copy the token to your clipboard. Please try again."
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:33
+msgid "We were unable to copy your recovery code to your clipboard. Please try again."
+msgstr "We were unable to copy your recovery code to your clipboard. Please try again."
+
+#: apps/web/src/components/(teams)/dialogs/create-team-checkout-dialog.tsx:52
+msgid "We were unable to create a checkout session. Please try again, or contact support"
+msgstr "We were unable to create a checkout session. Please try again, or contact support"
+
+#: apps/web/src/components/forms/2fa/disable-authenticator-app-dialog.tsx:81
+msgid "We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again."
+msgstr "We were unable to disable two-factor authentication for your account. Please ensure that you have entered your password and backup code correctly and try again."
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:28
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:44
+msgid "We were unable to log you out at this time."
+msgstr "We were unable to log you out at this time."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:125
+msgid "We were unable to set your public profile to public. Please try again."
+msgstr "We were unable to set your public profile to public. Please try again."
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:70
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:103
+msgid "We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again."
+msgstr "We were unable to setup two-factor authentication for your account. Please ensure that you have entered your code correctly and try again."
+
+#: apps/web/src/app/(recipient)/d/[token]/direct-template.tsx:119
+msgid "We were unable to submit this document at this time. Please try again later."
+msgstr "We were unable to submit this document at this time. Please try again later."
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:169
+msgid "We were unable to verify your details. Please try again or contact support"
+msgstr "We were unable to verify your details. Please try again or contact support"
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:56
+msgid "We were unable to verify your email. If your email is not verified already, please try again."
+msgstr "We were unable to verify your email. If your email is not verified already, please try again."
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:29
+#: apps/web/src/app/(dashboard)/templates/empty-state.tsx:11
+msgid "We're all empty"
+msgstr "We're all empty"
+
+#: apps/web/src/components/(dashboard)/layout/verify-email-banner.tsx:116
+msgid "We've sent a confirmation email to <0>{email}</0>. Please check your inbox and click the link in the email to verify your account."
+msgstr "We've sent a confirmation email to <0>{email}</0>. Please check your inbox and click the link in the email to verify your account."
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:92
+msgid "Webhook created"
+msgstr "Webhook created"
+
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:78
+msgid "Webhook deleted"
+msgstr "Webhook deleted"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:74
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/[id]/page.tsx:80
+msgid "Webhook updated"
+msgstr "Webhook updated"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/[id]/page.tsx:117
+#: apps/web/src/components/(dashboard)/settings/webhooks/create-webhook-dialog.tsx:145
+msgid "Webhook URL"
+msgstr "Webhook URL"
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:29
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:34
+#: apps/web/src/components/(dashboard)/settings/layout/desktop-nav.tsx:103
+#: apps/web/src/components/(dashboard)/settings/layout/mobile-nav.tsx:106
+#: apps/web/src/components/(teams)/settings/layout/desktop-nav.tsx:94
+#: apps/web/src/components/(teams)/settings/layout/mobile-nav.tsx:102
+msgid "Webhooks"
+msgstr "Webhooks"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:29
+msgid "Weekly"
+msgstr "Weekly"
+
+#: apps/web/src/app/(unauthenticated)/signin/page.tsx:48
+msgid "Welcome back, we are lucky to have you."
+msgstr "Welcome back, we are lucky to have you."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:189
+msgid "When you click continue, you will be prompted to add the first available authenticator on your system."
+msgstr "When you click continue, you will be prompted to add the first available authenticator on your system."
+
+#: apps/web/src/app/(profile)/p/[url]/page.tsx:139
+msgid "While waiting for them to do so you can create your own Documenso account and get started with document signing right away."
+msgstr "While waiting for them to do so you can create your own Documenso account and get started with document signing right away."
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:126
+msgid "Who do you want to remind?"
+msgstr "Who do you want to remind?"
+
+#: apps/web/src/components/forms/public-profile-form.tsx:223
+msgid "Write about the team"
+msgstr "Write about the team"
+
+#: apps/web/src/components/forms/public-profile-form.tsx:223
+msgid "Write about yourself"
+msgstr "Write about yourself"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-plans.tsx:31
+msgid "Yearly"
+msgstr "Yearly"
+
+#: apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx:45
+msgid "You"
+msgstr "You"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:90
+msgid "You are about to complete approving \"{truncatedTitle}\".<0/> Are you sure?"
+msgstr "You are about to complete approving \"{truncatedTitle}\".<0/> Are you sure?"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:82
+msgid "You are about to complete signing \"{truncatedTitle}\".<0/> Are you sure?"
+msgstr "You are about to complete signing \"{truncatedTitle}\".<0/> Are you sure?"
+
+#: apps/web/src/app/(signing)/sign/[token]/sign-dialog.tsx:74
+msgid "You are about to complete viewing \"{truncatedTitle}\".<0/> Are you sure?"
+msgstr "You are about to complete viewing \"{truncatedTitle}\".<0/> Are you sure?"
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:103
+msgid "You are about to delete <0>\"{documentTitle}\"</0>"
+msgstr "You are about to delete <0>\"{documentTitle}\"</0>"
+
+#: apps/web/src/components/(teams)/dialogs/remove-team-email-dialog.tsx:120
+msgid "You are about to delete the following team email from <0>{teamName}</0>."
+msgstr "You are about to delete the following team email from <0>{teamName}</0>."
+
+#: apps/web/src/app/(dashboard)/documents/delete-document-dialog.tsx:107
+msgid "You are about to hide <0>\"{documentTitle}\"</0>"
+msgstr "You are about to hide <0>\"{documentTitle}\"</0>"
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:85
+msgid "You are about to leave the following team."
+msgstr "You are about to leave the following team."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:85
+msgid "You are about to remove the following user from <0>{teamName}</0>."
+msgstr "You are about to remove the following user from <0>{teamName}</0>."
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:98
+msgid "You are about to revoke access for team <0>{0}</0> ({1}) to use your email."
+msgstr "You are about to revoke access for team <0>{0}</0> ({1}) to use your email."
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:80
+msgid "You are currently on the <0>Free Plan</0>."
+msgstr "You are currently on the <0>Free Plan</0>."
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:92
+#~ msgid "You are currently subscribed to <0>{0}</0>"
+#~ msgstr "You are currently subscribed to <0>{0}</0>"
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:148
+msgid "You are currently updating <0>{teamMemberName}.</0>"
+msgstr "You are currently updating <0>{teamMemberName}.</0>"
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/user-passkeys-data-table-actions.tsx:122
+msgid "You are currently updating the <0>{passkeyName}</0> passkey."
+msgstr "You are currently updating the <0>{passkeyName}</0> passkey."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/error.tsx:28
+msgid "You are not authorized to view this page."
+msgstr "You are not authorized to view this page."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:43
+msgid "You can choose to enable or disable your profile for public view."
+msgstr "You can choose to enable or disable your profile for public view."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:50
+msgid "You can choose to enable or disable your team profile for public view."
+msgstr "You can choose to enable or disable your team profile for public view."
+
+#: apps/web/src/app/(dashboard)/documents/upcoming-profile-claim-teaser.tsx:30
+msgid "You can claim your profile later on by going to your profile settings!"
+msgstr "You can claim your profile later on by going to your profile settings!"
+
+#: apps/web/src/components/forms/public-profile-form.tsx:154
+msgid "You can update the profile URL by updating the team URL in the general settings page."
+msgstr "You can update the profile URL by updating the team URL in the general settings page."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/page.tsx:65
+msgid "You can view documents associated with this email and use this identity when sending documents."
+msgstr "You can view documents associated with this email and use this identity when sending documents."
+
+#: apps/web/src/app/(dashboard)/settings/security/passkeys/create-passkey-dialog.tsx:213
+msgid "You cannot have more than {MAXIMUM_PASSKEYS} passkeys."
+msgstr "You cannot have more than {MAXIMUM_PASSKEYS} passkeys."
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:120
+msgid "You cannot modify a team member who has a higher role than you."
+msgstr "You cannot modify a team member who has a higher role than you."
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:101
+msgid "You cannot upload encrypted PDFs"
+msgstr "You cannot upload encrypted PDFs"
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:97
+#~ msgid "You currently have an active plan"
+#~ msgstr "You currently have an active plan"
+
+#: apps/web/src/app/(dashboard)/settings/billing/billing-portal-button.tsx:45
+msgid "You do not currently have a customer record, this should not happen. Please contact support for assistance."
+msgstr "You do not currently have a customer record, this should not happen. Please contact support for assistance."
+
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:127
+msgid "You have accepted an invitation from <0>{0}</0> to join their team."
+msgstr "You have accepted an invitation from <0>{0}</0> to join their team."
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:95
+#: apps/web/src/app/(unauthenticated)/team/invite/[token]/page.tsx:100
+msgid "You have been invited by <0>{0}</0> to join their team."
+msgstr "You have been invited by <0>{0}</0> to join their team."
+
+#: apps/web/src/app/(unauthenticated)/team/decline/[token]/page.tsx:122
+msgid "You have declined the invitation from <0>{0}</0> to join their team."
+msgstr "You have declined the invitation from <0>{0}</0> to join their team."
+
+#: apps/web/src/app/(dashboard)/settings/webhooks/page.tsx:45
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/webhooks/page.tsx:50
+msgid "You have no webhooks yet. Your webhooks will be shown here once you create them."
+msgstr "You have no webhooks yet. Your webhooks will be shown here once you create them."
+
+#: apps/web/src/app/(dashboard)/templates/empty-state.tsx:15
+msgid "You have not yet created any templates. To create a template please upload one."
+msgstr "You have not yet created any templates. To create a template please upload one."
+
+#: apps/web/src/app/(dashboard)/documents/empty-state.tsx:30
+msgid "You have not yet created or received any documents. To create a document please upload one."
+msgstr "You have not yet created or received any documents. To create a document please upload one."
+
+#: apps/web/src/app/(dashboard)/templates/template-direct-link-dialog.tsx:234
+msgid "You have reached the maximum limit of {0} direct templates. <0>Upgrade your account to continue!</0>"
+msgstr "You have reached the maximum limit of {0} direct templates. <0>Upgrade your account to continue!</0>"
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:52
+msgid "You have reached your document limit."
+msgstr "You have reached your document limit."
+
+#: apps/web/src/app/(dashboard)/templates/data-table-templates.tsx:71
+msgid "You have reached your document limit. <0>Upgrade your account to continue!</0>"
+msgstr "You have reached your document limit. <0>Upgrade your account to continue!</0>"
+
+#: apps/web/src/components/(teams)/dialogs/leave-team-dialog.tsx:50
+msgid "You have successfully left this team."
+msgstr "You have successfully left this team."
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/claim-account.tsx:80
+#: apps/web/src/components/forms/signup.tsx:95
+#: apps/web/src/components/forms/v2/signup.tsx:129
+msgid "You have successfully registered. Please verify your account by clicking on the link you received in the email."
+msgstr "You have successfully registered. Please verify your account by clicking on the link you received in the email."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-member-dialog.tsx:50
+msgid "You have successfully removed this user from the team."
+msgstr "You have successfully removed this user from the team."
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:38
+msgid "You have successfully revoked access."
+msgstr "You have successfully revoked access."
+
+#: apps/web/src/components/(teams)/dialogs/update-team-member-dialog.tsx:93
+msgid "You have updated {teamMemberName}."
+msgstr "You have updated {teamMemberName}."
+
+#: apps/web/src/app/(unauthenticated)/team/verify/email/[token]/page.tsx:101
+msgid "You have verified your email address for <0>{0}</0>."
+msgstr "You have verified your email address for <0>{0}</0>."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:82
+msgid "You must be an admin of this team to manage billing."
+msgstr "You must be an admin of this team to manage billing."
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:80
+#~ msgid "You must enter '{confirmTransferMessage}' to proceed"
+#~ msgstr "You must enter '{confirmTransferMessage}' to proceed"
+
+#: apps/web/src/components/(dashboard)/settings/token/delete-token-dialog.tsx:60
+#: apps/web/src/components/(dashboard)/settings/webhooks/delete-webhook-dialog.tsx:58
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:54
+msgid "You must enter '{deleteMessage}' to proceed"
+msgstr "You must enter '{deleteMessage}' to proceed"
+
+#: apps/web/src/components/(teams)/dialogs/transfer-team-dialog.tsx:301
+msgid "You must have at least one other team member to transfer ownership."
+msgstr "You must have at least one other team member to transfer ownership."
+
+#: apps/web/src/app/(dashboard)/settings/public-profile/public-profile-page-view.tsx:109
+msgid "You must set a profile URL before enabling your public profile."
+msgstr "You must set a profile URL before enabling your public profile."
+
+#: apps/web/src/app/(signing)/sign/[token]/signing-auth-page.tsx:61
+msgid "You need to be logged in as <0>{email}</0> to view this page."
+msgstr "You need to be logged in as <0>{email}</0> to view this page."
+
+#: apps/web/src/app/(recipient)/d/[token]/signing-auth-page.tsx:45
+msgid "You need to be logged in to view this page."
+msgstr "You need to be logged in to view this page."
+
+#: apps/web/src/app/(signing)/sign/[token]/document-action-auth-2fa.tsx:105
+msgid "You need to setup 2FA to mark this document as viewed."
+msgstr "You need to setup 2FA to mark this document as viewed."
+
+#: apps/web/src/components/forms/v2/signup.tsx:271
+msgid "You will get notified & be able to set up your documenso public profile when we launch the feature."
+msgstr "You will get notified & be able to set up your documenso public profile when we launch the feature."
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:96
+msgid "You will now be required to enter a code from your authenticator app when signing in."
+msgstr "You will now be required to enter a code from your authenticator app when signing in."
+
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:173
+msgid "You will receive an Email copy of the signed document once everyone has signed."
+msgstr "You will receive an Email copy of the signed document once everyone has signed."
+
+#: apps/web/src/app/(dashboard)/settings/profile/delete-account-dialog.tsx:49
+msgid "Your account has been deleted successfully."
+msgstr "Your account has been deleted successfully."
+
+#: apps/web/src/components/forms/avatar-image.tsx:108
+msgid "Your avatar has been updated successfully."
+msgstr "Your avatar has been updated successfully."
+
+#: apps/web/src/app/(dashboard)/admin/site-settings/banner-form.tsx:75
+msgid "Your banner has been updated successfully."
+msgstr "Your banner has been updated successfully."
+
+#: apps/web/src/app/(dashboard)/settings/billing/page.tsx:121
+msgid "Your current plan is past due. Please update your payment information."
+msgstr "Your current plan is past due. Please update your payment information."
+
+#: apps/web/src/components/templates/manage-public-template-dialog.tsx:253
+msgid "Your direct signing templates"
+msgstr "Your direct signing templates"
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:124
+msgid "Your document failed to upload."
+msgstr "Your document failed to upload."
+
+#: apps/web/src/app/(dashboard)/templates/use-template-dialog.tsx:143
+msgid "Your document has been created from the template successfully."
+msgstr "Your document has been created from the template successfully."
+
+#: apps/web/src/app/(dashboard)/documents/_action-items/resend-document.tsx:98
+msgid "Your document has been re-sent successfully."
+msgstr "Your document has been re-sent successfully."
+
+#: apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx:277
+msgid "Your document has been sent successfully."
+msgstr "Your document has been sent successfully."
+
+#: apps/web/src/app/(dashboard)/documents/duplicate-document-dialog.tsx:59
+msgid "Your document has been successfully duplicated."
+msgstr "Your document has been successfully duplicated."
+
+#: apps/web/src/app/(dashboard)/documents/upload-document.tsx:82
+msgid "Your document has been uploaded successfully."
+msgstr "Your document has been uploaded successfully."
+
+#: apps/web/src/app/(dashboard)/templates/new-template-dialog.tsx:69
+msgid "Your document has been uploaded successfully. You will be redirected to the template page."
+msgstr "Your document has been uploaded successfully. You will be redirected to the template page."
+
+#: apps/web/src/components/(dashboard)/common/command-menu.tsx:215
+msgid "Your documents"
+msgstr "Your documents"
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:117
+msgid "Your email has been successfully confirmed! You can now use all features of Documenso."
+msgstr "Your email has been successfully confirmed! You can now use all features of Documenso."
+
+#: apps/web/src/app/(dashboard)/settings/teams/team-email-usage.tsx:62
+msgid "Your email is currently being used by team <0>{0}</0> ({1})."
+msgstr "Your email is currently being used by team <0>{0}</0> ({1})."
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:48
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:81
+msgid "Your existing tokens"
+msgstr "Your existing tokens"
+
+#: apps/web/src/components/forms/password.tsx:72
+#: apps/web/src/components/forms/reset-password.tsx:73
+msgid "Your password has been updated successfully."
+msgstr "Your password has been updated successfully."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/layout-billing-banner.tsx:113
+msgid "Your payment for teams is overdue. Please settle the payment to avoid any service disruptions."
+msgstr "Your payment for teams is overdue. Please settle the payment to avoid any service disruptions."
+
+#: apps/web/src/components/forms/profile.tsx:73
+msgid "Your profile has been updated successfully."
+msgstr "Your profile has been updated successfully."
+
+#: apps/web/src/app/(dashboard)/admin/users/[id]/page.tsx:73
+msgid "Your profile has been updated."
+msgstr "Your profile has been updated."
+
+#: apps/web/src/components/forms/public-profile-form.tsx:81
+msgid "Your public profile has been updated."
+msgstr "Your public profile has been updated."
+
+#: apps/web/src/components/forms/2fa/recovery-code-list.tsx:27
+msgid "Your recovery code has been copied to your clipboard."
+msgstr "Your recovery code has been copied to your clipboard."
+
+#: apps/web/src/components/forms/2fa/enable-authenticator-app-dialog.tsx:167
+#: apps/web/src/components/forms/2fa/view-recovery-codes-dialog.tsx:91
+msgid "Your recovery codes are listed below. Please store them in a safe place."
+msgstr "Your recovery codes are listed below. Please store them in a safe place."
+
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/billing/page.tsx:62
+msgid "Your subscription is currently active."
+msgstr "Your subscription is currently active."
+
+#: apps/web/src/components/(teams)/dialogs/create-team-dialog.tsx:89
+msgid "Your team has been created."
+msgstr "Your team has been created."
+
+#: apps/web/src/components/(teams)/dialogs/delete-team-dialog.tsx:73
+msgid "Your team has been successfully deleted."
+msgstr "Your team has been successfully deleted."
+
+#: apps/web/src/components/(teams)/forms/update-team-form.tsx:69
+msgid "Your team has been successfully updated."
+msgstr "Your team has been successfully updated."
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:43
+msgid "Your template has been duplicated successfully."
+msgstr "Your template has been duplicated successfully."
+
+#: apps/web/src/app/(dashboard)/templates/delete-template-dialog.tsx:42
+msgid "Your template has been successfully deleted."
+msgstr "Your template has been successfully deleted."
+
+#: apps/web/src/app/(dashboard)/templates/duplicate-template-dialog.tsx:67
+msgid "Your template will be duplicated."
+msgstr "Your template will be duplicated."
+
+#: apps/web/src/app/(dashboard)/templates/[id]/edit-template.tsx:199
+msgid "Your templates has been saved successfully."
+msgstr "Your templates has been saved successfully."
+
+#: apps/web/src/app/(unauthenticated)/verify-email/[token]/page.tsx:83
+msgid "Your token has expired!"
+msgstr "Your token has expired!"
+
+#: apps/web/src/components/forms/token.tsx:277
+msgid "Your token was created successfully! Make sure to copy it because you won't be able to see it again!"
+msgstr "Your token was created successfully! Make sure to copy it because you won't be able to see it again!"
+
+#: apps/web/src/app/(dashboard)/settings/tokens/page.tsx:54
+#: apps/web/src/app/(teams)/t/[teamUrl]/settings/tokens/page.tsx:87
+msgid "Your tokens will be shown here once you create them."
+msgstr "Your tokens will be shown here once you create them."
diff --git a/packages/lib/utils/document-audit-logs.ts b/packages/lib/utils/document-audit-logs.ts
index 5b0215a2f..a57f27dde 100644
--- a/packages/lib/utils/document-audit-logs.ts
+++ b/packages/lib/utils/document-audit-logs.ts
@@ -8,7 +8,7 @@ import type {
RecipientRole,
} from '@documenso/prisma/client';
-import { RECIPIENT_ROLES_DESCRIPTION } from '../constants/recipient-roles';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '../constants/recipient-roles';
import type {
TDocumentAuditLog,
TDocumentAuditLogDocumentMetaDiffSchema,
@@ -268,6 +268,7 @@ export const formatDocumentAuditLogActionString = (
*
* Provide a userId to prefix the action with the user, example 'X did Y'.
*/
+// Todo: Translations.
export const formatDocumentAuditLogAction = (auditLog: TDocumentAuditLog, userId?: number) => {
let prefix = userId === auditLog.userId ? 'You' : auditLog.name || auditLog.email || '';
@@ -346,7 +347,7 @@ export const formatDocumentAuditLogAction = (auditLog: TDocumentAuditLog, userId
}))
.with({ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_RECIPIENT_COMPLETED }, ({ data }) => {
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
- const action = RECIPIENT_ROLES_DESCRIPTION[data.recipientRole as RecipientRole]?.actioned;
+ const action = RECIPIENT_ROLES_DESCRIPTION_ENG[data.recipientRole as RecipientRole]?.actioned;
const value = action ? `${action.toLowerCase()} the document` : 'completed their task';
diff --git a/packages/prisma/seed/templates.ts b/packages/prisma/seed/templates.ts
index 861b26bd4..c3c08e6f4 100644
--- a/packages/prisma/seed/templates.ts
+++ b/packages/prisma/seed/templates.ts
@@ -4,7 +4,7 @@ import path from 'node:path';
import {
DIRECT_TEMPLATE_RECIPIENT_EMAIL,
DIRECT_TEMPLATE_RECIPIENT_NAME,
-} from '@documenso/lib/constants/template';
+} from '@documenso/lib/constants/direct-templates';
import { prisma } from '..';
import type { Prisma, User } from '../client';
diff --git a/packages/ui/components/document/document-download-button.tsx b/packages/ui/components/document/document-download-button.tsx
index 4e1a3067e..dd2805133 100644
--- a/packages/ui/components/document/document-download-button.tsx
+++ b/packages/ui/components/document/document-download-button.tsx
@@ -3,6 +3,8 @@
import type { HTMLAttributes } from 'react';
import { useState } from 'react';
+import { Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Download } from 'lucide-react';
import { downloadPDF } from '@documenso/lib/client-only/download-pdf';
@@ -24,9 +26,11 @@ export const DocumentDownloadButton = ({
disabled,
...props
}: DownloadButtonProps) => {
- const [isLoading, setIsLoading] = useState(false);
+ const { _ } = useLingui();
const { toast } = useToast();
+ const [isLoading, setIsLoading] = useState(false);
+
const onDownloadClick = async () => {
try {
setIsLoading(true);
@@ -43,8 +47,8 @@ export const DocumentDownloadButton = ({
setIsLoading(false);
toast({
- title: 'Something went wrong',
- description: 'An error occurred while downloading your document.',
+ title: _('Something went wrong'),
+ description: _('An error occurred while downloading your document.'),
variant: 'destructive',
});
}
@@ -61,7 +65,7 @@ export const DocumentDownloadButton = ({
{...props}
>
{!isLoading && <Download className="mr-2 h-5 w-5" />}
- Download
+ <Trans>Download</Trans>
</Button>
);
};
diff --git a/packages/ui/components/document/document-global-auth-access-select.tsx b/packages/ui/components/document/document-global-auth-access-select.tsx
index 4704f80eb..0c55730ca 100644
--- a/packages/ui/components/document/document-global-auth-access-select.tsx
+++ b/packages/ui/components/document/document-global-auth-access-select.tsx
@@ -2,6 +2,8 @@
import React, { forwardRef } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type { SelectProps } from '@radix-ui/react-select';
import { InfoIcon } from 'lucide-react';
@@ -17,24 +19,33 @@ import {
import { Tooltip, TooltipContent, TooltipTrigger } from '@documenso/ui/primitives/tooltip';
export const DocumentGlobalAuthAccessSelect = forwardRef<HTMLButtonElement, SelectProps>(
- (props, ref) => (
- <Select {...props}>
- <SelectTrigger ref={ref} className="bg-background text-muted-foreground">
- <SelectValue data-testid="documentAccessSelectValue" placeholder="No restrictions" />
- </SelectTrigger>
+ (props, ref) => {
+ const { _ } = useLingui();
- <SelectContent position="popper">
- {Object.values(DocumentAccessAuth).map((authType) => (
- <SelectItem key={authType} value={authType}>
- {DOCUMENT_AUTH_TYPES[authType].value}
- </SelectItem>
- ))}
+ return (
+ <Select {...props}>
+ <SelectTrigger ref={ref} className="bg-background text-muted-foreground">
+ <SelectValue
+ data-testid="documentAccessSelectValue"
+ placeholder={_(msg`No restrictions`)}
+ />
+ </SelectTrigger>
+
+ <SelectContent position="popper">
+ {Object.values(DocumentAccessAuth).map((authType) => (
+ <SelectItem key={authType} value={authType}>
+ {DOCUMENT_AUTH_TYPES[authType].value}
+ </SelectItem>
+ ))}
- {/* Note: -1 is remapped in the Zod schema to the required value. */}
- <SelectItem value={'-1'}>No restrictions</SelectItem>
- </SelectContent>
- </Select>
- ),
+ {/* Note: -1 is remapped in the Zod schema to the required value. */}
+ <SelectItem value={'-1'}>
+ <Trans>No restrictions</Trans>
+ </SelectItem>
+ </SelectContent>
+ </Select>
+ );
+ },
);
DocumentGlobalAuthAccessSelect.displayName = 'DocumentGlobalAuthAccessSelect';
@@ -47,18 +58,26 @@ export const DocumentGlobalAuthAccessTooltip = () => (
<TooltipContent className="text-foreground max-w-md space-y-2 p-4">
<h2>
- <strong>Document access</strong>
+ <strong>
+ <Trans>Document access</Trans>
+ </strong>
</h2>
- <p>The authentication required for recipients to view the document.</p>
+ <p>
+ <Trans>The authentication required for recipients to view the document.</Trans>
+ </p>
<ul className="ml-3.5 list-outside list-disc space-y-0.5 py-2">
<li>
- <strong>Require account</strong> - The recipient must be signed in to view the document
+ <Trans>
+ <strong>Require account</strong> - The recipient must be signed in to view the document
+ </Trans>
</li>
<li>
- <strong>No restrictions</strong> - The document can be accessed directly by the URL sent
- to the recipient
+ <Trans>
+ <strong>No restrictions</strong> - The document can be accessed directly by the URL sent
+ to the recipient
+ </Trans>
</li>
</ul>
</TooltipContent>
diff --git a/packages/ui/components/document/document-global-auth-action-select.tsx b/packages/ui/components/document/document-global-auth-action-select.tsx
index b341f459c..4458dd1d4 100644
--- a/packages/ui/components/document/document-global-auth-action-select.tsx
+++ b/packages/ui/components/document/document-global-auth-action-select.tsx
@@ -2,6 +2,8 @@
import React, { forwardRef } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type { SelectProps } from '@radix-ui/react-select';
import { InfoIcon } from 'lucide-react';
@@ -17,26 +19,36 @@ import {
import { Tooltip, TooltipContent, TooltipTrigger } from '@documenso/ui/primitives/tooltip';
export const DocumentGlobalAuthActionSelect = forwardRef<HTMLButtonElement, SelectProps>(
- (props, ref) => (
- <Select {...props}>
- <SelectTrigger className="bg-background text-muted-foreground">
- <SelectValue ref={ref} data-testid="documentActionSelectValue" placeholder="No restrictions" />
- </SelectTrigger>
+ (props, ref) => {
+ const { _ } = useLingui();
- <SelectContent position="popper">
- {Object.values(DocumentActionAuth)
- .filter((auth) => auth !== DocumentAuth.ACCOUNT)
- .map((authType) => (
- <SelectItem key={authType} value={authType}>
- {DOCUMENT_AUTH_TYPES[authType].value}
- </SelectItem>
- ))}
+ return (
+ <Select {...props}>
+ <SelectTrigger className="bg-background text-muted-foreground">
+ <SelectValue
+ ref={ref}
+ data-testid="documentActionSelectValue"
+ placeholder={_(msg`No restrictions`)}
+ />
+ </SelectTrigger>
- {/* Note: -1 is remapped in the Zod schema to the required value. */}
- <SelectItem value={'-1'}>No restrictions</SelectItem>
- </SelectContent>
- </Select>
- ),
+ <SelectContent position="popper">
+ {Object.values(DocumentActionAuth)
+ .filter((auth) => auth !== DocumentAuth.ACCOUNT)
+ .map((authType) => (
+ <SelectItem key={authType} value={authType}>
+ {DOCUMENT_AUTH_TYPES[authType].value}
+ </SelectItem>
+ ))}
+
+ {/* Note: -1 is remapped in the Zod schema to the required value. */}
+ <SelectItem value={'-1'}>
+ <Trans>No restrictions</Trans>
+ </SelectItem>
+ </SelectContent>
+ </Select>
+ );
+ },
);
DocumentGlobalAuthActionSelect.displayName = 'DocumentGlobalAuthActionSelect';
@@ -48,13 +60,19 @@ export const DocumentGlobalAuthActionTooltip = () => (
</TooltipTrigger>
<TooltipContent className="text-foreground max-w-md space-y-2 p-4">
- <h2>Global recipient action authentication</h2>
+ <h2>
+ <Trans>Global recipient action authentication</Trans>
+ </h2>
- <p>The authentication required for recipients to sign the signature field.</p>
+ <p>
+ <Trans>The authentication required for recipients to sign the signature field.</Trans>
+ </p>
<p>
- This can be overriden by setting the authentication requirements directly on each recipient
- in the next step.
+ <Trans>
+ This can be overriden by setting the authentication requirements directly on each
+ recipient in the next step.
+ </Trans>
</p>
<ul className="ml-3.5 list-outside list-disc space-y-0.5 py-2">
@@ -62,15 +80,21 @@ export const DocumentGlobalAuthActionTooltip = () => (
<strong>Require account</strong> - The recipient must be signed in
</li> */}
<li>
- <strong>Require passkey</strong> - The recipient must have an account and passkey
- configured via their settings
+ <Trans>
+ <strong>Require passkey</strong> - The recipient must have an account and passkey
+ configured via their settings
+ </Trans>
</li>
<li>
- <strong>Require 2FA</strong> - The recipient must have an account and 2FA enabled via
- their settings
+ <Trans>
+ <strong>Require 2FA</strong> - The recipient must have an account and 2FA enabled via
+ their settings
+ </Trans>
</li>
<li>
- <strong>No restrictions</strong> - No authentication required
+ <Trans>
+ <strong>No restrictions</strong> - No authentication required
+ </Trans>
</li>
</ul>
</TooltipContent>
diff --git a/packages/ui/components/document/document-send-email-message-helper.tsx b/packages/ui/components/document/document-send-email-message-helper.tsx
index 855baefa4..532a6ea25 100644
--- a/packages/ui/components/document/document-send-email-message-helper.tsx
+++ b/packages/ui/components/document/document-send-email-message-helper.tsx
@@ -2,11 +2,13 @@
import React from 'react';
+import { Trans } from '@lingui/macro';
+
export const DocumentSendEmailMessageHelper = () => {
return (
<div>
<p className="text-muted-foreground text-sm">
- You can use the following variables in your message:
+ <Trans>You can use the following variables in your message:</Trans>
</p>
<ul className="mt-2 flex list-inside list-disc flex-col gap-y-2 text-sm">
@@ -14,19 +16,19 @@ export const DocumentSendEmailMessageHelper = () => {
<code className="text-muted-foreground bg-muted-foreground/20 rounded p-1 text-sm">
{'{signer.name}'}
</code>{' '}
- - The signer's name
+ - <Trans>The signer's name</Trans>
</li>
<li className="text-muted-foreground">
<code className="text-muted-foreground bg-muted-foreground/20 rounded p-1 text-sm">
{'{signer.email}'}
</code>{' '}
- - The signer's email
+ - <Trans>The signer's email</Trans>
</li>
<li className="text-muted-foreground">
<code className="text-muted-foreground bg-muted-foreground/20 rounded p-1 text-sm">
{'{document.name}'}
</code>{' '}
- - The document's name
+ - <Trans>The document's name</Trans>
</li>
</ul>
</div>
diff --git a/packages/ui/components/document/document-share-button.tsx b/packages/ui/components/document/document-share-button.tsx
index e20e677c7..59a58b496 100644
--- a/packages/ui/components/document/document-share-button.tsx
+++ b/packages/ui/components/document/document-share-button.tsx
@@ -3,15 +3,13 @@
import type { HTMLAttributes } from 'react';
import React, { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Copy, Sparkles } from 'lucide-react';
import { FaXTwitter } from 'react-icons/fa6';
import { useCopyShareLink } from '@documenso/lib/client-only/hooks/use-copy-share-link';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
-import {
- TOAST_DOCUMENT_SHARE_ERROR,
- TOAST_DOCUMENT_SHARE_SUCCESS,
-} from '@documenso/lib/constants/toast';
import { generateTwitterIntent } from '@documenso/lib/universal/generate-twitter-intent';
import { trpc } from '@documenso/trpc/react';
@@ -39,11 +37,22 @@ export const DocumentShareButton = ({
className,
trigger,
}: DocumentShareButtonProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { copyShareLink, createAndCopyShareLink, isCopyingShareLink } = useCopyShareLink({
- onSuccess: () => toast(TOAST_DOCUMENT_SHARE_SUCCESS),
- onError: () => toast(TOAST_DOCUMENT_SHARE_ERROR),
+ onSuccess: () =>
+ toast({
+ title: _(msg`Copied to clipboard`),
+ description: _(msg`The sharing link has been copied to your clipboard.`),
+ }),
+ onError: () =>
+ toast({
+ title: _(msg`Something went wrong`),
+ description: _(msg`The sharing link could not be created at this time. Please try again.`),
+ variant: 'destructive',
+ duration: 5000,
+ }),
});
const [isOpen, setIsOpen] = useState(false);
@@ -123,7 +132,7 @@ export const DocumentShareButton = ({
loading={isLoading}
>
{!isLoading && <Sparkles className="mr-2 h-5 w-5" />}
- Share Signature Card
+ <Trans>Share Signature Card</Trans>
</Button>
)}
</DialogTrigger>
diff --git a/packages/ui/components/recipient/recipient-action-auth-select.tsx b/packages/ui/components/recipient/recipient-action-auth-select.tsx
index f42df157a..e21605ee8 100644
--- a/packages/ui/components/recipient/recipient-action-auth-select.tsx
+++ b/packages/ui/components/recipient/recipient-action-auth-select.tsx
@@ -2,6 +2,8 @@
import React from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import type { SelectProps } from '@radix-ui/react-select';
import { InfoIcon } from 'lucide-react';
@@ -19,10 +21,12 @@ import { Tooltip, TooltipContent, TooltipTrigger } from '@documenso/ui/primitive
export type RecipientActionAuthSelectProps = SelectProps;
export const RecipientActionAuthSelect = (props: RecipientActionAuthSelectProps) => {
+ const { _ } = useLingui();
+
return (
<Select {...props}>
<SelectTrigger className="bg-background text-muted-foreground">
- <SelectValue placeholder="Inherit authentication method" />
+ <SelectValue placeholder={_(msg`Inherit authentication method`)} />
<Tooltip>
<TooltipTrigger className="-mr-1 ml-auto">
@@ -31,32 +35,46 @@ export const RecipientActionAuthSelect = (props: RecipientActionAuthSelectProps)
<TooltipContent className="text-foreground max-w-md p-4">
<h2>
- <strong>Recipient action authentication</strong>
+ <strong>
+ <Trans>Recipient action authentication</Trans>
+ </strong>
</h2>
- <p>The authentication required for recipients to sign fields</p>
+ <p>
+ <Trans>The authentication required for recipients to sign fields</Trans>
+ </p>
- <p className="mt-2">This will override any global settings.</p>
+ <p className="mt-2">
+ <Trans>This will override any global settings.</Trans>
+ </p>
<ul className="ml-3.5 list-outside list-disc space-y-0.5 py-2">
<li>
- <strong>Inherit authentication method</strong> - Use the global action signing
- authentication method configured in the "General Settings" step
+ <Trans>
+ <strong>Inherit authentication method</strong> - Use the global action signing
+ authentication method configured in the "General Settings" step
+ </Trans>
</li>
{/* <li>
<strong>Require account</strong> - The recipient must be
signed in
</li> */}
<li>
- <strong>Require passkey</strong> - The recipient must have an account and passkey
- configured via their settings
+ <Trans>
+ <strong>Require passkey</strong> - The recipient must have an account and passkey
+ configured via their settings
+ </Trans>
</li>
<li>
- <strong>Require 2FA</strong> - The recipient must have an account and 2FA enabled
- via their settings
+ <Trans>
+ <strong>Require 2FA</strong> - The recipient must have an account and 2FA enabled
+ via their settings
+ </Trans>
</li>
<li>
- <strong>None</strong> - No authentication required
+ <Trans>
+ <strong>None</strong> - No authentication required
+ </Trans>
</li>
</ul>
</TooltipContent>
@@ -65,7 +83,9 @@ export const RecipientActionAuthSelect = (props: RecipientActionAuthSelectProps)
<SelectContent position="popper">
{/* Note: -1 is remapped in the Zod schema to the required value. */}
- <SelectItem value="-1">Inherit authentication method</SelectItem>
+ <SelectItem value="-1">
+ <Trans>Inherit authentication method</Trans>
+ </SelectItem>
{Object.values(RecipientActionAuth)
.filter((auth) => auth !== RecipientActionAuth.ACCOUNT)
diff --git a/packages/ui/components/recipient/recipient-role-select.tsx b/packages/ui/components/recipient/recipient-role-select.tsx
index 8b7a2c9ae..74679c580 100644
--- a/packages/ui/components/recipient/recipient-role-select.tsx
+++ b/packages/ui/components/recipient/recipient-role-select.tsx
@@ -2,6 +2,7 @@
import React, { forwardRef } from 'react';
+import { Trans } from '@lingui/macro';
import type { SelectProps } from '@radix-ui/react-select';
import { InfoIcon } from 'lucide-react';
@@ -27,14 +28,18 @@ export const RecipientRoleSelect = forwardRef<HTMLButtonElement, RecipientRoleSe
<div className="flex items-center">
<div className="flex w-[150px] items-center">
<span className="mr-2">{ROLE_ICONS[RecipientRole.SIGNER]}</span>
- Needs to sign
+ <Trans>Needs to sign</Trans>
</div>
<Tooltip>
<TooltipTrigger>
<InfoIcon className="h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-foreground z-9999 max-w-md p-4">
- <p>The recipient is required to sign the document for it to be completed.</p>
+ <p>
+ <Trans>
+ The recipient is required to sign the document for it to be completed.
+ </Trans>
+ </p>
</TooltipContent>
</Tooltip>
</div>
@@ -44,14 +49,18 @@ export const RecipientRoleSelect = forwardRef<HTMLButtonElement, RecipientRoleSe
<div className="flex items-center">
<div className="flex w-[150px] items-center">
<span className="mr-2">{ROLE_ICONS[RecipientRole.APPROVER]}</span>
- Needs to approve
+ <Trans>Needs to approve</Trans>
</div>
<Tooltip>
<TooltipTrigger>
<InfoIcon className="h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-foreground z-9999 max-w-md p-4">
- <p>The recipient is required to approve the document for it to be completed.</p>
+ <p>
+ <Trans>
+ The recipient is required to approve the document for it to be completed.
+ </Trans>
+ </p>
</TooltipContent>
</Tooltip>
</div>
@@ -61,14 +70,18 @@ export const RecipientRoleSelect = forwardRef<HTMLButtonElement, RecipientRoleSe
<div className="flex items-center">
<div className="flex w-[150px] items-center">
<span className="mr-2">{ROLE_ICONS[RecipientRole.VIEWER]}</span>
- Needs to view
+ <Trans>Needs to view</Trans>
</div>
<Tooltip>
<TooltipTrigger>
<InfoIcon className="h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-foreground z-9999 max-w-md p-4">
- <p>The recipient is required to view the document for it to be completed.</p>
+ <p>
+ <Trans>
+ The recipient is required to view the document for it to be completed.
+ </Trans>
+ </p>
</TooltipContent>
</Tooltip>
</div>
@@ -79,7 +92,7 @@ export const RecipientRoleSelect = forwardRef<HTMLButtonElement, RecipientRoleSe
<div className="flex items-center">
<div className="flex w-[150px] items-center">
<span className="mr-2">{ROLE_ICONS[RecipientRole.CC]}</span>
- Receives copy
+ <Trans>Receives copy</Trans>
</div>
<Tooltip>
<TooltipTrigger>
@@ -87,8 +100,10 @@ export const RecipientRoleSelect = forwardRef<HTMLButtonElement, RecipientRoleSe
</TooltipTrigger>
<TooltipContent className="text-foreground z-9999 max-w-md p-4">
<p>
- The recipient is not required to take any action and receives a copy of the
- document after it is completed.
+ <Trans>
+ The recipient is not required to take any action and receives a copy of the
+ document after it is completed.
+ </Trans>
</p>
</TooltipContent>
</Tooltip>
diff --git a/packages/ui/package.json b/packages/ui/package.json
index a9a90545e..c5d406fcd 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -28,7 +28,6 @@
"dependencies": {
"@documenso/lib": "*",
"@hookform/resolvers": "^3.3.0",
- "@lingui/macro": "^4.11.1",
"@lingui/react": "^4.11.1",
"@radix-ui/react-accordion": "^1.1.1",
"@radix-ui/react-alert-dialog": "^1.0.3",
@@ -78,4 +77,4 @@
"ts-pattern": "^5.0.5",
"zod": "^3.22.4"
}
-}
\ No newline at end of file
+}
diff --git a/packages/ui/primitives/combobox.tsx b/packages/ui/primitives/combobox.tsx
index 9ba113b67..ff3845407 100644
--- a/packages/ui/primitives/combobox.tsx
+++ b/packages/ui/primitives/combobox.tsx
@@ -1,5 +1,7 @@
import * as React from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { Check, ChevronDown } from 'lucide-react';
import { cn } from '../lib/utils';
@@ -24,6 +26,8 @@ const Combobox = ({
disabled = false,
placeholder,
}: ComboboxProps) => {
+ const { _ } = useLingui();
+
const [open, setOpen] = React.useState(false);
const onOptionSelected = (newValue: string) => {
@@ -31,7 +35,7 @@ const Combobox = ({
setOpen(false);
};
- const placeholderValue = placeholder ?? 'Select an option';
+ const placeholderValue = placeholder ?? _(msg`Select an option`);
return (
<Popover open={open} onOpenChange={setOpen}>
@@ -52,7 +56,9 @@ const Combobox = ({
<Command>
<CommandInput placeholder={value || placeholderValue} />
- <CommandEmpty>No value found.</CommandEmpty>
+ <CommandEmpty>
+ <Trans>No value found.</Trans>
+ </CommandEmpty>
<CommandGroup className="max-h-[250px] overflow-y-auto">
{options.map((option, index) => (
diff --git a/packages/ui/primitives/data-table-pagination.tsx b/packages/ui/primitives/data-table-pagination.tsx
index 1d419ba87..5671bda7f 100644
--- a/packages/ui/primitives/data-table-pagination.tsx
+++ b/packages/ui/primitives/data-table-pagination.tsx
@@ -1,3 +1,4 @@
+import { Plural, Trans } from '@lingui/macro';
import type { Table } from '@tanstack/react-table';
import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from 'lucide-react';
import { match } from 'ts-pattern';
@@ -26,8 +27,10 @@ export function DataTablePagination<TData>({
{match(additionalInformation)
.with('SelectedCount', () => (
<span>
- {table.getFilteredSelectedRowModel().rows.length} of{' '}
- {table.getFilteredRowModel().rows.length} row(s) selected.
+ <Trans>
+ {table.getFilteredSelectedRowModel().rows.length} of{' '}
+ {table.getFilteredRowModel().rows.length} row(s) selected.
+ </Trans>
</span>
))
.with('VisibleCount', () => {
@@ -35,7 +38,11 @@ export function DataTablePagination<TData>({
return (
<span data-testid="data-table-count">
- Showing {visibleRows} result{visibleRows > 1 && 's'}.
+ <Plural
+ value={visibleRows}
+ one={`Showing # result.`}
+ other={`Showing # results.`}
+ />
</span>
);
})
@@ -44,7 +51,9 @@ export function DataTablePagination<TData>({
</div>
<div className="flex items-center gap-x-2">
- <p className="whitespace-nowrap text-sm font-medium">Rows per page</p>
+ <p className="whitespace-nowrap text-sm font-medium">
+ <Trans>Rows per page</Trans>
+ </p>
<Select
value={`${table.getState().pagination.pageSize}`}
onValueChange={(value) => {
@@ -65,7 +74,9 @@ export function DataTablePagination<TData>({
</div>
<div className="flex flex-wrap items-center gap-x-6 gap-y-4 lg:gap-x-8">
<div className="flex items-center text-sm font-medium md:justify-center">
- Page {table.getState().pagination.pageIndex + 1} of {table.getPageCount() || 1}
+ <Trans>
+ Page {table.getState().pagination.pageIndex + 1} of {table.getPageCount() || 1}
+ </Trans>
</div>
<div className="flex items-center gap-x-2">
diff --git a/packages/ui/primitives/data-table.tsx b/packages/ui/primitives/data-table.tsx
index 0d8556d89..8836ecd48 100644
--- a/packages/ui/primitives/data-table.tsx
+++ b/packages/ui/primitives/data-table.tsx
@@ -2,6 +2,7 @@
import React, { useMemo } from 'react';
+import { Trans } from '@lingui/macro';
import type {
ColumnDef,
PaginationState,
@@ -130,7 +131,7 @@ export function DataTable<TData, TValue>({
<TableRow>
{error.component ?? (
<TableCell colSpan={columns.length} className="h-32 text-center">
- Something went wrong.
+ <Trans>Something went wrong.</Trans>
</TableCell>
)}
</TableRow>
@@ -141,14 +142,16 @@ export function DataTable<TData, TValue>({
) : (
<TableRow>
<TableCell colSpan={columns.length} className="h-32 text-center">
- <p>No results found</p>
+ <p>
+ <Trans>No results found</Trans>
+ </p>
{hasFilters && onClearFilters !== undefined && (
<button
onClick={() => onClearFilters()}
className="text-foreground mt-1 text-sm"
>
- Clear filters
+ <Trans>Clear filters</Trans>
</button>
)}
</TableCell>
diff --git a/packages/ui/primitives/document-dropzone.tsx b/packages/ui/primitives/document-dropzone.tsx
index c0006a5f6..ed0b72c5d 100644
--- a/packages/ui/primitives/document-dropzone.tsx
+++ b/packages/ui/primitives/document-dropzone.tsx
@@ -2,6 +2,9 @@
import Link from 'next/link';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { motion } from 'framer-motion';
import { AlertTriangle, Plus } from 'lucide-react';
import { useDropzone } from 'react-dropzone';
@@ -25,7 +28,7 @@ import { Card, CardContent } from './card';
export type DocumentDropzoneProps = {
className?: string;
disabled?: boolean;
- disabledMessage?: string;
+ disabledMessage?: MessageDescriptor;
onDrop?: (_file: File) => void | Promise<void>;
onDropRejected?: () => void | Promise<void>;
type?: 'document' | 'template';
@@ -37,10 +40,12 @@ export const DocumentDropzone = ({
onDrop,
onDropRejected,
disabled,
- disabledMessage = 'You cannot upload documents at this time.',
+ disabledMessage = msg`You cannot upload documents at this time.`,
type = 'document',
...props
}: DocumentDropzoneProps) => {
+ const { _ } = useLingui();
+
const { getRootProps, getInputProps } = useDropzone({
accept: {
'application/pdf': ['.pdf'],
@@ -61,8 +66,8 @@ export const DocumentDropzone = ({
});
const heading = {
- document: disabled ? 'You have reached your document limit.' : 'Add a document',
- template: 'Upload Template Document',
+ document: disabled ? msg`You have reached your document limit.` : msg`Add a document`,
+ template: msg`Upload Template Document`,
};
return (
@@ -151,15 +156,17 @@ export const DocumentDropzone = ({
<input {...getInputProps()} />
- <p className="text-foreground mt-8 font-medium">{heading[type]}</p>
+ <p className="text-foreground mt-8 font-medium">{_(heading[type])}</p>
<p className="text-muted-foreground/80 mt-1 text-center text-sm">
- {disabled ? disabledMessage : 'Drag & drop your PDF here.'}
+ {_(disabled ? disabledMessage : msg`Drag & drop your PDF here.`)}
</p>
{disabled && IS_BILLING_ENABLED() && (
<Button className="hover:bg-warning/80 bg-warning mt-4 w-32" asChild>
- <Link href="/settings/billing">Upgrade</Link>
+ <Link href="/settings/billing">
+ <Trans>Upgrade</Trans>
+ </Link>
</Button>
)}
</CardContent>
diff --git a/packages/ui/primitives/document-flow/add-fields.tsx b/packages/ui/primitives/document-flow/add-fields.tsx
index 148cadc3c..5a257167c 100644
--- a/packages/ui/primitives/document-flow/add-fields.tsx
+++ b/packages/ui/primitives/document-flow/add-fields.tsx
@@ -4,6 +4,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { Caveat } from 'next/font/google';
+import { Trans, msg } from '@lingui/macro';
import {
CalendarDays,
Check,
@@ -24,7 +25,7 @@ import { useHotkeys } from 'react-hotkeys-hook';
import { getBoundingClientRect } from '@documenso/lib/client-only/get-bounding-client-rect';
import { useDocumentElement } from '@documenso/lib/client-only/hooks/use-document-element';
import { PDF_VIEWER_PAGE_SELECTOR } from '@documenso/lib/constants/pdf-viewer';
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import {
type TFieldMetaSchema as FieldMeta,
ZFieldMetaSchema,
@@ -506,8 +507,8 @@ export const AddFieldsFormPartial = ({
<>
{showAdvancedSettings && currentField ? (
<FieldAdvancedSettings
- title="Advanced settings"
- description={`Configure the ${FRIENDLY_FIELD_TYPE[currentField.type]} field`}
+ title={msg`Advanced settings`}
+ description={msg`Configure the ${FRIENDLY_FIELD_TYPE[currentField.type]} field`}
field={currentField}
fields={localFields}
onAdvancedSettings={handleAdvancedSettings}
@@ -609,14 +610,15 @@ export const AddFieldsFormPartial = ({
<CommandEmpty>
<span className="text-muted-foreground inline-block px-4">
- No recipient matching this description was found.
+ <Trans>No recipient matching this description was found.</Trans>
</span>
</CommandEmpty>
{recipientsByRoleToDisplay.map(([role, roleRecipients], roleIndex) => (
<CommandGroup key={roleIndex}>
<div className="text-muted-foreground mb-1 ml-2 mt-2 text-xs font-medium">
- {`${RECIPIENT_ROLES_DESCRIPTION[role].roleName}s`}
+ {/* Todo: Translations - Add plural translations. */}
+ {`${RECIPIENT_ROLES_DESCRIPTION_ENG[role].roleName}s`}
</div>
{roleRecipients.length === 0 && (
@@ -624,7 +626,7 @@ export const AddFieldsFormPartial = ({
key={`${role}-empty`}
className="text-muted-foreground/80 px-4 pb-4 pt-2.5 text-center text-xs"
>
- No recipients with this role
+ <Trans>No recipients with this role</Trans>
</div>
)}
@@ -680,8 +682,10 @@ export const AddFieldsFormPartial = ({
</TooltipTrigger>
<TooltipContent className="text-muted-foreground max-w-xs">
- This document has already been sent to this recipient. You can
- no longer edit this recipient.
+ <Trans>
+ This document has already been sent to this recipient. You
+ can no longer edit this recipient.
+ </Trans>
</TooltipContent>
</Tooltip>
)}
@@ -717,7 +721,7 @@ export const AddFieldsFormPartial = ({
fontCaveat.className,
)}
>
- Signature
+ <Trans>Signature</Trans>
</p>
</CardContent>
</Card>
@@ -769,7 +773,7 @@ export const AddFieldsFormPartial = ({
)}
>
<Mail className="h-4 w-4" />
- Email
+ <Trans>Email</Trans>
</p>
</CardContent>
</Card>
@@ -795,7 +799,7 @@ export const AddFieldsFormPartial = ({
)}
>
<User className="h-4 w-4" />
- Name
+ <Trans>Name</Trans>
</p>
</CardContent>
</Card>
@@ -821,7 +825,7 @@ export const AddFieldsFormPartial = ({
)}
>
<CalendarDays className="h-4 w-4" />
- Date
+ <Trans>Date</Trans>
</p>
</CardContent>
</Card>
@@ -847,7 +851,7 @@ export const AddFieldsFormPartial = ({
)}
>
<Type className="h-4 w-4" />
- Text
+ <Trans>Text</Trans>
</p>
</CardContent>
</Card>
@@ -873,7 +877,7 @@ export const AddFieldsFormPartial = ({
)}
>
<Hash className="h-4 w-4" />
- Number
+ <Trans>Number</Trans>
</p>
</CardContent>
</Card>
@@ -899,7 +903,7 @@ export const AddFieldsFormPartial = ({
)}
>
<Disc className="h-4 w-4" />
- Radio
+ <Trans>Radio</Trans>
</p>
</CardContent>
</Card>
@@ -925,7 +929,7 @@ export const AddFieldsFormPartial = ({
)}
>
<CheckSquare className="h-4 w-4" />
- Checkbox
+ <Trans>Checkbox</Trans>
</p>
</CardContent>
</Card>
@@ -951,7 +955,7 @@ export const AddFieldsFormPartial = ({
)}
>
<ChevronDown className="h-4 w-4" />
- Dropdown
+ <Trans>Dropdown</Trans>
</p>
</CardContent>
</Card>
@@ -964,23 +968,21 @@ export const AddFieldsFormPartial = ({
<div className="mt-4">
<ul>
<li className="text-sm text-red-500">
- To proceed further, please set at least one value for the{' '}
- {emptyCheckboxFields.length > 0
- ? 'Checkbox'
- : emptyRadioFields.length > 0
- ? 'Radio'
- : 'Select'}{' '}
- field.
+ <Trans>
+ To proceed further, please set at least one value for the{' '}
+ {emptyCheckboxFields.length > 0
+ ? 'Checkbox'
+ : emptyRadioFields.length > 0
+ ? 'Radio'
+ : 'Select'}{' '}
+ field.
+ </Trans>
</li>
</ul>
</div>
)}
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={isSubmitting}
@@ -991,7 +993,7 @@ export const AddFieldsFormPartial = ({
remove();
documentFlow.onBackStep?.();
}}
- goBackLabel={canRenderBackButtonAsRemove ? 'Remove' : undefined}
+ goBackLabel={canRenderBackButtonAsRemove ? msg`Remove` : undefined}
onGoNextClick={handleGoNextClick}
/>
</DocumentFlowFormContainerFooter>
diff --git a/packages/ui/primitives/document-flow/add-settings.tsx b/packages/ui/primitives/document-flow/add-settings.tsx
index a95ca29db..42ea50ef3 100644
--- a/packages/ui/primitives/document-flow/add-settings.tsx
+++ b/packages/ui/primitives/document-flow/add-settings.tsx
@@ -3,6 +3,7 @@
import { useEffect } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans } from '@lingui/macro';
import { InfoIcon } from 'lucide-react';
import { useForm } from 'react-hook-form';
@@ -140,7 +141,9 @@ export const AddSettingsFormPartial = ({
name="title"
render={({ field }) => (
<FormItem>
- <FormLabel required>Title</FormLabel>
+ <FormLabel required>
+ <Trans>Title</Trans>
+ </FormLabel>
<FormControl>
<Input
@@ -160,7 +163,7 @@ export const AddSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- Document access
+ <Trans>Document access</Trans>
<DocumentGlobalAuthAccessTooltip />
</FormLabel>
@@ -178,7 +181,7 @@ export const AddSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- Recipient action authentication
+ <Trans>Recipient action authentication</Trans>
<DocumentGlobalAuthActionTooltip />
</FormLabel>
@@ -193,7 +196,7 @@ export const AddSettingsFormPartial = ({
<Accordion type="multiple" className="mt-6">
<AccordionItem value="advanced-options" className="border-none">
<AccordionTrigger className="text-foreground mb-2 rounded border px-3 py-2 text-left hover:bg-neutral-200/30 hover:no-underline">
- Advanced Options
+ <Trans>Advanced Options</Trans>
</AccordionTrigger>
<AccordionContent className="text-muted-foreground -mx-1 px-1 pt-2 text-sm leading-relaxed">
@@ -204,15 +207,17 @@ export const AddSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- External ID{' '}
+ <Trans>External ID</Trans>{' '}
<Tooltip>
<TooltipTrigger>
<InfoIcon className="mx-2 h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-muted-foreground max-w-xs">
- Add an external ID to the document. This can be used to identify the
- document in external systems.
+ <Trans>
+ Add an external ID to the document. This can be used to identify
+ the document in external systems.
+ </Trans>
</TooltipContent>
</Tooltip>
</FormLabel>
@@ -231,7 +236,9 @@ export const AddSettingsFormPartial = ({
name="meta.dateFormat"
render={({ field }) => (
<FormItem>
- <FormLabel>Date Format</FormLabel>
+ <FormLabel>
+ <Trans>Date Format</Trans>
+ </FormLabel>
<FormControl>
<Select
@@ -263,7 +270,9 @@ export const AddSettingsFormPartial = ({
name="meta.timezone"
render={({ field }) => (
<FormItem>
- <FormLabel>Time Zone</FormLabel>
+ <FormLabel>
+ <Trans>Time Zone</Trans>
+ </FormLabel>
<FormControl>
<Combobox
@@ -286,14 +295,16 @@ export const AddSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- Redirect URL{' '}
+ <Trans>Redirect URL</Trans>{' '}
<Tooltip>
<TooltipTrigger>
<InfoIcon className="mx-2 h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-muted-foreground max-w-xs">
- Add a URL to redirect the user to once the document is signed
+ <Trans>
+ Add a URL to redirect the user to once the document is signed
+ </Trans>
</TooltipContent>
</Tooltip>
</FormLabel>
@@ -315,11 +326,7 @@ export const AddSettingsFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={form.formState.isSubmitting}
diff --git a/packages/ui/primitives/document-flow/add-signature.tsx b/packages/ui/primitives/document-flow/add-signature.tsx
index 38348ec0d..fe377ec82 100644
--- a/packages/ui/primitives/document-flow/add-signature.tsx
+++ b/packages/ui/primitives/document-flow/add-signature.tsx
@@ -3,6 +3,7 @@
import { useMemo, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans } from '@lingui/macro';
import { DateTime } from 'luxon';
import { useForm } from 'react-hook-form';
import { match } from 'ts-pattern';
@@ -267,7 +268,9 @@ export const AddSignatureFormPartial = ({
name="email"
render={({ field }) => (
<FormItem>
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
<FormControl>
<Input
className="bg-background"
@@ -291,7 +294,9 @@ export const AddSignatureFormPartial = ({
name="name"
render={({ field }) => (
<FormItem>
- <FormLabel required={requireName}>Name</FormLabel>
+ <FormLabel required={requireName}>
+ <Trans>Name</Trans>
+ </FormLabel>
<FormControl>
<Input
className="bg-background"
@@ -314,7 +319,9 @@ export const AddSignatureFormPartial = ({
name="signature"
render={({ field }) => (
<FormItem>
- <FormLabel required={requireSignature}>Signature</FormLabel>
+ <FormLabel required={requireSignature}>
+ <Trans>Signature</Trans>
+ </FormLabel>
<FormControl>
<Card
className={cn('mt-2', {
@@ -349,7 +356,9 @@ export const AddSignatureFormPartial = ({
name="customText"
render={({ field }) => (
<FormItem>
- <FormLabel required={requireCustomText}>Custom Text</FormLabel>
+ <FormLabel required={requireCustomText}>
+ <Trans>Custom Text</Trans>
+ </FormLabel>
<FormControl>
<Input
className="bg-background"
@@ -369,11 +378,7 @@ export const AddSignatureFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={form.formState.isSubmitting}
@@ -386,7 +391,7 @@ export const AddSignatureFormPartial = ({
{validateUninsertedFields && uninsertedFields[0] && (
<FieldToolTip key={uninsertedFields[0].id} field={uninsertedFields[0]} color="warning">
- Click to insert field
+ <Trans>Click to insert field</Trans>
</FieldToolTip>
)}
diff --git a/packages/ui/primitives/document-flow/add-signers.tsx b/packages/ui/primitives/document-flow/add-signers.tsx
index 3ec73f599..f4f7104d4 100644
--- a/packages/ui/primitives/document-flow/add-signers.tsx
+++ b/packages/ui/primitives/document-flow/add-signers.tsx
@@ -3,6 +3,8 @@
import React, { useId, useMemo, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { motion } from 'framer-motion';
import { Plus, Trash } from 'lucide-react';
import { useSession } from 'next-auth/react';
@@ -54,9 +56,11 @@ export const AddSignersFormPartial = ({
onSubmit,
isDocumentPdfLoaded,
}: AddSignersFormProps) => {
+ const { _ } = useLingui();
const { toast } = useToast();
const { remaining } = useLimits();
const { data: session } = useSession();
+
const user = session?.user;
const initialId = useId();
@@ -157,8 +161,8 @@ export const AddSignersFormPartial = ({
if (hasBeenSentToRecipientId(signer.nativeId)) {
toast({
- title: 'Cannot remove signer',
- description: 'This signer has already received the document.',
+ title: _(msg`Cannot remove signer`),
+ description: _(msg`This signer has already received the document.`),
variant: 'destructive',
});
@@ -224,13 +228,15 @@ export const AddSignersFormPartial = ({
})}
>
{!showAdvancedSettings && index === 0 && (
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
)}
<FormControl>
<Input
type="email"
- placeholder="Email"
+ placeholder={_(msg`Email`)}
{...field}
disabled={isSubmitting || hasBeenSentToRecipientId(signer.nativeId)}
onKeyDown={onKeyDown}
@@ -256,7 +262,7 @@ export const AddSignersFormPartial = ({
<FormControl>
<Input
- placeholder="Name"
+ placeholder={_(msg`Name`)}
{...field}
disabled={isSubmitting || hasBeenSentToRecipientId(signer.nativeId)}
onKeyDown={onKeyDown}
@@ -339,7 +345,7 @@ export const AddSignersFormPartial = ({
onClick={() => onAddSigner()}
>
<Plus className="-ml-1 mr-2 h-5 w-5" />
- Add Signer
+ <Trans>Add Signer</Trans>
</Button>
<Button
@@ -350,7 +356,7 @@ export const AddSignersFormPartial = ({
onClick={() => onAddSelfSigner()}
>
<Plus className="-ml-1 mr-2 h-5 w-5" />
- Add myself
+ <Trans>Add myself</Trans>
</Button>
</div>
@@ -368,7 +374,7 @@ export const AddSignersFormPartial = ({
className="text-muted-foreground ml-2 text-sm"
htmlFor="showAdvancedRecipientSettings"
>
- Show advanced settings
+ <Trans>Show advanced settings</Trans>
</label>
</div>
)}
@@ -377,11 +383,7 @@ export const AddSignersFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={isSubmitting}
diff --git a/packages/ui/primitives/document-flow/add-subject.tsx b/packages/ui/primitives/document-flow/add-subject.tsx
index bef5fbf5c..a2b145641 100644
--- a/packages/ui/primitives/document-flow/add-subject.tsx
+++ b/packages/ui/primitives/document-flow/add-subject.tsx
@@ -1,6 +1,7 @@
'use client';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
import { useForm } from 'react-hook-form';
import type { Field, Recipient } from '@documenso/prisma/client';
@@ -74,7 +75,9 @@ export const AddSubjectFormPartial = ({
<div className="flex flex-col gap-y-4">
<div>
<Label htmlFor="subject">
- Subject <span className="text-muted-foreground">(Optional)</span>
+ <Trans>
+ Subject <span className="text-muted-foreground">(Optional)</span>
+ </Trans>
</Label>
<Input
@@ -89,7 +92,9 @@ export const AddSubjectFormPartial = ({
<div>
<Label htmlFor="message">
- Message <span className="text-muted-foreground">(Optional)</span>
+ <Trans>
+ Message <span className="text-muted-foreground">(Optional)</span>
+ </Trans>
</Label>
<Textarea
@@ -111,16 +116,12 @@ export const AddSubjectFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={isSubmitting}
disabled={isSubmitting}
- goNextLabel={document.status === DocumentStatus.DRAFT ? 'Send' : 'Update'}
+ goNextLabel={document.status === DocumentStatus.DRAFT ? msg`Send` : msg`Update`}
onGoBackClick={previousStep}
onGoNextClick={() => void onFormSubmit()}
/>
diff --git a/packages/ui/primitives/document-flow/document-flow-root.tsx b/packages/ui/primitives/document-flow/document-flow-root.tsx
index bdf1fa744..14ea52547 100644
--- a/packages/ui/primitives/document-flow/document-flow-root.tsx
+++ b/packages/ui/primitives/document-flow/document-flow-root.tsx
@@ -3,6 +3,9 @@
import type { HTMLAttributes } from 'react';
import React from 'react';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { motion } from 'framer-motion';
import { cn } from '../../lib/utils';
@@ -33,19 +36,21 @@ export const DocumentFlowFormContainer = ({
};
export type DocumentFlowFormContainerHeaderProps = {
- title: string;
- description: string;
+ title: MessageDescriptor;
+ description: MessageDescriptor;
};
export const DocumentFlowFormContainerHeader = ({
title,
description,
}: DocumentFlowFormContainerHeaderProps) => {
+ const { _ } = useLingui();
+
return (
<>
- <h3 className="text-foreground text-2xl font-semibold">{title}</h3>
+ <h3 className="text-foreground text-2xl font-semibold">{_(title)}</h3>
- <p className="text-muted-foreground mt-2 text-sm">{description}</p>
+ <p className="text-muted-foreground mt-2 text-sm">{_(description)}</p>
<hr className="border-border mb-8 mt-4" />
</>
@@ -88,7 +93,6 @@ export const DocumentFlowFormContainerFooter = ({
};
export type DocumentFlowFormContainerStepProps = {
- title: string;
step: number;
maxStep: number;
};
@@ -100,7 +104,9 @@ export const DocumentFlowFormContainerStep = ({
return (
<div>
<p className="text-muted-foreground text-sm">
- Step <span>{`${step} of ${maxStep}`}</span>
+ <Trans>
+ Step <span>{`${step} of ${maxStep}`}</span>
+ </Trans>
</p>
<div className="bg-muted relative mt-4 h-[2px] rounded-md">
@@ -120,8 +126,8 @@ export const DocumentFlowFormContainerStep = ({
export type DocumentFlowFormContainerActionsProps = {
canGoBack?: boolean;
canGoNext?: boolean;
- goNextLabel?: string;
- goBackLabel?: string;
+ goNextLabel?: MessageDescriptor;
+ goBackLabel?: MessageDescriptor;
onGoBackClick?: () => void;
onGoNextClick?: () => void;
loading?: boolean;
@@ -132,14 +138,15 @@ export type DocumentFlowFormContainerActionsProps = {
export const DocumentFlowFormContainerActions = ({
canGoBack = true,
canGoNext = true,
- goNextLabel = 'Continue',
- goBackLabel = 'Go Back',
+ goNextLabel = msg`Continue`,
+ goBackLabel = msg`Go Back`,
onGoBackClick,
onGoNextClick,
loading,
disabled,
disableNextStep = false,
}: DocumentFlowFormContainerActionsProps) => {
+ const { _ } = useLingui();
return (
<div className="mt-4 flex gap-x-4">
<Button
@@ -150,7 +157,7 @@ export const DocumentFlowFormContainerActions = ({
disabled={disabled || loading || !canGoBack || !onGoBackClick}
onClick={onGoBackClick}
>
- {goBackLabel}
+ {_(goBackLabel)}
</Button>
<Button
@@ -161,7 +168,7 @@ export const DocumentFlowFormContainerActions = ({
loading={loading}
onClick={onGoNextClick}
>
- {goNextLabel}
+ {_(goNextLabel)}
</Button>
</div>
);
diff --git a/packages/ui/primitives/document-flow/field-icon.tsx b/packages/ui/primitives/document-flow/field-icon.tsx
index 7a0e2c824..2723a61ce 100644
--- a/packages/ui/primitives/document-flow/field-icon.tsx
+++ b/packages/ui/primitives/document-flow/field-icon.tsx
@@ -1,3 +1,4 @@
+import { Trans } from '@lingui/macro';
import {
CalendarDays,
CheckSquare,
@@ -48,7 +49,7 @@ export const FieldIcon = ({
fontCaveatClassName,
)}
>
- Signature
+ <Trans>Signature</Trans>
</div>
);
} else {
diff --git a/packages/ui/primitives/document-flow/field-item-advanced-settings.tsx b/packages/ui/primitives/document-flow/field-item-advanced-settings.tsx
index 19616038d..23eb76b74 100644
--- a/packages/ui/primitives/document-flow/field-item-advanced-settings.tsx
+++ b/packages/ui/primitives/document-flow/field-item-advanced-settings.tsx
@@ -5,6 +5,9 @@ import { forwardRef, useEffect, useState } from 'react';
import { useParams } from 'next/navigation';
import { usePathname } from 'next/navigation';
+import type { MessageDescriptor } from '@lingui/core';
+import { msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { match } from 'ts-pattern';
import {
@@ -37,8 +40,8 @@ import { TextFieldAdvancedSettings } from './field-items-advanced-settings/text-
export type FieldAdvancedSettingsProps = {
teamId?: number;
- title: string;
- description: string;
+ title: MessageDescriptor;
+ description: MessageDescriptor;
field: FieldFormType;
fields: FieldFormType[];
onAdvancedSettings?: () => void;
@@ -121,7 +124,9 @@ export const FieldAdvancedSettings = forwardRef<HTMLDivElement, FieldAdvancedSet
},
ref,
) => {
+ const { _ } = useLingui();
const { toast } = useToast();
+
const params = useParams();
const pathname = usePathname();
const id = params?.id;
@@ -218,8 +223,8 @@ export const FieldAdvancedSettings = forwardRef<HTMLDivElement, FieldAdvancedSet
console.error('Failed to save to localStorage:', error);
toast({
- title: 'Error',
- description: 'Failed to save settings.',
+ title: _(msg`Error`),
+ description: _(msg`Failed to save settings.`),
variant: 'destructive',
});
}
@@ -288,8 +293,8 @@ export const FieldAdvancedSettings = forwardRef<HTMLDivElement, FieldAdvancedSet
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter className="mt-auto">
<DocumentFlowFormContainerActions
- goNextLabel="Save"
- goBackLabel="Cancel"
+ goNextLabel={msg`Save`}
+ goBackLabel={msg`Cancel`}
onGoBackClick={onAdvancedSettings}
onGoNextClick={handleOnGoNextClick}
disableNextStep={errors.length > 0}
diff --git a/packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx b/packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx
index 5723ddc80..77fe3933e 100644
--- a/packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx
+++ b/packages/ui/primitives/document-flow/field-items-advanced-settings/checkbox-field.tsx
@@ -2,6 +2,8 @@
import { useEffect, useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ChevronDown, ChevronUp, Trash } from 'lucide-react';
import { validateCheckboxField } from '@documenso/lib/advanced-fields-validation/validate-checkbox';
@@ -35,6 +37,8 @@ export const CheckboxFieldAdvancedSettings = ({
handleFieldChange,
handleErrors,
}: CheckboxFieldAdvancedSettingsProps) => {
+ const { _ } = useLingui();
+
const [showValidation, setShowValidation] = useState(false);
const [values, setValues] = useState(fieldState.values ?? [{ id: 1, checked: false, value: '' }]);
const [readOnly, setReadOnly] = useState(fieldState.readOnly ?? false);
@@ -122,13 +126,15 @@ export const CheckboxFieldAdvancedSettings = ({
<div className="flex flex-col gap-4">
<div className="flex flex-row items-center gap-x-4">
<div className="flex w-2/3 flex-col">
- <Label>Validation</Label>
+ <Label>
+ <Trans>Validation</Trans>
+ </Label>
<Select
value={fieldState.validationRule}
onValueChange={(val) => handleToggleChange('validationRule', val)}
>
<SelectTrigger className="text-muted-foreground bg-background mt-2 w-full">
- <SelectValue placeholder="Select at least" />
+ <SelectValue placeholder={_(msg`Select at least`)} />
</SelectTrigger>
<SelectContent position="popper">
{checkboxValidationRules.map((item, index) => (
@@ -145,7 +151,7 @@ export const CheckboxFieldAdvancedSettings = ({
onValueChange={(val) => handleToggleChange('validationLength', val)}
>
<SelectTrigger className="text-muted-foreground bg-background mt-2 w-full">
- <SelectValue placeholder="Pick a number" />
+ <SelectValue placeholder={_(msg`Pick a number`)} />
</SelectTrigger>
<SelectContent position="popper">
{checkboxValidationLength.map((item, index) => (
@@ -164,7 +170,9 @@ export const CheckboxFieldAdvancedSettings = ({
checked={fieldState.required}
onCheckedChange={(checked) => handleToggleChange('required', checked)}
/>
- <Label>Required field</Label>
+ <Label>
+ <Trans>Required field</Trans>
+ </Label>
</div>
<div className="flex flex-row items-center gap-2">
<Switch
@@ -172,7 +180,9 @@ export const CheckboxFieldAdvancedSettings = ({
checked={fieldState.readOnly}
onCheckedChange={(checked) => handleToggleChange('readOnly', checked)}
/>
- <Label>Read only</Label>
+ <Label>
+ <Trans>Read only</Trans>
+ </Label>
</div>
</div>
<Button
@@ -181,7 +191,9 @@ export const CheckboxFieldAdvancedSettings = ({
onClick={() => setShowValidation((prev) => !prev)}
>
<span className="flex w-full flex-row justify-between">
- <span className="flex items-center">Checkbox values</span>
+ <span className="flex items-center">
+ <Trans>Checkbox values</Trans>
+ </span>
{showValidation ? <ChevronUp /> : <ChevronDown />}
</span>
</Button>
@@ -215,7 +227,7 @@ export const CheckboxFieldAdvancedSettings = ({
variant="outline"
onClick={addValue}
>
- Add another value
+ <Trans>Add another value</Trans>
</Button>
</div>
)}
diff --git a/packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx b/packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx
index d4aebc151..46623514b 100644
--- a/packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx
+++ b/packages/ui/primitives/document-flow/field-items-advanced-settings/dropdown-field.tsx
@@ -2,6 +2,8 @@
import { useEffect, useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ChevronDown, ChevronUp, Trash } from 'lucide-react';
import { validateDropdownField } from '@documenso/lib/advanced-fields-validation/validate-dropdown';
@@ -32,6 +34,8 @@ export const DropdownFieldAdvancedSettings = ({
handleFieldChange,
handleErrors,
}: DropdownFieldAdvancedSettingsProps) => {
+ const { _ } = useLingui();
+
const [showValidation, setShowValidation] = useState(false);
const [values, setValues] = useState(fieldState.values ?? [{ value: 'Option 1' }]);
const [readOnly, setReadOnly] = useState(fieldState.readOnly ?? false);
@@ -87,7 +91,9 @@ export const DropdownFieldAdvancedSettings = ({
return (
<div className="text-dark flex flex-col gap-4">
<div>
- <Label>Select default option</Label>
+ <Label>
+ <Trans>Select default option</Trans>
+ </Label>
<Select
defaultValue={defaultValue}
onValueChange={(val) => {
@@ -96,7 +102,7 @@ export const DropdownFieldAdvancedSettings = ({
}}
>
<SelectTrigger className="text-muted-foreground bg-background mt-2 w-full">
- <SelectValue defaultValue={defaultValue} placeholder="-- Select --" />
+ <SelectValue defaultValue={defaultValue} placeholder={`-- ${_(msg`Select`)} --`} />
</SelectTrigger>
<SelectContent position="popper">
{values.map((item, index) => (
@@ -117,7 +123,9 @@ export const DropdownFieldAdvancedSettings = ({
checked={fieldState.required}
onCheckedChange={(checked) => handleToggleChange('required', checked)}
/>
- <Label>Required field</Label>
+ <Label>
+ <Trans>Required field</Trans>
+ </Label>
</div>
<div className="flex flex-row items-center gap-2">
<Switch
@@ -125,7 +133,9 @@ export const DropdownFieldAdvancedSettings = ({
checked={fieldState.readOnly}
onCheckedChange={(checked) => handleToggleChange('readOnly', checked)}
/>
- <Label>Read only</Label>
+ <Label>
+ <Trans>Read only</Trans>
+ </Label>
</div>
</div>
<Button
@@ -134,7 +144,9 @@ export const DropdownFieldAdvancedSettings = ({
onClick={() => setShowValidation((prev) => !prev)}
>
<span className="flex w-full flex-row justify-between">
- <span className="flex items-center">Dropdown options</span>
+ <span className="flex items-center">
+ <Trans>Dropdown options</Trans>
+ </span>
{showValidation ? <ChevronUp /> : <ChevronDown />}
</span>
</Button>
@@ -162,7 +174,7 @@ export const DropdownFieldAdvancedSettings = ({
variant="outline"
onClick={addValue}
>
- Add another option
+ <Trans>Add another option</Trans>
</Button>
</div>
)}
diff --git a/packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx b/packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx
index d6ead593c..438fd650d 100644
--- a/packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx
+++ b/packages/ui/primitives/document-flow/field-items-advanced-settings/number-field.tsx
@@ -2,6 +2,8 @@
import { useState } from 'react';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { ChevronDown, ChevronUp } from 'lucide-react';
import { validateNumberField } from '@documenso/lib/advanced-fields-validation/validate-number';
@@ -31,6 +33,8 @@ export const NumberFieldAdvancedSettings = ({
handleFieldChange,
handleErrors,
}: NumberFieldAdvancedSettingsProps) => {
+ const { _ } = useLingui();
+
const [showValidation, setShowValidation] = useState(false);
const handleInput = (field: keyof NumberFieldMeta, value: string | boolean) => {
@@ -56,43 +60,51 @@ export const NumberFieldAdvancedSettings = ({
return (
<div className="flex flex-col gap-4">
<div>
- <Label>Label</Label>
+ <Label>
+ <Trans>Label</Trans>
+ </Label>
<Input
id="label"
className="bg-background mt-2"
- placeholder="Label"
+ placeholder={_(msg`Label`)}
value={fieldState.label}
onChange={(e) => handleFieldChange('label', e.target.value)}
/>
</div>
<div>
- <Label className="mt-4">Placeholder</Label>
+ <Label className="mt-4">
+ <Trans>Placeholder</Trans>
+ </Label>
<Input
id="placeholder"
className="bg-background mt-2"
- placeholder="Placeholder"
+ placeholder={_(msg`Placeholder`)}
value={fieldState.placeholder}
onChange={(e) => handleFieldChange('placeholder', e.target.value)}
/>
</div>
<div>
- <Label className="mt-4">Value</Label>
+ <Label className="mt-4">
+ <Trans>Value</Trans>
+ </Label>
<Input
id="value"
className="bg-background mt-2"
- placeholder="Value"
+ placeholder={_(msg`Value`)}
value={fieldState.value}
onChange={(e) => handleInput('value', e.target.value)}
/>
</div>
<div>
- <Label>Number format</Label>
+ <Label>
+ <Trans>Number format</Trans>
+ </Label>
<Select
value={fieldState.numberFormat}
onValueChange={(val) => handleInput('numberFormat', val)}
>
<SelectTrigger className="text-muted-foreground bg-background mt-2 w-full">
- <SelectValue placeholder="Field format" />
+ <SelectValue placeholder={_(msg`Field format`)} />
</SelectTrigger>
<SelectContent position="popper">
{numberFormatValues.map((item, index) => (
@@ -110,7 +122,9 @@ export const NumberFieldAdvancedSettings = ({
checked={fieldState.required}
onCheckedChange={(checked) => handleInput('required', checked)}
/>
- <Label>Required field</Label>
+ <Label>
+ <Trans>Required field</Trans>
+ </Label>
</div>
<div className="flex flex-row items-center gap-2">
<Switch
@@ -118,7 +132,9 @@ export const NumberFieldAdvancedSettings = ({
checked={fieldState.readOnly}
onCheckedChange={(checked) => handleInput('readOnly', checked)}
/>
- <Label>Read only</Label>
+ <Label>
+ <Trans>Read only</Trans>
+ </Label>
</div>
</div>
<Button
@@ -127,14 +143,18 @@ export const NumberFieldAdvancedSettings = ({
onClick={() => setShowValidation((prev) => !prev)}
>
<span className="flex w-full flex-row justify-between">
- <span className="flex items-center">Validation</span>
+ <span className="flex items-center">
+ <Trans>Validation</Trans>
+ </span>
{showValidation ? <ChevronUp /> : <ChevronDown />}
</span>
</Button>
{showValidation && (
<div className="mb-4 flex flex-row gap-x-4">
<div className="flex flex-col">
- <Label className="mt-4">Min</Label>
+ <Label className="mt-4">
+ <Trans>Min</Trans>
+ </Label>
<Input
id="minValue"
className="bg-background mt-2"
@@ -144,7 +164,9 @@ export const NumberFieldAdvancedSettings = ({
/>
</div>
<div className="flex flex-col">
- <Label className="mt-4">Max</Label>
+ <Label className="mt-4">
+ <Trans>Max</Trans>
+ </Label>
<Input
id="maxValue"
className="bg-background mt-2"
diff --git a/packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx b/packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx
index ea499e85a..ed7e5ea1e 100644
--- a/packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx
+++ b/packages/ui/primitives/document-flow/field-items-advanced-settings/radio-field.tsx
@@ -2,6 +2,7 @@
import { useEffect, useState } from 'react';
+import { Trans } from '@lingui/macro';
import { ChevronDown, ChevronUp, Trash } from 'lucide-react';
import { validateRadioField } from '@documenso/lib/advanced-fields-validation/validate-radio';
@@ -107,7 +108,9 @@ export const RadioFieldAdvancedSettings = ({
checked={fieldState.required}
onCheckedChange={(checked) => handleToggleChange('required', checked)}
/>
- <Label>Required field</Label>
+ <Label>
+ <Trans>Required field</Trans>
+ </Label>
</div>
<div className="flex flex-row items-center gap-2">
<Switch
@@ -115,7 +118,9 @@ export const RadioFieldAdvancedSettings = ({
checked={fieldState.readOnly}
onCheckedChange={(checked) => handleToggleChange('readOnly', checked)}
/>
- <Label>Read only</Label>
+ <Label>
+ <Trans>Read only</Trans>
+ </Label>
</div>
</div>
<Button
@@ -124,7 +129,9 @@ export const RadioFieldAdvancedSettings = ({
onClick={() => setShowValidation((prev) => !prev)}
>
<span className="flex w-full flex-row justify-between">
- <span className="flex items-center">Radio values</span>
+ <span className="flex items-center">
+ <Trans>Radio values</Trans>
+ </span>
{showValidation ? <ChevronUp /> : <ChevronDown />}
</span>
</Button>
@@ -157,7 +164,7 @@ export const RadioFieldAdvancedSettings = ({
variant="outline"
onClick={addValue}
>
- Add another value
+ <Trans>Add another value</Trans>
</Button>
</div>
)}
diff --git a/packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx b/packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx
index 34d6ee9f0..b8191cead 100644
--- a/packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx
+++ b/packages/ui/primitives/document-flow/field-items-advanced-settings/text-field.tsx
@@ -1,3 +1,6 @@
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
+
import { validateTextField } from '@documenso/lib/advanced-fields-validation/validate-text';
import { type TTextFieldMeta as TextFieldMeta } from '@documenso/lib/types/field-meta';
import { Input } from '@documenso/ui/primitives/input';
@@ -16,6 +19,8 @@ export const TextFieldAdvancedSettings = ({
handleFieldChange,
handleErrors,
}: TextFieldAdvancedSettingsProps) => {
+ const { _ } = useLingui();
+
const handleInput = (field: keyof TextFieldMeta, value: string | boolean) => {
const text = field === 'text' ? String(value) : fieldState.text || '';
const limit =
@@ -36,45 +41,53 @@ export const TextFieldAdvancedSettings = ({
return (
<div className="flex flex-col gap-4">
<div>
- <Label>Label</Label>
+ <Label>
+ <Trans>Label</Trans>
+ </Label>
<Input
id="label"
className="bg-background mt-2"
- placeholder="Field label"
+ placeholder={_(msg`Field label`)}
value={fieldState.label}
onChange={(e) => handleFieldChange('label', e.target.value)}
/>
</div>
<div>
- <Label className="mt-4">Placeholder</Label>
+ <Label className="mt-4">
+ <Trans>Placeholder</Trans>
+ </Label>
<Input
id="placeholder"
className="bg-background mt-2"
- placeholder="Field placeholder"
+ placeholder={_(msg`Field placeholder`)}
value={fieldState.placeholder}
onChange={(e) => handleFieldChange('placeholder', e.target.value)}
/>
</div>
<div>
- <Label className="mt-4">Add text</Label>
+ <Label className="mt-4">
+ <Trans>Add text</Trans>
+ </Label>
<Textarea
id="text"
className="bg-background mt-2"
- placeholder="Add text to the field"
+ placeholder={_(msg`Add text to the field`)}
value={fieldState.text}
onChange={(e) => handleInput('text', e.target.value)}
/>
</div>
<div>
- <Label>Character Limit</Label>
+ <Label>
+ <Trans>Character Limit</Trans>
+ </Label>
<Input
id="characterLimit"
type="number"
min={0}
className="bg-background mt-2"
- placeholder="Field character limit"
+ placeholder={_(msg`Field character limit`)}
value={fieldState.characterLimit}
onChange={(e) => handleInput('characterLimit', e.target.value)}
/>
@@ -87,7 +100,9 @@ export const TextFieldAdvancedSettings = ({
checked={fieldState.required}
onCheckedChange={(checked) => handleInput('required', checked)}
/>
- <Label>Required field</Label>
+ <Label>
+ <Trans>Required field</Trans>
+ </Label>
</div>
<div className="flex flex-row items-center gap-2">
<Switch
@@ -95,7 +110,9 @@ export const TextFieldAdvancedSettings = ({
checked={fieldState.readOnly}
onCheckedChange={(checked) => handleInput('readOnly', checked)}
/>
- <Label>Read only</Label>
+ <Label>
+ <Trans>Read only</Trans>
+ </Label>
</div>
</div>
</div>
diff --git a/packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx b/packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx
index ca2ca8f34..db3209c1d 100644
--- a/packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx
+++ b/packages/ui/primitives/document-flow/missing-signature-field-dialog.tsx
@@ -1,5 +1,6 @@
'use client';
+import { Trans } from '@lingui/macro';
import { DialogClose } from '@radix-ui/react-dialog';
import { Button } from '@documenso/ui/primitives/button';
@@ -25,18 +26,22 @@ export const MissingSignatureFieldDialog = ({
<Dialog open={isOpen} onOpenChange={onOpenChange}>
<DialogContent className="max-w-lg" position="center">
<DialogHeader>
- <DialogTitle>No signature field found</DialogTitle>
+ <DialogTitle>
+ <Trans>No signature field found</Trans>
+ </DialogTitle>
<DialogDescription>
<p className="mt-2">
- Some signers have not been assigned a signature field. Please assign at least 1
- signature field to each signer before proceeding.
+ <Trans>
+ Some signers have not been assigned a signature field. Please assign at least 1
+ signature field to each signer before proceeding.
+ </Trans>
</p>
</DialogDescription>
</DialogHeader>
<DialogFooter>
<DialogClose asChild>
<Button type="button" variant="secondary">
- Close
+ <Trans>Close</Trans>
</Button>
</DialogClose>
</DialogFooter>
diff --git a/packages/ui/primitives/document-flow/send-document-action-dialog.tsx b/packages/ui/primitives/document-flow/send-document-action-dialog.tsx
index a70282800..3213269e6 100644
--- a/packages/ui/primitives/document-flow/send-document-action-dialog.tsx
+++ b/packages/ui/primitives/document-flow/send-document-action-dialog.tsx
@@ -1,5 +1,6 @@
import { useState } from 'react';
+import { Trans } from '@lingui/macro';
import { Loader } from 'lucide-react';
import type { ButtonProps } from '../button';
@@ -30,16 +31,20 @@ export const SendDocumentActionDialog = ({
<DialogTrigger asChild>
<Button type="button" className={className}>
{loading && <Loader className="text-documenso mr-2 h-5 w-5 animate-spin" />}
- Send
+ <Trans>Send</Trans>
</Button>
</DialogTrigger>
<DialogContent className="max-w-md">
<DialogHeader>
- <DialogTitle className="text-center text-lg font-semibold">Send Document</DialogTitle>
+ <DialogTitle className="text-center text-lg font-semibold">
+ <Trans>Send Document</Trans>
+ </DialogTitle>
<DialogDescription className="text-center text-base">
- You are about to send this document to the recipients. Are you sure you want to
- continue?
+ <Trans>
+ You are about to send this document to the recipients. Are you sure you want to
+ continue?
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -50,13 +55,13 @@ export const SendDocumentActionDialog = ({
variant="secondary"
onClick={() => setOpen(false)}
>
- Cancel
+ <Trans>Cancel</Trans>
</Button>
{/* We would use DialogAction here but it interrupts the submit action */}
<Button className={className} {...props}>
{loading && <Loader className="mr-2 h-5 w-5 animate-spin" />}
- Send
+ <Trans>Send</Trans>
</Button>
</DialogFooter>
</DialogContent>
diff --git a/packages/ui/primitives/document-flow/types.ts b/packages/ui/primitives/document-flow/types.ts
index b68740237..c98d71434 100644
--- a/packages/ui/primitives/document-flow/types.ts
+++ b/packages/ui/primitives/document-flow/types.ts
@@ -1,3 +1,4 @@
+import type { MessageDescriptor } from '@lingui/core';
import { z } from 'zod';
import { ZFieldMetaSchema } from '@documenso/lib/types/field-meta';
@@ -58,8 +59,8 @@ export const FRIENDLY_FIELD_TYPE: Record<FieldType, string> = {
};
export interface DocumentFlowStep {
- title: string;
- description: string;
+ title: MessageDescriptor;
+ description: MessageDescriptor;
stepIndex?: number;
onBackStep?: () => unknown;
onNextStep?: () => unknown;
diff --git a/packages/ui/primitives/document-password-dialog.tsx b/packages/ui/primitives/document-password-dialog.tsx
index 571c81716..3e4a96cab 100644
--- a/packages/ui/primitives/document-password-dialog.tsx
+++ b/packages/ui/primitives/document-password-dialog.tsx
@@ -1,6 +1,8 @@
import { useEffect } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
@@ -30,6 +32,8 @@ export const PasswordDialog = ({
onPasswordSubmit,
isError,
}: PasswordDialogProps) => {
+ const { _ } = useLingui();
+
const form = useForm<TPasswordDialogFormSchema>({
defaultValues: {
password: defaultPassword ?? '',
@@ -45,7 +49,7 @@ export const PasswordDialog = ({
if (isError) {
form.setError('password', {
type: 'manual',
- message: 'The password you have entered is incorrect. Please try again.',
+ message: _(msg`The password you have entered is incorrect. Please try again.`),
});
}
}, [form, isError]);
@@ -54,10 +58,14 @@ export const PasswordDialog = ({
<Dialog open={open}>
<DialogContent className="w-full max-w-md">
<DialogHeader>
- <DialogTitle>Password Required</DialogTitle>
+ <DialogTitle>
+ <Trans>Password Required</Trans>
+ </DialogTitle>
<DialogDescription className="text-muted-foreground">
- This document is password protected. Please enter the password to view the document.
+ <Trans>
+ This document is password protected. Please enter the password to view the document.
+ </Trans>
</DialogDescription>
</DialogHeader>
@@ -73,7 +81,7 @@ export const PasswordDialog = ({
<Input
type="password"
className="bg-background"
- placeholder="Enter password"
+ placeholder={_(msg`Enter password`)}
autoComplete="off"
{...field}
/>
@@ -85,7 +93,9 @@ export const PasswordDialog = ({
/>
<div>
- <Button>Submit</Button>
+ <Button>
+ <Trans>Submit</Trans>
+ </Button>
</div>
</fieldset>
</form>
diff --git a/packages/ui/primitives/multi-select-combobox.tsx b/packages/ui/primitives/multi-select-combobox.tsx
index 62e5fa2cf..01d2e44f1 100644
--- a/packages/ui/primitives/multi-select-combobox.tsx
+++ b/packages/ui/primitives/multi-select-combobox.tsx
@@ -2,6 +2,9 @@
import * as React from 'react';
+import type { MessageDescriptor } from '@lingui/core';
+import { Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { AnimatePresence } from 'framer-motion';
import { Check, ChevronsUpDown, Loader, XIcon } from 'lucide-react';
@@ -24,7 +27,7 @@ type MultiSelectComboboxProps<T = OptionValue> = {
emptySelectionPlaceholder?: React.ReactNode | string;
enableClearAllButton?: boolean;
loading?: boolean;
- inputPlaceholder?: string;
+ inputPlaceholder?: MessageDescriptor;
onChange: (_values: T[]) => void;
options: ComboBoxOption<T>[];
selectedValues: T[];
@@ -46,6 +49,8 @@ export function MultiSelectCombobox<T = OptionValue>({
options,
selectedValues,
}: MultiSelectComboboxProps<T>) {
+ const { _ } = useLingui();
+
const [open, setOpen] = React.useState(false);
const handleSelect = (selectedOption: T) => {
@@ -143,8 +148,10 @@ export function MultiSelectCombobox<T = OptionValue>({
<PopoverContent className="w-[200px] p-0">
<Command>
- <CommandInput placeholder={inputPlaceholder} />
- <CommandEmpty>No value found.</CommandEmpty>
+ <CommandInput placeholder={inputPlaceholder && _(inputPlaceholder)} />
+ <CommandEmpty>
+ <Trans>No value found.</Trans>
+ </CommandEmpty>
<CommandGroup>
{options.map((option, i) => (
<CommandItem key={i} onSelect={() => handleSelect(option.value)}>
diff --git a/packages/ui/primitives/signature-pad/signature-pad.tsx b/packages/ui/primitives/signature-pad/signature-pad.tsx
index 8524450fc..d702fed7c 100644
--- a/packages/ui/primitives/signature-pad/signature-pad.tsx
+++ b/packages/ui/primitives/signature-pad/signature-pad.tsx
@@ -3,6 +3,7 @@
import type { HTMLAttributes, MouseEvent, PointerEvent, TouchEvent } from 'react';
import { useEffect, useMemo, useRef, useState } from 'react';
+import { Trans } from '@lingui/macro';
import { Undo2 } from 'lucide-react';
import type { StrokeOptions } from 'perfect-freehand';
import { getStroke } from 'perfect-freehand';
@@ -252,7 +253,7 @@ export const SignaturePad = ({
className="focus-visible:ring-ring ring-offset-background text-muted-foreground/60 hover:text-muted-foreground rounded-full p-0 text-xs focus-visible:outline-none focus-visible:ring-2"
onClick={() => onClearClick()}
>
- Clear Signature
+ <Trans>Clear Signature</Trans>
</button>
</div>
diff --git a/packages/ui/primitives/template-flow/add-template-fields.tsx b/packages/ui/primitives/template-flow/add-template-fields.tsx
index deca9ba60..799f782c6 100644
--- a/packages/ui/primitives/template-flow/add-template-fields.tsx
+++ b/packages/ui/primitives/template-flow/add-template-fields.tsx
@@ -4,6 +4,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { Caveat } from 'next/font/google';
+import { Trans, msg } from '@lingui/macro';
import {
CalendarDays,
CheckSquare,
@@ -21,7 +22,7 @@ import { useFieldArray, useForm } from 'react-hook-form';
import { getBoundingClientRect } from '@documenso/lib/client-only/get-bounding-client-rect';
import { useDocumentElement } from '@documenso/lib/client-only/hooks/use-document-element';
import { PDF_VIEWER_PAGE_SELECTOR } from '@documenso/lib/constants/pdf-viewer';
-import { RECIPIENT_ROLES_DESCRIPTION } from '@documenso/lib/constants/recipient-roles';
+import { RECIPIENT_ROLES_DESCRIPTION_ENG } from '@documenso/lib/constants/recipient-roles';
import {
type TFieldMetaSchema as FieldMeta,
ZFieldMetaSchema,
@@ -365,8 +366,8 @@ export const AddTemplateFieldsFormPartial = ({
<>
{showAdvancedSettings && currentField ? (
<FieldAdvancedSettings
- title="Advanced settings"
- description={`Configure the ${FRIENDLY_FIELD_TYPE[currentField.type]} field`}
+ title={msg`Advanced settings`}
+ description={msg`Configure the ${FRIENDLY_FIELD_TYPE[currentField.type]} field`}
field={currentField}
fields={localFields}
onAdvancedSettings={handleAdvancedSettings}
@@ -460,14 +461,15 @@ export const AddTemplateFieldsFormPartial = ({
<CommandEmpty>
<span className="text-muted-foreground inline-block px-4">
- No recipient matching this description was found.
+ <Trans>No recipient matching this description was found.</Trans>
</span>
</CommandEmpty>
{recipientsByRoleToDisplay.map(([role, roleRecipients], roleIndex) => (
<CommandGroup key={roleIndex}>
<div className="text-muted-foreground mb-1 ml-2 mt-2 text-xs font-medium">
- {`${RECIPIENT_ROLES_DESCRIPTION[role].roleName}s`}
+ {/* Todo: Translations - Add plural translations. */}
+ {`${RECIPIENT_ROLES_DESCRIPTION_ENG[role].roleName}s`}
</div>
{roleRecipients.length === 0 && (
@@ -475,7 +477,7 @@ export const AddTemplateFieldsFormPartial = ({
key={`${role}-empty`}
className="text-muted-foreground/80 px-4 pb-4 pt-2.5 text-center text-xs"
>
- No recipients with this role
+ <Trans>No recipients with this role</Trans>
</div>
)}
@@ -542,7 +544,7 @@ export const AddTemplateFieldsFormPartial = ({
fontCaveat.className,
)}
>
- Signature
+ <Trans>Signature</Trans>
</p>
</CardContent>
</Card>
@@ -594,7 +596,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<Mail className="h-4 w-4" />
- Email
+ <Trans>Email</Trans>
</p>
</CardContent>
</Card>
@@ -620,7 +622,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<User className="h-4 w-4" />
- Name
+ <Trans>Name</Trans>
</p>
</CardContent>
</Card>
@@ -646,7 +648,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<CalendarDays className="h-4 w-4" />
- Date
+ <Trans>Date</Trans>
</p>
</CardContent>
</Card>
@@ -672,7 +674,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<Type className="h-4 w-4" />
- Text
+ <Trans>Text</Trans>
</p>
</CardContent>
</Card>
@@ -698,7 +700,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<Hash className="h-4 w-4" />
- Number
+ <Trans>Number</Trans>
</p>
</CardContent>
</Card>
@@ -724,7 +726,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<Disc className="h-4 w-4" />
- Radio
+ <Trans>Radio</Trans>
</p>
</CardContent>
</Card>
@@ -750,7 +752,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<CheckSquare className="h-4 w-4" />
- Checkbox
+ <Trans>Checkbox</Trans>
</p>
</CardContent>
</Card>
@@ -776,7 +778,7 @@ export const AddTemplateFieldsFormPartial = ({
)}
>
<ChevronDown className="h-4 w-4" />
- Dropdown
+ <Trans>Dropdown</Trans>
</p>
</CardContent>
</Card>
@@ -787,16 +789,12 @@ export const AddTemplateFieldsFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={isSubmitting}
disabled={isSubmitting}
- goNextLabel="Save Template"
+ goNextLabel={msg`Save Template`}
onGoBackClick={() => {
previousStep();
remove();
diff --git a/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx b/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx
index 2671513ca..676d807b4 100644
--- a/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx
+++ b/packages/ui/primitives/template-flow/add-template-placeholder-recipients.tsx
@@ -3,6 +3,8 @@
import React, { useEffect, useId, useMemo, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans, msg } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { motion } from 'framer-motion';
import { Link2Icon, Plus, Trash } from 'lucide-react';
import { useSession } from 'next-auth/react';
@@ -57,6 +59,8 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
onSubmit,
}: AddTemplatePlaceholderRecipientsFormProps) => {
const initialId = useId();
+
+ const { _ } = useLingui();
const { data: session } = useSession();
const user = session?.user;
@@ -202,13 +206,15 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
})}
>
{!showAdvancedSettings && index === 0 && (
- <FormLabel required>Email</FormLabel>
+ <FormLabel required>
+ <Trans>Email</Trans>
+ </FormLabel>
)}
<FormControl>
<Input
type="email"
- placeholder="Email"
+ placeholder={_(msg`Email`)}
{...field}
disabled={
field.disabled ||
@@ -234,11 +240,15 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
'col-span-4': showAdvancedSettings,
})}
>
- {!showAdvancedSettings && index === 0 && <FormLabel>Name</FormLabel>}
+ {!showAdvancedSettings && index === 0 && (
+ <FormLabel>
+ <Trans>Name</Trans>
+ </FormLabel>
+ )}
<FormControl>
<Input
- placeholder="Name"
+ placeholder={_(msg`Name`)}
{...field}
disabled={
field.disabled ||
@@ -299,12 +309,14 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
</TooltipTrigger>
<TooltipContent className="text-foreground z-9999 max-w-md p-4">
<h3 className="text-foreground text-lg font-semibold">
- Direct link receiver
+ <Trans>Direct link receiver</Trans>
</h3>
<p className="text-muted-foreground mt-1">
- This field cannot be modified or deleted. When you share this template's
- direct link or add it to your public profile, anyone who accesses it can
- input their name and email, and fill in the fields assigned to them.
+ <Trans>
+ This field cannot be modified or deleted. When you share this template's
+ direct link or add it to your public profile, anyone who accesses it can
+ input their name and email, and fill in the fields assigned to them.
+ </Trans>
</p>
</TooltipContent>
</Tooltip>
@@ -340,7 +352,7 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
onClick={() => onAddPlaceholderRecipient()}
>
<Plus className="-ml-1 mr-2 h-5 w-5" />
- Add Placeholder Recipient
+ <Trans>Add Placeholder Recipient</Trans>
</Button>
<Button
@@ -354,7 +366,7 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
onClick={() => onAddPlaceholderSelfRecipient()}
>
<Plus className="-ml-1 mr-2 h-5 w-5" />
- Add Myself
+ <Trans>Add Myself</Trans>
</Button>
</div>
@@ -372,7 +384,7 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
className="text-muted-foreground ml-2 text-sm"
htmlFor="showAdvancedRecipientSettings"
>
- Show advanced settings
+ <Trans>Show advanced settings</Trans>
</label>
</div>
)}
@@ -381,11 +393,7 @@ export const AddTemplatePlaceholderRecipientsFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={isSubmitting}
diff --git a/packages/ui/primitives/template-flow/add-template-settings.tsx b/packages/ui/primitives/template-flow/add-template-settings.tsx
index 413f48b5f..73302ae55 100644
--- a/packages/ui/primitives/template-flow/add-template-settings.tsx
+++ b/packages/ui/primitives/template-flow/add-template-settings.tsx
@@ -3,6 +3,8 @@
import { useEffect } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
+import { Trans } from '@lingui/macro';
+import { useLingui } from '@lingui/react';
import { InfoIcon } from 'lucide-react';
import { useForm } from 'react-hook-form';
@@ -72,6 +74,8 @@ export const AddTemplateSettingsFormPartial = ({
template,
onSubmit,
}: AddTemplateSettingsFormProps) => {
+ const { _ } = useLingui();
+
const { documentAuthOption } = extractDocumentAuthMethods({
documentAuth: template.authOptions,
});
@@ -126,7 +130,9 @@ export const AddTemplateSettingsFormPartial = ({
name="title"
render={({ field }) => (
<FormItem>
- <FormLabel required>Template title</FormLabel>
+ <FormLabel required>
+ <Trans>Template title</Trans>
+ </FormLabel>
<FormControl>
<Input className="bg-background" {...field} />
@@ -142,7 +148,7 @@ export const AddTemplateSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- Document access
+ <Trans>Document access</Trans>
<DocumentGlobalAuthAccessTooltip />
</FormLabel>
@@ -160,7 +166,7 @@ export const AddTemplateSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- Recipient action authentication
+ <Trans>Recipient action authentication</Trans>
<DocumentGlobalAuthActionTooltip />
</FormLabel>
@@ -175,7 +181,7 @@ export const AddTemplateSettingsFormPartial = ({
<Accordion type="multiple">
<AccordionItem value="email-options" className="border-none">
<AccordionTrigger className="text-foreground rounded border px-3 py-2 text-left hover:bg-neutral-200/30 hover:no-underline">
- Email Options
+ <Trans>Email Options</Trans>
</AccordionTrigger>
<AccordionContent className="text-muted-foreground -mx-1 px-1 pt-4 text-sm leading-relaxed [&>div]:pb-0">
@@ -186,7 +192,9 @@ export const AddTemplateSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel>
- Subject <span className="text-muted-foreground">(Optional)</span>
+ <Trans>
+ Subject <span className="text-muted-foreground">(Optional)</span>
+ </Trans>
</FormLabel>
<FormControl>
@@ -204,7 +212,9 @@ export const AddTemplateSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel>
- Message <span className="text-muted-foreground">(Optional)</span>
+ <Trans>
+ Message <span className="text-muted-foreground">(Optional)</span>
+ </Trans>
</FormLabel>
<FormControl>
@@ -225,7 +235,7 @@ export const AddTemplateSettingsFormPartial = ({
<Accordion type="multiple">
<AccordionItem value="advanced-options" className="border-none">
<AccordionTrigger className="text-foreground rounded border px-3 py-2 text-left hover:bg-neutral-200/30 hover:no-underline">
- Advanced Options
+ <Trans>Advanced Options</Trans>
</AccordionTrigger>
<AccordionContent className="text-muted-foreground -mx-1 px-1 pt-4 text-sm leading-relaxed">
@@ -236,15 +246,17 @@ export const AddTemplateSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- External ID{' '}
+ <Trans>External ID</Trans>{' '}
<Tooltip>
<TooltipTrigger>
<InfoIcon className="mx-2 h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-muted-foreground max-w-xs">
- Add an external ID to the template. This can be used to identify in
- external systems.
+ <Trans>
+ Add an external ID to the template. This can be used to identify
+ in external systems.
+ </Trans>
</TooltipContent>
</Tooltip>
</FormLabel>
@@ -263,7 +275,9 @@ export const AddTemplateSettingsFormPartial = ({
name="meta.dateFormat"
render={({ field }) => (
<FormItem>
- <FormLabel>Date Format</FormLabel>
+ <FormLabel>
+ <Trans>Date Format</Trans>
+ </FormLabel>
<FormControl>
<Select {...field} onValueChange={field.onChange}>
@@ -291,7 +305,9 @@ export const AddTemplateSettingsFormPartial = ({
name="meta.timezone"
render={({ field }) => (
<FormItem>
- <FormLabel>Time Zone</FormLabel>
+ <FormLabel>
+ <Trans>Time Zone</Trans>
+ </FormLabel>
<FormControl>
<Combobox
@@ -313,14 +329,16 @@ export const AddTemplateSettingsFormPartial = ({
render={({ field }) => (
<FormItem>
<FormLabel className="flex flex-row items-center">
- Redirect URL{' '}
+ <Trans>Redirect URL</Trans>{' '}
<Tooltip>
<TooltipTrigger>
<InfoIcon className="mx-2 h-4 w-4" />
</TooltipTrigger>
<TooltipContent className="text-muted-foreground max-w-xs">
- Add a URL to redirect the user to once the document is signed
+ <Trans>
+ Add a URL to redirect the user to once the document is signed
+ </Trans>
</TooltipContent>
</Tooltip>
</FormLabel>
@@ -342,11 +360,7 @@ export const AddTemplateSettingsFormPartial = ({
</DocumentFlowFormContainerContent>
<DocumentFlowFormContainerFooter>
- <DocumentFlowFormContainerStep
- title={documentFlow.title}
- step={currentStep}
- maxStep={totalSteps}
- />
+ <DocumentFlowFormContainerStep step={currentStep} maxStep={totalSteps} />
<DocumentFlowFormContainerActions
loading={form.formState.isSubmitting}