From 3ef6bea230912f57c31693f9e613f9d8f230c79a Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 21 Aug 2024 15:14:45 +0200 Subject: [PATCH 1/2] docs: Update actions-metadata-route-handlers.mdx --- .../pages/docs/environments/actions-metadata-route-handlers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/docs/environments/actions-metadata-route-handlers.mdx b/docs/pages/docs/environments/actions-metadata-route-handlers.mdx index 1c2ddf469..c086a0608 100644 --- a/docs/pages/docs/environments/actions-metadata-route-handlers.mdx +++ b/docs/pages/docs/environments/actions-metadata-route-handlers.mdx @@ -158,7 +158,7 @@ Next.js supports providing alternate URLs per language via the [`alternates` ent -If you're use the same pathnames for all locales (i.e. you're not using the [`pathnames`](/docs/routing#pathnames) setting), you can assemble the sitemap based on the pathnames that your app supports. +If you're using the same pathnames for all locales (i.e. you're not using the [`pathnames`](/docs/routing#pathnames) setting), you can assemble the sitemap based on the pathnames that your app supports. ```tsx import {MetadataRoute} from 'next'; From a43ed9e8073fe4acb17f272facc52586f1224e4b Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 21 Aug 2024 16:15:52 +0200 Subject: [PATCH 2/2] docs: Fix config.ts of `example-app-router` --- examples/example-app-router/src/config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/example-app-router/src/config.ts b/examples/example-app-router/src/config.ts index b8f53345e..aa3dccb42 100644 --- a/examples/example-app-router/src/config.ts +++ b/examples/example-app-router/src/config.ts @@ -8,10 +8,6 @@ export const pathnames = { '/pathnames': { en: '/pathnames', de: '/pfadnamen' - }, - '/users/[id]': { - en: '/users/[id]', - de: '/benutzer/[id]' } } satisfies Pathnames;