Skip to content

Commit

Permalink
Merge pull request #230
Browse files Browse the repository at this point in the history
  • Loading branch information
MAHcodes committed Oct 3, 2022
2 parents cbc8666 + e79d9ba commit 6f4349f
Show file tree
Hide file tree
Showing 8 changed files with 374 additions and 7 deletions.
14 changes: 13 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "en",
locales: ["en"],
locales: ["en", "de"],
localeConfigs: {
en: {
label: "English",
},
de: {
label: "Deutsch",
},
},
},

presets: [
Expand Down Expand Up @@ -150,6 +158,10 @@ const config = {
position: "right",
className: "navbar-icon navbar-icon-github",
},
{
type: "localeDropdown",
position: "right",
},
],
},
prism: {
Expand Down
269 changes: 269 additions & 0 deletions i18n/de/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
{
"theme.ErrorPageContent.title": {
"message": "Die Seite ist abgestürzt.",
"description": "The title of the fallback page when the page crashed"
},
"theme.ErrorPageContent.tryAgain": {
"message": "Nochmal versuchen",
"description": "The label of the button to try again when the page crashed"
},
"theme.NotFound.title": {
"message": "Seite nicht gefunden",
"description": "The title of the 404 page"
},
"theme.NotFound.p1": {
"message": "Wir konnten nicht finden, wonach Sie gesucht haben.",
"description": "The first paragraph of the 404 page"
},
"theme.NotFound.p2": {
"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.",
"description": "The 2nd paragraph of the 404 page"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "Zurück nach oben scrollen",
"description": "The ARIA label for the back to top button"
},
"theme.admonition.note": {
"message": "note",
"description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "tip",
"description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.danger": {
"message": "danger",
"description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "info",
"description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.caution": {
"message": "caution",
"description": "The default label used for the Caution admonition (:::caution)"
},
"theme.blog.archive.title": {
"message": "Archiv",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "Archiv",
"description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "Navigation der Blog-Listenseite",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "Neuere Einträge",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "Ältere Einträge",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "Blog Post Seiten Navigation",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "Neuer Post",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "Älterer Post",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.post.plurals": {
"message": "Ein Post|{count} Posts",
"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.tagTitle": {
"message": "{nPosts} getaggt mit \"{tagName}\"",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "Alle Tags anzeigen",
"description": "The label of the link targeting the tag list page"
},
"theme.colorToggle.ariaLabel": {
"message": "Umschalten zwischen dunkler und heller Ansicht (momentan {mode})",
"description": "The ARIA label for the navbar color mode toggle"
},
"theme.colorToggle.ariaLabel.mode.dark": {
"message": "dunkler Modus",
"description": "The name for the dark color mode"
},
"theme.colorToggle.ariaLabel.mode.light": {
"message": "heller Modus",
"description": "The name for the light color mode"
},
"theme.docs.breadcrumbs.home": {
"message": "Home page",
"description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.docs.breadcrumbs.navAriaLabel": {
"message": "Breadcrumbs",
"description": "The ARIA label for the breadcrumbs"
},
"theme.docs.DocCard.categoryDescription": {
"message": "{count} Einträge",
"description": "The default description for a category card in the generated index about how many items this category includes"
},
"theme.docs.paginator.navAriaLabel": {
"message": "Dokumentation Seiten Navigation",
"description": "The ARIA label for the docs pagination"
},
"theme.docs.paginator.previous": {
"message": "Zurück",
"description": "The label used to navigate to the previous doc"
},
"theme.docs.paginator.next": {
"message": "Weiter",
"description": "The label used to navigate to the next doc"
},
"theme.docs.tagDocListPageTitle.nDocsTagged": {
"message": "Ein doc getaggt|{count} docs getaggt",
"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)"
},
"theme.docs.tagDocListPageTitle": {
"message": "{nDocsTagged} mit \"{tagName}\"",
"description": "The title of the page for a docs tag"
},
"theme.docs.versionBadge.label": {
"message": "Version: {versionLabel}"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "Das ist die unveröffentlichte Dokumentation für {siteTitle} {versionLabel}.",
"description": "The label used to tell the user that he's browsing an unreleased doc version"
},
"theme.docs.versions.unmaintainedVersionLabel": {
"message": "Das ist die Dokumentation für {siteTitle} {versionLabel} und wird nicht weiter gewartet.",
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
},
"theme.docs.versions.latestVersionSuggestionLabel": {
"message": "Für die aktuellste Dokumentation bitte auf {latestVersionLink} ({versionLabel}) gehen.",
"description": "The label used to tell the user to check the latest version"
},
"theme.docs.versions.latestVersionLinkLabel": {
"message": "letzte Version",
"description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "Diese Seite bearbeiten",
"description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "Direkter Link zur Überschrift",
"description": "Title for link to heading"
},
"theme.lastUpdated.atDate": {
"message": " am {date}",
"description": "The words used to describe on which date a page has been last updated"
},
"theme.lastUpdated.byUser": {
"message": " von {user}",
"description": "The words used to describe by who the page has been last updated"
},
"theme.lastUpdated.lastUpdatedAtBy": {
"message": "Letztes Update{atDate}{byUser}",
"description": "The sentence used to display when a page has been last updated, and by who"
},
"theme.navbar.mobileVersionsDropdown.label": {
"message": "Versionen",
"description": "The label for the navbar versions dropdown on mobile view"
},
"theme.common.skipToMainContent": {
"message": "Zum Hauptinhalt springen",
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
},
"theme.tags.tagsListLabel": {
"message": "Tags:",
"description": "The label alongside a tag list"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "Schließen",
"description": "The ARIA label for close button of announcement bar"
},
"theme.blog.sidebar.navAriaLabel": {
"message": "Navigation der letzten Beiträge im Blog",
"description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.CodeBlock.copied": {
"message": "Kopiert",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "In die Zwischenablage kopieren",
"description": "The ARIA label for copy code blocks button"
},
"theme.CodeBlock.copy": {
"message": "Kopieren",
"description": "The copy button label on code blocks"
},
"theme.CodeBlock.wordWrapToggle": {
"message": "Toggle word wrap",
"description": "The title attribute for toggle word wrapping button of code block lines"
},
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
"message": "Umschalten der Seitenleiste mit einklappbarer Kategorie '{label}'",
"description": "The ARIA label to toggle the collapsible sidebar category"
},
"theme.navbar.mobileLanguageDropdown.label": {
"message": "Sprachen",
"description": "The label for the mobile language switcher dropdown"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "Auf dieser Seite",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.blog.post.readMore": {
"message": "Mehr lesen",
"description": "The label used in blog post item excerpts to link to full blog posts"
},
"theme.blog.post.readMoreLabel": {
"message": "Mehr lesen über {title}",
"description": "The ARIA label for the link to full blog posts from excerpts"
},
"theme.blog.post.readingTime.plurals": {
"message": "Eine Minute Lesezeit|{readingTime} Minuten Lesezeit",
"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)"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "Seitenleiste einklappen",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.collapseButtonAriaLabel": {
"message": "Seitenleiste einklappen",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
"message": "← Zurück zum Hauptmenü",
"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)"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "Seitenleiste ausklappen",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.sidebar.expandButtonAriaLabel": {
"message": "Seitenleiste ausklappen",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.tags.tagsPageTitle": {
"message": "Tags",
"description": "The title of the tag list page"
},
"Install": {
"message": "Installation"
},
"Support": {
"message": "Unterstützung"
},
"LunarVim": {
"message": "LunarVim"
},
"Cool slogan about LunarVim": {
"message": "Eine IDE-Konfiguration für Neovim"
}
}
14 changes: 14 additions & 0 deletions i18n/de/docusaurus-plugin-content-blog/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": {
"message": "Blog",
"description": "The title for the blog used in SEO"
},
"description": {
"message": "Blog",
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Beiträge",
"description": "The label for the left sidebar"
}
}
30 changes: 30 additions & 0 deletions i18n/de/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version.label": {
"message": "Next",
"description": "The label for version current"
},
"sidebar.tutorialSidebar.category.Configuration": {
"message": "Konfiguration",
"description": "The label for category Configuration in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Languages": {
"message": "Programmiersprachen",
"description": "The label for category Languages in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Plugins": {
"message": "Plugins",
"description": "The label for category Plugins in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.For Developers": {
"message": "Für Entwickler",
"description": "The label for category For Developers in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Community": {
"message": "Community",
"description": "The label for category Community in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Sponsor": {
"message": "Spenden",
"description": "The label for category Sponsor in sidebar tutorialSidebar"
}
}
23 changes: 23 additions & 0 deletions i18n/de/docusaurus-plugin-content-docs/current/01-introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Einleitung
---

<img src="../img/lunarvim_logo.png" alt="LunarVim Logo" />

# Einleitung

LunarVim ist eine auf Neovim (>= 0.7.2) basierende Text-Editor Konfiguration, die sich auf die schnelle Bereitstellung einer voll funktionsfähigen, erweiterbaren und benutzerfreundlichen Entwicklungsumgebung konzentriert.

LunarVim verwendet neue Neovim Funktionen wie [Treesitter](https://tree-sitter.github.io/tree-sitter/) und das [Language Server Protocol](https://en.wikipedia.org/wiki/Language_Server_Protocol).

## Meinungsstark

LunarVim wird mit einer vernünftigen Standardkonfiguration ausgeliefert. Zu den Funktionen gehören Autovervollständigung, integrierte Terminals, Datei-Explorer, Fuzzy-Finder, LSP, Linting, Formatierung Debugging.

## Erweiterbar

Nur weil LunarVim stark von den Meinungen der Entwickler beeinflusst ist, heißt das nicht, dass Sie diese teilen müssen. Jedes eingebaute Plugin kann in der Datei `config.lua` ein- oder ausgeschaltet werden. Hier können Sie Ihre eigenen Plugins, Keymaps, Autocommands, Leader Bindings und alle anderen benutzerdefinierten Einstellungen hinzufügen.

## Schnell

Damit Sie nicht zwischen Funktionen und Geschwindigkeit entscheiden müssen, versucht LunarVim alle Plugins "lazy" zu laden. So spielt es keine Rolle, ob sie ein Plugin aktiviert oder deaktiviert haben.
18 changes: 18 additions & 0 deletions i18n/de/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"title": {
"message": "LunarVim",
"description": "The title in the navbar"
},
"item.label.Docs": {
"message": "Dokumentation",
"description": "Navbar item with label Docs"
},
"item.label.Blog": {
"message": "Blog",
"description": "Navbar item with label Blog"
},
"item.label.GitHub": {
"message": "GitHub",
"description": "Navbar item with label GitHub"
}
}
2 changes: 1 addition & 1 deletion src/components/Preview/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Preview = () => {
>
{siteConfig.customFields.previewImgs.map((img, idx) => (
<div key={img.src + idx}>
<img src={img.src} alt={img.alt} loading="lazy" />
<img src={img.src} alt={img.alt} loading="lazy" /> // does not work with i18n at the moment...
</div>
))}
</Flickity>
Expand Down

0 comments on commit 6f4349f

Please sign in to comment.