Skip to content

Commit

Permalink
v.1.4.3 DE_DE
Browse files Browse the repository at this point in the history
Change language from EN to DE
  • Loading branch information
TheFrodo committed Sep 12, 2023
1 parent ecbd5ad commit f5a6c4a
Show file tree
Hide file tree
Showing 38 changed files with 107 additions and 118 deletions.
6 changes: 3 additions & 3 deletions src/components/Archive/VodPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ export const VodPreview = ({ vod }: TwitchVODResponse) => {
</Title>
<div>
<div>
<span>Created At: </span>
<span>Erstelldatum: </span>
{vod.created_at}
</div>
<div>
<span>Duration: </span>
<span>Dauer: </span>
{vod.duration}
</div>
<div>
<span>Views: </span>
<span>Aufrufe: </span>
{vod.view_count}
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions src/components/Authentication/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function LoginForm(props: PaperProps) {
validate: {
password: (val) =>
val.length <= 8
? "Password should include at least 8 characters"
? "Das Passwort sollte mindestens 8 Zeichen enthalten"
: null,
},
});
Expand All @@ -55,7 +55,7 @@ export function LoginForm(props: PaperProps) {
return (
<Paper radius="md" p="xl" withBorder {...props}>
<Text size="lg" weight={500}>
Welcome to Ganymede
Willkommen bei VodArchiv
</Text>

{publicRuntimeConfig.SHOW_SSO_LOGIN_BUTTON != "false" ? (
Expand All @@ -64,11 +64,11 @@ export function LoginForm(props: PaperProps) {
<Link
href={`${publicRuntimeConfig.API_URL}/api/v1/auth/oauth/login`}
>
<SSOButton>Login with SSO</SSOButton>
<SSOButton>Anmeldung über SSO</SSOButton>
</Link>
</Group>
<Divider
label="Or continue with username"
label="Oder weiter mit Benutzername"
labelPosition="center"
my="lg"
/>
Expand All @@ -82,7 +82,7 @@ export function LoginForm(props: PaperProps) {
<TextInput
required
label="Username"
placeholder="Your username"
placeholder="Dein Benutzername"
value={form.values.username}
onChange={(event) =>
form.setFieldValue("username", event.currentTarget.value)
Expand All @@ -93,14 +93,14 @@ export function LoginForm(props: PaperProps) {
<PasswordInput
required
label="Password"
placeholder="Your password"
placeholder="Dein Passwort"
value={form.values.password}
onChange={(event) =>
form.setFieldValue("password", event.currentTarget.value)
}
error={
form.errors.password &&
"Password should include at least 8 characters"
"Das Passwort sollte mindestens 8 Zeichen enthalten"
}
/>
</Stack>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Authentication/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function RegisterForm(props: PaperProps) {
validate: {
password: (val) =>
val.length <= 7
? "Password should include at least 8 characters"
? "Das Passwort sollte mindestens 8 Zeichen enthalten"
: null,
},
});
Expand Down Expand Up @@ -87,15 +87,15 @@ export function RegisterForm(props: PaperProps) {
}
error={
form.errors.password &&
"Password should include at least 8 characters"
"Das Passwort sollte mindestens 8 Zeichen enthalten"
}
/>
</Stack>

<Group position="apart" mt="xl">
<Link href="/login">
<Anchor component="button" type="button" color="dimmed" size="xs">
Have an account? Login
Du hast bereits einen Account? Dann logge dich ein
</Anchor>
</Link>
<Button color="violet" type="submit" loading={loading}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Channel/NoVideosFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ChannelNoVideosFound = () => {
return (
<div>
<Center>
No videos found
Keine videos gefunden
<Image src="/images/Sadge.webp" ml={5} height={19} width={27} />
</Center>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Error/Unauthorized.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ export function Unauthorized() {
return (
<Container className={classes.root}>
<div className={classes.label}>401</div>
<Title className={classes.title}>Unauthorized.</Title>
<Title className={classes.title}>Unberechtigt.</Title>
<Text
color="dimmed"
size="lg"
align="center"
className={classes.description}
>
Either you are not logged in or you do not have permission to view this
page.
Entweder bist du nicht eingeloggt oder hast Keine
Berechtigung zu dieser Seite
</Text>
<Group position="center">
<Link href="/">
<Button variant="subtle" size="md">
Take me back to home page
Zurück zur Startseite
</Button>
</Link>
</Group>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Landing/ContinueWatching.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ const LandingContinueWatching = () => {
}),
});

if (error) return <div>failed to load</div>;
if (error) return <div>fehler beim laden</div>;
if (isLoading) return <GanymedeLoader />;

return (
<div>
{data?.data?.length > 0 && (
<div>
<Center>
<Title className={classes.title}>Continue Watching</Title>
<Title className={classes.title}>Weiterschauen</Title>
</Center>
<Container size="2xl">
<div className={classes.vodSection}>
Expand Down
23 changes: 6 additions & 17 deletions src/components/Landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,30 +98,19 @@ export function LandingHero() {
<div className={classes.inner}>
<div className={classes.content}>
<Title className={classes.title}>
Twitch{" "}
<Text
component="span"
inherit
variant="gradient"
gradient={{ from: "orange", to: "purple" }}
>
Live Stream{" "}
</Text>{" "}
and{" "}
<Text
component="span"
inherit
variant="gradient"
gradient={{ from: "purple", to: "orange" }}
>
VOD{" "}
</Text>{" "}
archiving platform
VodArchiv.net{" "}
</Text>
</Title>

<Text className={classes.description} mt={30}>
Seamlessly archive live streams and vods. Each archive includes a
chat replay and rendered chat.
Nahtlose Archivierung von Livestreams und Videoclips.
Jedes Archiv enthält eine Chat-Wiederholung und einen gerenderten Chat.
</Text>

<div className={classes.landingButtons}>
Expand All @@ -133,7 +122,7 @@ export function LandingHero() {
className={classes.control}
mt={40}
>
Channels
Zu den Kanälen
</Button>
</Link>

Expand All @@ -152,4 +141,4 @@ export function LandingHero() {
</Container>
</div>
);
}
}
2 changes: 1 addition & 1 deletion src/components/Landing/LoggedInHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function LandingLoggedInHero() {
return (
<div className={classes.root}>
<Center>
<Title className={classes.title}>Ganymede</Title>
<Title className={classes.title}>VodArchiv</Title>
</Center>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Landing/Recent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const LandingRecentlyArchived = () => {
}),
});

if (error) return <div>failed to load</div>;
if (error) return <div>fehler beim Laden</div>;
if (isLoading) return <GanymedeLoader />;

return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/Playlist/DeletePlaylistModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const DeletePlaylistModal = ({ handleClose, playlist }) => {

return (
<div>
<div>Are you sure you want to delete this playlist?</div>
<div>Bist du sicher, dass du die Playlist löschen möchtest</div>
<div>
Playlist ID: <Code>{playlist.id}</Code>
</div>
Expand All @@ -51,7 +51,7 @@ const DeletePlaylistModal = ({ handleClose, playlist }) => {
color="red"
loading={isSubmitting}
>
Delete
Löschen
</Button>
</div>
);
Expand Down
8 changes: 4 additions & 4 deletions src/components/Playlist/EditPlaylistModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const EditPlaylistModal = ({ handleClose, playlist }) => {
setIsSubmitting(false);
queryClient.invalidateQueries(["playlist", playlist.id]);
showNotification({
title: "Playlist Edited",
message: "Playlist has been edited successfully",
title: "Playlist bearbeitet",
message: "Playlist wurde erfolgreich bearbeitet!",
});
handleClose();
});
Expand All @@ -47,7 +47,7 @@ const EditPlaylistModal = ({ handleClose, playlist }) => {
value={description}
onChange={(e) => setDescription(e.target.value)}
placeholder="Description"
label="Playlist Description"
label="Playlist Beschreibung"
/>
<Button
onClick={() => editPlaylist.mutate()}
Expand All @@ -58,7 +58,7 @@ const EditPlaylistModal = ({ handleClose, playlist }) => {
color="violet"
loading={isSubmitting}
>
Save
Speichern
</Button>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions src/components/Playlist/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ const PlaylistHeader = ({ playlist, handleOpen, handleDeleteOpen }: any) => {
</Menu.Target>

<Menu.Dropdown>
<Menu.Label>Settings</Menu.Label>
<Menu.Item onClick={() => handleOpen()}>Edit</Menu.Item>
<Menu.Label>Einstellungen</Menu.Label>
<Menu.Item onClick={() => handleOpen()}>Editieren</Menu.Item>
<Menu.Item onClick={() => handleDeleteOpen()} color="red">
Delete
Löschen
</Menu.Item>
</Menu.Dropdown>
</Menu>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Playlist/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const PlaylistTable = () => {
).then((res) => res?.data),
});

if (error) return <div>Failed to load</div>;
if (error) return <div>fehler beim Laden</div>;
if (isLoading) return <GanymedeLoader />;

return (
Expand Down
8 changes: 4 additions & 4 deletions src/components/Queue/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const QueueHeader = ({ queue }: Object) => {
</span>
{" - "}
<span
title="Ganymede ID"
title="VodArchiv ID"
className={classes.queueHeaderHoverText}
>
{queue.edges.vod.id}
Expand All @@ -94,12 +94,12 @@ const QueueHeader = ({ queue }: Object) => {
{queue.live_archive && (
<span className={classes.liveArchive}>Live Archive</span>
)}
{queue.on_hold && <span className={classes.onHold}>On Hold</span>}
{queue.on_hold && <span className={classes.onHold}>In Warteposition</span>}
<span
title="Streamed At"
title="Gestreamt am"
className={classes.queueHeaderHoverText}
>
{dayjs(queue.edges.vod.streamed_at).format("YYYY/MM/DD")}
{dayjs(queue.edges.vod.streamed_at).format("DD.MM.YYYY")}
</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Queue/RestartTaskModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const QueueRestartTaskModalContent = ({ queue, task }: any) => {
return (
<div>
<div>
Restart task <Code>{task}</Code> for queue item <Code>{queue.id}</Code>?
Neustart der Aufgabe <Code>{task}</Code> für Warteschlangenposition <Code>{queue.id}</Code>?
</div>
<div>
<Switch
Expand Down
6 changes: 3 additions & 3 deletions src/components/Vod/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const VideoCard = ({
<Overlay color="#000" opacity={0.55}>
<div className={classes.processingOverlay}>
<Text fw={700} size="xl">
Processing
Verarbeitung
</Text>
<Loader color="violet" size="lg" />;
</div>
Expand All @@ -186,7 +186,7 @@ const VideoCard = ({
withPlaceholder
placeholder={
<Text style={{ height: "5rem !important" }} align="center">
This image could not be loaded
Dieses Bild konnte nicht geladen werden
</Text>
}
/>
Expand Down Expand Up @@ -249,7 +249,7 @@ const VideoCard = ({
>
<Badge color={theme.colorScheme === "dark" ? "gray" : "dark"}>
<Text>
{dayjs(video.streamed_at).format("YYYY/MM/DD")}{" "}
{dayjs(video.streamed_at).format("DD.MM.YYYY")}{" "}
{user.settings.moreUIDetails && (
<span>{dayjs(video.streamed_at).format("LT")}</span>
)}
Expand Down
Loading

0 comments on commit f5a6c4a

Please sign in to comment.