@docusaurus/theme-translations
Advanced tools
Comparing version 3.5.1 to 3.5.2-canary-6121
@@ -19,4 +19,4 @@ "use strict"; | ||
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra")); | ||
// Unsafe import, should we create a package for the translationsExtractor ?; | ||
const translationsExtractor_1 = require("@docusaurus/core/lib/server/translations/translationsExtractor"); | ||
const utils_1 = require("@docusaurus/utils"); | ||
const babel_1 = require("@docusaurus/babel"); | ||
async function getPackageCodePath(packageName) { | ||
@@ -59,5 +59,5 @@ const packagePath = path_1.default.join(__dirname, '../..', packageName); | ||
targetDirs ?? (targetDirs = (await getThemes()).flatMap((theme) => theme.src)); | ||
const filePaths = (await (0, translationsExtractor_1.globSourceCodeFilePaths)(targetDirs)).filter((filePath) => ['.js', '.jsx'].includes(path_1.default.extname(filePath))); | ||
const filesExtractedTranslations = await (0, translationsExtractor_1.extractAllSourceCodeFileTranslations)(filePaths, { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
const filePaths = (await (0, utils_1.globTranslatableSourceFiles)(targetDirs)).filter((filePath) => ['.js', '.jsx'].includes(path_1.default.extname(filePath))); | ||
const filesExtractedTranslations = await (0, babel_1.extractAllSourceCodeFileTranslations)(filePaths, { | ||
presets: ['@docusaurus/babel/preset'], | ||
}); | ||
@@ -64,0 +64,0 @@ filesExtractedTranslations.forEach((fileExtractedTranslations) => { |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "أرشيف", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -48,2 +48,4 @@ { | ||
"theme.blog.archive.title___DESCRIPTION": "The page & hero title of the blog archive page", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.noPosts___DESCRIPTION": "The text for authors with 0 blog post", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -53,19 +55,19 @@ "theme.blog.author.pageTitle___DESCRIPTION": "The title of the page for a blog author", | ||
"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", | ||
@@ -153,3 +155,3 @@ "theme.blog.post.readMoreLabel": "Read more about {title}", | ||
"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", | ||
@@ -156,0 +158,0 @@ "theme.tags.tagsPageTitle": "Tags", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Архив", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archiv", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archivo", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -53,3 +54,3 @@ "theme.blog.authorsList.pageTitle": "Authors", | ||
"theme.docs.breadcrumbs.home": "Página de Inicio", | ||
"theme.docs.breadcrumbs.navAriaLabel": "Migas de pan", | ||
"theme.docs.breadcrumbs.navAriaLabel": "Rastro de navegación", | ||
"theme.docs.paginator.navAriaLabel": "Página del documento", | ||
@@ -56,0 +57,0 @@ "theme.docs.paginator.next": "Siguiente", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arhiiv", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "آرشیو", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archívum", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arsip", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Skjalasafn", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archivio", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "アーカイブ", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "게시물 목록", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arkiv", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archief", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archiwum", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arquivo", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Archive", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Архив", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -8,4 +8,4 @@ { | ||
"theme.CodeBlock.wordWrapToggle": "Preklopi oblivanje besedila", | ||
"theme.DocSidebarItem.collapseCategoryAriaLabel": "Collapse sidebar category '{label}'", | ||
"theme.DocSidebarItem.expandCategoryAriaLabel": "Expand sidebar category '{label}'", | ||
"theme.DocSidebarItem.collapseCategoryAriaLabel": "Strni kategorijo stranske vrstice '{label}'", | ||
"theme.DocSidebarItem.expandCategoryAriaLabel": "Razširite kategorijo stranske vrstice '{label}'", | ||
"theme.ErrorPageContent.title": "Ta stran se je zrušila.", | ||
@@ -23,8 +23,9 @@ "theme.ErrorPageContent.tryAgain": "Poskusite ponovno", | ||
"theme.admonition.tip": "namig", | ||
"theme.admonition.warning": "warning", | ||
"theme.admonition.warning": "opozorilo", | ||
"theme.blog.archive.description": "Arhiv", | ||
"theme.blog.archive.title": "Arhiv", | ||
"theme.blog.author.noPosts": "Ta avtor še ni napisal nobene objave.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
"theme.blog.authorsList.pageTitle": "Authors", | ||
"theme.blog.authorsList.viewAll": "View All Authors", | ||
"theme.blog.authorsList.pageTitle": "Avtorji", | ||
"theme.blog.authorsList.viewAll": "Prikaži vse avtorje", | ||
"theme.blog.paginator.navAriaLabel": "Navigacija kazala po blogu", | ||
@@ -48,7 +49,7 @@ "theme.blog.paginator.newerEntries": "Novejši prispevki", | ||
"theme.common.skipToMainContent": "Preskoči na vsebino", | ||
"theme.contentVisibility.draftBanner.message": "This page is a draft. It will only be visible in dev and be excluded from the production build.", | ||
"theme.contentVisibility.draftBanner.title": "Draft page", | ||
"theme.contentVisibility.draftBanner.message": "Ta stran je osnutek. Viden bo samo v razvijalcu in bo izključen iz proizvodne zgradbe.", | ||
"theme.contentVisibility.draftBanner.title": "Osnutek strani", | ||
"theme.contentVisibility.unlistedBanner.message": "Ta stran ni zabeležena. Iskalniki je ne bodo indeksirali, do nje bodo uporabniki lahko dostopali le z direktno povezavo.", | ||
"theme.contentVisibility.unlistedBanner.title": "Nezabeležena stran", | ||
"theme.docs.DocCard.categoryDescription.plurals": "1 vnos|2 vnosy|{count} vnosy|{count} vnosov", | ||
"theme.docs.DocCard.categoryDescription.plurals": "1 vnos|2 vnosa|{count} vnosi|{count} vnosov", | ||
"theme.docs.breadcrumbs.home": "Domača stran", | ||
@@ -55,0 +56,0 @@ "theme.docs.breadcrumbs.navAriaLabel": "Drobtine", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Архива", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arkiv", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arhiw", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Arşiv", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "Архів", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -6,11 +6,11 @@ { | ||
"theme.CodeBlock.copy": "Sao chép", | ||
"theme.CodeBlock.copyButtonAriaLabel": "Sao chép code vào bộ nhớ tạm", | ||
"theme.CodeBlock.copyButtonAriaLabel": "Sao chép mã vào bộ nhớ tạm", | ||
"theme.CodeBlock.wordWrapToggle": "Chuyển đổi văn bản xuống dòng", | ||
"theme.DocSidebarItem.collapseCategoryAriaLabel": "Thu gọn danh mục '{label}'", | ||
"theme.DocSidebarItem.expandCategoryAriaLabel": "Xem thêm danh mục '{label}'", | ||
"theme.ErrorPageContent.title": "Trang này đã bị lỗi.", | ||
"theme.ErrorPageContent.title": "Trang này đã gặp lỗi.", | ||
"theme.ErrorPageContent.tryAgain": "Thử lại", | ||
"theme.NavBar.navAriaLabel": "Thanh điều hướng", | ||
"theme.NotFound.p1": "Chúng tôi không thể tìm thấy những gì bạn đang tìm kiếm.", | ||
"theme.NotFound.p2": "Vui lòng liên hệ với trang web đã dẫn bạn tới đây và thông báo cho họ biết rằng đường dẫn này bị hỏng.", | ||
"theme.NotFound.p1": "Chúng tôi không thể tìm thấy nội dung bạn đang tìm kiếm.", | ||
"theme.NotFound.p2": "Vui lòng liên hệ với trang web đã đưa bạn đến đây và thông báo rằng đường dẫn này bị lỗi.", | ||
"theme.NotFound.title": "Không tìm thấy trang", | ||
@@ -23,11 +23,12 @@ "theme.TOCCollapsible.toggleButtonLabel": "Trên trang này", | ||
"theme.admonition.tip": "mẹo", | ||
"theme.admonition.warning": "warning", | ||
"theme.admonition.warning": "cảnh báo", | ||
"theme.blog.archive.description": "Lưu trữ", | ||
"theme.blog.archive.title": "Lưu trữ", | ||
"theme.blog.author.noPosts": "Tác giả này chưa viết bài nào.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
"theme.blog.authorsList.pageTitle": "Authors", | ||
"theme.blog.authorsList.viewAll": "View All Authors", | ||
"theme.blog.authorsList.pageTitle": "Tác giả", | ||
"theme.blog.authorsList.viewAll": "Xem tất cả tác giả", | ||
"theme.blog.paginator.navAriaLabel": "Thanh điều hướng của trang danh sách bài viết", | ||
"theme.blog.paginator.newerEntries": "Các bài mới hơn", | ||
"theme.blog.paginator.olderEntries": "Các bài cũ hơn", | ||
"theme.blog.paginator.newerEntries": "Bài mới hơn", | ||
"theme.blog.paginator.olderEntries": "Bài cũ hơn", | ||
"theme.blog.post.paginator.navAriaLabel": "Thanh điều hướng của trang bài viết", | ||
@@ -42,11 +43,11 @@ "theme.blog.post.paginator.newerPost": "Bài mới hơn", | ||
"theme.blog.tagTitle": "{nPosts} được gắn thẻ \"{tagName}\"", | ||
"theme.colorToggle.ariaLabel": "Chuyển đổi chế độ sáng và tối (hiện tại {mode})", | ||
"theme.colorToggle.ariaLabel": "Chuyển đổi chế độ sáng và tối (hiện tại là {mode})", | ||
"theme.colorToggle.ariaLabel.mode.dark": "chế độ tối", | ||
"theme.colorToggle.ariaLabel.mode.light": "chế độ sáng", | ||
"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.contentVisibility.draftBanner.message": "This page is a draft. It will only be visible in dev and be excluded from the production build.", | ||
"theme.contentVisibility.draftBanner.title": "Draft page", | ||
"theme.contentVisibility.unlistedBanner.message": "Trang này không được công khai. Công cụ tìm kiếm sẽ không đánh chỉ mục cho trang này và chỉ những người có liên kết mới có thể truy cập được trang.", | ||
"theme.common.headingLinkTitle": "Đường dẫn trực tiếp đến {heading}", | ||
"theme.common.skipToMainContent": "Chuyển tới nội dung chính", | ||
"theme.contentVisibility.draftBanner.message": "Trang này là bản nháp. Nó chỉ hiển thị trong môi trường phát triển và bị loại khỏi bản sản xuất.", | ||
"theme.contentVisibility.draftBanner.title": "Trang nháp", | ||
"theme.contentVisibility.unlistedBanner.message": "Trang này không công khai. Công cụ tìm kiếm sẽ không đánh chỉ mục trang này và chỉ những ai có liên kết mới có thể truy cập trang.", | ||
"theme.contentVisibility.unlistedBanner.title": "Trang không công khai", | ||
@@ -66,3 +67,3 @@ "theme.docs.DocCard.categoryDescription.plurals": "{count} mục", | ||
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": "Đóng - mở thanh điều hướng", | ||
"theme.docs.tagDocListPageTitle": "{nDocsTagged} với \"{tagName}\"", | ||
"theme.docs.tagDocListPageTitle": "{nDocsTagged} được gắn thẻ \"{tagName}\"", | ||
"theme.docs.tagDocListPageTitle.nDocsTagged": "{count} tài liệu đã gắn thẻ", | ||
@@ -81,4 +82,4 @@ "theme.docs.versionBadge.label": "Phiên bản: {versionLabel}", | ||
"theme.tags.tagsListLabel": "Thẻ:", | ||
"theme.tags.tagsPageLink": "Xem tất cả Thẻ", | ||
"theme.tags.tagsPageLink": "Xem tất cả thẻ", | ||
"theme.tags.tagsPageTitle": "Thẻ" | ||
} |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "历史博文", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
@@ -25,2 +25,3 @@ { | ||
"theme.blog.archive.title": "歷史文章", | ||
"theme.blog.author.noPosts": "This author has not written any posts yet.", | ||
"theme.blog.author.pageTitle": "{authorName} - {nPosts}", | ||
@@ -27,0 +28,0 @@ "theme.blog.authorsList.pageTitle": "Authors", |
{ | ||
"name": "@docusaurus/theme-translations", | ||
"version": "3.5.1", | ||
"version": "3.5.2-canary-6121", | ||
"description": "Docusaurus theme translations.", | ||
@@ -26,4 +26,6 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@docusaurus/core": "3.5.1", | ||
"@docusaurus/logger": "3.5.1", | ||
"@docusaurus/babel": "3.5.2-canary-6121", | ||
"@docusaurus/core": "3.5.2-canary-6121", | ||
"@docusaurus/logger": "3.5.2-canary-6121", | ||
"@docusaurus/utils": "3.5.2-canary-6121", | ||
"lodash": "^4.17.21" | ||
@@ -34,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "5acbc57bd62f3f808ef72007cd67d4c410d13829" | ||
"gitHead": "896e16cdd4bdd1811d287dc60ff932ca00be57e4" | ||
} |
@@ -16,7 +16,4 @@ /** | ||
import fs from 'fs-extra'; | ||
// Unsafe import, should we create a package for the translationsExtractor ?; | ||
import { | ||
globSourceCodeFilePaths, | ||
extractAllSourceCodeFileTranslations, | ||
} from '@docusaurus/core/lib/server/translations/translationsExtractor'; | ||
import {globTranslatableSourceFiles} from '@docusaurus/utils'; | ||
import {extractAllSourceCodeFileTranslations} from '@docusaurus/babel'; | ||
import type {TranslationFileContent} from '@docusaurus/types'; | ||
@@ -66,3 +63,3 @@ | ||
const filePaths = (await globSourceCodeFilePaths(targetDirs)).filter( | ||
const filePaths = (await globTranslatableSourceFiles(targetDirs)).filter( | ||
(filePath) => ['.js', '.jsx'].includes(path.extname(filePath)), | ||
@@ -74,3 +71,3 @@ ); | ||
{ | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
presets: ['@docusaurus/babel/preset'], | ||
}, | ||
@@ -77,0 +74,0 @@ ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
335305
4992
5
2