Skip to content

Commit efa79e3

Browse files
committed
feat: update meta title
1 parent 2e6cafa commit efa79e3

File tree

13 files changed

+29
-57
lines changed

13 files changed

+29
-57
lines changed

apps/docs/messages/ar.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js العربية",
44
"doc": "التوثيق",
55
"blog": "المدونة",
6-
"learn": "التعلم"
7-
},
8-
"meta": {
9-
"title": "Next.js - العربية",
6+
"learn": "التعلم",
107
"description": "تطبيقات React عالية الجودة وقابلة للتطوير. تستخدم الشركات الرائدة في العالم Next.js من Vercel لبناء مواقع الويب والتطبيقات الثابتة والديناميكية."
118
},
129
"sidebar": {

apps/docs/messages/de.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js Deutsch",
44
"doc": "Dokumentation",
55
"blog": "Blog",
6-
"learn": "Lernen"
7-
},
8-
"meta": {
9-
"title": "Next.js - Deutsch",
6+
"learn": "Lernen",
107
"description": "Produktionsreife React-Anwendungen, die skalieren. Die weltweit führenden Unternehmen verwenden Next.js von Vercel, um statische und dynamische Websites und Webanwendungen zu erstellen."
118
},
129
"sidebar": {

apps/docs/messages/en.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js English",
44
"doc": "Documentation",
55
"blog": "Blog",
6-
"learn": "Learn"
7-
},
8-
"meta": {
9-
"title": "Next.js - English",
6+
"learn": "Learn",
107
"description": "Production grade React applications that scale. The world's leading companies use Next.js by Vercel to build static and dynamic websites and web applications."
118
},
129
"sidebar": {

apps/docs/messages/es.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js Español",
44
"doc": "Documentación",
55
"blog": "Blog",
6-
"learn": "Aprender"
7-
},
8-
"meta": {
9-
"title": "Next.js - Español",
6+
"learn": "Aprender",
107
"description": "Aplicaciones React de calidad de producción que escalan. Las empresas líderes del mundo usan Next.js de Vercel para construir sitios web y aplicaciones web estáticas y dinámicas."
118
},
129
"sidebar": {

apps/docs/messages/fr.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js Français",
44
"doc": "Documentation",
55
"blog": "Blog",
6-
"learn": "Apprendre"
7-
},
8-
"meta": {
9-
"title": "Next.js - Français",
6+
"learn": "Apprendre",
107
"description": "Applications React de qualité production qui évoluent. Les entreprises leaders mondiales utilisent Next.js de Vercel pour construire des sites web et applications web statiques et dynamiques."
118
},
129
"sidebar": {

apps/docs/messages/ja.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js 日本語",
44
"doc": "ドキュメント",
55
"blog": "ブログ",
6-
"learn": "学習"
7-
},
8-
"meta": {
9-
"title": "Next.js - 日本語",
6+
"learn": "学習",
107
"description": "スケールするプロダクション品質のReactアプリケーション。世界をリードする企業がVercelのNext.jsを使用して静的および動的なWebサイトやWebアプリケーションを構築しています。"
118
},
129
"sidebar": {

apps/docs/messages/ru.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
3-
"title": "Next.js",
2+
"meta": {
3+
"title": "Next.js Русский",
44
"doc": "Документация",
55
"blog": "Блог",
6-
"learn": "Изучение"
7-
},
8-
"meta": {
9-
"title": "Next.js - Русский",
6+
"learn": "Изучение",
107
"description": "Производственные React-приложения, которые масштабируются. Ведущие мировые компании используют Next.js от Vercel для создания статических и динамических веб-сайтов и веб-приложений."
118
},
129
"sidebar": {

apps/docs/messages/zh-hans.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
2+
"meta": {
33
"title": "Next.js 简体中文",
44
"doc": "文档",
55
"blog": "博客",
6-
"learn": "学习"
7-
},
8-
"meta": {
9-
"title": "Next.js - 简体中文",
6+
"learn": "学习",
107
"description": "生产级 React 应用,具备卓越扩展能力。全球领先企业都在用 Next.js by Vercel 构建静态和动态网站及 Web 应用。"
118
},
129
"sidebar": {

apps/docs/messages/zh-hant.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
2-
"baseOptions": {
2+
"meta": {
33
"title": "Next.js 繁體中文",
44
"doc": "文件",
55
"blog": "部落格",
6-
"learn": "學習"
7-
},
8-
"meta": {
9-
"title": "Next.js - 繁體中文",
6+
"learn": "學習",
107
"description": "生產級 React 應用,具備卓越擴展能力。全球領先企業都在用 Next.js by Vercel 構建靜態和動態網站及 Web 應用。"
118
},
129
"sidebar": {

apps/docs/src/app/(home)/blog/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Link from 'next/link';
66

77
export default function Page(): React.ReactElement {
88
const t = useTranslations('BlogPage');
9-
const tBase = useTranslations('baseOptions');
9+
const tBase = useTranslations('meta');
1010
const posts = [...blog.getPages()].sort(
1111
(a, b) => new Date(b.data.date).getTime() - new Date(a.data.date).getTime(),
1212
);
@@ -150,7 +150,7 @@ export default function Page(): React.ReactElement {
150150
}
151151

152152
export async function generateMetadata() {
153-
const t = await getTranslations('baseOptions');
153+
const t = await getTranslations('meta');
154154
return createMetadata({
155155
title: t('blog'),
156156
pathname: '/blog',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy