From c9ca475f64e0a232ca93143513178b1a6049a9b5 Mon Sep 17 00:00:00 2001 From: TheFrodoDE Date: Sun, 8 Sep 2024 01:07:37 +0200 Subject: [PATCH] language change to german for main --- src/components/Archive/VodPreview.tsx | 4 ++-- src/components/Authentication/Login.tsx | 4 ++-- src/components/Authentication/Register.tsx | 6 +++--- src/components/Channel/NoVideosFound.tsx | 2 +- src/components/Error/Unauthorized.tsx | 7 +++---- src/components/Landing/Hero.tsx | 7 ++++--- src/components/Landing/LoggedInHero.tsx | 2 +- src/components/Video/ExperimentalChatPlayer.tsx | 2 +- src/pages/archive/index.tsx | 2 +- src/pages/channels/[channelName].tsx | 2 +- src/pages/channels/index.tsx | 2 +- src/pages/playlists/[playlistId].tsx | 2 +- src/pages/playlists/index.tsx | 2 +- src/pages/search/index.tsx | 2 +- src/pages/vods/[vodId].tsx | 4 ++-- 15 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/components/Archive/VodPreview.tsx b/src/components/Archive/VodPreview.tsx index 2ace9eb..3a0aefe 100644 --- a/src/components/Archive/VodPreview.tsx +++ b/src/components/Archive/VodPreview.tsx @@ -15,11 +15,11 @@ export const VodPreview = ({ video }: { video: PlatformVideoInfo }) => {
- Created At: + Datum der Veröffentlichung: {video.created_at}
- Duration: + Dauer: {video.duration}
diff --git a/src/components/Authentication/Login.tsx b/src/components/Authentication/Login.tsx index d7c3517..f3eb37c 100644 --- a/src/components/Authentication/Login.tsx +++ b/src/components/Authentication/Login.tsx @@ -47,7 +47,7 @@ export function LoginForm(props: PaperProps) { return ( - Welcome to Ganymede, login below + Willkommen bei VODArchiv.net {publicRuntimeConfig.SHOW_SSO_LOGIN_BUTTON != "false" && ( @@ -95,7 +95,7 @@ export function LoginForm(props: PaperProps) { - Don't have an account? Register + Du hast noch keinen Account? Dann Registriere dich hier diff --git a/src/components/Channel/NoVideosFound.tsx b/src/components/Channel/NoVideosFound.tsx index 69e8b1b..fec460d 100644 --- a/src/components/Channel/NoVideosFound.tsx +++ b/src/components/Channel/NoVideosFound.tsx @@ -5,7 +5,7 @@ const ChannelNoVideosFound = () => { return (
- No videos found + Keine videos gefunden
diff --git a/src/components/Error/Unauthorized.tsx b/src/components/Error/Unauthorized.tsx index 0650d5c..c0df8ff 100644 --- a/src/components/Error/Unauthorized.tsx +++ b/src/components/Error/Unauthorized.tsx @@ -14,18 +14,17 @@ export function Unauthorized() { return (
401
- Unauthorized. + Nicht Berechtigt. - Either you are not logged in or you do not have permission to view this - page. + Entweder bist du nicht eingeloggt oder du hast keine Berechtigung, diese Seite anzusehen. diff --git a/src/components/Landing/Hero.tsx b/src/components/Landing/Hero.tsx index 824b7f2..ee24433 100644 --- a/src/components/Landing/Hero.tsx +++ b/src/components/Landing/Hero.tsx @@ -10,19 +10,20 @@ export function LandingHero() {
- Ganymede + VODArchiv - Effortlessly preserve live streams and VODs. Every archive comes complete with a chat replay and a rendered chat experience. + Deine Plattform, wenn es um Twitch VOD's geht! + Müheloses Speichern von Livestreams und VODs. Jedes Archiv enthält einen Chat-Wiederholung und eine gerenderte Chat-Erfahrung.
diff --git a/src/components/Landing/LoggedInHero.tsx b/src/components/Landing/LoggedInHero.tsx index 43c4338..80abc89 100644 --- a/src/components/Landing/LoggedInHero.tsx +++ b/src/components/Landing/LoggedInHero.tsx @@ -6,7 +6,7 @@ export function LandingLoggedInHero() { return (
- Ganymede + VODArchiv
); diff --git a/src/components/Video/ExperimentalChatPlayer.tsx b/src/components/Video/ExperimentalChatPlayer.tsx index d99e31b..445fb7c 100644 --- a/src/components/Video/ExperimentalChatPlayer.tsx +++ b/src/components/Video/ExperimentalChatPlayer.tsx @@ -356,7 +356,7 @@ const ExperimentalChatPlayer = ({ vod }: any) => { _id: randomId(), content_offset_seconds: 0, commenter: { - display_name: "Ganymede", + display_name: "VODChat", }, message: { body: message, diff --git a/src/pages/archive/index.tsx b/src/pages/archive/index.tsx index 28a61a2..a8a47f2 100644 --- a/src/pages/archive/index.tsx +++ b/src/pages/archive/index.tsx @@ -39,7 +39,7 @@ const ArchivePage = () => { ); const [channelData, setChannelData] = useState([]); const [channelId, setChannelID] = useState(""); - useDocumentTitle("Archive - Ganymede"); + useDocumentTitle("Archiv - VODArchiv"); const qualityOptions = [ { label: "Best", value: "best" }, diff --git a/src/pages/channels/[channelName].tsx b/src/pages/channels/[channelName].tsx index 9f8ceba..f6bb881 100644 --- a/src/pages/channels/[channelName].tsx +++ b/src/pages/channels/[channelName].tsx @@ -55,7 +55,7 @@ const ChannelPage = (props: any) => { { value: "clip", label: "Clip" }, ]; - useDocumentTitle(`${props.channel.display_name} - Ganymede`); + useDocumentTitle(`${props.channel.display_name} - VODArchiv`); const queryClient = useQueryClient(); diff --git a/src/pages/channels/index.tsx b/src/pages/channels/index.tsx index d0482b1..ef3b339 100644 --- a/src/pages/channels/index.tsx +++ b/src/pages/channels/index.tsx @@ -21,7 +21,7 @@ const ChannelsPage = () => { ), }); - if (error) return
failed to load
; + if (error) return
Fehler beim Laden
; if (isLoading) return ; return ( diff --git a/src/pages/playlists/[playlistId].tsx b/src/pages/playlists/[playlistId].tsx index e50dfb7..50aa036 100644 --- a/src/pages/playlists/[playlistId].tsx +++ b/src/pages/playlists/[playlistId].tsx @@ -16,7 +16,7 @@ const PlaylistPage = (props: any) => { const [deletePlaylistModalOpened, setDeletePlaylistModalOpened] = useState(false); - useDocumentTitle(`Ganymede - Playlist ${props.playlistId}`); + useDocumentTitle(`VODArchiv - Playlist ${props.playlistId}`); const { isLoading, error, data } = useQuery({ queryKey: ["playlist", props.playlistId], diff --git a/src/pages/playlists/index.tsx b/src/pages/playlists/index.tsx index 9be4bf0..365d647 100644 --- a/src/pages/playlists/index.tsx +++ b/src/pages/playlists/index.tsx @@ -9,7 +9,7 @@ import classes from "./playlists.module.css" const PlaylistsPage = () => { const [opened, setOpened] = useState(false); - useDocumentTitle("Playlists - Ganymede"); + useDocumentTitle("Playlists - VODArchiv"); const closeModalCallback = () => { setOpened(false); diff --git a/src/pages/search/index.tsx b/src/pages/search/index.tsx index 5a9bff8..53a35c2 100644 --- a/src/pages/search/index.tsx +++ b/src/pages/search/index.tsx @@ -30,7 +30,7 @@ const SearchPage = (props: SearchPageProps) => { const [limit, setLimit] = useState(24); const handlers = useRef(); - useDocumentTitle("Ganymede - Search"); + useDocumentTitle("VODArchiv - Search"); useEffect(() => { if (props.q && props.q.length > 0) { diff --git a/src/pages/vods/[vodId].tsx b/src/pages/vods/[vodId].tsx index b1f3571..ef8fa94 100644 --- a/src/pages/vods/[vodId].tsx +++ b/src/pages/vods/[vodId].tsx @@ -48,7 +48,7 @@ const VodPage = (props: any) => { const isMobile = useMediaQuery(`(max-width: 1000px)`); - useDocumentTitle(`Ganymede - VOD ${props.vodId}`); + useDocumentTitle(`VODArchiv - VOD ${props.vodId}`); const { data } = useQuery({ queryKey: ["vod", props.vodId], @@ -89,7 +89,7 @@ const VodPage = (props: any) => { return (
- {data.title} - Ganymede + {data.title} - VODArchiv {checkLoginRequired() && } {!checkLoginRequired() && (