Skip to content

Commit

Permalink
update topicMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
seadfeng committed Aug 28, 2024
1 parent cec7b2f commit 7bcc217
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 2 deletions.
5 changes: 5 additions & 0 deletions public/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Werten Sie Ihre Facebook-Beiträge mit unserem Schriftartengenerator auf! \nVerwandeln Sie Ihren Text in auffällige Schriftarten für Facebook, einschließlich Fett-, Kursiv-, Kursivschrift und stilvoller Symbole. \nHeben Sie sich in Kommentaren, Beiträgen und Biografien mit einzigartigen Textstilen hervor, die Aufmerksamkeit erregen. \nEinfach zu bedienen, kostenlos und mit allen Geräten kompatibel. \nSteigern Sie noch heute Ihre Social-Media-Präsenz mit unserem Facebook-Schriftgenerator!",
"title": "Facebook-Schriftgenerator"
}
},
"index": {
"meta": {
"title": "Themen für den Schriftartengenerator"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
"description": "Enhance Your Facebook Posts with Our Font Generator! Transform your text into eye-catching fonts for Facebook, including bold, italic, cursive, and stylish symbols. Stand out in comments, posts, and bios with unique text styles that grab attention. Easy to use, free, and compatible with all devices. Elevate your social media presence today with our Facebook Font Generator!",
"title": "Facebook Font Generator"
}
},
"index": {
"meta": {
"title": "Topics for font Generator"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "¡Mejora tus publicaciones de Facebook con nuestro generador de fuentes! \nTransforme su texto en fuentes llamativas para Facebook, incluidos símbolos en negrita, cursiva, cursiva y elegantes. \nDestaca en comentarios, publicaciones y biografías con estilos de texto únicos que llamen la atención. \nFácil de usar, gratuito y compatible con todos los dispositivos. \n¡Eleva tu presencia en las redes sociales hoy con nuestro generador de fuentes de Facebook!",
"title": "Generador de fuentes de Facebook"
}
},
"index": {
"meta": {
"title": "Temas para el generador de fuentes"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Améliorez vos publications Facebook avec notre générateur de polices ! \nTransformez votre texte en polices accrocheuses pour Facebook, comprenant des symboles gras, italiques, cursifs et élégants. \nDémarquez-vous dans les commentaires, les publications et les biographies grâce à des styles de texte uniques qui attirent l'attention. \nFacile à utiliser, gratuit et compatible avec tous les appareils. \nAméliorez votre présence sur les réseaux sociaux dès aujourd'hui avec notre générateur de polices Facebook !",
"title": "Générateur de polices Facebook"
}
},
"index": {
"meta": {
"title": "Sujets pour le générateur de polices"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Migliora i tuoi post su Facebook con il nostro generatore di caratteri! \nTrasforma il tuo testo in caratteri accattivanti per Facebook, inclusi simboli in grassetto, corsivo, corsivo ed eleganti. \nDistinguiti nei commenti, nei post e nelle biografie con stili di testo unici che attirano l'attenzione. \nFacile da usare, gratuito e compatibile con tutti i dispositivi. \nMigliora oggi la tua presenza sui social media con il nostro generatore di caratteri Facebook!",
"title": "Generatore di caratteri di Facebook"
}
},
"index": {
"meta": {
"title": "Argomenti per il generatore di caratteri"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "フォントジェネレーターを使用して Facebook の投稿を強化しましょう!\nテキストを、太字、斜体、筆記体、スタイリッシュな記号など、Facebook 用の人目を引くフォントに変換します。\n注目を集めるユニークなテキスト スタイルを使用して、コメント、投稿、自己紹介で目立ちます。\n使いやすく、無料で、すべてのデバイスと互換性があります。 \nFacebook フォント ジェネレーターを使用して、今すぐソーシャル メディアでの存在感を高めましょう。",
"title": "Facebook フォントジェネレーター"
}
},
"index": {
"meta": {
"title": "フォント ジェネレーターのトピック"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "글꼴 생성기로 Facebook 게시물을 개선해보세요! \n볼드체, 이탤릭체, 필기체, 세련된 기호 등 텍스트를 눈길을 끄는 Facebook용 글꼴로 변환하세요. \n관심을 끄는 독특한 텍스트 스타일로 댓글, 게시물, 약력에서 눈에 띄게 만들어 보세요. \n사용하기 쉽고 무료이며 모든 장치와 호환됩니다. \n지금 Facebook 글꼴 생성기로 소셜 미디어 존재감을 높여보세요!",
"title": "페이스북 글꼴 생성기"
}
},
"index": {
"meta": {
"title": "글꼴 생성기 주제"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Verbeter uw Facebook-berichten met onze lettertypegenerator! \nTransformeer uw tekst in opvallende lettertypen voor Facebook, inclusief vetgedrukte, cursieve, cursieve en stijlvolle symbolen. \nVal op in reacties, berichten en biografieën met unieke tekststijlen die de aandacht trekken. \nGemakkelijk te gebruiken, gratis en compatibel met alle apparaten. \nVerhoog vandaag nog uw aanwezigheid op sociale media met onze Facebook Font Generator!",
"title": "Facebook-lettertypegenerator"
}
},
"index": {
"meta": {
"title": "Onderwerpen voor lettertypegenerator"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Ulepsz swoje posty na Facebooku za pomocą naszego generatora czcionek! \nZamień swój tekst w przyciągające wzrok czcionki na Facebooku, w tym pogrubienie, kursywę, kursywę i stylowe symbole. \nWyróżnij się w komentarzach, postach i biografiach dzięki unikalnym stylom tekstu, które przyciągają uwagę. \nŁatwy w użyciu, bezpłatny i kompatybilny ze wszystkimi urządzeniami. \nZwiększ swoją obecność w mediach społecznościowych już dziś dzięki naszemu generatorowi czcionek na Facebooku!",
"title": "Generator czcionek na Facebooku"
}
},
"index": {
"meta": {
"title": "Tematy dla generatora czcionek"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Aprimore suas postagens no Facebook com nosso gerador de fontes! \nTransforme seu texto em fontes atraentes para o Facebook, incluindo símbolos em negrito, itálico, cursivo e elegantes. \nDestaque-se em comentários, postagens e biografias com estilos de texto exclusivos que chamam a atenção. \nFácil de usar, gratuito e compatível com todos os dispositivos. \nEleve sua presença nas redes sociais hoje com nosso Gerador de Fontes do Facebook!",
"title": "Gerador de fontes do Facebook"
}
},
"index": {
"meta": {
"title": "Tópicos para gerador de fontes"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Улучшите свои публикации в Facebook с помощью нашего генератора шрифтов! \nПреобразуйте свой текст в привлекательные шрифты для Facebook, включая жирный шрифт, курсив, курсив и стильные символы. \nВыделитесь в комментариях, публикациях и биографиях благодаря уникальным стилям текста, которые привлекают внимание. \nПростой в использовании, бесплатный и совместимый со всеми устройствами. \nПовысьте свое присутствие в социальных сетях сегодня с помощью нашего генератора шрифтов Facebook!",
"title": "Генератор шрифтов Facebook"
}
},
"index": {
"meta": {
"title": "Темы для Генератора шрифтов"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"description": "Förbättra dina Facebook-inlägg med vår teckensnittsgenerator! \nFörvandla din text till iögonfallande typsnitt för Facebook, inklusive fetstil, kursiv, kursiv och stilfulla symboler. \nStick ut i kommentarer, inlägg och bios med unika textstilar som fångar uppmärksamhet. \nLätt att använda, gratis och kompatibel med alla enheter. \nÖka din närvaro på sociala medier idag med vår Facebook Font Generator!",
"title": "Facebook Font Generator"
}
},
"index": {
"meta": {
"title": "Ämnen för teckensnittsgenerator"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
"description": "Yazı Tipi Oluşturucumuzla Facebook Gönderilerinizi Geliştirin! \nMetninizi Facebook için kalın, italik, el yazısı ve şık semboller içeren göz alıcı yazı tiplerine dönüştürün. \nDikkat çeken benzersiz metin stilleriyle yorumlarda, gönderilerde ve biyografilerde öne çıkın. \nKullanımı kolay, ücretsiz ve tüm cihazlarla uyumludur. \nFacebook Yazı Tipi Oluşturucumuzla sosyal medyadaki varlığınızı bugün yükseltin!",
"title": "Facebook Yazı Tipi Oluşturucu"
}
},
"index": {
"meta": {
"title": "Yazı Tipi Oluşturucu konuları"
}
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions public/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@
"description": "使用我们的字体生成器增强您的 Facebook 帖子!\n将您的文本转换为 Facebook 引人注目的字体,包括粗体、斜体、草书和时尚符号。\n使用吸引注意力的独特文本样式在评论、帖子和简介中脱颖而出。\n易于使用、免费且与所有设备兼容。\n立即使用我们的 Facebook 字体生成器提升您的社交媒体形象!",
"title": "Facebook 字体生成器"
}
},
"index": {
"meta": {
"title": "字体生成器的主题"
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const getStyleName = async ({ params }: Readonly<{ params: { locale: Loca
}
}

export const topicMetadata = async ({ params }: { params: { topic: TopicKey } }): Promise<Metadata> => {
export const topicMetadata = async ({ params }: { params: { topic?: TopicKey } }): Promise<Metadata> => {
const t = await getTranslations(params);
const { topic } = params;

Expand All @@ -117,7 +117,7 @@ export const topicMetadata = async ({ params }: { params: { topic: TopicKey } })
description = t('frontend.topic.facebook.meta.description');
break;
default:
title = "";
title = t('frontend.topic.index.meta.title');
}

return {
Expand Down

0 comments on commit 7bcc217

Please sign in to comment.