Skip to content

Commit f1e66a3

Browse files
committed
fix: fix errors
1 parent 0871329 commit f1e66a3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

messages/en-US.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"/product.page.descriptionTitle": "Description",
4949
"/product.page.variantTitle": "Variant",
5050
"/category.metadata.title": "{categoryName} Category · Your Next Store",
51-
"/category.page.title": "Category: {categoryName}",
51+
"/category.page.title": "Category",
5252
"/cart.modal.title": "Shopping Cart",
5353
"/cart.modal.openFullView": "(open full view)",
5454
"/cart.modal.quantity": "Quantity: {quantity}",

src/app/(store)/category/[slug]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default async function CategoryPage(props: {
4646
<main className="pb-8">
4747
<h1 className="text-3xl font-bold leading-none tracking-tight text-foreground">
4848
{deslugify(params.slug)}
49-
<div className="text-lg font-semibold text-muted-foreground">Category</div>
49+
<div className="text-lg font-semibold text-muted-foreground">{t("title")}</div>
5050
</h1>
5151
<ProductList products={products} />
5252
</main>

src/app/(store)/product/[slug]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const generateMetadata = async (props: {
4646
return {
4747
title: t("title", { productName }),
4848
description: product.description,
49-
alternates: { canonical: canonical },
49+
alternates: { canonical },
5050
} satisfies Metadata;
5151
};
5252

yns.inlang/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://inlang.com/schema/project-settings",
3-
"sourceLanguageTag": "en",
4-
"languageTags": ["en"],
3+
"sourceLanguageTag": "en-US",
4+
"languageTags": ["en-US", "de-DE", "fr-CA", "jp-JP", "zh-cn", "zh-tw"],
55
"modules": [
66
"https://cdn.jsdelivr.net/npm/@inlang/plugin-next-intl@latest/dist/index.js",
77
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",

0 commit comments

Comments
 (0)