From af047c0bc152a955b3ab135f5a9ea3d62b32fb0f Mon Sep 17 00:00:00 2001 From: Pranav <69894187+bunnypranav@users.noreply.github.com> Date: Tue, 29 Apr 2025 12:04:47 +0530 Subject: [PATCH] fix: spelling mistake and add clarity in email template (#824) * fix: Fix spelling mistake Change "in a hour" to "in an hour" in config.example.yaml and config.seed.ts * fix: Add clarity in email template Change shareRecipientsMessage template by splitting the call to action part of sentence to make the language more clear. --- backend/prisma/seed/config.seed.ts | 4 ++-- config.example.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/prisma/seed/config.seed.ts b/backend/prisma/seed/config.seed.ts index 6fd5564..e5a1c42 100644 --- a/backend/prisma/seed/config.seed.ts +++ b/backend/prisma/seed/config.seed.ts @@ -89,7 +89,7 @@ export const configVariables = { shareRecipientsMessage: { type: "text", defaultValue: - "Hey!\n\n{creator} ({creatorEmail}) shared some files with you, view or download the files with this link: {shareUrl}\n\nThe share will expire {expires}.\n\nNote: {desc}\n\nShared securely with Pingvin Share 🐧", + "Hey!\n\n{creator} ({creatorEmail}) shared some files with you. You can view or download the files with this link: {shareUrl}\n\nThe share will expire {expires}.\n\nNote: {desc}\n\nShared securely with Pingvin Share 🐧", }, reverseShareSubject: { type: "string", @@ -107,7 +107,7 @@ export const configVariables = { resetPasswordMessage: { type: "text", defaultValue: - "Hey!\n\nYou requested a password reset. Click this link to reset your password: {url}\nThe link expires in a hour.\n\nPingvin Share 🐧", + "Hey!\n\nYou requested a password reset. Click this link to reset your password: {url}\nThe link expires in an hour.\n\nPingvin Share 🐧", }, inviteSubject: { type: "string", diff --git a/config.example.yaml b/config.example.yaml index e08a758..51d6a9b 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -45,7 +45,7 @@ email: Hey! - {creator} ({creatorEmail}) shared some files with you, view or download the + {creator} ({creatorEmail}) shared some files with you. You can view or download the files with this link: {shareUrl} @@ -75,7 +75,7 @@ email: You requested a password reset. Click this link to reset your password: {url} - The link expires in a hour. + The link expires in an hour. Pingvin Share 🐧