From 68f55d4157fccd9108b66a14b4b1b74ba6d6824b Mon Sep 17 00:00:00 2001 From: kayjaydee Date: Wed, 22 Apr 2026 09:11:07 +0200 Subject: [PATCH] feat(06-02): add blog i18n keys (nav.blog, a11y.blog*, blog.*) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add nav.blog in FR (Blog) + EN (Blog) - Add a11y.blogTocToggle, blogPrev, blogNext with {title} interpolation - Add blog.* block: title, subtitle, stats (articles/tags/languages), readingTime ({minutes} interpolation), prevArticle, nextArticle, backToBlog, toc.title, emptyState (title/description/cta), breadcrumb (home/blog) - FR uses accents (Bientôt, précédent, Sommaire) per projects convention --- i18n/locales/en.json | 33 +++++++++++++++++++++++++++++++-- i18n/locales/fr.json | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 62 insertions(+), 4 deletions(-) diff --git a/i18n/locales/en.json b/i18n/locales/en.json index 8a97dd4..7f5f3db 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -5,7 +5,8 @@ "about": "About", "contact": "Contact", "fiverr": "Fiverr", - "hytale": "Hytale" + "hytale": "Hytale", + "blog": "Blog" }, "footer": { "copyright": "© 2026 Killian' DAL-CIN", @@ -30,7 +31,10 @@ "themeLight": "Switch to dark mode", "gitea": "Killian' DAL-CIN on Gitea (opens in new tab)", "linkedin": "Killian' DAL-CIN on LinkedIn (opens in new tab)", - "fiverr": "Killian' DAL-CIN on Fiverr (opens in new tab)" + "fiverr": "Killian' DAL-CIN on Fiverr (opens in new tab)", + "blogTocToggle": "Show table of contents", + "blogPrev": "Previous article: {title}", + "blogNext": "Next article: {title}" }, "seo": { "home": { @@ -549,5 +553,30 @@ ] } } + }, + "blog": { + "title": "Blog", + "subtitle": "Technical articles, experience feedback and practical guides on Hytale plugin development and the web ecosystem.", + "stats": { + "articles": "Articles", + "tags": "Tags", + "languages": "Languages" + }, + "readingTime": "{minutes} min read", + "prevArticle": "Previous article", + "nextArticle": "Next article", + "backToBlog": "Back to blog", + "toc": { + "title": "Table of contents" + }, + "emptyState": { + "title": "Hytale articles coming soon", + "description": "The blog is being prepared. The first articles on Hytale plugin development are coming soon.", + "cta": "Contact me" + }, + "breadcrumb": { + "home": "Home", + "blog": "Blog" + } } } \ No newline at end of file diff --git a/i18n/locales/fr.json b/i18n/locales/fr.json index 94871e9..8777816 100644 --- a/i18n/locales/fr.json +++ b/i18n/locales/fr.json @@ -5,7 +5,8 @@ "about": "A propos", "contact": "Contact", "fiverr": "Fiverr", - "hytale": "Hytale" + "hytale": "Hytale", + "blog": "Blog" }, "footer": { "copyright": "© 2026 Killian' DAL-CIN", @@ -30,7 +31,10 @@ "themeLight": "Activer le mode sombre", "gitea": "Gitea de Killian' DAL-CIN (nouvelle fenetre)", "linkedin": "LinkedIn de Killian' DAL-CIN (nouvelle fenetre)", - "fiverr": "Fiverr de Killian' DAL-CIN (nouvelle fenetre)" + "fiverr": "Fiverr de Killian' DAL-CIN (nouvelle fenetre)", + "blogTocToggle": "Afficher le sommaire", + "blogPrev": "Article précédent : {title}", + "blogNext": "Article suivant : {title}" }, "seo": { "home": { @@ -549,5 +553,30 @@ ] } } + }, + "blog": { + "title": "Blog", + "subtitle": "Articles techniques, retours d'expérience et guides pratiques sur le développement de plugins Hytale et l'écosystème web.", + "stats": { + "articles": "Articles", + "tags": "Tags", + "languages": "Langues" + }, + "readingTime": "{minutes} min de lecture", + "prevArticle": "Article précédent", + "nextArticle": "Article suivant", + "backToBlog": "Retour au blog", + "toc": { + "title": "Sommaire" + }, + "emptyState": { + "title": "Bientôt des articles Hytale", + "description": "Le blog se prépare. Les premiers articles sur le développement de plugins Hytale arrivent bientôt.", + "cta": "Me contacter" + }, + "breadcrumb": { + "home": "Accueil", + "blog": "Blog" + } } } \ No newline at end of file