Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(theme-translations): remove redundant navigation text in aria label #8842

Merged
merged 2 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function DocPaginator(props: Props): JSX.Element {
className="pagination-nav docusaurus-mt-lg"
aria-label={translate({
id: 'theme.docs.paginator.navAriaLabel',
message: 'Docs pages navigation',
message: 'Docs pages',
description: 'The ARIA label for the docs pagination',
})}>
{previous && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} مواد",
"theme.docs.breadcrumbs.home": "الرئيسية",
"theme.docs.breadcrumbs.navAriaLabel": "التنقل التفصيلي",
"theme.docs.paginator.navAriaLabel": "التنقل بين صفحات الددات",
"theme.docs.paginator.navAriaLabel": "صفحة التوثيق",
"theme.docs.paginator.next": "التالي",
"theme.docs.paginator.previous": "السابق",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"theme.docs.breadcrumbs.home___DESCRIPTION": "The ARIA label for the home page in the breadcrumbs",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.breadcrumbs.navAriaLabel___DESCRIPTION": "The ARIA label for the breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Docs pages navigation",
"theme.docs.paginator.navAriaLabel": "Docs pages",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you try to update some of the localization messages, and for the rest that you are not sure, revert them to the English one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I've updated the translations

"theme.docs.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the docs pagination",
"theme.docs.paginator.next": "Next",
"theme.docs.paginator.next___DESCRIPTION": "The label used to navigate to the next doc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "ডক্স পৃষ্টাগুলির নেভিগেশন",
"theme.docs.paginator.navAriaLabel": "ডক্স পেজ",
"theme.docs.paginator.next": "পরবর্তী",
"theme.docs.paginator.previous": "পূর্ববর্তী",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Stránkování dokumentace",
"theme.docs.paginator.navAriaLabel": "Stránka dokumentace",
"theme.docs.paginator.next": "Další",
"theme.docs.paginator.previous": "Předchozí",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Dokumentside navigation",
"theme.docs.paginator.navAriaLabel": "Dokumentside",
"theme.docs.paginator.next": "Næste",
"theme.docs.paginator.previous": "Tidligere",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} Einträge",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Dokumentation Seiten Navigation",
"theme.docs.paginator.navAriaLabel": "Dokumentation Seiten",
"theme.docs.paginator.next": "Weiter",
"theme.docs.paginator.previous": "Zurück",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Navegación de páginas de documentos",
"theme.docs.paginator.navAriaLabel": "Página del documento",
"theme.docs.paginator.next": "Siguiente",
"theme.docs.paginator.previous": "Anterior",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} مورد",
"theme.docs.breadcrumbs.home": "صفحه اصلی",
"theme.docs.breadcrumbs.navAriaLabel": "نشانگر صفحات",
"theme.docs.paginator.navAriaLabel": "کنترل صفحات مطالب",
"theme.docs.paginator.navAriaLabel": "Docs Pages",
"theme.docs.paginator.next": "بعدی",
"theme.docs.paginator.previous": "قبلی",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Nabegasyón para sa mga pahinang docs.",
"theme.docs.paginator.navAriaLabel": "Docs Pages",
"theme.docs.paginator.next": "Sumunod",
"theme.docs.paginator.previous": "Naraaan",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} éléments",
"theme.docs.breadcrumbs.home": "Page d'accueil",
"theme.docs.breadcrumbs.navAriaLabel": "Fil d'Ariane",
"theme.docs.paginator.navAriaLabel": "Pagination des documents",
"theme.docs.paginator.navAriaLabel": "Pages de documentation",
"theme.docs.paginator.next": "Suivant",
"theme.docs.paginator.previous": "Précédent",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Fermer la barre de navigation",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "डॉक्स पेज नेविगेशन",
"theme.docs.paginator.navAriaLabel": "डॉक्स पेज",
"theme.docs.paginator.next": "अगला",
"theme.docs.paginator.previous": "पिछ्ला",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{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 navigációja",
"theme.docs.paginator.navAriaLabel": "Dokumentációs oldal",
"theme.docs.paginator.next": "Következő oldal",
"theme.docs.paginator.previous": "Előző oldal",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Navigációs sáv bezárása",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Navigazione delle pagine dei documenti",
"theme.docs.paginator.navAriaLabel": "Pagina del documento",
"theme.docs.paginator.next": "Successivo",
"theme.docs.paginator.previous": "Precedente",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count}項目",
"theme.docs.breadcrumbs.home": "ホームページ",
"theme.docs.breadcrumbs.navAriaLabel": "パンくずリストのナビゲーション",
"theme.docs.paginator.navAriaLabel": "ドキュメントのナビゲーション",
"theme.docs.paginator.navAriaLabel": "ドキュメントページ",
"theme.docs.paginator.next": "次へ",
"theme.docs.paginator.previous": "前へ",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} 항목",
"theme.docs.breadcrumbs.home": "홈",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "문서 탐색",
"theme.docs.paginator.navAriaLabel": "문서 페이지",
"theme.docs.paginator.next": "다음",
"theme.docs.paginator.previous": "이전",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} artikler",
"theme.docs.breadcrumbs.home": "Hjemmeside",
"theme.docs.breadcrumbs.navAriaLabel": "Søkvei",
"theme.docs.paginator.navAriaLabel": "Dokumenter-sidernavigasjon",
"theme.docs.paginator.navAriaLabel": "Dokumenter side",
"theme.docs.paginator.next": "Neste",
"theme.docs.paginator.previous": "Forrige",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Lukk navigasjonslinjen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} artikelen",
"theme.docs.breadcrumbs.home": "Homepagina",
"theme.docs.breadcrumbs.navAriaLabel": "Broodkruimels",
"theme.docs.paginator.navAriaLabel": "Paginanavigatie documentatie",
"theme.docs.paginator.navAriaLabel": "Documentatie pagina",
"theme.docs.paginator.next": "Volgende",
"theme.docs.paginator.previous": "Vorige",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} elementów",
"theme.docs.breadcrumbs.home": "Strona główna",
"theme.docs.breadcrumbs.navAriaLabel": "Pasek nawigacji",
"theme.docs.paginator.navAriaLabel": "Nawigacja na stronie dokumentacji",
"theme.docs.paginator.navAriaLabel": "Strona dokumentacji",
"theme.docs.paginator.next": "Następna strona",
"theme.docs.paginator.previous": "Poprzednia strona",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Zamknij panel nawigacji",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Navigação das páginas de documentação",
"theme.docs.paginator.navAriaLabel": "Páginas de documentação",
"theme.docs.paginator.next": "Próxima",
"theme.docs.paginator.previous": "Anterior",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Navigação das páginas de documentação",
"theme.docs.paginator.navAriaLabel": "Páginas de documento",
"theme.docs.paginator.next": "Próxima",
"theme.docs.paginator.previous": "Anterior",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} элемент|{count} элемента|{count} элементов",
"theme.docs.breadcrumbs.home": "Главная страница",
"theme.docs.breadcrumbs.navAriaLabel": "Навигационная цепочка текущей страницы",
"theme.docs.paginator.navAriaLabel": "Навигация по странице документации",
"theme.docs.paginator.navAriaLabel": "Страница документа",
"theme.docs.paginator.next": "Следующая страница",
"theme.docs.paginator.previous": "Предыдущая страница",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Закрыть панель навигации",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} vnosov",
"theme.docs.breadcrumbs.home": "Domača stran",
"theme.docs.breadcrumbs.navAriaLabel": "Drobtine",
"theme.docs.paginator.navAriaLabel": "Navigacija po dokumentaciji",
"theme.docs.paginator.navAriaLabel": "Strani z dokumenti",
"theme.docs.paginator.next": "Naslednji",
"theme.docs.paginator.previous": "Prejšnji",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Zapri navigacijsko vrstico",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Навигација по документима",
"theme.docs.paginator.navAriaLabel": "странице докумената",
"theme.docs.paginator.next": "Даље",
"theme.docs.paginator.previous": "Назад",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} artiklar",
"theme.docs.breadcrumbs.home": "Hemsida",
"theme.docs.breadcrumbs.navAriaLabel": "Sökväg",
"theme.docs.paginator.navAriaLabel": "Navigation av dokument",
"theme.docs.paginator.navAriaLabel": "Dokumentsidor",
"theme.docs.paginator.next": "Nästa",
"theme.docs.paginator.previous": "Föregående",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} öğe",
"theme.docs.breadcrumbs.home": "Ana sayfa",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Dokümanlar sayfası navigasyonu",
"theme.docs.paginator.navAriaLabel": "Dokümanlar sayfası",
"theme.docs.paginator.next": "Sonraki",
"theme.docs.paginator.previous": "Önceki",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Gezinme çubuğunu kapat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} елемент|{count} елементи|{count} елементів",
"theme.docs.breadcrumbs.home": "Головна сторінка",
"theme.docs.breadcrumbs.navAriaLabel": "Навігаційний ланцюжок поточної сторінки",
"theme.docs.paginator.navAriaLabel": "Навігація по сторінці документації",
"theme.docs.paginator.navAriaLabel": "сторінка документації",
"theme.docs.paginator.next": "Наступна сторінка",
"theme.docs.paginator.previous": "Попередня сторінка",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} mục",
"theme.docs.breadcrumbs.home": "Trang chủ",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.paginator.navAriaLabel": "Thanh điều hướng của trang tài liệu",
"theme.docs.paginator.navAriaLabel": "Trang tài liệu",
"theme.docs.paginator.next": "Kế tiếp",
"theme.docs.paginator.previous": "Trước",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} 个项目",
"theme.docs.breadcrumbs.home": "主页面",
"theme.docs.breadcrumbs.navAriaLabel": "页面路径",
"theme.docs.paginator.navAriaLabel": "文档分页导航",
"theme.docs.paginator.navAriaLabel": "文件选项卡",
"theme.docs.paginator.next": "下一页",
"theme.docs.paginator.previous": "上一页",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "关闭导航栏",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} 個項目",
"theme.docs.breadcrumbs.home": "主頁面",
"theme.docs.breadcrumbs.navAriaLabel": "頁面路徑",
"theme.docs.paginator.navAriaLabel": "文件分頁導覽",
"theme.docs.paginator.navAriaLabel": "文件選項卡",
"theme.docs.paginator.next": "下一頁",
"theme.docs.paginator.previous": "上一頁",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
Expand Down