Skip to content

Commit 4c51b19

Browse files
committed
[dev] update project, generate translation files
1 parent 8bdcdf6 commit 4c51b19

23 files changed

Lines changed: 3128 additions & 2 deletions

File tree

docusaurus.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,16 @@ module.exports = {
130130
tagline: 'DHTMLX JavaScript To Do List Docs',
131131
url: 'https://docs.dhtmlx.com',
132132
baseUrl: '/todolist/',
133+
i18n: {
134+
defaultLocale: 'en',
135+
locales: ['en', 'de', 'ru', 'zh', 'ko'],
136+
localeConfigs: {
137+
zh: {
138+
htmlLang: 'zh-CN',
139+
label: '中文'
140+
},
141+
}
142+
},
133143
onBrokenLinks: 'warn',
134144
onBrokenAnchors: 'warn',
135145
markdown: {
@@ -173,6 +183,10 @@ module.exports = {
173183
label: 'Download',
174184
href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/download.shtml',
175185
position: 'right'
186+
},
187+
{
188+
type: 'localeDropdown',
189+
position: 'right',
176190
}
177191
]
178192
},

i18n/de/code.json

Lines changed: 364 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,364 @@
1+
{
2+
"theme.ErrorPageContent.title": {
3+
"message": "Die Seite ist abgestürzt.",
4+
"description": "The title of the fallback page when the page crashed"
5+
},
6+
"theme.BackToTopButton.buttonAriaLabel": {
7+
"message": "Zurück nach oben scrollen",
8+
"description": "The ARIA label for the back to top button"
9+
},
10+
"theme.blog.archive.title": {
11+
"message": "Archiv",
12+
"description": "The page & hero title of the blog archive page"
13+
},
14+
"theme.blog.archive.description": {
15+
"message": "Archiv",
16+
"description": "The page & hero description of the blog archive page"
17+
},
18+
"theme.blog.paginator.navAriaLabel": {
19+
"message": "Navigation der Blog-Listenseite",
20+
"description": "The ARIA label for the blog pagination"
21+
},
22+
"theme.blog.paginator.newerEntries": {
23+
"message": "Neuere Einträge",
24+
"description": "The label used to navigate to the newer blog posts page (previous page)"
25+
},
26+
"theme.blog.paginator.olderEntries": {
27+
"message": "Ältere Einträge",
28+
"description": "The label used to navigate to the older blog posts page (next page)"
29+
},
30+
"theme.blog.post.paginator.navAriaLabel": {
31+
"message": "Blog Post Seiten Navigation",
32+
"description": "The ARIA label for the blog posts pagination"
33+
},
34+
"theme.blog.post.paginator.newerPost": {
35+
"message": "Neuer Post",
36+
"description": "The blog post button label to navigate to the newer/previous post"
37+
},
38+
"theme.blog.post.paginator.olderPost": {
39+
"message": "Älterer Post",
40+
"description": "The blog post button label to navigate to the older/next post"
41+
},
42+
"theme.tags.tagsPageLink": {
43+
"message": "Alle Tags anzeigen",
44+
"description": "The label of the link targeting the tag list page"
45+
},
46+
"theme.colorToggle.ariaLabel.mode.system": {
47+
"message": "system mode",
48+
"description": "The name for the system color mode"
49+
},
50+
"theme.colorToggle.ariaLabel.mode.light": {
51+
"message": "heller Modus",
52+
"description": "The name for the light color mode"
53+
},
54+
"theme.colorToggle.ariaLabel.mode.dark": {
55+
"message": "dunkler Modus",
56+
"description": "The name for the dark color mode"
57+
},
58+
"theme.colorToggle.ariaLabel": {
59+
"message": "Umschalten zwischen dunkler und heller Ansicht (momentan {mode})",
60+
"description": "The ARIA label for the color mode toggle"
61+
},
62+
"theme.docs.breadcrumbs.navAriaLabel": {
63+
"message": "Breadcrumbs",
64+
"description": "The ARIA label for the breadcrumbs"
65+
},
66+
"theme.docs.DocCard.categoryDescription.plurals": {
67+
"message": "1 Eintrag|{count} Einträge",
68+
"description": "The default description for a category card in the generated index about how many items this category includes"
69+
},
70+
"theme.docs.paginator.navAriaLabel": {
71+
"message": "Dokumentation Seiten",
72+
"description": "The ARIA label for the docs pagination"
73+
},
74+
"theme.docs.paginator.previous": {
75+
"message": "Zurück",
76+
"description": "The label used to navigate to the previous doc"
77+
},
78+
"theme.docs.paginator.next": {
79+
"message": "Weiter",
80+
"description": "The label used to navigate to the next doc"
81+
},
82+
"theme.docs.tagDocListPageTitle.nDocsTagged": {
83+
"message": "Ein doc getaggt|{count} docs getaggt",
84+
"description": "Pluralized label for \"{count} docs tagged\". 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)"
85+
},
86+
"theme.docs.tagDocListPageTitle": {
87+
"message": "{nDocsTagged} mit \"{tagName}\"",
88+
"description": "The title of the page for a docs tag"
89+
},
90+
"theme.docs.versionBadge.label": {
91+
"message": "Version: {versionLabel}"
92+
},
93+
"theme.docs.versions.unreleasedVersionLabel": {
94+
"message": "Das ist die unveröffentlichte Dokumentation für {siteTitle} {versionLabel}.",
95+
"description": "The label used to tell the user that he's browsing an unreleased doc version"
96+
},
97+
"theme.docs.versions.unmaintainedVersionLabel": {
98+
"message": "Das ist die Dokumentation für {siteTitle} {versionLabel} und wird nicht weiter gewartet.",
99+
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
100+
},
101+
"theme.docs.versions.latestVersionSuggestionLabel": {
102+
"message": "Für die aktuellste Dokumentation bitte auf {latestVersionLink} ({versionLabel}) gehen.",
103+
"description": "The label used to tell the user to check the latest version"
104+
},
105+
"theme.docs.versions.latestVersionLinkLabel": {
106+
"message": "letzte Version",
107+
"description": "The label used for the latest version suggestion link label"
108+
},
109+
"theme.common.editThisPage": {
110+
"message": "Diese Seite bearbeiten",
111+
"description": "The link label to edit the current page"
112+
},
113+
"theme.common.headingLinkTitle": {
114+
"message": "Direkter Link zur {heading}",
115+
"description": "Title for link to heading"
116+
},
117+
"theme.lastUpdated.atDate": {
118+
"message": " am {date}",
119+
"description": "The words used to describe on which date a page has been last updated"
120+
},
121+
"theme.lastUpdated.byUser": {
122+
"message": " von {user}",
123+
"description": "The words used to describe by who the page has been last updated"
124+
},
125+
"theme.lastUpdated.lastUpdatedAtBy": {
126+
"message": "Letztes Update{atDate}{byUser}",
127+
"description": "The sentence used to display when a page has been last updated, and by who"
128+
},
129+
"theme.navbar.mobileVersionsDropdown.label": {
130+
"message": "Versionen",
131+
"description": "The label for the navbar versions dropdown on mobile view"
132+
},
133+
"theme.NotFound.title": {
134+
"message": "Seite nicht gefunden",
135+
"description": "The title of the 404 page"
136+
},
137+
"theme.tags.tagsListLabel": {
138+
"message": "Tags:",
139+
"description": "The label alongside a tag list"
140+
},
141+
"theme.admonition.caution": {
142+
"message": "vorsicht",
143+
"description": "The default label used for the Caution admonition (:::caution)"
144+
},
145+
"theme.admonition.danger": {
146+
"message": "gefahr",
147+
"description": "The default label used for the Danger admonition (:::danger)"
148+
},
149+
"theme.admonition.info": {
150+
"message": "info",
151+
"description": "The default label used for the Info admonition (:::info)"
152+
},
153+
"theme.admonition.note": {
154+
"message": "hinweis",
155+
"description": "The default label used for the Note admonition (:::note)"
156+
},
157+
"theme.admonition.tip": {
158+
"message": "tipp",
159+
"description": "The default label used for the Tip admonition (:::tip)"
160+
},
161+
"theme.admonition.warning": {
162+
"message": "warnung",
163+
"description": "The default label used for the Warning admonition (:::warning)"
164+
},
165+
"theme.AnnouncementBar.closeButtonAriaLabel": {
166+
"message": "Schließen",
167+
"description": "The ARIA label for close button of announcement bar"
168+
},
169+
"theme.blog.sidebar.navAriaLabel": {
170+
"message": "Navigation der letzten Beiträge im Blog",
171+
"description": "The ARIA label for recent posts in the blog sidebar"
172+
},
173+
"theme.DocSidebarItem.expandCategoryAriaLabel": {
174+
"message": "Expand sidebar category '{label}'",
175+
"description": "The ARIA label to expand the sidebar category"
176+
},
177+
"theme.DocSidebarItem.collapseCategoryAriaLabel": {
178+
"message": "Collapse sidebar category '{label}'",
179+
"description": "The ARIA label to collapse the sidebar category"
180+
},
181+
"theme.IconExternalLink.ariaLabel": {
182+
"message": "(opens in new tab)",
183+
"description": "The ARIA label for the external link icon"
184+
},
185+
"theme.NavBar.navAriaLabel": {
186+
"message": "Main",
187+
"description": "The ARIA label for the main navigation"
188+
},
189+
"theme.navbar.mobileLanguageDropdown.label": {
190+
"message": "Sprachen",
191+
"description": "The label for the mobile language switcher dropdown"
192+
},
193+
"theme.NotFound.p1": {
194+
"message": "Wir konnten nicht finden, wonach Sie gesucht haben.",
195+
"description": "The first paragraph of the 404 page"
196+
},
197+
"theme.NotFound.p2": {
198+
"message": "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.",
199+
"description": "The 2nd paragraph of the 404 page"
200+
},
201+
"theme.TOCCollapsible.toggleButtonLabel": {
202+
"message": "Auf dieser Seite",
203+
"description": "The label used by the button on the collapsible TOC component"
204+
},
205+
"theme.blog.post.readMore": {
206+
"message": "Mehr lesen",
207+
"description": "The label used in blog post item excerpts to link to full blog posts"
208+
},
209+
"theme.blog.post.readMoreLabel": {
210+
"message": "Mehr lesen über {title}",
211+
"description": "The ARIA label for the link to full blog posts from excerpts"
212+
},
213+
"theme.blog.post.readingTime.plurals": {
214+
"message": "Eine Minute Lesezeit|{readingTime} Minuten Lesezeit",
215+
"description": "Pluralized label for \"{readingTime} min read\". 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)"
216+
},
217+
"theme.CodeBlock.copy": {
218+
"message": "Kopieren",
219+
"description": "The copy button label on code blocks"
220+
},
221+
"theme.CodeBlock.copied": {
222+
"message": "Kopiert",
223+
"description": "The copied button label on code blocks"
224+
},
225+
"theme.CodeBlock.copyButtonAriaLabel": {
226+
"message": "In die Zwischenablage kopieren",
227+
"description": "The ARIA label for copy code blocks button"
228+
},
229+
"theme.CodeBlock.wordWrapToggle": {
230+
"message": "Toggle word wrap",
231+
"description": "The title attribute for toggle word wrapping button of code block lines"
232+
},
233+
"theme.docs.breadcrumbs.home": {
234+
"message": "Home page",
235+
"description": "The ARIA label for the home page in the breadcrumbs"
236+
},
237+
"theme.docs.sidebar.collapseButtonTitle": {
238+
"message": "Seitenleiste einklappen",
239+
"description": "The title attribute for collapse button of doc sidebar"
240+
},
241+
"theme.docs.sidebar.collapseButtonAriaLabel": {
242+
"message": "Seitenleiste einklappen",
243+
"description": "The title attribute for collapse button of doc sidebar"
244+
},
245+
"theme.docs.sidebar.navAriaLabel": {
246+
"message": "Docs sidebar",
247+
"description": "The ARIA label for the sidebar navigation"
248+
},
249+
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
250+
"message": "Close navigation bar",
251+
"description": "The ARIA label for close button of mobile sidebar"
252+
},
253+
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
254+
"message": "← Zurück zum Hauptmenü",
255+
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
256+
},
257+
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
258+
"message": "Toggle navigation bar",
259+
"description": "The ARIA label for hamburger menu button of mobile navigation"
260+
},
261+
"theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": {
262+
"message": "Expand the dropdown",
263+
"description": "The ARIA label of the button to expand the mobile dropdown navbar item"
264+
},
265+
"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {
266+
"message": "Collapse the dropdown",
267+
"description": "The ARIA label of the button to collapse the mobile dropdown navbar item"
268+
},
269+
"theme.docs.sidebar.expandButtonTitle": {
270+
"message": "Seitenleiste ausklappen",
271+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
272+
},
273+
"theme.docs.sidebar.expandButtonAriaLabel": {
274+
"message": "Seitenleiste ausklappen",
275+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
276+
},
277+
"theme.SearchBar.noResultsText": {
278+
"message": "Keine Ergebnisse"
279+
},
280+
"theme.SearchBar.seeAllOutsideContext": {
281+
"message": "Alle Ergebnisse außerhalb von \"{context}\" anzeigen"
282+
},
283+
"theme.SearchBar.searchInContext": {
284+
"message": "Alle Ergebnisse innerhalb von \"{context}\" anzeigen"
285+
},
286+
"theme.SearchBar.seeAll": {
287+
"message": "Alle Ergebnisse anzeigen"
288+
},
289+
"theme.SearchBar.label": {
290+
"message": "Suche",
291+
"description": "The ARIA label and placeholder for search button"
292+
},
293+
"theme.SearchPage.existingResultsTitle": {
294+
"message": "Suchergebnisse für \"{query}\"",
295+
"description": "The search page title for non-empty query"
296+
},
297+
"theme.SearchPage.emptyResultsTitle": {
298+
"message": "Suche in der Dokumentation",
299+
"description": "The search page title for empty query"
300+
},
301+
"theme.SearchPage.searchContext.everywhere": {
302+
"message": "Überall"
303+
},
304+
"theme.SearchPage.documentsFound.plurals": {
305+
"message": "1 Dokument gefunden|{count} Dokumente gefunden",
306+
"description": "Pluralized label for \"{count} documents found\". 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)"
307+
},
308+
"theme.SearchPage.noResultsText": {
309+
"message": "Es wurden keine Dokumente gefunden",
310+
"description": "The paragraph for empty search result"
311+
},
312+
"theme.blog.post.plurals": {
313+
"message": "Ein Post|{count} Posts",
314+
"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)"
315+
},
316+
"theme.blog.tagTitle": {
317+
"message": "{nPosts} getaggt mit \"{tagName}\"",
318+
"description": "The title of the page for a blog tag"
319+
},
320+
"theme.blog.author.pageTitle": {
321+
"message": "{authorName} - {nPosts}",
322+
"description": "The title of the page for a blog author"
323+
},
324+
"theme.blog.authorsList.pageTitle": {
325+
"message": "Authors",
326+
"description": "The title of the authors page"
327+
},
328+
"theme.blog.authorsList.viewAll": {
329+
"message": "View All Authors",
330+
"description": "The label of the link targeting the blog authors page"
331+
},
332+
"theme.blog.author.noPosts": {
333+
"message": "This author has not written any posts yet.",
334+
"description": "The text for authors with 0 blog post"
335+
},
336+
"theme.contentVisibility.unlistedBanner.title": {
337+
"message": "Unlisted page",
338+
"description": "The unlisted content banner title"
339+
},
340+
"theme.contentVisibility.unlistedBanner.message": {
341+
"message": "This page is unlisted. Search engines will not index it, and only users having a direct link can access it.",
342+
"description": "The unlisted content banner message"
343+
},
344+
"theme.contentVisibility.draftBanner.title": {
345+
"message": "Draft page",
346+
"description": "The draft content banner title"
347+
},
348+
"theme.contentVisibility.draftBanner.message": {
349+
"message": "This page is a draft. It will only be visible in dev and be excluded from the production build.",
350+
"description": "The draft content banner message"
351+
},
352+
"theme.ErrorPageContent.tryAgain": {
353+
"message": "Nochmal versuchen",
354+
"description": "The label of the button to try again rendering when the React error boundary captures an error"
355+
},
356+
"theme.common.skipToMainContent": {
357+
"message": "Zum Hauptinhalt springen",
358+
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
359+
},
360+
"theme.tags.tagsPageTitle": {
361+
"message": "Tags",
362+
"description": "The title of the tag list page"
363+
}
364+
}

0 commit comments

Comments
 (0)