Skip to content

The Open Source DocuSign Alternative.

chore(i18n): improve punctuation (#2307)

Konrad54b0e4964ef9
diff --git a/apps/remix/app/components/dialogs/admin-organisation-member-update-dialog.tsx b/apps/remix/app/components/dialogs/admin-organisation-member-update-dialog.tsx
index 1e6be1e3f..1889369e3 100644
--- a/apps/remix/app/components/dialogs/admin-organisation-member-update-dialog.tsx
+++ b/apps/remix/app/components/dialogs/admin-organisation-member-update-dialog.tsx
@@ -156,8 +156,8 @@ export const AdminOrganisationMemberUpdateDialog = ({
<DialogDescription className="mt-4">
<Trans>
- You are currently updating{' '}
- <span className="font-bold">{organisationMemberName}.</span>
+ You are currently updating <span className="font-bold">{organisationMemberName}</span>
+ .
</Trans>
</DialogDescription>
</DialogHeader>
diff --git a/apps/remix/app/components/dialogs/envelope-item-delete-dialog.tsx b/apps/remix/app/components/dialogs/envelope-item-delete-dialog.tsx
index dfee36496..c26df6e34 100644
--- a/apps/remix/app/components/dialogs/envelope-item-delete-dialog.tsx
+++ b/apps/remix/app/components/dialogs/envelope-item-delete-dialog.tsx
@@ -117,7 +117,7 @@ export const EnvelopeItemDeleteDialog = ({
<DialogDescription className="mt-4">
<Trans>
- You cannot delete this item because the document has been sent to recipients
+ You cannot delete this item because the document has been sent to recipients.
</Trans>
</DialogDescription>
</DialogHeader>
diff --git a/apps/remix/app/components/dialogs/organisation-email-domain-records-dialog.tsx b/apps/remix/app/components/dialogs/organisation-email-domain-records-dialog.tsx
index ce91f3d52..7271308f0 100644
--- a/apps/remix/app/components/dialogs/organisation-email-domain-records-dialog.tsx
+++ b/apps/remix/app/components/dialogs/organisation-email-domain-records-dialog.tsx
@@ -121,7 +121,7 @@ export const OrganisationEmailDomainRecordContent = ({ records }: { records: Dom
<Trans>
Once you update your DNS records, it may take up to 48 hours for it to be propogated.
Once the DNS propagation is complete you will need to come back and press the "Sync"
- domains button
+ domains button.
</Trans>
</AlertDescription>
</Alert>
diff --git a/apps/remix/app/components/dialogs/organisation-member-update-dialog.tsx b/apps/remix/app/components/dialogs/organisation-member-update-dialog.tsx
index 07db162a2..4fd88568b 100644
--- a/apps/remix/app/components/dialogs/organisation-member-update-dialog.tsx
+++ b/apps/remix/app/components/dialogs/organisation-member-update-dialog.tsx
@@ -148,8 +148,8 @@ export const OrganisationMemberUpdateDialog = ({
<DialogDescription className="mt-4">
<Trans>
- You are currently updating{' '}
- <span className="font-bold">{organisationMemberName}.</span>
+ You are currently updating <span className="font-bold">{organisationMemberName}</span>
+ .
</Trans>
</DialogDescription>
</DialogHeader>
diff --git a/apps/remix/app/components/dialogs/team-member-update-dialog.tsx b/apps/remix/app/components/dialogs/team-member-update-dialog.tsx
index b7729f734..b364b76ad 100644
--- a/apps/remix/app/components/dialogs/team-member-update-dialog.tsx
+++ b/apps/remix/app/components/dialogs/team-member-update-dialog.tsx
@@ -146,7 +146,7 @@ export const TeamMemberUpdateDialog = ({
<DialogDescription>
<Trans>
- You are currently updating <span className="font-bold">{memberName}.</span>
+ You are currently updating <span className="font-bold">{memberName}</span>.
</Trans>
</DialogDescription>
</DialogHeader>
diff --git a/apps/remix/app/components/dialogs/webhook-create-dialog.tsx b/apps/remix/app/components/dialogs/webhook-create-dialog.tsx
index da0a5f04c..9bc4b51e2 100644
--- a/apps/remix/app/components/dialogs/webhook-create-dialog.tsx
+++ b/apps/remix/app/components/dialogs/webhook-create-dialog.tsx
@@ -219,9 +219,8 @@ export const WebhookCreateDialog = ({ trigger, ...props }: WebhookCreateDialogPr
<FormDescription>
<Trans>
A secret that will be sent to your URL so you can verify that the request
- has been sent by Documenso
+ has been sent by Documenso.
</Trans>
- .
</FormDescription>
<FormMessage />
</FormItem>
diff --git a/apps/remix/app/components/forms/signin.tsx b/apps/remix/app/components/forms/signin.tsx
index d32fc39a2..7a67b9826 100644
--- a/apps/remix/app/components/forms/signin.tsx
+++ b/apps/remix/app/components/forms/signin.tsx
@@ -244,11 +244,11 @@ export const SignInForm = ({
const errorMessage = match(error.code)
.with(
AuthenticationErrorCode.InvalidCredentials,
- () => msg`The email or password provided is incorrect`,
+ () => msg`The email or password provided is incorrect.`,
)
.with(
AuthenticationErrorCode.InvalidTwoFactorCode,
- () => msg`The two-factor authentication code provided is incorrect`,
+ () => msg`The two-factor authentication code provided is incorrect.`,
)
.otherwise(() => handleFallbackErrorMessages(error.code));
diff --git a/apps/remix/app/components/forms/token.tsx b/apps/remix/app/components/forms/token.tsx
index 1b8e4f3e3..7311bfce4 100644
--- a/apps/remix/app/components/forms/token.tsx
+++ b/apps/remix/app/components/forms/token.tsx
@@ -131,7 +131,7 @@ export const ApiTokenForm = ({ className, tokens }: ApiTokenFormProps) => {
const errorMessage = match(error.code)
.with(
AppErrorCode.UNAUTHORIZED,
- () => msg`You do not have permission to create a token for this team`,
+ () => msg`You do not have permission to create a token for this team.`,
)
.otherwise(() => msg`Something went wrong. Please try again later.`);
diff --git a/apps/remix/app/components/general/document/document-upload-button-legacy.tsx b/apps/remix/app/components/general/document/document-upload-button-legacy.tsx
index 03f4f5068..9c031e821 100644
--- a/apps/remix/app/components/general/document/document-upload-button-legacy.tsx
+++ b/apps/remix/app/components/general/document/document-upload-button-legacy.tsx
@@ -140,14 +140,14 @@ export const DocumentUploadButtonLegacy = ({
console.error(err);
const errorMessage = match(error.code)
- .with('INVALID_DOCUMENT_FILE', () => msg`You cannot upload encrypted PDFs`)
+ .with('INVALID_DOCUMENT_FILE', () => msg`You cannot upload encrypted PDFs.`)
.with(
AppErrorCode.LIMIT_EXCEEDED,
() => msg`You have reached your document limit for this month. Please upgrade your plan.`,
)
.with(
'ENVELOPE_ITEM_LIMIT_EXCEEDED',
- () => msg`You have reached the limit of the number of files per envelope`,
+ () => msg`You have reached the limit of the number of files per envelope.`,
)
.otherwise(() => msg`An error occurred while uploading your document.`);
diff --git a/apps/remix/app/components/general/envelope/envelope-drop-zone-wrapper.tsx b/apps/remix/app/components/general/envelope/envelope-drop-zone-wrapper.tsx
index 28ab8e7e5..80e246312 100644
--- a/apps/remix/app/components/general/envelope/envelope-drop-zone-wrapper.tsx
+++ b/apps/remix/app/components/general/envelope/envelope-drop-zone-wrapper.tsx
@@ -123,14 +123,14 @@ export const EnvelopeDropZoneWrapper = ({
const error = AppError.parseError(err);
const errorMessage = match(error.code)
- .with('INVALID_DOCUMENT_FILE', () => t`You cannot upload encrypted PDFs`)
+ .with('INVALID_DOCUMENT_FILE', () => t`You cannot upload encrypted PDFs.`)
.with(
AppErrorCode.LIMIT_EXCEEDED,
() => t`You have reached your document limit for this month. Please upgrade your plan.`,
)
.with(
'ENVELOPE_ITEM_LIMIT_EXCEEDED',
- () => t`You have reached the limit of the number of files per envelope`,
+ () => t`You have reached the limit of the number of files per envelope.`,
)
.otherwise(() => t`An error occurred during upload.`);
diff --git a/apps/remix/app/components/general/envelope/envelope-upload-button.tsx b/apps/remix/app/components/general/envelope/envelope-upload-button.tsx
index 0fe29659e..3b6d40a50 100644
--- a/apps/remix/app/components/general/envelope/envelope-upload-button.tsx
+++ b/apps/remix/app/components/general/envelope/envelope-upload-button.tsx
@@ -126,14 +126,14 @@ export const EnvelopeUploadButton = ({ className, type, folderId }: EnvelopeUplo
console.error(err);
const errorMessage = match(error.code)
- .with('INVALID_DOCUMENT_FILE', () => t`You cannot upload encrypted PDFs`)
+ .with('INVALID_DOCUMENT_FILE', () => t`You cannot upload encrypted PDFs.`)
.with(
AppErrorCode.LIMIT_EXCEEDED,
() => t`You have reached your document limit for this month. Please upgrade your plan.`,
)
.with(
'ENVELOPE_ITEM_LIMIT_EXCEEDED',
- () => t`You have reached the limit of the number of files per envelope`,
+ () => t`You have reached the limit of the number of files per envelope.`,
)
.otherwise(() => t`An error occurred while uploading your document.`);
diff --git a/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.branding.tsx b/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.branding.tsx
index 4109835f3..dabbea2b8 100644
--- a/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.branding.tsx
+++ b/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.branding.tsx
@@ -87,9 +87,9 @@ export default function OrganisationSettingsBrandingPage() {
const settingsHeaderText = t`Branding Preferences`;
const settingsHeaderSubtitle = isPersonalLayoutMode
- ? t`Here you can set your general branding preferences`
+ ? t`Here you can set your general branding preferences.`
: team
- ? t`Here you can set branding preferences for your team`
+ ? t`Here you can set branding preferences for your team.`
: t`Here you can set branding preferences for your organisation. Teams will inherit these settings by default.`;
return (
diff --git a/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.document.tsx b/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.document.tsx
index 0710b49a0..54c7c93de 100644
--- a/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.document.tsx
+++ b/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.document.tsx
@@ -112,7 +112,7 @@ export default function OrganisationSettingsDocumentPage() {
const settingsHeaderText = t`Document Preferences`;
const settingsHeaderSubtitle = isPersonalLayoutMode
- ? t`Here you can set your general document preferences`
+ ? t`Here you can set your general document preferences.`
: t`Here you can set document preferences for your organisation. Teams will inherit these settings by default.`;
return (
diff --git a/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.email.tsx b/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.email.tsx
index 7d74e5776..ebb448c76 100644
--- a/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.email.tsx
+++ b/apps/remix/app/routes/_authenticated+/o.$orgUrl.settings.email.tsx
@@ -65,7 +65,7 @@ export default function OrganisationSettingsGeneral() {
<div className="max-w-2xl">
<SettingsHeader
title={t`Email Preferences`}
- subtitle={t`You can manage your email preferences here`}
+ subtitle={t`You can manage your email preferences here.`}
/>
<section>
diff --git a/apps/remix/app/routes/_authenticated+/t.$teamUrl+/settings.email.tsx b/apps/remix/app/routes/_authenticated+/t.$teamUrl+/settings.email.tsx
index f1fed0374..244dbd2e4 100644
--- a/apps/remix/app/routes/_authenticated+/t.$teamUrl+/settings.email.tsx
+++ b/apps/remix/app/routes/_authenticated+/t.$teamUrl+/settings.email.tsx
@@ -63,7 +63,7 @@ export default function TeamEmailSettingsGeneral() {
<div className="max-w-2xl">
<SettingsHeader
title={t`Email Preferences`}
- subtitle={t`You can manage your email preferences here`}
+ subtitle={t`You can manage your email preferences here.`}
/>
<section>
diff --git a/apps/remix/app/routes/_recipient+/sign.$token+/_index.tsx b/apps/remix/app/routes/_recipient+/sign.$token+/_index.tsx
index b4998bd3b..41a6fe72e 100644
--- a/apps/remix/app/routes/_recipient+/sign.$token+/_index.tsx
+++ b/apps/remix/app/routes/_recipient+/sign.$token+/_index.tsx
@@ -371,8 +371,9 @@ const SigningPageV1 = ({ data }: { data: Awaited<ReturnType<typeof handleV1Loade
to="https://documenso.com"
className="text-documenso-700 hover:text-documenso-600"
>
- Check out Documenso.
+ Check out Documenso
</Link>
+ .
</Trans>
</p>
)}
@@ -470,8 +471,9 @@ const SigningPageV2 = ({ data }: { data: Awaited<ReturnType<typeof handleV2Loade
to="https://documenso.com"
className="text-documenso-700 hover:text-documenso-600"
>
- Check out Documenso.
+ Check out Documenso
</Link>
+ .
</Trans>
</p>
)}
diff --git a/packages/email/template-components/template-footer.tsx b/packages/email/template-components/template-footer.tsx
index 58b015c4d..2239613aa 100644
--- a/packages/email/template-components/template-footer.tsx
+++ b/packages/email/template-components/template-footer.tsx
@@ -17,8 +17,9 @@ export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => {
<Trans>
This document was sent using{' '}
<Link className="text-[#7AC455]" href="https://documen.so/mail-footer">
- Documenso.
+ Documenso
</Link>
+ .
</Trans>
</Text>
)}
diff --git a/packages/email/templates/confirm-team-email.tsx b/packages/email/templates/confirm-team-email.tsx
index 65b52cd3b..4b8b6ee06 100644
--- a/packages/email/templates/confirm-team-email.tsx
+++ b/packages/email/templates/confirm-team-email.tsx
@@ -106,7 +106,7 @@ export const ConfirmTeamEmailTemplate = ({
<Text className="mt-2 text-sm">
<Trans>
You can revoke access at any time in your team settings on Documenso{' '}
- <Link href={`${baseUrl}/settings/teams`}>here.</Link>
+ <Link href={`${baseUrl}/settings/teams`}>here</Link>.
</Trans>
</Text>
</Section>
diff --git a/packages/email/templates/reset-password.tsx b/packages/email/templates/reset-password.tsx
index cd971140a..1d35ea8a8 100644
--- a/packages/email/templates/reset-password.tsx
+++ b/packages/email/templates/reset-password.tsx
@@ -73,8 +73,9 @@ export const ResetPasswordTemplate = ({
Didn't request a password change? We are here to help you secure your account,
just{' '}
<Link className="text-documenso-700 font-normal" href="mailto:[email protected]">
- contact us.
+ contact us
</Link>
+ .
</Trans>
</Text>
</Section>