From 97ea6e87fbb63722d9115086f24d3ef54f43662d Mon Sep 17 00:00:00 2001 From: giancarlo Date: Sat, 20 Apr 2024 23:24:01 +0800 Subject: [PATCH] Update translation keys and clean scripts This commit updates translation keys across multiple components, changing the connector from dot to colon. Additionally, the clean scripts in the README.md have been corrected to `pnpm run clean:workspaces` and `pnpm run clean` from their previous erroneous state. --- README.md | 4 ++-- apps/web/app/(marketing)/(legal)/cookie-policy/page.tsx | 4 ++-- apps/web/app/(marketing)/(legal)/privacy-policy/page.tsx | 2 +- apps/web/app/(marketing)/(legal)/terms-of-service/page.tsx | 2 +- apps/web/app/(marketing)/contact/page.tsx | 2 +- apps/web/app/update-password/page.tsx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 45bd5ec25..21ac7ebee 100644 --- a/README.md +++ b/README.md @@ -399,8 +399,8 @@ You can do so from Settings->Authentication->SMTP Settings. When you update the repository - I found it best to clear the workspaces and reinstall the dependencies. ```bash -pnpm run clear:workspaces -pnpm run clear +pnpm run clean:workspaces +pnpm run clean ``` Then, reinstall the dependencies: diff --git a/apps/web/app/(marketing)/(legal)/cookie-policy/page.tsx b/apps/web/app/(marketing)/(legal)/cookie-policy/page.tsx index f7257871f..a59d6bfcd 100644 --- a/apps/web/app/(marketing)/(legal)/cookie-policy/page.tsx +++ b/apps/web/app/(marketing)/(legal)/cookie-policy/page.tsx @@ -6,7 +6,7 @@ export async function generateMetadata() { const { t } = await createI18nServerInstance(); return { - title: t('marketing.cookiePolicy'), + title: t('marketing:cookiePolicy'), }; } @@ -17,7 +17,7 @@ async function CookiePolicyPage() {
diff --git a/apps/web/app/(marketing)/(legal)/privacy-policy/page.tsx b/apps/web/app/(marketing)/(legal)/privacy-policy/page.tsx index 3fbff2c0e..b580aa5fa 100644 --- a/apps/web/app/(marketing)/(legal)/privacy-policy/page.tsx +++ b/apps/web/app/(marketing)/(legal)/privacy-policy/page.tsx @@ -6,7 +6,7 @@ export async function generateMetadata() { const { t } = await createI18nServerInstance(); return { - title: t('marketing.privacyPolicy'), + title: t('marketing:privacyPolicy'), }; } diff --git a/apps/web/app/(marketing)/(legal)/terms-of-service/page.tsx b/apps/web/app/(marketing)/(legal)/terms-of-service/page.tsx index d81cfdbe9..1c1607bb8 100644 --- a/apps/web/app/(marketing)/(legal)/terms-of-service/page.tsx +++ b/apps/web/app/(marketing)/(legal)/terms-of-service/page.tsx @@ -6,7 +6,7 @@ export async function generateMetadata() { const { t } = await createI18nServerInstance(); return { - title: t('marketing.termsOfService'), + title: t('marketing:termsOfService'), }; } diff --git a/apps/web/app/(marketing)/contact/page.tsx b/apps/web/app/(marketing)/contact/page.tsx index bfb60c67c..b00e2a31a 100644 --- a/apps/web/app/(marketing)/contact/page.tsx +++ b/apps/web/app/(marketing)/contact/page.tsx @@ -6,7 +6,7 @@ export async function generateMetadata() { const { t } = await createI18nServerInstance(); return { - title: t('marketing.contact'), + title: t('marketing:contact'), }; } diff --git a/apps/web/app/update-password/page.tsx b/apps/web/app/update-password/page.tsx index 6128e4316..a8fffd936 100644 --- a/apps/web/app/update-password/page.tsx +++ b/apps/web/app/update-password/page.tsx @@ -14,7 +14,7 @@ export const generateMetadata = async () => { const { t } = await createI18nServerInstance(); return { - title: t('auth.updatePassword'), + title: t('auth:updatePassword'), }; };