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.
This commit is contained in:
giancarlo
2024-04-20 23:24:01 +08:00
parent f7fe67f7f7
commit 97ea6e87fb
6 changed files with 8 additions and 8 deletions

View File

@@ -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. When you update the repository - I found it best to clear the workspaces and reinstall the dependencies.
```bash ```bash
pnpm run clear:workspaces pnpm run clean:workspaces
pnpm run clear pnpm run clean
``` ```
Then, reinstall the dependencies: Then, reinstall the dependencies:

View File

@@ -6,7 +6,7 @@ export async function generateMetadata() {
const { t } = await createI18nServerInstance(); const { t } = await createI18nServerInstance();
return { return {
title: t('marketing.cookiePolicy'), title: t('marketing:cookiePolicy'),
}; };
} }
@@ -17,7 +17,7 @@ async function CookiePolicyPage() {
<div> <div>
<div className={'container mx-auto'}> <div className={'container mx-auto'}>
<SitePageHeader <SitePageHeader
title={t(`marketing.cookiePolicy`)} title={t(`marketing:cookiePolicy`)}
subtitle={`This is the cookie policy page. It's a great place to put information about the cookies your site uses.`} subtitle={`This is the cookie policy page. It's a great place to put information about the cookies your site uses.`}
/> />
</div> </div>

View File

@@ -6,7 +6,7 @@ export async function generateMetadata() {
const { t } = await createI18nServerInstance(); const { t } = await createI18nServerInstance();
return { return {
title: t('marketing.privacyPolicy'), title: t('marketing:privacyPolicy'),
}; };
} }

View File

@@ -6,7 +6,7 @@ export async function generateMetadata() {
const { t } = await createI18nServerInstance(); const { t } = await createI18nServerInstance();
return { return {
title: t('marketing.termsOfService'), title: t('marketing:termsOfService'),
}; };
} }

View File

@@ -6,7 +6,7 @@ export async function generateMetadata() {
const { t } = await createI18nServerInstance(); const { t } = await createI18nServerInstance();
return { return {
title: t('marketing.contact'), title: t('marketing:contact'),
}; };
} }

View File

@@ -14,7 +14,7 @@ export const generateMetadata = async () => {
const { t } = await createI18nServerInstance(); const { t } = await createI18nServerInstance();
return { return {
title: t('auth.updatePassword'), title: t('auth:updatePassword'),
}; };
}; };