From aa65f39d8c333a70e1945f60daa0c26d33726be5 Mon Sep 17 00:00:00 2001 From: ozaki <29860391+OzakIOne@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:07:49 +0200 Subject: [PATCH] fix(blog): authors count incorrectly rendered (#10431) Co-authored-by: sebastien --- .../src/theme/Blog/Components/Author/index.tsx | 2 +- .../Blog/Pages/BlogAuthorsPostsPage/index.tsx | 15 ++++++++++++--- packages/docusaurus-theme-common/src/internal.ts | 1 + .../src/translations/blogTranslations.tsx | 10 ++++++++++ .../locales/ar/theme-common.json | 1 + .../locales/base/theme-common.json | 2 ++ .../locales/bg/theme-common.json | 1 + .../locales/bn/theme-common.json | 1 + .../locales/cs/theme-common.json | 1 + .../locales/da/theme-common.json | 1 + .../locales/de/theme-common.json | 1 + .../locales/es/theme-common.json | 1 + .../locales/et/theme-common.json | 1 + .../locales/fa/theme-common.json | 1 + .../locales/fil/theme-common.json | 1 + .../locales/fr/theme-common.json | 1 + .../locales/he/theme-common.json | 1 + .../locales/hi/theme-common.json | 1 + .../locales/hu/theme-common.json | 1 + .../locales/id/theme-common.json | 1 + .../locales/is/theme-common.json | 1 + .../locales/it/theme-common.json | 1 + .../locales/ja/theme-common.json | 1 + .../locales/ko/theme-common.json | 1 + .../locales/nb/theme-common.json | 1 + .../locales/nl/theme-common.json | 1 + .../locales/pl/theme-common.json | 1 + .../locales/pt-BR/theme-common.json | 1 + .../locales/pt-PT/theme-common.json | 1 + .../locales/ru/theme-common.json | 1 + .../locales/sl/theme-common.json | 1 + .../locales/sr/theme-common.json | 1 + .../locales/sv/theme-common.json | 1 + .../locales/tk/theme-common.json | 1 + .../locales/tr/theme-common.json | 1 + .../locales/uk/theme-common.json | 1 + .../locales/vi/theme-common.json | 1 + .../locales/zh-Hans/theme-common.json | 1 + .../locales/zh-Hant/theme-common.json | 1 + 39 files changed, 60 insertions(+), 4 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/index.tsx b/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/index.tsx index 5861b3da80..301a7b7790 100644 --- a/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/index.tsx @@ -83,7 +83,7 @@ export default function BlogAuthor({ )} - {count && } + {count !== undefined && } {!!title && } diff --git a/packages/docusaurus-theme-classic/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx b/packages/docusaurus-theme-classic/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx index 1d49c35b04..8b52e0c2b9 100644 --- a/packages/docusaurus-theme-classic/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.tsx @@ -15,6 +15,7 @@ import { import { useBlogAuthorPageTitle, BlogAuthorsListViewAllLabel, + BlogAuthorNoPostsLabel, } from '@docusaurus/theme-common/internal'; import Link from '@docusaurus/Link'; import {useBlogMetadata} from '@docusaurus/plugin-content-blog/client'; @@ -52,9 +53,17 @@ function Content({author, items, sidebar, listMetadata}: Props): JSX.Element { {author.description &&

{author.description}

} -
- - + {items.length === 0 ? ( +

+ +

+ ) : ( + <> +
+ + + + )} ); } diff --git a/packages/docusaurus-theme-common/src/internal.ts b/packages/docusaurus-theme-common/src/internal.ts index 8c3f5d6b7c..ea8279af1b 100644 --- a/packages/docusaurus-theme-common/src/internal.ts +++ b/packages/docusaurus-theme-common/src/internal.ts @@ -96,4 +96,5 @@ export { useBlogAuthorPageTitle, translateBlogAuthorsListPageTitle, BlogAuthorsListViewAllLabel, + BlogAuthorNoPostsLabel, } from './translations/blogTranslations'; diff --git a/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx b/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx index 6fbbc06b81..a9e1328059 100644 --- a/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx +++ b/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx @@ -77,3 +77,13 @@ export function BlogAuthorsListViewAllLabel(): ReactNode { ); } + +export function BlogAuthorNoPostsLabel(): ReactNode { + return ( + + This author has not written any posts yet. + + ); +} diff --git a/packages/docusaurus-theme-translations/locales/ar/theme-common.json b/packages/docusaurus-theme-translations/locales/ar/theme-common.json index e165598da4..be0e78a24e 100644 --- a/packages/docusaurus-theme-translations/locales/ar/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ar/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "أرشيف", "theme.blog.archive.title": "أرشيف", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/base/theme-common.json b/packages/docusaurus-theme-translations/locales/base/theme-common.json index 96eaa48d12..251596eb6e 100644 --- a/packages/docusaurus-theme-translations/locales/base/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/base/theme-common.json @@ -45,6 +45,8 @@ "theme.blog.archive.description___DESCRIPTION": "The page & hero description of the blog archive page", "theme.blog.archive.title": "Archive", "theme.blog.archive.title___DESCRIPTION": "The page & hero title of the blog archive page", + "theme.blog.author.noPosts": "This author has not written any posts yet.", + "theme.blog.author.noPosts___DESCRIPTION": "The text for authors with 0 blog post", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.author.pageTitle___DESCRIPTION": "The title of the page for a blog author", "theme.blog.authorsList.pageTitle": "Authors", diff --git a/packages/docusaurus-theme-translations/locales/bg/theme-common.json b/packages/docusaurus-theme-translations/locales/bg/theme-common.json index 0e137e9d01..7231cf8b1f 100644 --- a/packages/docusaurus-theme-translations/locales/bg/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/bg/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "Внимание", "theme.blog.archive.description": "Архив", "theme.blog.archive.title": "Архив", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/bn/theme-common.json b/packages/docusaurus-theme-translations/locales/bn/theme-common.json index a4422ff089..7c42e91723 100644 --- a/packages/docusaurus-theme-translations/locales/bn/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/bn/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/cs/theme-common.json b/packages/docusaurus-theme-translations/locales/cs/theme-common.json index 21873c7ec0..e442f0eeff 100644 --- a/packages/docusaurus-theme-translations/locales/cs/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/cs/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/da/theme-common.json b/packages/docusaurus-theme-translations/locales/da/theme-common.json index 765fb67d15..157d231f6c 100644 --- a/packages/docusaurus-theme-translations/locales/da/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/da/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/de/theme-common.json b/packages/docusaurus-theme-translations/locales/de/theme-common.json index ae52a2fe72..5a61097055 100644 --- a/packages/docusaurus-theme-translations/locales/de/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/de/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warnung", "theme.blog.archive.description": "Archiv", "theme.blog.archive.title": "Archiv", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/es/theme-common.json b/packages/docusaurus-theme-translations/locales/es/theme-common.json index 353b45c8f1..5b619fb72c 100644 --- a/packages/docusaurus-theme-translations/locales/es/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/es/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "aviso", "theme.blog.archive.description": "Archivo", "theme.blog.archive.title": "Archivo", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/et/theme-common.json b/packages/docusaurus-theme-translations/locales/et/theme-common.json index 7899d275ef..e30c2e5a49 100644 --- a/packages/docusaurus-theme-translations/locales/et/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/et/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "hoiatus", "theme.blog.archive.description": "Arhiiv", "theme.blog.archive.title": "Arhiiv", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/fa/theme-common.json b/packages/docusaurus-theme-translations/locales/fa/theme-common.json index 45908abd75..55baf0df55 100644 --- a/packages/docusaurus-theme-translations/locales/fa/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/fa/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "هشدار", "theme.blog.archive.description": "آرشیو", "theme.blog.archive.title": "آرشیو", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/fil/theme-common.json b/packages/docusaurus-theme-translations/locales/fil/theme-common.json index 50a06a24e1..383cecc356 100644 --- a/packages/docusaurus-theme-translations/locales/fil/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/fil/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/fr/theme-common.json b/packages/docusaurus-theme-translations/locales/fr/theme-common.json index c68bc8d467..92c8e9eecb 100644 --- a/packages/docusaurus-theme-translations/locales/fr/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/fr/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "attention", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/he/theme-common.json b/packages/docusaurus-theme-translations/locales/he/theme-common.json index 48f2a4941a..cd2a67d1b7 100644 --- a/packages/docusaurus-theme-translations/locales/he/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/he/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/hi/theme-common.json b/packages/docusaurus-theme-translations/locales/hi/theme-common.json index 2590a754a9..d5cce9cb56 100644 --- a/packages/docusaurus-theme-translations/locales/hi/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/hi/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/hu/theme-common.json b/packages/docusaurus-theme-translations/locales/hu/theme-common.json index 28e4f51e7c..9f5b5c604e 100644 --- a/packages/docusaurus-theme-translations/locales/hu/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/hu/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "vigyázat", "theme.blog.archive.description": "Archívum", "theme.blog.archive.title": "Archívum", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/id/theme-common.json b/packages/docusaurus-theme-translations/locales/id/theme-common.json index 9bea29c704..9ec9037e3b 100644 --- a/packages/docusaurus-theme-translations/locales/id/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/id/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "peringatan", "theme.blog.archive.description": "Arsip", "theme.blog.archive.title": "Arsip", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/is/theme-common.json b/packages/docusaurus-theme-translations/locales/is/theme-common.json index 8cf8e8be39..0d1121f408 100644 --- a/packages/docusaurus-theme-translations/locales/is/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/is/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "aðvörun", "theme.blog.archive.description": "Skjalasafn", "theme.blog.archive.title": "Skjalasafn", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/it/theme-common.json b/packages/docusaurus-theme-translations/locales/it/theme-common.json index c030e0df48..41b0a5ac00 100644 --- a/packages/docusaurus-theme-translations/locales/it/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/it/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archivio", "theme.blog.archive.title": "Archivio", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/ja/theme-common.json b/packages/docusaurus-theme-translations/locales/ja/theme-common.json index fc09e90e95..246ca452aa 100644 --- a/packages/docusaurus-theme-translations/locales/ja/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ja/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "警告", "theme.blog.archive.description": "アーカイブ", "theme.blog.archive.title": "アーカイブ", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/ko/theme-common.json b/packages/docusaurus-theme-translations/locales/ko/theme-common.json index daf247cc49..e7bce76288 100644 --- a/packages/docusaurus-theme-translations/locales/ko/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ko/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "경고", "theme.blog.archive.description": "게시물 목록", "theme.blog.archive.title": "게시물 목록", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/nb/theme-common.json b/packages/docusaurus-theme-translations/locales/nb/theme-common.json index 9d3aed888d..71e3d1e709 100644 --- a/packages/docusaurus-theme-translations/locales/nb/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/nb/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Arkiv", "theme.blog.archive.title": "Arkiv", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/nl/theme-common.json b/packages/docusaurus-theme-translations/locales/nl/theme-common.json index 81f60d8a83..876ad26ae7 100644 --- a/packages/docusaurus-theme-translations/locales/nl/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/nl/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archief", "theme.blog.archive.title": "Archief", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/pl/theme-common.json b/packages/docusaurus-theme-translations/locales/pl/theme-common.json index e3833c44d3..4b4fac37d8 100644 --- a/packages/docusaurus-theme-translations/locales/pl/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/pl/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archiwum", "theme.blog.archive.title": "Archiwum", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json b/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json index ebc6b16773..b573ff721a 100644 --- a/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "atenção", "theme.blog.archive.description": "Arquivo", "theme.blog.archive.title": "Arquivo", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json b/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json index e048d58adf..3772b07e66 100644 --- a/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Archive", "theme.blog.archive.title": "Archive", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/ru/theme-common.json b/packages/docusaurus-theme-translations/locales/ru/theme-common.json index dbc0f23e1c..bc30a6c0c1 100644 --- a/packages/docusaurus-theme-translations/locales/ru/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ru/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Архив", "theme.blog.archive.title": "Архив", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/sl/theme-common.json b/packages/docusaurus-theme-translations/locales/sl/theme-common.json index 03bb69ac13..58bc3ec40f 100644 --- a/packages/docusaurus-theme-translations/locales/sl/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/sl/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Arhiv", "theme.blog.archive.title": "Arhiv", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/sr/theme-common.json b/packages/docusaurus-theme-translations/locales/sr/theme-common.json index 7e446ec3c2..c4d5ff1d49 100644 --- a/packages/docusaurus-theme-translations/locales/sr/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/sr/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Архива", "theme.blog.archive.title": "Архива", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/sv/theme-common.json b/packages/docusaurus-theme-translations/locales/sv/theme-common.json index 03b86feefd..962e3465a6 100644 --- a/packages/docusaurus-theme-translations/locales/sv/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/sv/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Arkiv", "theme.blog.archive.title": "Arkiv", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/tk/theme-common.json b/packages/docusaurus-theme-translations/locales/tk/theme-common.json index 4888f960f7..cb19c798db 100644 --- a/packages/docusaurus-theme-translations/locales/tk/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/tk/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "duýduryş", "theme.blog.archive.description": "Arhiw", "theme.blog.archive.title": "Arhiw", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/tr/theme-common.json b/packages/docusaurus-theme-translations/locales/tr/theme-common.json index 484e88b6e8..5106f1edcf 100644 --- a/packages/docusaurus-theme-translations/locales/tr/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/tr/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Arşiv", "theme.blog.archive.title": "Arşiv", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/uk/theme-common.json b/packages/docusaurus-theme-translations/locales/uk/theme-common.json index 399f958a01..972b012c90 100644 --- a/packages/docusaurus-theme-translations/locales/uk/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/uk/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Архів", "theme.blog.archive.title": "Архів", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/vi/theme-common.json b/packages/docusaurus-theme-translations/locales/vi/theme-common.json index 443cf03997..24d09445a9 100644 --- a/packages/docusaurus-theme-translations/locales/vi/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/vi/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "warning", "theme.blog.archive.description": "Lưu trữ", "theme.blog.archive.title": "Lưu trữ", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json b/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json index 3bdf5970c2..62880a8edd 100644 --- a/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "注意", "theme.blog.archive.description": "历史博文", "theme.blog.archive.title": "历史博文", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors", diff --git a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json index be927a6048..61e3cacef2 100644 --- a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json @@ -22,6 +22,7 @@ "theme.admonition.warning": "注意", "theme.blog.archive.description": "歷史文章", "theme.blog.archive.title": "歷史文章", + "theme.blog.author.noPosts": "This author has not written any posts yet.", "theme.blog.author.pageTitle": "{authorName} - {nPosts}", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.viewAll": "View All Authors",