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 09e055212040..8b52e0c2b9e5 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,7 +15,7 @@ import { import { useBlogAuthorPageTitle, BlogAuthorsListViewAllLabel, - BlogAuthorNoPostLabel, + BlogAuthorNoPostsLabel, } from '@docusaurus/theme-common/internal'; import Link from '@docusaurus/Link'; import {useBlogMetadata} from '@docusaurus/plugin-content-blog/client'; @@ -55,7 +55,7 @@ function Content({author, items, sidebar, listMetadata}: Props): JSX.Element { {items.length === 0 ? (

- +

) : ( <> diff --git a/packages/docusaurus-theme-common/src/internal.ts b/packages/docusaurus-theme-common/src/internal.ts index 6ea46fc3408c..ea8279af1b27 100644 --- a/packages/docusaurus-theme-common/src/internal.ts +++ b/packages/docusaurus-theme-common/src/internal.ts @@ -96,5 +96,5 @@ export { useBlogAuthorPageTitle, translateBlogAuthorsListPageTitle, BlogAuthorsListViewAllLabel, - BlogAuthorNoPostLabel, + 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 23320e3fbebf..a9e1328059c3 100644 --- a/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx +++ b/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx @@ -78,7 +78,7 @@ export function BlogAuthorsListViewAllLabel(): ReactNode { ); } -export function BlogAuthorNoPostLabel(): ReactNode { +export function BlogAuthorNoPostsLabel(): ReactNode { return (