@docusaurus/theme-translations 2.0.0-beta.18 → 2.0.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +16 -15
- package/lib/index.js.map +1 -1
- package/locales/ar/theme-common.json +3 -0
- package/locales/base/theme-common.json +6 -0
- package/locales/bn/theme-common.json +3 -0
- package/locales/cs/theme-common.json +3 -0
- package/locales/cs/theme-search-algolia.json +1 -1
- package/locales/da/theme-common.json +3 -0
- package/locales/de/plugin-ideal-image.json +5 -5
- package/locales/de/theme-common.json +18 -15
- package/locales/de/theme-search-algolia.json +1 -1
- package/locales/es/theme-common.json +3 -0
- package/locales/fa/theme-common.json +3 -0
- package/locales/fil/theme-common.json +3 -0
- package/locales/fr/theme-common.json +3 -0
- package/locales/he/theme-common.json +3 -0
- package/locales/hi/theme-common.json +3 -0
- package/locales/it/theme-common.json +3 -0
- package/locales/ja/theme-common.json +3 -0
- package/locales/ko/theme-common.json +3 -0
- package/locales/pl/plugin-ideal-image.json +5 -5
- package/locales/pl/theme-common.json +25 -22
- package/locales/pl/theme-search-algolia.json +2 -2
- package/locales/pt-BR/theme-common.json +3 -0
- package/locales/pt-PT/theme-common.json +3 -0
- package/locales/ru/theme-common.json +3 -0
- package/locales/sr/theme-common.json +3 -0
- package/locales/tr/theme-common.json +3 -0
- package/locales/vi/theme-common.json +3 -0
- package/locales/zh-Hans/theme-common.json +3 -0
- package/locales/zh-Hant/theme-common.json +3 -0
- package/package.json +6 -6
- package/src/index.ts +18 -16
package/lib/index.d.ts
CHANGED
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
import type { CodeTranslations } from '@docusaurus/types';
|
|
7
8
|
export declare function codeTranslationLocalesToTry(locale: string): string[];
|
|
8
9
|
export declare function readDefaultCodeTranslationMessages({ dirPath, locale, name, }: {
|
|
9
10
|
dirPath?: string;
|
|
10
11
|
locale: string;
|
|
11
12
|
name: string;
|
|
12
|
-
}): Promise<
|
|
13
|
-
[msgId: string]: string;
|
|
14
|
-
}>;
|
|
13
|
+
}): Promise<CodeTranslations>;
|
|
15
14
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAOxD,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAiBpE;AAGD,wBAAsB,kCAAkC,CAAC,EACvD,OAAoC,EACpC,MAAM,EACN,IAAI,GACL,EAAE;IACD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAc5B"}
|
package/lib/index.js
CHANGED
|
@@ -16,19 +16,21 @@ function getDefaultLocalesDirPath() {
|
|
|
16
16
|
// Return an ordered list of locales we should try
|
|
17
17
|
function codeTranslationLocalesToTry(locale) {
|
|
18
18
|
const intlLocale = new Intl.Locale(locale);
|
|
19
|
-
//
|
|
20
|
-
// (not pt-PT!)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
// If locale is just a simple language like "pt", we want to fallback to
|
|
20
|
+
// "pt-BR" (not "pt-PT"!)
|
|
21
|
+
// See https://github.com/facebook/docusaurus/pull/4536#issuecomment-810088783
|
|
22
|
+
const maximizedLocale = intlLocale.maximize(); // "pt-Latn-BR"
|
|
23
|
+
return [
|
|
24
|
+
// May be "zh", "zh-CN", "zh-Hans", "zh-cn", or anything: very likely to be
|
|
25
|
+
// unresolved except for simply locales
|
|
26
|
+
locale,
|
|
27
|
+
// "zh-CN" / "pt-BR"
|
|
28
|
+
`${maximizedLocale.language}-${maximizedLocale.region}`,
|
|
29
|
+
// "zh-Hans" / "pt-Latn"
|
|
30
|
+
`${maximizedLocale.language}-${maximizedLocale.script}`,
|
|
31
|
+
// "zh" / "pt"
|
|
32
|
+
maximizedLocale.language,
|
|
33
|
+
];
|
|
32
34
|
}
|
|
33
35
|
exports.codeTranslationLocalesToTry = codeTranslationLocalesToTry;
|
|
34
36
|
// Useful to implement getDefaultCodeTranslationMessages() in themes
|
|
@@ -39,8 +41,7 @@ async function readDefaultCodeTranslationMessages({ dirPath = getDefaultLocalesD
|
|
|
39
41
|
for (const localeToTry of localesToTry) {
|
|
40
42
|
const filePath = path_1.default.resolve(dirPath, localeToTry, `${name}.json`);
|
|
41
43
|
if (await fs_extra_1.default.pathExists(filePath)) {
|
|
42
|
-
|
|
43
|
-
return JSON.parse(fileContent);
|
|
44
|
+
return fs_extra_1.default.readJSON(filePath);
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
return {};
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;AAEH,wDAAwB;AACxB,gEAA0B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;AAEH,wDAAwB;AACxB,gEAA0B;AAG1B,SAAS,wBAAwB;IAC/B,OAAO,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AAC5C,CAAC;AAED,kDAAkD;AAClD,SAAgB,2BAA2B,CAAC,MAAc;IACxD,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3C,wEAAwE;IACxE,yBAAyB;IACzB,8EAA8E;IAC9E,MAAM,eAAe,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC,eAAe;IAC9D,OAAO;QACL,2EAA2E;QAC3E,uCAAuC;QACvC,MAAM;QACN,oBAAoB;QACpB,GAAG,eAAe,CAAC,QAAQ,IAAI,eAAe,CAAC,MAAM,EAAE;QACvD,wBAAwB;QACxB,GAAG,eAAe,CAAC,QAAQ,IAAI,eAAe,CAAC,MAAM,EAAE;QACvD,cAAc;QACd,eAAe,CAAC,QAAS;KAC1B,CAAC;AACJ,CAAC;AAjBD,kEAiBC;AAED,oEAAoE;AAC7D,KAAK,UAAU,kCAAkC,CAAC,EACvD,OAAO,GAAG,wBAAwB,EAAE,EACpC,MAAM,EACN,IAAI,GAKL;IACC,MAAM,YAAY,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAEzD,kDAAkD;IAClD,mCAAmC;IACnC,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;QACtC,MAAM,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,OAAO,CAAC,CAAC;QAEpE,IAAI,MAAM,kBAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;YACjC,OAAO,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;SAC9B;KACF;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAtBD,gFAsBC"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "تم النسخ",
|
|
5
5
|
"theme.CodeBlock.copy": "نسخ",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "نسخ الرمز إلى الحافظة",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "ارتباط مباشر بالعنوان",
|
|
33
34
|
"theme.common.skipToMainContent": "انتقل إلى المحتوى الرئيسي",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "التنقل بين صفحات الددات",
|
|
36
39
|
"theme.docs.paginator.next": "التالى",
|
|
37
40
|
"theme.docs.paginator.previous": "السابق",
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"theme.CodeBlock.copy___DESCRIPTION": "The copy button label on code blocks",
|
|
10
10
|
"theme.CodeBlock.copyButtonAriaLabel": "Copy code to clipboard",
|
|
11
11
|
"theme.CodeBlock.copyButtonAriaLabel___DESCRIPTION": "The ARIA label for copy code blocks button",
|
|
12
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
13
|
+
"theme.CodeBlock.wordWrapToggle___DESCRIPTION": "The title attribute for toggle word wrapping button of code block lines",
|
|
12
14
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
13
15
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel___DESCRIPTION": "The ARIA label to toggle the collapsible sidebar category",
|
|
14
16
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
@@ -65,6 +67,10 @@
|
|
|
65
67
|
"theme.common.skipToMainContent___DESCRIPTION": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",
|
|
66
68
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
67
69
|
"theme.docs.DocCard.categoryDescription___DESCRIPTION": "The default description for a category card in the generated index about how many items this category includes",
|
|
70
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
71
|
+
"theme.docs.breadcrumbs.home___DESCRIPTION": "The ARIA label for the home page in the breadcrumbs",
|
|
72
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
73
|
+
"theme.docs.breadcrumbs.navAriaLabel___DESCRIPTION": "The ARIA label for the breadcrumbs",
|
|
68
74
|
"theme.docs.paginator.navAriaLabel": "Docs pages navigation",
|
|
69
75
|
"theme.docs.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the docs pagination",
|
|
70
76
|
"theme.docs.paginator.next": "Next",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "কপিড",
|
|
5
5
|
"theme.CodeBlock.copy": "কপি",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "ক্লিপবোর্ডে কোড কপি করুন",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "হেডিং এর সঙ্গে সরাসরি লিংকড",
|
|
33
34
|
"theme.common.skipToMainContent": "স্কিপ করে মূল কন্টেন্ট এ যান",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "ডক্স পৃষ্টাগুলির নেভিগেশন",
|
|
36
39
|
"theme.docs.paginator.next": "পরবর্তী",
|
|
37
40
|
"theme.docs.paginator.previous": "পূর্ববর্তী",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Zkopírováno",
|
|
5
5
|
"theme.CodeBlock.copy": "Zkopírovat",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Zkopírovat kód do schránky",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Přímý odkaz na nadpis",
|
|
33
34
|
"theme.common.skipToMainContent": "Přeskočit na hlavní obsah",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Stránkování dokumentace",
|
|
36
39
|
"theme.docs.paginator.next": "Další",
|
|
37
40
|
"theme.docs.paginator.previous": "Předchozí",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"theme.SearchBar.label": "Hledat",
|
|
3
3
|
"theme.SearchBar.seeAll": "See all {count} results",
|
|
4
4
|
"theme.SearchPage.algoliaLabel": "Vyhledávání od Algolia",
|
|
5
|
-
"theme.SearchPage.documentsFound.plurals": "Jeden dokument nalezen|{count} dokumenty nalezeny
|
|
5
|
+
"theme.SearchPage.documentsFound.plurals": "Jeden dokument nalezen|{count} dokumenty nalezeny|{count} dokumentů nalezeno",
|
|
6
6
|
"theme.SearchPage.emptyResultsTitle": "Prohledat dokumentaci",
|
|
7
7
|
"theme.SearchPage.existingResultsTitle": "Výsledky vyhledávání pro \"{query}\"",
|
|
8
8
|
"theme.SearchPage.fetchingNewResults": "Stahuji nové výsledky...",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Kopieret",
|
|
5
5
|
"theme.CodeBlock.copy": "Kopier",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Kopier kode til udklipsholder",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Direkte link til overskrift",
|
|
33
34
|
"theme.common.skipToMainContent": "Hop til hovedindhold",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Dokumentside navigation",
|
|
36
39
|
"theme.docs.paginator.next": "Næste",
|
|
37
40
|
"theme.docs.paginator.previous": "Tidligere",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"theme.IdealImageMessage.404error": "404.
|
|
3
|
-
"theme.IdealImageMessage.error": "
|
|
4
|
-
"theme.IdealImageMessage.load": "
|
|
5
|
-
"theme.IdealImageMessage.loading": "
|
|
6
|
-
"theme.IdealImageMessage.offline": "
|
|
2
|
+
"theme.IdealImageMessage.404error": "404. Bild nicht gefunden.",
|
|
3
|
+
"theme.IdealImageMessage.error": "Fehler. Zum neu laden klicken",
|
|
4
|
+
"theme.IdealImageMessage.load": "Zum Laden klicken {sizeMessage}",
|
|
5
|
+
"theme.IdealImageMessage.loading": "Wird geladen...",
|
|
6
|
+
"theme.IdealImageMessage.offline": "Browser ist offline. Bild nicht geladen"
|
|
7
7
|
}
|
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Kopiert",
|
|
5
5
|
"theme.CodeBlock.copy": "Kopieren",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "In die Zwischenablage kopieren",
|
|
7
|
-
"theme.
|
|
8
|
-
"theme.
|
|
9
|
-
"theme.ErrorPageContent.
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
8
|
+
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Umschalten der Seitenleiste mit einklappbarer Kategorie '{label}'",
|
|
9
|
+
"theme.ErrorPageContent.title": "Die Seite ist abgestürzt.",
|
|
10
|
+
"theme.ErrorPageContent.tryAgain": "Nochmal versuchen",
|
|
10
11
|
"theme.NotFound.p1": "Wir konnten nicht finden, wonach Sie gesucht haben.",
|
|
11
12
|
"theme.NotFound.p2": "Bitte kontaktieren Sie den Besitzer der Seite, die Sie mit der ursprünglichen URL verlinkt hat, und teilen Sie ihm mit, dass der Link nicht mehr funktioniert.",
|
|
12
13
|
"theme.NotFound.title": "Seite nicht gefunden",
|
|
13
14
|
"theme.TOCCollapsible.toggleButtonLabel": "Auf dieser Seite",
|
|
14
|
-
"theme.blog.archive.description": "
|
|
15
|
-
"theme.blog.archive.title": "
|
|
15
|
+
"theme.blog.archive.description": "Archiv",
|
|
16
|
+
"theme.blog.archive.title": "Archiv",
|
|
16
17
|
"theme.blog.paginator.navAriaLabel": "Navigation der Blog-Listenseite",
|
|
17
18
|
"theme.blog.paginator.newerEntries": "Neuere Einträge",
|
|
18
19
|
"theme.blog.paginator.olderEntries": "Ältere Einträge",
|
|
@@ -21,17 +22,19 @@
|
|
|
21
22
|
"theme.blog.post.paginator.olderPost": "Älterer Post",
|
|
22
23
|
"theme.blog.post.plurals": "Ein Post|{count} Posts",
|
|
23
24
|
"theme.blog.post.readMore": "Mehr lesen",
|
|
24
|
-
"theme.blog.post.readMoreLabel": "
|
|
25
|
+
"theme.blog.post.readMoreLabel": "Mehr lesen über {title}",
|
|
25
26
|
"theme.blog.post.readingTime.plurals": "Eine Minute Lesezeit|{readingTime} Minuten Lesezeit",
|
|
26
|
-
"theme.blog.sidebar.navAriaLabel": "
|
|
27
|
+
"theme.blog.sidebar.navAriaLabel": "Navigation der letzten Beiträge im Blog",
|
|
27
28
|
"theme.blog.tagTitle": "{nPosts} getaggt mit \"{tagName}\"",
|
|
28
|
-
"theme.colorToggle.ariaLabel": "
|
|
29
|
-
"theme.colorToggle.ariaLabel.mode.dark": "
|
|
30
|
-
"theme.colorToggle.ariaLabel.mode.light": "
|
|
29
|
+
"theme.colorToggle.ariaLabel": "Umschalten zwischen dunkler und heller Ansicht (momentan {mode})",
|
|
30
|
+
"theme.colorToggle.ariaLabel.mode.dark": "dunkler Modus",
|
|
31
|
+
"theme.colorToggle.ariaLabel.mode.light": "heller Modus",
|
|
31
32
|
"theme.common.editThisPage": "Diese Seite bearbeiten",
|
|
32
33
|
"theme.common.headingLinkTitle": "Direkter Link zur Überschrift",
|
|
33
34
|
"theme.common.skipToMainContent": "Zum Hauptinhalt springen",
|
|
34
|
-
"theme.docs.DocCard.categoryDescription": "{count}
|
|
35
|
+
"theme.docs.DocCard.categoryDescription": "{count} Einträge",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Dokumentation Seiten Navigation",
|
|
36
39
|
"theme.docs.paginator.next": "Weiter",
|
|
37
40
|
"theme.docs.paginator.previous": "Zurück",
|
|
@@ -39,8 +42,8 @@
|
|
|
39
42
|
"theme.docs.sidebar.collapseButtonTitle": "Seitenleiste einklappen",
|
|
40
43
|
"theme.docs.sidebar.expandButtonAriaLabel": "Seitenleiste ausklappen",
|
|
41
44
|
"theme.docs.sidebar.expandButtonTitle": "Seitenleiste ausklappen",
|
|
42
|
-
"theme.docs.tagDocListPageTitle": "{nDocsTagged}
|
|
43
|
-
"theme.docs.tagDocListPageTitle.nDocsTagged": "
|
|
45
|
+
"theme.docs.tagDocListPageTitle": "{nDocsTagged} mit \"{tagName}\"",
|
|
46
|
+
"theme.docs.tagDocListPageTitle.nDocsTagged": "Ein doc getaggt|{count} docs getaggt",
|
|
44
47
|
"theme.docs.versionBadge.label": "Version: {versionLabel}",
|
|
45
48
|
"theme.docs.versions.latestVersionLinkLabel": "letzte Version",
|
|
46
49
|
"theme.docs.versions.latestVersionSuggestionLabel": "Für die aktuellste Dokumentation bitte auf {latestVersionLink} ({versionLabel}) gehen.",
|
|
@@ -49,9 +52,9 @@
|
|
|
49
52
|
"theme.lastUpdated.atDate": " am {date}",
|
|
50
53
|
"theme.lastUpdated.byUser": " von {user}",
|
|
51
54
|
"theme.lastUpdated.lastUpdatedAtBy": "Letztes Update{atDate}{byUser}",
|
|
52
|
-
"theme.navbar.mobileLanguageDropdown.label": "
|
|
55
|
+
"theme.navbar.mobileLanguageDropdown.label": "Sprachen",
|
|
53
56
|
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": "← Zurück zum Hauptmenü",
|
|
54
|
-
"theme.navbar.mobileVersionsDropdown.label": "
|
|
57
|
+
"theme.navbar.mobileVersionsDropdown.label": "Versionen",
|
|
55
58
|
"theme.tags.tagsListLabel": "Tags:",
|
|
56
59
|
"theme.tags.tagsPageLink": "Alle Tags anzeigen",
|
|
57
60
|
"theme.tags.tagsPageTitle": "Tags"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"theme.SearchBar.label": "Suche",
|
|
3
|
-
"theme.SearchBar.seeAll": "
|
|
3
|
+
"theme.SearchBar.seeAll": "Alle {count} Ergebnisse anzeigen",
|
|
4
4
|
"theme.SearchPage.algoliaLabel": "Suche von Algolia",
|
|
5
5
|
"theme.SearchPage.documentsFound.plurals": "Ein Dokument gefunden|{count} Dokumente gefunden",
|
|
6
6
|
"theme.SearchPage.emptyResultsTitle": "Suche in der Dokumentation",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Copiado",
|
|
5
5
|
"theme.CodeBlock.copy": "Copiar",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Copiar código al portapapeles",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Enlace directo al encabezado",
|
|
33
34
|
"theme.common.skipToMainContent": "Saltar al contenido principal",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Navegación de páginas de documentos",
|
|
36
39
|
"theme.docs.paginator.next": "Siguiente",
|
|
37
40
|
"theme.docs.paginator.previous": "Anterior",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "کپی شد",
|
|
5
5
|
"theme.CodeBlock.copy": "کپی",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "کپی به کلیپ بورد",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "لینک مستقیم به عنوان",
|
|
33
34
|
"theme.common.skipToMainContent": "پرش به مطلب اصلی",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "کنترل صفحات مطالب",
|
|
36
39
|
"theme.docs.paginator.next": "بعدی",
|
|
37
40
|
"theme.docs.paginator.previous": "قبلی",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Kinopya",
|
|
5
5
|
"theme.CodeBlock.copy": "Kopyahin",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Kopyahin ang code sa clipboard",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Direktang link patungo sa heading",
|
|
33
34
|
"theme.common.skipToMainContent": "Lumaktaw patungo sa pangunahing content",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Nabegasyón para sa mga pahinang docs.",
|
|
36
39
|
"theme.docs.paginator.next": "Sumunod",
|
|
37
40
|
"theme.docs.paginator.previous": "Naraaan",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Copié",
|
|
5
5
|
"theme.CodeBlock.copy": "Copier",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Copier le code",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Basculer le retour à la ligne",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "Cette page a planté.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Réessayer",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Lien direct vers le titre",
|
|
33
34
|
"theme.common.skipToMainContent": "Aller au contenu principal",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Page d'accueil",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Fil d'Ariane",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Pagination des documents",
|
|
36
39
|
"theme.docs.paginator.next": "Suivant",
|
|
37
40
|
"theme.docs.paginator.previous": "Précédent",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "הועתק",
|
|
5
5
|
"theme.CodeBlock.copy": "העתק",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "העתק קוד ללוח העריכה",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "קישור ישיר לכותרת",
|
|
33
34
|
"theme.common.skipToMainContent": "דלג לתוכן הראשי",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "רשימת דוקומנטאציה",
|
|
36
39
|
"theme.docs.paginator.next": "הבא",
|
|
37
40
|
"theme.docs.paginator.previous": "הקודם",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "कॉपीड",
|
|
5
5
|
"theme.CodeBlock.copy": "कॉपी",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "क्लिपबोर्ड पर कोड कॉपी करें",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "शीर्षक का सीधा लिंक",
|
|
33
34
|
"theme.common.skipToMainContent": "मुख्य कंटेंट तक स्किप करें",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "डॉक्स पेज नेविगेशन",
|
|
36
39
|
"theme.docs.paginator.next": "अगला",
|
|
37
40
|
"theme.docs.paginator.previous": "पिछ्ला",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Copiato",
|
|
5
5
|
"theme.CodeBlock.copy": "Copia",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Copia il codice negli appunti",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Attiva/disattiva la categoria '{label}' della barra laterale collassabile",
|
|
8
9
|
"theme.ErrorPageContent.title": "Questa pagina è andata in crash.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Prova di nuovo",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Link diretto all'intestazione",
|
|
33
34
|
"theme.common.skipToMainContent": "Passa al contenuto principale",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Navigazione delle pagine dei documenti",
|
|
36
39
|
"theme.docs.paginator.next": "Successivo",
|
|
37
40
|
"theme.docs.paginator.previous": "Precedente",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "コピーしました",
|
|
5
5
|
"theme.CodeBlock.copy": "コピー",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "クリップボードにコードをコピー",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "見出しへの直接リンク",
|
|
33
34
|
"theme.common.skipToMainContent": "メインコンテンツまでスキップ",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "ドキュメントのナビゲーション",
|
|
36
39
|
"theme.docs.paginator.next": "次へ",
|
|
37
40
|
"theme.docs.paginator.previous": "前へ",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "복사했습니다",
|
|
5
5
|
"theme.CodeBlock.copy": "복사",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "클립보드에 코드 복사",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "접을 수 있는 사이드바 분류 '{label}' 접기(펼치기)",
|
|
8
9
|
"theme.ErrorPageContent.title": "페이지에 오류가 발생하였습니다.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "다시 시도해 보세요",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "제목으로 바로 가기",
|
|
33
34
|
"theme.common.skipToMainContent": "본문으로 건너뛰기",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} 항목",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "문서 탐색",
|
|
36
39
|
"theme.docs.paginator.next": "다음",
|
|
37
40
|
"theme.docs.paginator.previous": "이전",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"theme.IdealImageMessage.404error": "404.
|
|
3
|
-
"theme.IdealImageMessage.error": "
|
|
4
|
-
"theme.IdealImageMessage.load": "
|
|
5
|
-
"theme.IdealImageMessage.loading": "
|
|
6
|
-
"theme.IdealImageMessage.offline": "
|
|
2
|
+
"theme.IdealImageMessage.404error": "404. Nie znaleziono grafiki.",
|
|
3
|
+
"theme.IdealImageMessage.error": "Błąd. Kliknij by odświeżyć.",
|
|
4
|
+
"theme.IdealImageMessage.load": "Kliknij aby wczytać{sizeMessage}",
|
|
5
|
+
"theme.IdealImageMessage.loading": "Wczytywanie...",
|
|
6
|
+
"theme.IdealImageMessage.offline": "Twoja przeglądarka jest offline. Nie załadowano grafiki."
|
|
7
7
|
}
|
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"theme.AnnouncementBar.closeButtonAriaLabel": "Zamknij",
|
|
3
|
-
"theme.BackToTopButton.buttonAriaLabel": "
|
|
3
|
+
"theme.BackToTopButton.buttonAriaLabel": "Przewiń do góry",
|
|
4
4
|
"theme.CodeBlock.copied": "Skopiowano!",
|
|
5
5
|
"theme.CodeBlock.copy": "Kopiuj",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Kopiuj do schowka",
|
|
7
|
-
"theme.
|
|
8
|
-
"theme.
|
|
9
|
-
"theme.ErrorPageContent.
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
8
|
+
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Przełącz zwijalną kategorię panelu bocznego '{label}'",
|
|
9
|
+
"theme.ErrorPageContent.title": "Ta strona uległa awarii.",
|
|
10
|
+
"theme.ErrorPageContent.tryAgain": "Spróbuj ponownie",
|
|
10
11
|
"theme.NotFound.p1": "Nie mogliśmy znaleźć strony której szukasz.",
|
|
11
|
-
"theme.NotFound.p2": "Proszę skontaktuj się z właścielem strony, z której link doprowadził Cię tutaj i poinformuj
|
|
12
|
+
"theme.NotFound.p2": "Proszę skontaktuj się z właścielem strony, z której link doprowadził Cię tutaj i poinformuj go, że link jest nieprawidłowy.",
|
|
12
13
|
"theme.NotFound.title": "Strona nie została znaleziona",
|
|
13
|
-
"theme.TOCCollapsible.toggleButtonLabel": "
|
|
14
|
-
"theme.blog.archive.description": "
|
|
15
|
-
"theme.blog.archive.title": "
|
|
14
|
+
"theme.TOCCollapsible.toggleButtonLabel": "Na tej stronie",
|
|
15
|
+
"theme.blog.archive.description": "Archiwum",
|
|
16
|
+
"theme.blog.archive.title": "Archiwum",
|
|
16
17
|
"theme.blog.paginator.navAriaLabel": "Nawigacja na stronie listy wpisów na blogu",
|
|
17
18
|
"theme.blog.paginator.newerEntries": "Nowsze wpisy",
|
|
18
19
|
"theme.blog.paginator.olderEntries": "Starsze wpisy",
|
|
19
20
|
"theme.blog.post.paginator.navAriaLabel": "Nawigacja na stronie postu na blogu",
|
|
20
|
-
"theme.blog.post.paginator.newerPost": "Nowszy
|
|
21
|
-
"theme.blog.post.paginator.olderPost": "Starszy
|
|
21
|
+
"theme.blog.post.paginator.newerPost": "Nowszy post",
|
|
22
|
+
"theme.blog.post.paginator.olderPost": "Starszy post",
|
|
22
23
|
"theme.blog.post.plurals": "Jeden post|{count} posty|{count} postów",
|
|
23
24
|
"theme.blog.post.readMore": "Czytaj więcej",
|
|
24
|
-
"theme.blog.post.readMoreLabel": "
|
|
25
|
+
"theme.blog.post.readMoreLabel": "Czytaj więcej o {title}",
|
|
25
26
|
"theme.blog.post.readingTime.plurals": "{readingTime} min aby przeczytać|{readingTime} min aby przeczytać|{readingTime} min aby przeczytać",
|
|
26
|
-
"theme.blog.sidebar.navAriaLabel": "
|
|
27
|
+
"theme.blog.sidebar.navAriaLabel": "Nawigacja po najnowszych postach na blogu",
|
|
27
28
|
"theme.blog.tagTitle": "{nPosts} z tagiem \"{tagName}\"",
|
|
28
|
-
"theme.colorToggle.ariaLabel": "
|
|
29
|
-
"theme.colorToggle.ariaLabel.mode.dark": "
|
|
30
|
-
"theme.colorToggle.ariaLabel.mode.light": "
|
|
31
|
-
"theme.common.editThisPage": "Edytuj
|
|
29
|
+
"theme.colorToggle.ariaLabel": "Przełącz pomiędzy ciemnym a jasnym motywem (aktualnie ustawiony {mode})",
|
|
30
|
+
"theme.colorToggle.ariaLabel.mode.dark": "ciemny motyw",
|
|
31
|
+
"theme.colorToggle.ariaLabel.mode.light": "jasny motyw",
|
|
32
|
+
"theme.common.editThisPage": "Edytuj tę stronę",
|
|
32
33
|
"theme.common.headingLinkTitle": "Bezpośredni link do nagłówka",
|
|
33
34
|
"theme.common.skipToMainContent": "Przejdź do głównej zawartości",
|
|
34
|
-
"theme.docs.DocCard.categoryDescription": "{count}
|
|
35
|
+
"theme.docs.DocCard.categoryDescription": "{count} elementów",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Nawigacja na stronie dokumentacji",
|
|
36
39
|
"theme.docs.paginator.next": "Następna strona",
|
|
37
40
|
"theme.docs.paginator.previous": "Poprzednia strona",
|
|
@@ -40,8 +43,8 @@
|
|
|
40
43
|
"theme.docs.sidebar.expandButtonAriaLabel": "Rozszerz boczny panel",
|
|
41
44
|
"theme.docs.sidebar.expandButtonTitle": "Rozszerz boczny panel",
|
|
42
45
|
"theme.docs.tagDocListPageTitle": "{nDocsTagged} with \"{tagName}\"",
|
|
43
|
-
"theme.docs.tagDocListPageTitle.nDocsTagged": "
|
|
44
|
-
"theme.docs.versionBadge.label": "
|
|
46
|
+
"theme.docs.tagDocListPageTitle.nDocsTagged": "Jedna strona dokumentacji otagowana|{count} strony dokumentacji otagowane|{count} stron dokumentacji otagowanych",
|
|
47
|
+
"theme.docs.versionBadge.label": "Wersja: {versionLabel}",
|
|
45
48
|
"theme.docs.versions.latestVersionLinkLabel": "bieżącej wersji",
|
|
46
49
|
"theme.docs.versions.latestVersionSuggestionLabel": "Aby zobaczyć bieżącą dokumentację, przejdź do wersji {latestVersionLink} ({versionLabel}).",
|
|
47
50
|
"theme.docs.versions.unmaintainedVersionLabel": "Ta dokumentacja dotyczy {siteTitle} w wersji {versionLabel} i nie jest już aktywnie aktualizowana.",
|
|
@@ -49,9 +52,9 @@
|
|
|
49
52
|
"theme.lastUpdated.atDate": " dnia {date}",
|
|
50
53
|
"theme.lastUpdated.byUser": " przez {user}",
|
|
51
54
|
"theme.lastUpdated.lastUpdatedAtBy": "Ostatnia aktualizacja{atDate}{byUser}",
|
|
52
|
-
"theme.navbar.mobileLanguageDropdown.label": "
|
|
53
|
-
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": "←
|
|
54
|
-
"theme.navbar.mobileVersionsDropdown.label": "
|
|
55
|
+
"theme.navbar.mobileLanguageDropdown.label": "Języki",
|
|
56
|
+
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": "← Wróć do menu głównego",
|
|
57
|
+
"theme.navbar.mobileVersionsDropdown.label": "Wersje",
|
|
55
58
|
"theme.tags.tagsListLabel": "Tagi:",
|
|
56
59
|
"theme.tags.tagsPageLink": "Wyświetl wszystkie tagi",
|
|
57
60
|
"theme.tags.tagsPageTitle": "Tagi"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"theme.SearchBar.label": "Szukaj",
|
|
3
|
-
"theme.SearchBar.seeAll": "
|
|
3
|
+
"theme.SearchBar.seeAll": "Wyświetl wszystkie {count} wyników",
|
|
4
4
|
"theme.SearchPage.algoliaLabel": "Dostawca rozwiązania Algolia",
|
|
5
|
-
"theme.SearchPage.documentsFound.plurals": "
|
|
5
|
+
"theme.SearchPage.documentsFound.plurals": "Jeden dokument znaleziony|{count} dokumenty znalezione|{count} dokumentów znalezionych",
|
|
6
6
|
"theme.SearchPage.emptyResultsTitle": "Wyszukaj w dokumentacji",
|
|
7
7
|
"theme.SearchPage.existingResultsTitle": "Wyniki wyszukiwania dla \"{query}\"",
|
|
8
8
|
"theme.SearchPage.fetchingNewResults": "Pobieranie nowych wyników…",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Copiado",
|
|
5
5
|
"theme.CodeBlock.copy": "Copiar",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Copiar código para a área de transferência",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Link direto para o título",
|
|
33
34
|
"theme.common.skipToMainContent": "Pular para o conteúdo principal",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Navigação das páginas de documentação",
|
|
36
39
|
"theme.docs.paginator.next": "Próxima",
|
|
37
40
|
"theme.docs.paginator.previous": "Anterior",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Copiado",
|
|
5
5
|
"theme.CodeBlock.copy": "Copiar",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Copiar código para a área de transferência",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Link direto para o título",
|
|
33
34
|
"theme.common.skipToMainContent": "Saltar para o conteúdo principal",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Navigação das páginas de documentação",
|
|
36
39
|
"theme.docs.paginator.next": "Próxima",
|
|
37
40
|
"theme.docs.paginator.previous": "Anterior",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Скопировано",
|
|
5
5
|
"theme.CodeBlock.copy": "Скопировать",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Скопировать в буфер обмена",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Свернуть/развернуть категорию '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "На странице произошёл сбой.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Попробуйте ещё раз",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Прямая ссылка на этот заголовок",
|
|
33
34
|
"theme.common.skipToMainContent": "Перейти к основному содержимому",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} элемент|{count} элемента|{count} элементов",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Главная страница",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Навигационная цепочка текущей страницы",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Навигация по странице документации",
|
|
36
39
|
"theme.docs.paginator.next": "Следующая страница",
|
|
37
40
|
"theme.docs.paginator.previous": "Предыдущая страница",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Копирано",
|
|
5
5
|
"theme.CodeBlock.copy": "Копирај",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Копирај код у меморију",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Веза до наслова",
|
|
33
34
|
"theme.common.skipToMainContent": "Пређи на главни садржај",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Навигација по документима",
|
|
36
39
|
"theme.docs.paginator.next": "Даље",
|
|
37
40
|
"theme.docs.paginator.previous": "Назад",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Kopyalandı",
|
|
5
5
|
"theme.CodeBlock.copy": "Kopyala",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Kodu panoya kopyala",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Toggle the collapsible sidebar category '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "This page crashed.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Try again",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Başlığa doğrudan bağlantı",
|
|
33
34
|
"theme.common.skipToMainContent": "Ana içeriğe geç",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} items",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Dokümanlar sayfası navigasyonu",
|
|
36
39
|
"theme.docs.paginator.next": "Sonraki",
|
|
37
40
|
"theme.docs.paginator.previous": "Önceki",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "Đã sao chép",
|
|
5
5
|
"theme.CodeBlock.copy": "Sao chép",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "Sao chép code vào bộ nhớ tạm",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "Chuyển đổi danh mục thanh bên có thể thu gọn '{label}'",
|
|
8
9
|
"theme.ErrorPageContent.title": "Trang này đã bị lỗi.",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "Thử lại",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "Đường dẫn trực tiếp tới đề mục này",
|
|
33
34
|
"theme.common.skipToMainContent": "Nhảy tới nội dung",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} mục",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "Home page",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "Thanh điều hướng của trang tài liệu",
|
|
36
39
|
"theme.docs.paginator.next": "Kế tiếp",
|
|
37
40
|
"theme.docs.paginator.previous": "Trước",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "复制成功",
|
|
5
5
|
"theme.CodeBlock.copy": "复制",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "复制代码到剪贴板",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "打开/收起侧边栏菜单「{label}」",
|
|
8
9
|
"theme.ErrorPageContent.title": "页面已崩溃。",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "重试",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "标题的直接链接",
|
|
33
34
|
"theme.common.skipToMainContent": "跳到主要内容",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} 个项目",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "主页面",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "页面路径",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "文档分页导航",
|
|
36
39
|
"theme.docs.paginator.next": "下一页",
|
|
37
40
|
"theme.docs.paginator.previous": "上一页",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"theme.CodeBlock.copied": "複製成功",
|
|
5
5
|
"theme.CodeBlock.copy": "複製",
|
|
6
6
|
"theme.CodeBlock.copyButtonAriaLabel": "複製代碼至剪貼簿",
|
|
7
|
+
"theme.CodeBlock.wordWrapToggle": "Toggle word wrap",
|
|
7
8
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": "打開/收起側邊欄選單「{label}」",
|
|
8
9
|
"theme.ErrorPageContent.title": "此頁已當機。",
|
|
9
10
|
"theme.ErrorPageContent.tryAgain": "重試",
|
|
@@ -32,6 +33,8 @@
|
|
|
32
33
|
"theme.common.headingLinkTitle": "標題的直接連結",
|
|
33
34
|
"theme.common.skipToMainContent": "跳至主要内容",
|
|
34
35
|
"theme.docs.DocCard.categoryDescription": "{count} 個項目",
|
|
36
|
+
"theme.docs.breadcrumbs.home": "主頁面",
|
|
37
|
+
"theme.docs.breadcrumbs.navAriaLabel": "頁面路徑",
|
|
35
38
|
"theme.docs.paginator.navAriaLabel": "文件分頁導覽",
|
|
36
39
|
"theme.docs.paginator.next": "下一頁",
|
|
37
40
|
"theme.docs.paginator.previous": "上一頁",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-translations",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.19",
|
|
4
4
|
"description": "Docusaurus theme translations.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"update": "node ./update.mjs"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"fs-extra": "^10.0
|
|
23
|
-
"tslib": "^2.
|
|
22
|
+
"fs-extra": "^10.1.0",
|
|
23
|
+
"tslib": "^2.4.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@docusaurus/core": "2.0.0-beta.
|
|
27
|
-
"@docusaurus/logger": "2.0.0-beta.
|
|
26
|
+
"@docusaurus/core": "2.0.0-beta.19",
|
|
27
|
+
"@docusaurus/logger": "2.0.0-beta.19",
|
|
28
28
|
"lodash": "^4.17.21"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=14"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "a71e60a49cce93c1006ef10c41ac03187f057102"
|
|
34
34
|
}
|
package/src/index.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import path from 'path';
|
|
9
9
|
import fs from 'fs-extra';
|
|
10
|
+
import type {CodeTranslations} from '@docusaurus/types';
|
|
10
11
|
|
|
11
12
|
function getDefaultLocalesDirPath(): string {
|
|
12
13
|
return path.join(__dirname, '../locales');
|
|
@@ -15,19 +16,21 @@ function getDefaultLocalesDirPath(): string {
|
|
|
15
16
|
// Return an ordered list of locales we should try
|
|
16
17
|
export function codeTranslationLocalesToTry(locale: string): string[] {
|
|
17
18
|
const intlLocale = new Intl.Locale(locale);
|
|
18
|
-
//
|
|
19
|
-
// (not pt-PT!)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
// If locale is just a simple language like "pt", we want to fallback to
|
|
20
|
+
// "pt-BR" (not "pt-PT"!)
|
|
21
|
+
// See https://github.com/facebook/docusaurus/pull/4536#issuecomment-810088783
|
|
22
|
+
const maximizedLocale = intlLocale.maximize(); // "pt-Latn-BR"
|
|
23
|
+
return [
|
|
24
|
+
// May be "zh", "zh-CN", "zh-Hans", "zh-cn", or anything: very likely to be
|
|
25
|
+
// unresolved except for simply locales
|
|
26
|
+
locale,
|
|
27
|
+
// "zh-CN" / "pt-BR"
|
|
28
|
+
`${maximizedLocale.language}-${maximizedLocale.region}`,
|
|
29
|
+
// "zh-Hans" / "pt-Latn"
|
|
30
|
+
`${maximizedLocale.language}-${maximizedLocale.script}`,
|
|
31
|
+
// "zh" / "pt"
|
|
32
|
+
maximizedLocale.language!,
|
|
33
|
+
];
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
// Useful to implement getDefaultCodeTranslationMessages() in themes
|
|
@@ -39,7 +42,7 @@ export async function readDefaultCodeTranslationMessages({
|
|
|
39
42
|
dirPath?: string;
|
|
40
43
|
locale: string;
|
|
41
44
|
name: string;
|
|
42
|
-
}): Promise<
|
|
45
|
+
}): Promise<CodeTranslations> {
|
|
43
46
|
const localesToTry = codeTranslationLocalesToTry(locale);
|
|
44
47
|
|
|
45
48
|
// Return the content of the first file that match
|
|
@@ -48,8 +51,7 @@ export async function readDefaultCodeTranslationMessages({
|
|
|
48
51
|
const filePath = path.resolve(dirPath, localeToTry, `${name}.json`);
|
|
49
52
|
|
|
50
53
|
if (await fs.pathExists(filePath)) {
|
|
51
|
-
|
|
52
|
-
return JSON.parse(fileContent);
|
|
54
|
+
return fs.readJSON(filePath);
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
|