feat(i18n): German translation (#808)
1 files added
1 files modified
| | |
| | | import { Translation } from "./locales/definition" |
| | | import en from "./locales/en-US" |
| | | import fr from "./locales/fr-FR" |
| | | import de from "./locales/de-DE" |
| | | |
| | | export const TRANSLATIONS = { |
| | | "en-US": en, |
| | | "fr-FR": fr, |
| | | "de-DE": de, |
| | | } as const |
| | | |
| | | export const i18n = (locale: ValidLocale): Translation => TRANSLATIONS[locale] |
| New file |
| | |
| | | import { Translation } from "./definition" |
| | | |
| | | export default { |
| | | propertyDefaults: { |
| | | title: "Unbenannt", |
| | | description: "Keine Beschreibung angegeben", |
| | | }, |
| | | components: { |
| | | backlinks: { |
| | | title: "Backlinks", |
| | | noBacklinksFound: "Keine Backlinks gefunden", |
| | | }, |
| | | themeToggle: { |
| | | lightMode: "Light Mode", |
| | | darkMode: "Dark Mode", |
| | | }, |
| | | explorer: { |
| | | title: "Explorer", |
| | | }, |
| | | footer: { |
| | | createdWith: "Erstellt mit", |
| | | }, |
| | | graph: { |
| | | title: "Graphansicht", |
| | | }, |
| | | recentNotes: { |
| | | title: "Zuletzt bearbeitete Seiten", |
| | | seeRemainingMore: ({ remaining }) => `${remaining} weitere ansehen →`, |
| | | }, |
| | | transcludes: { |
| | | transcludeOf: ({ targetSlug }) => `Transklusion von ${targetSlug}`, |
| | | linkToOriginal: "Link zum Original", |
| | | }, |
| | | search: { |
| | | title: "Suche", |
| | | searchBarPlaceholder: "Suche nach etwas", |
| | | }, |
| | | tableOfContents: { |
| | | title: "Inhaltsverzeichnis", |
| | | }, |
| | | }, |
| | | pages: { |
| | | rss: { |
| | | recentNotes: "Zuletzt bearbeitete Seiten", |
| | | lastFewNotes: ({ count }) => `Letzte ${count} Seiten`, |
| | | }, |
| | | error: { |
| | | title: "Nicht gefunden", |
| | | notFound: "Diese Seite ist entweder nicht öffentlich oder existiert nicht.", |
| | | }, |
| | | folderContent: { |
| | | folder: "Ordner", |
| | | itemsUnderFolder: ({ count }) => |
| | | count === 1 ? "1 Datei in diesem Ordner" : `${count} Dateien in diesem Ordner.`, |
| | | }, |
| | | tagContent: { |
| | | tag: "Tag", |
| | | tagIndex: "Tag-Übersicht", |
| | | itemsUnderTag: ({ count }) => |
| | | count === 1 ? "1 Datei mit diesem Tag" : `${count} Dateien mit diesem Tag.`, |
| | | showingFirst: ({ count }) => `Die ersten ${count} Tags werden angezeigt.`, |
| | | totalTags: ({ count }) => `${count} Tags insgesamt.`, |
| | | }, |
| | | }, |
| | | } as const satisfies Translation |