From f4be26d92d78a40a652c83b75ac152b244a10e0f Mon Sep 17 00:00:00 2001 From: Isra Date: Sun, 30 Apr 2023 16:18:20 -0500 Subject: [PATCH] Deutsch! --- src/setup/de/translation.json | 128 -------------------------- src/setup/i18n.ts | 4 + src/setup/locales/de/translation.json | 127 +++++++++++++++++++++++++ 3 files changed, 131 insertions(+), 128 deletions(-) delete mode 100644 src/setup/de/translation.json create mode 100644 src/setup/locales/de/translation.json diff --git a/src/setup/de/translation.json b/src/setup/de/translation.json deleted file mode 100644 index fba37d84..00000000 --- a/src/setup/de/translation.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "global": { - "name": "movie-web" - }, - "search": { - "loading_series": "Fetching your favourite series...", - "loading_movie": "Fetching your favourite movies...", - "loading": "Loading...", - "allResults": "That's all we have!", - "noResults": "We couldn't find anything!", - "allFailed": "Failed to find media, try again!", - "headingTitle": "Search results", - "bookmarks": "Bookmarks", - "continueWatching": "Continue Watching", - "title": "What do you want to watch?", - "placeholder": "What do you want to watch?" - }, - "media": { - "movie": "Movie", - "series": "Series", - "stopEditing": "Stop editing", - "errors": { - "genericTitle": "Whoops, it broke!", - "failedMeta": "Failed to load meta", - "mediaFailed": "We failed to request the media you asked for, check your internet connection and try again.", - "videoFailed": "We encountered an error while playing the video you requested. If this keeps happening please report the issue to the <0>Discord server or on <1>GitHub." - } - }, - "seasons": { - "seasonAndEpisode": "S{{season}} E{{episode}}" - }, - "notFound": { - "genericTitle": "Not found", - "backArrow": "Back to home", - "media": { - "title": "Couldn't find that media", - "description": "We couldn't find the media you requested. Either it's been removed or you tampered with the URL" - }, - "provider": { - "title": "This provider has been disabled", - "description": "We had issues with the provider or it was too unstable to use, so we had to disable it." - }, - "page": { - "title": "Couldn't find that page", - "description": "We looked everywhere: under the bins, in the closet, behind the proxy but ultimately couldn't find the page you are looking for." - } - }, - "searchBar": { - "movie": "Movie", - "series": "Series", - "Search": "Search" - }, - "videoPlayer": { - "findingBestVideo": "Finding the best video for you", - "noVideos": "Whoops, couldn't find any videos for you", - "loading": "Loading...", - "backToHome": "Back to home", - "backToHomeShort": "Back", - "seasonAndEpisode": "S{{season}} E{{episode}}", - "timeLeft": "{{timeLeft}} left", - "finishAt": "Finish at {{timeFinished}}", - "buttons": { - "episodes": "Episodes", - "source": "Source", - "captions": "Captions", - "download": "Download", - "settings": "Settings", - "pictureInPicture": "Picture in Picture", - "playbackSpeed": "Playback speed" - }, - "popouts": { - "back": "Go back", - "sources": "Sources", - "seasons": "Seasons", - "captions": "Captions", - "playbackSpeed": "Playback speed", - "customPlaybackSpeed": "Custom playback speed", - "captionPreferences": { - "title": "Customize", - "delay": "Delay", - "fontSize": "Size", - "opacity": "Opacity", - "color": "Color" - }, - "episode": "E{{index}} - {{title}}", - "noCaptions": "No captions", - "linkedCaptions": "Linked captions", - "customCaption": "Custom caption", - "uploadCustomCaption": "Upload caption", - "noEmbeds": "No embeds were found for this source", - - "errors": { - "loadingWentWong": "Something went wrong loading the episodes for {{seasonTitle}}", - "embedsError": "Something went wrong loading the embeds for this thing that you like" - }, - "descriptions": { - "sources": "What provider do you want to use?", - "embeds": "Choose which video to view", - "seasons": "Choose which season you want to watch", - "episode": "Pick an episode", - "captions": "Choose a subtitle language", - "captionPreferences": "Make subtitles look how you want it", - "playbackSpeed": "Change the playback speed" - } - }, - "errors": { - "fatalError": "The video player encounted a fatal error, please report it to the <0>Discord server or on <1>GitHub." - } - }, - "settings": { - "title": "Settings", - "language": "Language", - "captionLanguage": "Caption Language" - }, - "v3": { - "newSiteTitle": "New version now released!", - "newDomain": "https://movie-web.app", - "newDomainText": "movie-web will soon be moving to a new domain: <0>https://movie-web.app. Make sure to update all your bookmarks as <1>the old website will stop working on {{date}}.", - "tireless": "We've worked tirelessly on this new update, we hope you will enjoy what we've been cooking up for the past months.", - "leaveAnnouncement": "Take me there!" - }, - "casting": { - "casting": "Casting to device..." - }, - "errors": { - "offline": "Check your internet connection" - } -} diff --git a/src/setup/i18n.ts b/src/setup/i18n.ts index 56ac9b0f..65b9102b 100644 --- a/src/setup/i18n.ts +++ b/src/setup/i18n.ts @@ -4,6 +4,7 @@ import { initReactI18next } from "react-i18next"; // Languages import { captionLanguages } from "./iso6391"; +import de from "./locales/de/translation.json"; import en from "./locales/en/translation.json"; import fr from "./locales/fr/translation.json"; import nl from "./locales/nl/translation.json"; @@ -22,6 +23,9 @@ const locales = { fr: { translation: fr, }, + de: { + translation: de, + }, }; i18n // detect user language diff --git a/src/setup/locales/de/translation.json b/src/setup/locales/de/translation.json new file mode 100644 index 00000000..82d2fe64 --- /dev/null +++ b/src/setup/locales/de/translation.json @@ -0,0 +1,127 @@ +{ + "global": { + "name": "movie-web" + }, + "search": { + "loading_series": "Auf der Suche nach Ihrer Lieblingsserie...", + "loading_movie": "Auf der Suche nach Ihren Lieblingsfilmen...", + "loading": "Wird geladen...", + "allResults": "Das ist alles, was wir haben!", + "noResults": "Wir haben nichts gefunden!", + "allFailed": "Das Medium wurde nicht gefunden, bitte versuchen Sie es erneut!", + "headingTitle": "Suchergebnisse", + "bookmarks": "Favoriten", + "continueWatching": "Weiter ansehen", + "title": "Was willst du sehen?", + "placeholder": "Was willst du sehen?" + }, + "media": { + "movie": "Filme", + "series": "Serie", + "stopEditing": "Beenden Sie die Bearbeitung", + "errors": { + "genericTitle": "Hoppla, etwas ist falsch gegangen!", + "failedMeta": "Metadaten konnten nicht geladen werden", + "mediaFailed": "Wir konnten die angeforderten Medien nicht abrufen.", + "videoFailed": "Beim Abspielen des angeforderten Videos ist ein Fehler aufgetreten. <0>Discord Oder weiter <1>GitHub." + } + }, + "seasons": { + "seasonAndEpisode": "S{{season}} E{{episode}}" + }, + "notFound": { + "genericTitle": "Nicht gefunden", + "backArrow": "Zurück zur Startseite", + "media": { + "title": "Das Medium konnte nicht gefunden werden", + "description": "Wir konnten die angeforderten Medien nicht finden." + }, + "provider": { + "title": "Dieser Anbieter wurde deaktiviert", + "description": "Wir hatten Probleme mit dem Anbieter oder er war zu instabil, sodass wir ihn deaktivieren mussten." + }, + "page": { + "title": "Diese Seite kann nicht gefunden werden", + "description": "Wir haben überall gesucht, aber am Ende konnten wir die gesuchte Seite nicht finden." + } + }, + "searchBar": { + "movie": "Film", + "series": "Serie", + "Search": "Forschen" + }, + "videoPlayer": { + "findingBestVideo": "Auf der Suche nach dem besten Video für Sie", + "noVideos": "Entschuldigung, wir konnten keine Videos für Sie finden", + "loading": "Wird geladen...", + "backToHome": "Zurück zur Startseite", + "backToHomeShort": "Rückmeldung", + "seasonAndEpisode": "S{{season}} E{{episode}}", + "timeLeft": "{{timeLeft}} bleibt", + "finishAt": "Ende um {{timeFinished}}", + "buttons": { + "episodes": "Folgen", + "source": "Quelle", + "captions": "Untertitel", + "download": "Herunterladen", + "settings": "Einstellungen", + "pictureInPicture": "Bild-im-Bild", + "playbackSpeed": "Wiedergabegeschwindigkeit" + }, + "popouts": { + "back": "Zurück", + "sources": "Quellen", + "seasons": "Saison", + "captions": "Untertitel", + "playbackSpeed": "Lesegeschwindigkeit", + "customPlaybackSpeed": "Benutzerdefinierte Wiedergabegeschwindigkeit", + "captionPreferences": { + "title": "Personifizieren", + "delay": "Zeitlimit", + "fontSize": "Größe", + "opacity": "Opazität", + "color": "Farbe" + }, + "episode": "E{{index}} - {{title}}", + "noCaptions": "Keine Untertitel", + "linkedCaptions": "Verbundene Untertitel", + "customCaption": "Benutzerdefinierte Untertitel", + "uploadCustomCaption": "Untertitel hochladen", + "noEmbeds": "Für diese Quelle wurde kein eingebetteter Inhalt gefunden", + "errors": { + "loadingWentWong": "Beim Laden der Folgen für {{seasonTitle}} ist ein Problem aufgetreten ", + "embedsError": "Beim Laden der eingebetteter Medien ist ein Problem aufgetreten" + }, + "descriptions": { + "sources": "Welchen Anbieter möchten Sie nutzen?", + "embeds": "Wählen Sie das Video aus, das Sie ansehen möchten", + "seasons": "Wählen Sie die Staffel aus, die Sie sehen möchten", + "episode": "Wählen Sie eine Folge aus", + "captions": "Wählen Sie eine Untertitelsprache", + "captionPreferences": "Passen Sie das Erscheinungsbild von Untertiteln an", + "playbackSpeed": "Wiedergabegeschwindigkeit ändern" + } + }, + "errors": { + "fatalError": "Der Videoplayer hat einen Fehler festgestellt, bitte melden Sie ihn dem Server <0>Discord Oder weiter <1>GitHub." + } + }, + "settings": { + "title": "Einstellungen", + "language": "Sprache", + "captionLanguage": "Untertitelsprache" + }, + "v3": { + "newSiteTitle": "Neue Version verfügbar!", + "newDomain": "https://movie-web.app", + "newDomainText": "movie-web zieht in Kürze auf eine neue Domain um: <0>https://movie-web.app. <1>Die alte Website funktioniert nicht mehr {{date}}.", + "tireless": "Wir haben unermüdlich an diesem neuen Update gearbeitet und hoffen, dass Ihnen das gefällt, was wir in den letzten Monaten vorbereitet haben.", + "leaveAnnouncement": "Bring mich dahin!" + }, + "casting": { + "casting": "An Gerät übertragen..." + }, + "errors": { + "offline": "Ihre Internetverbindung ist instabil" + } +}