From 4384b26ab7c1b19d3172e5d8f1b2e8e016097391 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kamil=20Moska=C5=82a?=
<91079590+moskalakamil@users.noreply.github.com>
Date: Mon, 29 Dec 2025 15:19:50 +0100
Subject: [PATCH 1/2] feat(theme): add MDXComponents/Li to swizzle config
(#11635)
---
packages/docusaurus-theme-classic/src/getSwizzleConfig.ts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/packages/docusaurus-theme-classic/src/getSwizzleConfig.ts b/packages/docusaurus-theme-classic/src/getSwizzleConfig.ts
index a91f953fe440..31abc6e0120a 100644
--- a/packages/docusaurus-theme-classic/src/getSwizzleConfig.ts
+++ b/packages/docusaurus-theme-classic/src/getSwizzleConfig.ts
@@ -368,6 +368,13 @@ export default function getSwizzleConfig(): SwizzleConfig {
description:
'The component used to render
tags and Markdown images in MDX',
},
+ 'MDXComponents/Li': {
+ actions: {
+ eject: 'safe',
+ wrap: 'safe',
+ },
+ description: 'The component used to render
tags in MDX',
+ },
'MDXComponents/Pre': {
actions: {
eject: 'safe',
From e5ab150e8bfe903f07248684c865646c13575c98 Mon Sep 17 00:00:00 2001
From: Muhammad Hammad ur Rehman
<164639583+hammadurrehman2006@users.noreply.github.com>
Date: Mon, 29 Dec 2025 19:35:42 +0500
Subject: [PATCH 2/2] feat(i18n): add Urdu (ur) default theme translations
(#11632)
---
.../locales/ur/plugin-ideal-image.json | 7 ++
.../locales/ur/plugin-pwa.json | 5 ++
.../locales/ur/theme-common.json | 84 +++++++++++++++++++
.../locales/ur/theme-live-codeblock.json | 4 +
.../locales/ur/theme-search-algolia.json | 60 +++++++++++++
5 files changed, 160 insertions(+)
create mode 100644 packages/docusaurus-theme-translations/locales/ur/plugin-ideal-image.json
create mode 100644 packages/docusaurus-theme-translations/locales/ur/plugin-pwa.json
create mode 100644 packages/docusaurus-theme-translations/locales/ur/theme-common.json
create mode 100644 packages/docusaurus-theme-translations/locales/ur/theme-live-codeblock.json
create mode 100644 packages/docusaurus-theme-translations/locales/ur/theme-search-algolia.json
diff --git a/packages/docusaurus-theme-translations/locales/ur/plugin-ideal-image.json b/packages/docusaurus-theme-translations/locales/ur/plugin-ideal-image.json
new file mode 100644
index 000000000000..18dac27c58d7
--- /dev/null
+++ b/packages/docusaurus-theme-translations/locales/ur/plugin-ideal-image.json
@@ -0,0 +1,7 @@
+{
+ "theme.IdealImageMessage.404error": "404. تصویر نہیں ملی",
+ "theme.IdealImageMessage.error": "خرابی۔ دوبارہ لوڈ کرنے کے لیے کلک کریں",
+ "theme.IdealImageMessage.load": "لوڈ کرنے کے لیے کلک کریں {sizeMessage}",
+ "theme.IdealImageMessage.loading": "لوڈنگ ہو رہی ہے...",
+ "theme.IdealImageMessage.offline": "آپ کا براؤزر آف لائن ہے۔ تصویر لوڈ نہیں ہوئی"
+}
diff --git a/packages/docusaurus-theme-translations/locales/ur/plugin-pwa.json b/packages/docusaurus-theme-translations/locales/ur/plugin-pwa.json
new file mode 100644
index 000000000000..1a0f6fc8396f
--- /dev/null
+++ b/packages/docusaurus-theme-translations/locales/ur/plugin-pwa.json
@@ -0,0 +1,5 @@
+{
+ "theme.PwaReloadPopup.closeButtonAriaLabel": "بند کریں",
+ "theme.PwaReloadPopup.info": "نیا ورژن دستیاب ہے",
+ "theme.PwaReloadPopup.refreshButtonText": "ریفریش کریں"
+}
diff --git a/packages/docusaurus-theme-translations/locales/ur/theme-common.json b/packages/docusaurus-theme-translations/locales/ur/theme-common.json
new file mode 100644
index 000000000000..22dd65fc366a
--- /dev/null
+++ b/packages/docusaurus-theme-translations/locales/ur/theme-common.json
@@ -0,0 +1,84 @@
+{
+ "theme.AnnouncementBar.closeButtonAriaLabel": "بند کریں",
+ "theme.BackToTopButton.buttonAriaLabel": "واپس اوپر جائیں",
+ "theme.CodeBlock.copied": "کاپی کر لیا گیا",
+ "theme.CodeBlock.copy": "کاپی کریں",
+ "theme.CodeBlock.copyButtonAriaLabel": "کوڈ کلپ بورڈ پر کاپی کریں",
+ "theme.CodeBlock.wordWrapToggle": "ورڈ ریپ تبدیل کریں",
+ "theme.DocSidebarItem.collapseCategoryAriaLabel": "سائڈبار کیٹیگری '{label}' کو سمیٹیں",
+ "theme.DocSidebarItem.expandCategoryAriaLabel": "سائڈبار کیٹیگری '{label}' کو پھیلائیں",
+ "theme.ErrorPageContent.title": "یہ صفحہ کریش ہو گیا ہے۔",
+ "theme.ErrorPageContent.tryAgain": "دوبارہ کوشش کریں",
+ "theme.IconExternalLink.ariaLabel": "(نئی ٹیب میں کھلتا ہے)",
+ "theme.NavBar.navAriaLabel": "مین",
+ "theme.NotFound.p1": "ہم وہ تلاش نہیں کر سکے جو آپ ڈھونڈ رہے تھے۔",
+ "theme.NotFound.p2": "براہ کرم اس سائٹ کے مالک سے رابطہ کریں جس نے آپ کو اصل URL کا لنک دیا تھا اور انہیں بتائیں کہ ان کا لنک کام نہیں کر رہا۔",
+ "theme.NotFound.title": "صفحہ نہیں ملا",
+ "theme.TOCCollapsible.toggleButtonLabel": "اس صفحے پر",
+ "theme.admonition.caution": "احتیاط",
+ "theme.admonition.danger": "خطرہ",
+ "theme.admonition.info": "معلومات",
+ "theme.admonition.note": "نوٹ",
+ "theme.admonition.tip": "ٹپ",
+ "theme.admonition.warning": "انتباہ",
+ "theme.blog.archive.description": "آرکائیو",
+ "theme.blog.archive.title": "آرکائیو",
+ "theme.blog.author.noPosts": "اس مصنف نے ابھی تک کوئی پوسٹ نہیں لکھی۔",
+ "theme.blog.author.pageTitle": "{authorName} - {nPosts}",
+ "theme.blog.authorsList.pageTitle": "مصنفین",
+ "theme.blog.authorsList.viewAll": "تمام مصنفین دیکھیں",
+ "theme.blog.paginator.navAriaLabel": "بلاگ لسٹ پیج نیویگیشن",
+ "theme.blog.paginator.newerEntries": "نئی تحریریں",
+ "theme.blog.paginator.olderEntries": "پرانی تحریریں",
+ "theme.blog.post.paginator.navAriaLabel": "بلاگ پوسٹ پیج نیویگیشن",
+ "theme.blog.post.paginator.newerPost": "نئی پوسٹ",
+ "theme.blog.post.paginator.olderPost": "پرانی پوسٹ",
+ "theme.blog.post.plurals": "ایک پوسٹ|{count} پوسٹس",
+ "theme.blog.post.readMore": "مزید پڑھیں",
+ "theme.blog.post.readMoreLabel": "{title} کے بارے میں مزید پڑھیں",
+ "theme.blog.post.readingTime.plurals": "ایک منٹ کا مطالعہ|{readingTime} منٹ کا مطالعہ",
+ "theme.blog.sidebar.navAriaLabel": "بلاگ کی حالیہ پوسٹس کی نیویگیشن",
+ "theme.blog.tagTitle": "\"{tagName}\" کے ساتھ ٹیگ کردہ {nPosts}",
+ "theme.colorToggle.ariaLabel": "ڈارک اور لائٹ موڈ کے درمیان تبدیل کریں (فی الحال {mode})",
+ "theme.colorToggle.ariaLabel.mode.dark": "ڈارک موڈ",
+ "theme.colorToggle.ariaLabel.mode.light": "لائٹ موڈ",
+ "theme.colorToggle.ariaLabel.mode.system": "سسٹم موڈ",
+ "theme.common.editThisPage": "اس صفحے کی تدوین کریں",
+ "theme.common.headingLinkTitle": "{heading} کا براہ راست لنک",
+ "theme.common.skipToMainContent": "مین مواد پر جائیں",
+ "theme.contentVisibility.draftBanner.message": "یہ صفحہ ایک ڈرافٹ ہے۔ یہ صرف ڈیولپمنٹ میں نظر آئے گا اور پروڈکشن بلڈ سے خارج کر دیا جائے گا۔",
+ "theme.contentVisibility.draftBanner.title": "ڈرافٹ صفحہ",
+ "theme.contentVisibility.unlistedBanner.message": "یہ صفحہ غیر فہرست شدہ ہے۔ سرچ انجن اسے انڈیکس نہیں کریں گے، اور صرف وہ صارفین جن کے پاس براہ راست لنک ہے وہ اسے دیکھ سکتے ہیں۔",
+ "theme.contentVisibility.unlistedBanner.title": "غیر فہرست شدہ صفحہ",
+ "theme.docs.DocCard.categoryDescription.plurals": "1 آئٹم|{count} آئٹمز",
+ "theme.docs.breadcrumbs.home": "ہوم پیج",
+ "theme.docs.breadcrumbs.navAriaLabel": "بریڈ کرمبز",
+ "theme.docs.paginator.navAriaLabel": "ڈاکس کے صفحات",
+ "theme.docs.paginator.next": "اگلا",
+ "theme.docs.paginator.previous": "پچھلا",
+ "theme.docs.sidebar.closeSidebarButtonAriaLabel": "نیویگیشن بار بند کریں",
+ "theme.docs.sidebar.collapseButtonAriaLabel": "سائڈبار سمیٹیں",
+ "theme.docs.sidebar.collapseButtonTitle": "سائڈبار سمیٹیں",
+ "theme.docs.sidebar.expandButtonAriaLabel": "سائڈبار پھیلائیں",
+ "theme.docs.sidebar.expandButtonTitle": "سائڈبار پھیلائیں",
+ "theme.docs.sidebar.navAriaLabel": "ڈاکس سائڈبار",
+ "theme.docs.sidebar.toggleSidebarButtonAriaLabel": "نیویگیشن بار تبدیل کریں",
+ "theme.docs.tagDocListPageTitle": "\"{tagName}\" کے ساتھ {nDocsTagged}",
+ "theme.docs.tagDocListPageTitle.nDocsTagged": "ایک ڈاک ٹیگ کردہ|{count} ڈاکس ٹیگ کردہ",
+ "theme.docs.versionBadge.label": "ورژن: {versionLabel}",
+ "theme.docs.versions.latestVersionLinkLabel": "تازہ ترین ورژن",
+ "theme.docs.versions.latestVersionSuggestionLabel": "تازہ ترین دستاویزات کے لیے، {latestVersionLink} ({versionLabel}) دیکھیں۔",
+ "theme.docs.versions.unmaintainedVersionLabel": "یہ {siteTitle} {versionLabel} کی دستاویزات ہیں، جن کی اب فعال طور پر دیکھ بھال نہیں کی جاتی۔",
+ "theme.docs.versions.unreleasedVersionLabel": "یہ {siteTitle} {versionLabel} ورژن کی غیر جاری شدہ دستاویزات ہیں۔",
+ "theme.lastUpdated.atDate": " بتاریخ {date}",
+ "theme.lastUpdated.byUser": " از {user}",
+ "theme.lastUpdated.lastUpdatedAtBy": "آخری بار اپ ڈیٹ کیا گیا {atDate}{byUser}",
+ "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": "ڈراپ ڈاؤن سمیٹیں",
+ "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": "ڈراپ ڈاؤن پھیلائیں",
+ "theme.navbar.mobileLanguageDropdown.label": "زبانیں",
+ "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": "← مین مینو پر واپس جائیں",
+ "theme.navbar.mobileVersionsDropdown.label": "ورژنز",
+ "theme.tags.tagsListLabel": "ٹیگز:",
+ "theme.tags.tagsPageLink": "تمام ٹیگز دیکھیں",
+ "theme.tags.tagsPageTitle": "ٹیگز"
+}
diff --git a/packages/docusaurus-theme-translations/locales/ur/theme-live-codeblock.json b/packages/docusaurus-theme-translations/locales/ur/theme-live-codeblock.json
new file mode 100644
index 000000000000..07f998c9357d
--- /dev/null
+++ b/packages/docusaurus-theme-translations/locales/ur/theme-live-codeblock.json
@@ -0,0 +1,4 @@
+{
+ "theme.Playground.liveEditor": "لائیو ایڈیٹر",
+ "theme.Playground.result": "نتیجہ"
+}
diff --git a/packages/docusaurus-theme-translations/locales/ur/theme-search-algolia.json b/packages/docusaurus-theme-translations/locales/ur/theme-search-algolia.json
new file mode 100644
index 000000000000..a7fdac85f507
--- /dev/null
+++ b/packages/docusaurus-theme-translations/locales/ur/theme-search-algolia.json
@@ -0,0 +1,60 @@
+{
+ "theme.SearchBar.label": "تلاش کریں",
+ "theme.SearchBar.seeAll": "تمام {count} نتائج دیکھیں",
+ "theme.SearchModal.askAiScreen.afterToolCallText": "تلاش کیا گیا برائے",
+ "theme.SearchModal.askAiScreen.copyButtonCopiedText": "کاپی کر لیا گیا!",
+ "theme.SearchModal.askAiScreen.copyButtonText": "کاپی کریں",
+ "theme.SearchModal.askAiScreen.copyButtonTitle": "کاپی کریں",
+ "theme.SearchModal.askAiScreen.disclaimerText": "جوابات AI کے ذریعے تیار کیے گئے ہیں جس میں غلطیاں ہو سکتی ہیں۔ جوابات کی تصدیق کریں۔",
+ "theme.SearchModal.askAiScreen.dislikeButtonTitle": "ناپسند کریں",
+ "theme.SearchModal.askAiScreen.duringToolCallText": "تلاش ہو رہی ہے برائے ",
+ "theme.SearchModal.askAiScreen.likeButtonTitle": "پسند کریں",
+ "theme.SearchModal.askAiScreen.preToolCallText": "تلاش ہو رہی ہے...",
+ "theme.SearchModal.askAiScreen.relatedSourcesText": "متعلقہ ذرائع",
+ "theme.SearchModal.askAiScreen.thanksForFeedbackText": "آپ کی رائے کا شکریہ!",
+ "theme.SearchModal.askAiScreen.thinkingText": "سوچ رہا ہے...",
+ "theme.SearchModal.errorScreen.helpText": "آپ کو اپنا نیٹ ورک کنکشن چیک کرنا چاہیے۔",
+ "theme.SearchModal.errorScreen.titleText": "نتائج حاصل کرنے میں ناکامی",
+ "theme.SearchModal.footer.backToSearchText": "تلاش پر واپس جائیں",
+ "theme.SearchModal.footer.closeKeyAriaLabel": "Escape کی",
+ "theme.SearchModal.footer.closeText": "بند کریں",
+ "theme.SearchModal.footer.navigateDownKeyAriaLabel": "نیچے والا تیر (Arrow down)",
+ "theme.SearchModal.footer.navigateText": "نیویگیٹ کریں",
+ "theme.SearchModal.footer.navigateUpKeyAriaLabel": "اوپر والا تیر (Arrow up)",
+ "theme.SearchModal.footer.searchByText": "بذریعہ",
+ "theme.SearchModal.footer.selectKeyAriaLabel": "Enter کی",
+ "theme.SearchModal.footer.selectText": "منتخب کریں",
+ "theme.SearchModal.footer.submitQuestionText": "سوال جمع کرائیں",
+ "theme.SearchModal.noResultsScreen.noResultsText": "اس کے لیے کوئی نتائج نہیں ملے",
+ "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": "ہمیں بتائیں۔",
+ "theme.SearchModal.noResultsScreen.reportMissingResultsText": "کیا آپ کے خیال میں اس تلاش کا نتیجہ آنا چاہیے تھا؟",
+ "theme.SearchModal.noResultsScreen.suggestedQueryText": "یہ تلاش کرنے کی کوشش کریں",
+ "theme.SearchModal.placeholder": "دستاویزات میں تلاش کریں",
+ "theme.SearchModal.resultsScreen.askAiPlaceholder": "AI سے پوچھیں: ",
+ "theme.SearchModal.searchBox.backToKeywordSearchButtonAriaLabel": "کی ورڈ سرچ پر واپس جائیں",
+ "theme.SearchModal.searchBox.backToKeywordSearchButtonText": "کی ورڈ سرچ پر واپس جائیں",
+ "theme.SearchModal.searchBox.cancelButtonText": "منسوخ کریں",
+ "theme.SearchModal.searchBox.enterKeyHint": "تلاش کریں",
+ "theme.SearchModal.searchBox.enterKeyHintAskAi": "اینٹر",
+ "theme.SearchModal.searchBox.placeholderText": "دستاویزات میں تلاش کریں",
+ "theme.SearchModal.searchBox.placeholderTextAskAi": "ایک اور سوال پوچھیں...",
+ "theme.SearchModal.searchBox.placeholderTextAskAiStreaming": "جواب دیا جا رہا ہے...",
+ "theme.SearchModal.searchBox.resetButtonTitle": "تلاش صاف کریں",
+ "theme.SearchModal.searchBox.searchInputLabel": "تلاش کریں",
+ "theme.SearchModal.startScreen.favoriteSearchesTitle": "پسندیدہ",
+ "theme.SearchModal.startScreen.noRecentSearchesText": "کوئی حالیہ تلاش نہیں",
+ "theme.SearchModal.startScreen.recentConversationsTitle": "حالیہ گفتگو",
+ "theme.SearchModal.startScreen.recentSearchesTitle": "حالیہ",
+ "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": "اس تلاش کو پسندیدہ سے ہٹائیں",
+ "theme.SearchModal.startScreen.removeRecentConversationButtonTitle": "اس گفتگو کو ہسٹری سے ہٹائیں",
+ "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": "اس تلاش کو ہسٹری سے ہٹائیں",
+ "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": "اس تلاش کو محفوظ کریں",
+ "theme.SearchPage.algoliaLabel": "بذریعہ Algolia",
+ "theme.SearchPage.documentsFound.plurals": "ایک دستاویز ملی|{count} دستاویزات ملیں",
+ "theme.SearchPage.emptyResultsTitle": "دستاویزات میں تلاش کریں",
+ "theme.SearchPage.existingResultsTitle": "\"{query}\" کے لیے تلاش کے نتائج",
+ "theme.SearchPage.fetchingNewResults": "نئے نتائج حاصل کیے جا رہے ہیں...",
+ "theme.SearchPage.inputLabel": "تلاش کریں",
+ "theme.SearchPage.inputPlaceholder": "اپنی تلاش یہاں لکھیں",
+ "theme.SearchPage.noResultsText": "کوئی نتائج نہیں ملے"
+}