diff --git a/packages/docusaurus-theme-classic/src/theme/DocCard/index.tsx b/packages/docusaurus-theme-classic/src/theme/DocCard/index.tsx index 9e1b190d266c..54e9def9a359 100644 --- a/packages/docusaurus-theme-classic/src/theme/DocCard/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/DocCard/index.tsx @@ -12,6 +12,7 @@ import { findFirstSidebarItemLink, useDocById, } from '@docusaurus/theme-common/internal'; +import {usePluralForm} from '@docusaurus/theme-common'; import isInternalUrl from '@docusaurus/isInternalUrl'; import {translate} from '@docusaurus/Translate'; @@ -24,6 +25,23 @@ import type { import styles from './styles.module.css'; +function useCategoryItemsPlural() { + const {selectMessage} = usePluralForm(); + return (count: number) => + selectMessage( + count, + translate( + { + message: '{count} items', + id: 'theme.docs.DocCard.categoryDescription.plurals', + description: + 'The default description for a category card in the generated index about how many items this category includes', + }, + {count}, + ), + ); +} + function CardContainer({ href, children, @@ -76,6 +94,7 @@ function CardCategory({ item: PropSidebarItemCategory; }): JSX.Element | null { const href = findFirstSidebarItemLink(item); + const categoryItemsPlural = useCategoryItemsPlural(); // Unexpected: categories that don't have a link have been filtered upfront if (!href) { @@ -87,18 +106,7 @@ function CardCategory({ href={href} icon="🗃️" title={item.label} - description={ - item.description ?? - translate( - { - message: '{count} items', - id: 'theme.docs.DocCard.categoryDescription', - description: - 'The default description for a category card in the generated index about how many items this category includes', - }, - {count: item.items.length}, - ) - } + description={item.description ?? categoryItemsPlural(item.items.length)} /> ); } diff --git a/packages/docusaurus-theme-translations/locales/ar/theme-common.json b/packages/docusaurus-theme-translations/locales/ar/theme-common.json index 2af8e40a5b39..aad2e83c3dc4 100644 --- a/packages/docusaurus-theme-translations/locales/ar/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ar/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "تعديل هذه الصفحة", "theme.common.headingLinkTitle": "ارتباط مباشر بالعنوان {heading}", "theme.common.skipToMainContent": "انتقل إلى المحتوى الرئيسي", - "theme.docs.DocCard.categoryDescription": "{count} مواد", + "theme.docs.DocCard.categoryDescription.plurals": "{count} مواد", "theme.docs.breadcrumbs.home": "الرئيسية", "theme.docs.breadcrumbs.navAriaLabel": "التنقل التفصيلي", "theme.docs.paginator.navAriaLabel": "صفحة التوثيق", diff --git a/packages/docusaurus-theme-translations/locales/base/theme-common.json b/packages/docusaurus-theme-translations/locales/base/theme-common.json index 705b1c120bae..af68335bac90 100644 --- a/packages/docusaurus-theme-translations/locales/base/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/base/theme-common.json @@ -81,8 +81,8 @@ "theme.common.headingLinkTitle___DESCRIPTION": "Title for link to heading", "theme.common.skipToMainContent": "Skip to main content", "theme.common.skipToMainContent___DESCRIPTION": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation", - "theme.docs.DocCard.categoryDescription": "{count} items", - "theme.docs.DocCard.categoryDescription___DESCRIPTION": "The default description for a category card in the generated index about how many items this category includes", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals___DESCRIPTION": "The default description for a category card in the generated index about how many items this category includes", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.home___DESCRIPTION": "The ARIA label for the home page in the breadcrumbs", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", diff --git a/packages/docusaurus-theme-translations/locales/bn/theme-common.json b/packages/docusaurus-theme-translations/locales/bn/theme-common.json index 05fdee9f7951..b495a439be4d 100644 --- a/packages/docusaurus-theme-translations/locales/bn/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/bn/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "এই পেজটি এডিট করুন", "theme.common.headingLinkTitle": "{heading} এর সঙ্গে সরাসরি লিংকড", "theme.common.skipToMainContent": "স্কিপ করে মূল কন্টেন্ট এ যান", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "ডক্স পেজ", diff --git a/packages/docusaurus-theme-translations/locales/cs/theme-common.json b/packages/docusaurus-theme-translations/locales/cs/theme-common.json index aa2bbb1b974d..f1ac6ef1fa6e 100644 --- a/packages/docusaurus-theme-translations/locales/cs/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/cs/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Upravit tuto stránku", "theme.common.headingLinkTitle": "Přímý odkaz na {heading}", "theme.common.skipToMainContent": "Přeskočit na hlavní obsah", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Stránka dokumentace", diff --git a/packages/docusaurus-theme-translations/locales/da/theme-common.json b/packages/docusaurus-theme-translations/locales/da/theme-common.json index 1e8e0058ca18..5dedec0af89f 100644 --- a/packages/docusaurus-theme-translations/locales/da/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/da/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Rediger denne side", "theme.common.headingLinkTitle": "Direkte link til {heading}", "theme.common.skipToMainContent": "Hop til hovedindhold", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Dokumentside", diff --git a/packages/docusaurus-theme-translations/locales/de/theme-common.json b/packages/docusaurus-theme-translations/locales/de/theme-common.json index 8d2a75fe923e..019215a5018b 100644 --- a/packages/docusaurus-theme-translations/locales/de/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/de/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Diese Seite bearbeiten", "theme.common.headingLinkTitle": "Direkter Link zur {heading}", "theme.common.skipToMainContent": "Zum Hauptinhalt springen", - "theme.docs.DocCard.categoryDescription": "{count} Einträge", + "theme.docs.DocCard.categoryDescription.plurals": "{count} Einträge", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Dokumentation Seiten", diff --git a/packages/docusaurus-theme-translations/locales/es/theme-common.json b/packages/docusaurus-theme-translations/locales/es/theme-common.json index db97f321ccf7..03a80f67edee 100644 --- a/packages/docusaurus-theme-translations/locales/es/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/es/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Editar esta página", "theme.common.headingLinkTitle": "Enlace directo al {heading}", "theme.common.skipToMainContent": "Saltar al contenido principal", - "theme.docs.DocCard.categoryDescription": "{count} artículos", + "theme.docs.DocCard.categoryDescription.plurals": "{count} artículos", "theme.docs.breadcrumbs.home": "Página de Inicio", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Página del documento", diff --git a/packages/docusaurus-theme-translations/locales/fa/theme-common.json b/packages/docusaurus-theme-translations/locales/fa/theme-common.json index d6d967a6f763..f82cd55b6702 100644 --- a/packages/docusaurus-theme-translations/locales/fa/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/fa/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "ویرایش مطالب این صفحه", "theme.common.headingLinkTitle": "لینک مستقیم به {heading}", "theme.common.skipToMainContent": "پرش به مطلب اصلی", - "theme.docs.DocCard.categoryDescription": "{count} مورد", + "theme.docs.DocCard.categoryDescription.plurals": "{count} مورد", "theme.docs.breadcrumbs.home": "صفحه اصلی", "theme.docs.breadcrumbs.navAriaLabel": "نشانگر صفحات", "theme.docs.paginator.navAriaLabel": "صفحات مستندات", diff --git a/packages/docusaurus-theme-translations/locales/fil/theme-common.json b/packages/docusaurus-theme-translations/locales/fil/theme-common.json index 06175cd03ede..576179af5835 100644 --- a/packages/docusaurus-theme-translations/locales/fil/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/fil/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "I-edit ang page", "theme.common.headingLinkTitle": "Direktang link patungo sa {heading}", "theme.common.skipToMainContent": "Lumaktaw patungo sa pangunahing content", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Docs Pages", diff --git a/packages/docusaurus-theme-translations/locales/fr/theme-common.json b/packages/docusaurus-theme-translations/locales/fr/theme-common.json index 0d80e4a7a9a8..86ea9aa2d115 100644 --- a/packages/docusaurus-theme-translations/locales/fr/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/fr/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Éditer cette page", "theme.common.headingLinkTitle": "Lien direct vers {heading}", "theme.common.skipToMainContent": "Aller au contenu principal", - "theme.docs.DocCard.categoryDescription": "{count} éléments", + "theme.docs.DocCard.categoryDescription.plurals": "{count} éléments", "theme.docs.breadcrumbs.home": "Page d'accueil", "theme.docs.breadcrumbs.navAriaLabel": "Fil d'Ariane", "theme.docs.paginator.navAriaLabel": "Pages de documentation", diff --git a/packages/docusaurus-theme-translations/locales/he/theme-common.json b/packages/docusaurus-theme-translations/locales/he/theme-common.json index 00badf24955a..50bba034e75a 100644 --- a/packages/docusaurus-theme-translations/locales/he/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/he/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "ערוך דף זה", "theme.common.headingLinkTitle": "קישור ישיר אל {heading}", "theme.common.skipToMainContent": "דלג לתוכן הראשי", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "רשימת דוקומנטאציה", diff --git a/packages/docusaurus-theme-translations/locales/hi/theme-common.json b/packages/docusaurus-theme-translations/locales/hi/theme-common.json index 994c34e08dc5..1d36ea115410 100644 --- a/packages/docusaurus-theme-translations/locales/hi/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/hi/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "इस पेज को बदलें", "theme.common.headingLinkTitle": "{heading} का सीधा लिंक", "theme.common.skipToMainContent": "मुख्य कंटेंट तक स्किप करें", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "डॉक्स पेज", diff --git a/packages/docusaurus-theme-translations/locales/hu/theme-common.json b/packages/docusaurus-theme-translations/locales/hu/theme-common.json index 8dd315ebef87..c98fe3920e5d 100644 --- a/packages/docusaurus-theme-translations/locales/hu/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/hu/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Szerkesztés GitHub-on", "theme.common.headingLinkTitle": "Közvetlen hivatkozás erre: {heading}", "theme.common.skipToMainContent": "Ugrás a fő tartalomhoz", - "theme.docs.DocCard.categoryDescription": "{count} elemek", + "theme.docs.DocCard.categoryDescription.plurals": "{count} elemek", "theme.docs.breadcrumbs.home": "Kezdőlap", "theme.docs.breadcrumbs.navAriaLabel": "Navigációs sáv a jelenlegi oldalhoz", "theme.docs.paginator.navAriaLabel": "Dokumentációs oldal", diff --git a/packages/docusaurus-theme-translations/locales/it/theme-common.json b/packages/docusaurus-theme-translations/locales/it/theme-common.json index a8e22db33655..8d79b44fff86 100644 --- a/packages/docusaurus-theme-translations/locales/it/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/it/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Modifica questa pagina", "theme.common.headingLinkTitle": "Link diretto a {heading}", "theme.common.skipToMainContent": "Passa al contenuto principale", - "theme.docs.DocCard.categoryDescription": "{count} elementi", + "theme.docs.DocCard.categoryDescription.plurals": "{count} elementi", "theme.docs.breadcrumbs.home": "Pagina principale", "theme.docs.breadcrumbs.navAriaLabel": "Briciole di pane", "theme.docs.paginator.navAriaLabel": "Pagina del documento", diff --git a/packages/docusaurus-theme-translations/locales/ja/theme-common.json b/packages/docusaurus-theme-translations/locales/ja/theme-common.json index 1cd6446c9316..d05f5db54ae3 100644 --- a/packages/docusaurus-theme-translations/locales/ja/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ja/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "このページを編集", "theme.common.headingLinkTitle": "{heading} への直接リンク", "theme.common.skipToMainContent": "メインコンテンツまでスキップ", - "theme.docs.DocCard.categoryDescription": "{count}項目", + "theme.docs.DocCard.categoryDescription.plurals": "{count}項目", "theme.docs.breadcrumbs.home": "ホームページ", "theme.docs.breadcrumbs.navAriaLabel": "パンくずリストのナビゲーション", "theme.docs.paginator.navAriaLabel": "ドキュメントページ", diff --git a/packages/docusaurus-theme-translations/locales/ko/theme-common.json b/packages/docusaurus-theme-translations/locales/ko/theme-common.json index ae6903ba1d6c..6d47e737b5e8 100644 --- a/packages/docusaurus-theme-translations/locales/ko/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ko/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "페이지 편집", "theme.common.headingLinkTitle": "{heading}에 대한 직접 링크", "theme.common.skipToMainContent": "본문으로 건너뛰기", - "theme.docs.DocCard.categoryDescription": "{count} 항목", + "theme.docs.DocCard.categoryDescription.plurals": "{count} 항목", "theme.docs.breadcrumbs.home": "홈", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "문서 페이지", diff --git a/packages/docusaurus-theme-translations/locales/nb/theme-common.json b/packages/docusaurus-theme-translations/locales/nb/theme-common.json index 57ea71ddca2b..8854f8f6ab15 100644 --- a/packages/docusaurus-theme-translations/locales/nb/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/nb/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Rediger denne siden", "theme.common.headingLinkTitle": "Direkte lenke til {heading}", "theme.common.skipToMainContent": "Gå til hovedinnhold", - "theme.docs.DocCard.categoryDescription": "{count} artikler", + "theme.docs.DocCard.categoryDescription.plurals": "{count} artikler", "theme.docs.breadcrumbs.home": "Hjemmeside", "theme.docs.breadcrumbs.navAriaLabel": "Søkvei", "theme.docs.paginator.navAriaLabel": "Dokumenter side", diff --git a/packages/docusaurus-theme-translations/locales/nl/theme-common.json b/packages/docusaurus-theme-translations/locales/nl/theme-common.json index 36c75b00d32e..fec11895e2fa 100644 --- a/packages/docusaurus-theme-translations/locales/nl/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/nl/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Bewerk deze pagina", "theme.common.headingLinkTitle": "Direct link naar {heading}", "theme.common.skipToMainContent": "Ga naar hoofdinhoud", - "theme.docs.DocCard.categoryDescription": "{count} artikelen", + "theme.docs.DocCard.categoryDescription.plurals": "{count} artikelen", "theme.docs.breadcrumbs.home": "Homepagina", "theme.docs.breadcrumbs.navAriaLabel": "Broodkruimels", "theme.docs.paginator.navAriaLabel": "Documentatie pagina", diff --git a/packages/docusaurus-theme-translations/locales/pl/theme-common.json b/packages/docusaurus-theme-translations/locales/pl/theme-common.json index 12a5a8929fe9..4c31e1b8acc5 100644 --- a/packages/docusaurus-theme-translations/locales/pl/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/pl/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Edytuj tę stronę", "theme.common.headingLinkTitle": "Bezpośredni link do {heading}", "theme.common.skipToMainContent": "Przejdź do głównej zawartości", - "theme.docs.DocCard.categoryDescription": "{count} elementów", + "theme.docs.DocCard.categoryDescription.plurals": "{count} elementów", "theme.docs.breadcrumbs.home": "Strona główna", "theme.docs.breadcrumbs.navAriaLabel": "Pasek nawigacji", "theme.docs.paginator.navAriaLabel": "Strona dokumentacji", 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 3c930a6ee184..2e57671f8bfe 100644 --- a/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Editar essa página", "theme.common.headingLinkTitle": "Link direto para {heading}", "theme.common.skipToMainContent": "Pular para o conteúdo principal", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Página Inicial", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Páginas de documentação", 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 cea4db7fa3d1..0d979546ff12 100644 --- a/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Editar esta página", "theme.common.headingLinkTitle": "Link direto para {heading}", "theme.common.skipToMainContent": "Saltar para o conteúdo principal", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Páginas de documento", diff --git a/packages/docusaurus-theme-translations/locales/ru/theme-common.json b/packages/docusaurus-theme-translations/locales/ru/theme-common.json index cdf7d51b20b1..f0a8f7f88146 100644 --- a/packages/docusaurus-theme-translations/locales/ru/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/ru/theme-common.json @@ -31,7 +31,7 @@ "theme.blog.post.plurals": "{count} запись|{count} записи|{count} записей", "theme.blog.post.readMore": "Читать дальше", "theme.blog.post.readMoreLabel": "Подробнее о {title}", - "theme.blog.post.readingTime.plurals": "{readingTime} мин. чтения", + "theme.blog.post.readingTime.plurals": "{readingTime} мин. чтения|{readingTime} мин. чтения|{readingTime} мин. чтения", "theme.blog.sidebar.navAriaLabel": "Навигация по последним постам в блоге", "theme.blog.tagTitle": "{nPosts} с тегом \"{tagName}\"", "theme.colorToggle.ariaLabel": "Переключение между темным и светлым режимом (сейчас используется {mode})", @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Отредактировать эту страницу", "theme.common.headingLinkTitle": "Прямая ссылка на {heading}", "theme.common.skipToMainContent": "Перейти к основному содержимому", - "theme.docs.DocCard.categoryDescription": "{count} элемент|{count} элемента|{count} элементов", + "theme.docs.DocCard.categoryDescription.plurals": "{count} элемент|{count} элемента|{count} элементов", "theme.docs.breadcrumbs.home": "Главная страница", "theme.docs.breadcrumbs.navAriaLabel": "Навигационная цепочка текущей страницы", "theme.docs.paginator.navAriaLabel": "Страница документа", diff --git a/packages/docusaurus-theme-translations/locales/sl/theme-common.json b/packages/docusaurus-theme-translations/locales/sl/theme-common.json index c072cde0edad..bd3b265baf77 100644 --- a/packages/docusaurus-theme-translations/locales/sl/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/sl/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Uredi to stran", "theme.common.headingLinkTitle": "Direktna povezava na {heading}", "theme.common.skipToMainContent": "Preskoči na vsebino", - "theme.docs.DocCard.categoryDescription": "{count} vnosov", + "theme.docs.DocCard.categoryDescription.plurals": "{count} vnosov", "theme.docs.breadcrumbs.home": "Domača stran", "theme.docs.breadcrumbs.navAriaLabel": "Drobtine", "theme.docs.paginator.navAriaLabel": "Strani z dokumenti", diff --git a/packages/docusaurus-theme-translations/locales/sr/theme-common.json b/packages/docusaurus-theme-translations/locales/sr/theme-common.json index 0f600118cdb7..f29b6f56f21e 100644 --- a/packages/docusaurus-theme-translations/locales/sr/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/sr/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Уреди ову страницу", "theme.common.headingLinkTitle": "Веза до {heading}", "theme.common.skipToMainContent": "Пређи на главни садржај", - "theme.docs.DocCard.categoryDescription": "{count} items", + "theme.docs.DocCard.categoryDescription.plurals": "{count} items", "theme.docs.breadcrumbs.home": "Home page", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "странице докумената", diff --git a/packages/docusaurus-theme-translations/locales/sv/theme-common.json b/packages/docusaurus-theme-translations/locales/sv/theme-common.json index 37075adecd0b..07b0cd93155a 100644 --- a/packages/docusaurus-theme-translations/locales/sv/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/sv/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Redigera denna sida", "theme.common.headingLinkTitle": "Direktlänk till {heading}", "theme.common.skipToMainContent": "Hoppa till huvudinnehåll", - "theme.docs.DocCard.categoryDescription": "{count} artiklar", + "theme.docs.DocCard.categoryDescription.plurals": "{count} artiklar", "theme.docs.breadcrumbs.home": "Hemsida", "theme.docs.breadcrumbs.navAriaLabel": "Sökväg", "theme.docs.paginator.navAriaLabel": "Dokumentsidor", diff --git a/packages/docusaurus-theme-translations/locales/tr/theme-common.json b/packages/docusaurus-theme-translations/locales/tr/theme-common.json index 1106d6a3eaac..99f0cd64ff00 100644 --- a/packages/docusaurus-theme-translations/locales/tr/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/tr/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Bu sayfayı düzenle", "theme.common.headingLinkTitle": "{heading} doğrudan bağlantı", "theme.common.skipToMainContent": "Ana içeriğe geç", - "theme.docs.DocCard.categoryDescription": "{count} öğe", + "theme.docs.DocCard.categoryDescription.plurals": "{count} öğe", "theme.docs.breadcrumbs.home": "Ana sayfa", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Dokümanlar sayfası", diff --git a/packages/docusaurus-theme-translations/locales/uk/theme-common.json b/packages/docusaurus-theme-translations/locales/uk/theme-common.json index 56ae2980ecc8..12c35e144e03 100644 --- a/packages/docusaurus-theme-translations/locales/uk/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/uk/theme-common.json @@ -31,7 +31,7 @@ "theme.blog.post.plurals": "{count} запис|{count} записи|{count} записів", "theme.blog.post.readMore": "Читати далі", "theme.blog.post.readMoreLabel": "Докладніше про {title}", - "theme.blog.post.readingTime.plurals": "{readingTime} хв. читання", + "theme.blog.post.readingTime.plurals": "{readingTime} хв. читання|{readingTime} хв. читання|{readingTime} хв. читання", "theme.blog.sidebar.navAriaLabel": "Навігація за останніми постами у блозі", "theme.blog.tagTitle": "{nPosts} з тегом \"{tagName}\"", "theme.colorToggle.ariaLabel": "Перемикання між темним та світлим режимом (зараз використовується {mode})", @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Відредагувати цю сторінку", "theme.common.headingLinkTitle": "Пряме посилання на {heading}", "theme.common.skipToMainContent": "Перейти до основного вмісту", - "theme.docs.DocCard.categoryDescription": "{count} елемент|{count} елементи|{count} елементів", + "theme.docs.DocCard.categoryDescription.plurals": "{count} елемент|{count} елементи|{count} елементів", "theme.docs.breadcrumbs.home": "Головна сторінка", "theme.docs.breadcrumbs.navAriaLabel": "Навігаційний ланцюжок поточної сторінки", "theme.docs.paginator.navAriaLabel": "сторінка документації", diff --git a/packages/docusaurus-theme-translations/locales/vi/theme-common.json b/packages/docusaurus-theme-translations/locales/vi/theme-common.json index 4ced54b82ef4..6c4ddb9da92d 100644 --- a/packages/docusaurus-theme-translations/locales/vi/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/vi/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "Sửa trang này", "theme.common.headingLinkTitle": "Đường dẫn trực tiếp tới {heading}", "theme.common.skipToMainContent": "Nhảy tới nội dung", - "theme.docs.DocCard.categoryDescription": "{count} mục", + "theme.docs.DocCard.categoryDescription.plurals": "{count} mục", "theme.docs.breadcrumbs.home": "Trang chủ", "theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs", "theme.docs.paginator.navAriaLabel": "Trang tài liệu", 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 27dc0079bd83..c382bc186f73 100644 --- a/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "编辑此页", "theme.common.headingLinkTitle": "{heading}的直接链接", "theme.common.skipToMainContent": "跳到主要内容", - "theme.docs.DocCard.categoryDescription": "{count} 个项目", + "theme.docs.DocCard.categoryDescription.plurals": "{count} 个项目", "theme.docs.breadcrumbs.home": "主页面", "theme.docs.breadcrumbs.navAriaLabel": "页面路径", "theme.docs.paginator.navAriaLabel": "文件选项卡", 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 667566b1fc34..8785cab5cd5a 100644 --- a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json @@ -40,7 +40,7 @@ "theme.common.editThisPage": "編輯此頁", "theme.common.headingLinkTitle": "{heading}的直接連結", "theme.common.skipToMainContent": "跳至主要内容", - "theme.docs.DocCard.categoryDescription": "{count} 個項目", + "theme.docs.DocCard.categoryDescription.plurals": "{count} 個項目", "theme.docs.breadcrumbs.home": "主頁面", "theme.docs.breadcrumbs.navAriaLabel": "頁面路徑", "theme.docs.paginator.navAriaLabel": "文件選項卡",