From 36027dba2d65fd5faf30504cae88735f438b20cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Weng?= Date: Fri, 20 Dec 2024 14:31:50 +0100 Subject: [PATCH 1/3] fix: use new vitest vscode setting for preventing automatic opening of the test results --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3ebb89b90..2ba503a27 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,7 +18,7 @@ "typescript.preferences.preferTypeOnlyAutoImports": true, // Prefer type-only imports // Vitest - "testing.openTesting": "neverOpen", // Don't open the testing view automatically when running tests + "testing.automaticallyOpenTestResults": "neverOpen", // Don't open the test results automatically // I18n "i18n-ally.localesPaths": ["src/locales"], From 5ef2fc52f0cc3d7b6a8754832f4dda9127098df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Weng?= Date: Fri, 20 Dec 2024 15:25:54 +0100 Subject: [PATCH 2/3] fix: add new message in hello component --- src/components/Hello.tsx | 12 ++++++++++++ src/locales/en.json | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/Hello.tsx b/src/components/Hello.tsx index 1a950a2fc..580bf0f2d 100644 --- a/src/components/Hello.tsx +++ b/src/components/Hello.tsx @@ -12,6 +12,18 @@ export const Hello = async () => { {`👋 `} {t('hello_message', { email: user?.emailAddresses[0]?.emailAddress })}

+

+ {t.rich('alternative_message', { + url: () => ( + + Next.js Boilerplate SaaS + + ), + })} +

); diff --git a/src/locales/en.json b/src/locales/en.json index 721236fe2..63c5ef946 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -61,7 +61,8 @@ }, "Dashboard": { "meta_title": "Dashboard", - "hello_message": "Hello {email}!" + "hello_message": "Hello {email}!", + "alternative_message": "Want to build your SaaS faster using the same stack? Try ." }, "UserProfile": { "meta_title": "User Profile" From 7efbf2070885e8688059dd72800122e2bac84368 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 20 Dec 2024 14:43:07 +0000 Subject: [PATCH 3/3] chore: new Crowdin translations by GitHub Action --- src/locales/fr.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locales/fr.json b/src/locales/fr.json index bc10e4361..6ada9df14 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -61,7 +61,8 @@ }, "Dashboard": { "meta_title": "Tableau de bord", - "hello_message": "Bonjour {email}!" + "hello_message": "Bonjour {email}!", + "alternative_message": "Vous voulez créer votre SaaS plus rapidement en utilisant la même stack ? Essayez ." }, "UserProfile": { "meta_title": "Profil de l'utilisateur"