From a1edf51003681e063670c7fbd8ee65a1e84e88a1 Mon Sep 17 00:00:00 2001 From: Christian Stangerup <97446290+cstangerup@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:59:05 +0200 Subject: [PATCH] fix(translations): change casing of some en labels (#10394) Co-authored-by: sebastien --- .../src/theme/BlogListPaginator/index.tsx | 4 ++-- .../BlogPostItem/Footer/ReadMoreLink/index.tsx | 2 +- .../src/theme/BlogPostPaginator/index.tsx | 4 ++-- .../src/theme/DocTagDocListPage/index.tsx | 2 +- .../src/translations/blogTranslations.tsx | 2 +- .../locales/base/theme-common.json | 14 +++++++------- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/BlogListPaginator/index.tsx b/packages/docusaurus-theme-classic/src/theme/BlogListPaginator/index.tsx index ff4dda6b4b44..e23409cd4523 100644 --- a/packages/docusaurus-theme-classic/src/theme/BlogListPaginator/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/BlogListPaginator/index.tsx @@ -29,7 +29,7 @@ export default function BlogListPaginator(props: Props): JSX.Element { - Newer Entries + Newer entries } /> @@ -41,7 +41,7 @@ export default function BlogListPaginator(props: Props): JSX.Element { - Older Entries + Older entries } isNext diff --git a/packages/docusaurus-theme-classic/src/theme/BlogPostItem/Footer/ReadMoreLink/index.tsx b/packages/docusaurus-theme-classic/src/theme/BlogPostItem/Footer/ReadMoreLink/index.tsx index 75f725cc75cc..3648d9f7fd12 100644 --- a/packages/docusaurus-theme-classic/src/theme/BlogPostItem/Footer/ReadMoreLink/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/BlogPostItem/Footer/ReadMoreLink/index.tsx @@ -16,7 +16,7 @@ function ReadMoreLabel() { - Read More + Read more ); diff --git a/packages/docusaurus-theme-classic/src/theme/BlogPostPaginator/index.tsx b/packages/docusaurus-theme-classic/src/theme/BlogPostPaginator/index.tsx index acf93a0081e8..22c7bcd12c69 100644 --- a/packages/docusaurus-theme-classic/src/theme/BlogPostPaginator/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/BlogPostPaginator/index.tsx @@ -28,7 +28,7 @@ export default function BlogPostPaginator(props: Props): JSX.Element { - Newer Post + Newer post } /> @@ -40,7 +40,7 @@ export default function BlogPostPaginator(props: Props): JSX.Element { - Older Post + Older post } isNext diff --git a/packages/docusaurus-theme-classic/src/theme/DocTagDocListPage/index.tsx b/packages/docusaurus-theme-classic/src/theme/DocTagDocListPage/index.tsx index 32e1d642e30d..51b8c090777c 100644 --- a/packages/docusaurus-theme-classic/src/theme/DocTagDocListPage/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/DocTagDocListPage/index.tsx @@ -91,7 +91,7 @@ function DocTagDocListPageContent({ - View All Tags + View all tags diff --git a/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx b/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx index 0390ee063a10..6fbbc06b8154 100644 --- a/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx +++ b/packages/docusaurus-theme-common/src/translations/blogTranslations.tsx @@ -73,7 +73,7 @@ export function BlogAuthorsListViewAllLabel(): ReactNode { - View All Authors + 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 2d7d9768e358..96eaa48d12a4 100644 --- a/packages/docusaurus-theme-translations/locales/base/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/base/theme-common.json @@ -49,23 +49,23 @@ "theme.blog.author.pageTitle___DESCRIPTION": "The title of the page for a blog author", "theme.blog.authorsList.pageTitle": "Authors", "theme.blog.authorsList.pageTitle___DESCRIPTION": "The title of the authors page", - "theme.blog.authorsList.viewAll": "View All Authors", + "theme.blog.authorsList.viewAll": "View all authors", "theme.blog.authorsList.viewAll___DESCRIPTION": "The label of the link targeting the blog authors page", "theme.blog.paginator.navAriaLabel": "Blog list page navigation", "theme.blog.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the blog pagination", - "theme.blog.paginator.newerEntries": "Newer Entries", + "theme.blog.paginator.newerEntries": "Newer entries", "theme.blog.paginator.newerEntries___DESCRIPTION": "The label used to navigate to the newer blog posts page (previous page)", - "theme.blog.paginator.olderEntries": "Older Entries", + "theme.blog.paginator.olderEntries": "Older entries", "theme.blog.paginator.olderEntries___DESCRIPTION": "The label used to navigate to the older blog posts page (next page)", "theme.blog.post.paginator.navAriaLabel": "Blog post page navigation", "theme.blog.post.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the blog posts pagination", - "theme.blog.post.paginator.newerPost": "Newer Post", + "theme.blog.post.paginator.newerPost": "Newer post", "theme.blog.post.paginator.newerPost___DESCRIPTION": "The blog post button label to navigate to the newer/previous post", - "theme.blog.post.paginator.olderPost": "Older Post", + "theme.blog.post.paginator.olderPost": "Older post", "theme.blog.post.paginator.olderPost___DESCRIPTION": "The blog post button label to navigate to the older/next post", "theme.blog.post.plurals": "One post|{count} posts", "theme.blog.post.plurals___DESCRIPTION": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)", - "theme.blog.post.readMore": "Read More", + "theme.blog.post.readMore": "Read more", "theme.blog.post.readMore___DESCRIPTION": "The label used in blog post item excerpts to link to full blog posts", "theme.blog.post.readMoreLabel": "Read more about {title}", "theme.blog.post.readMoreLabel___DESCRIPTION": "The ARIA label for the link to full blog posts from excerpts", @@ -148,7 +148,7 @@ "theme.navbar.mobileVersionsDropdown.label___DESCRIPTION": "The label for the navbar versions dropdown on mobile view", "theme.tags.tagsListLabel": "Tags:", "theme.tags.tagsListLabel___DESCRIPTION": "The label alongside a tag list", - "theme.tags.tagsPageLink": "View All Tags", + "theme.tags.tagsPageLink": "View all tags", "theme.tags.tagsPageLink___DESCRIPTION": "The label of the link targeting the tag list page", "theme.tags.tagsPageTitle": "Tags", "theme.tags.tagsPageTitle___DESCRIPTION": "The title of the tag list page"