From a55e5373fc7677cf247889db09f86679e5afc617 Mon Sep 17 00:00:00 2001 From: Lurkars Date: Wed, 26 Jan 2022 10:33:07 +0100 Subject: [PATCH] added de-DE translation, fix quality small vs. minimum --- .../Components/Menu/SettingsSubMenu.svelte | 16 +-- front/src/i18n/de-DE/audio.ts | 10 ++ front/src/i18n/de-DE/camera.ts | 22 ++++ front/src/i18n/de-DE/chat.ts | 12 ++ front/src/i18n/de-DE/companion.ts | 11 ++ front/src/i18n/de-DE/error.ts | 20 +++ front/src/i18n/de-DE/follow.ts | 27 ++++ front/src/i18n/de-DE/index.ts | 30 +++++ front/src/i18n/de-DE/login.ts | 14 ++ front/src/i18n/de-DE/menu.ts | 124 ++++++++++++++++++ front/src/i18n/de-DE/report.ts | 25 ++++ front/src/i18n/de-DE/warning.ts | 16 +++ front/src/i18n/de-DE/woka.ts | 20 +++ front/src/i18n/en-US/menu.ts | 16 +-- front/src/i18n/fr-FR/menu.ts | 16 +-- 15 files changed, 355 insertions(+), 24 deletions(-) create mode 100644 front/src/i18n/de-DE/audio.ts create mode 100644 front/src/i18n/de-DE/camera.ts create mode 100644 front/src/i18n/de-DE/chat.ts create mode 100644 front/src/i18n/de-DE/companion.ts create mode 100644 front/src/i18n/de-DE/error.ts create mode 100644 front/src/i18n/de-DE/follow.ts create mode 100644 front/src/i18n/de-DE/index.ts create mode 100644 front/src/i18n/de-DE/login.ts create mode 100644 front/src/i18n/de-DE/menu.ts create mode 100644 front/src/i18n/de-DE/report.ts create mode 100644 front/src/i18n/de-DE/warning.ts create mode 100644 front/src/i18n/de-DE/woka.ts diff --git a/front/src/Components/Menu/SettingsSubMenu.svelte b/front/src/Components/Menu/SettingsSubMenu.svelte index 9ab9ba98..85b16f12 100644 --- a/front/src/Components/Menu/SettingsSubMenu.svelte +++ b/front/src/Components/Menu/SettingsSubMenu.svelte @@ -104,13 +104,13 @@ > @@ -131,13 +131,13 @@ > diff --git a/front/src/i18n/de-DE/audio.ts b/front/src/i18n/de-DE/audio.ts new file mode 100644 index 00000000..33ab5047 --- /dev/null +++ b/front/src/i18n/de-DE/audio.ts @@ -0,0 +1,10 @@ +import type { BaseTranslation } from "../i18n-types"; + +const audio: BaseTranslation = { + manager: { + reduce: "Während Unterhaltungen verringern", + }, + message: "Sprachnachricht", +}; + +export default audio; diff --git a/front/src/i18n/de-DE/camera.ts b/front/src/i18n/de-DE/camera.ts new file mode 100644 index 00000000..58a53a8b --- /dev/null +++ b/front/src/i18n/de-DE/camera.ts @@ -0,0 +1,22 @@ +import type { BaseTranslation } from "../i18n-types"; + +const camera: BaseTranslation = { + enable: { + title: "Bitte schalte deine Kamera und dein Mikrofon ein.", + start: "Los gehts!", + }, + help: { + title: "Zugriff auf Kamera / Mikrofon erforderlich", + permissionDenied: "Zugriff verweigert", + content: "Der Zugriff auf Kamera und Mikrofon muss im Browser freigegeben werden.", + firefoxContent: + 'Bitte klicke auf "Diese Entscheidungen speichern" Schaltfläche um erneute Nachfragen nach der Freigabe in Firefox zu verhindern.', + refresh: "Aktualisieren", + continue: "Ohne Kamera fortfahren", + }, + my: { + silentZone: "Stiller Bereich", + }, +}; + +export default camera; diff --git a/front/src/i18n/de-DE/chat.ts b/front/src/i18n/de-DE/chat.ts new file mode 100644 index 00000000..2958c27c --- /dev/null +++ b/front/src/i18n/de-DE/chat.ts @@ -0,0 +1,12 @@ +import type { BaseTranslation } from "../i18n-types"; + +const chat: BaseTranslation = { + intro: "Hier ist dein Nachrichtenverlauf:", + enter: "Verfasse deine Nachricht...", + menu: { + visitCard: "Visitenkarte", + addFriend: "Freund*In hinzufügen", + }, +}; + +export default chat; diff --git a/front/src/i18n/de-DE/companion.ts b/front/src/i18n/de-DE/companion.ts new file mode 100644 index 00000000..acf3bd85 --- /dev/null +++ b/front/src/i18n/de-DE/companion.ts @@ -0,0 +1,11 @@ +import type { BaseTranslation } from "../i18n-types"; + +const companion: BaseTranslation = { + select: { + title: "Wähle einen Gefährten", + any: "Kein Gefährte", + continue: "Weiter", + }, +}; + +export default companion; diff --git a/front/src/i18n/de-DE/error.ts b/front/src/i18n/de-DE/error.ts new file mode 100644 index 00000000..0f82d482 --- /dev/null +++ b/front/src/i18n/de-DE/error.ts @@ -0,0 +1,20 @@ +import type { BaseTranslation } from "../i18n-types"; + +const error: BaseTranslation = { + accessLink: { + title: "Ungültiger Zugangslink", + subTitle: "Karte konnte nicht gefunden werden. Prüfe bitte deinen Zugangslink.", + details: "Für weitere Information kannst du die Administratoren kontaktieren oder melde dich bei uns unter: hello@workadventu.re", + }, + connectionRejected: { + title: "Verbindungen zurückgewiesen", + subTitle: "Du kannst diese Welt nicht betreten. Versuche es später noch einmal {error}.", + details: "Für weitere Information kannst du die Administratoren kontaktieren oder melde dich bei uns unter: hello@workadventu.re", + }, + connectionRetry: { + unableConnect: "Es konnte keine Verbindung zu WorkAdventure erstellt werden. Bist du mit dem Internet verbunden?", + }, + error: "Fehler", +}; + +export default error; diff --git a/front/src/i18n/de-DE/follow.ts b/front/src/i18n/de-DE/follow.ts new file mode 100644 index 00000000..997f4f72 --- /dev/null +++ b/front/src/i18n/de-DE/follow.ts @@ -0,0 +1,27 @@ +import type { BaseTranslation } from "../i18n-types"; + +const follow: BaseTranslation = { + interactStatus: { + following: "{leader} folgen", + waitingFollowers: "Warte auf Bestätigung der Gefolgschaft", + followed: { + one: "{follower} folgt dir", + two: "{firstFollower} und {secondFollower} folgen dir", + many: "{followers} und {lastFollower} folgen dir", + }, + }, + interactMenu: { + title: { + interact: "Interaktion", + follow: "Möchtest du {leader} folgen?", + }, + stop: { + leader: "Möchtest du nicht weiter den Weg weisen?", + follower: "Möchtest du nicht mehr {leader} folgen?", + }, + yes: "Ja", + no: "Nein", + }, +}; + +export default follow; diff --git a/front/src/i18n/de-DE/index.ts b/front/src/i18n/de-DE/index.ts new file mode 100644 index 00000000..d9e8bb48 --- /dev/null +++ b/front/src/i18n/de-DE/index.ts @@ -0,0 +1,30 @@ +import type { BaseTranslation } from "../i18n-types"; +import audio from "./audio"; +import camera from "./camera"; +import chat from "./chat"; +import companion from "./companion"; +import woka from "./woka"; +import error from "./error"; +import follow from "./follow"; +import login from "./login"; +import menu from "./menu"; +import report from "./report"; +import warning from "./warning"; + +const en_US: BaseTranslation = { + language: "Deutsch", + country: "Deutschland", + audio, + camera, + chat, + companion, + woka, + error, + follow, + login, + menu, + report, + warning, +}; + +export default en_US; diff --git a/front/src/i18n/de-DE/login.ts b/front/src/i18n/de-DE/login.ts new file mode 100644 index 00000000..921ffc0e --- /dev/null +++ b/front/src/i18n/de-DE/login.ts @@ -0,0 +1,14 @@ +import type { BaseTranslation } from "../i18n-types"; + +const login: BaseTranslation = { + input: { + name: { + placeholder: "Trage deinen Namen ein", + empty: "Kein Name angegeben", + }, + }, + terms: 'Wenn du fortfährst, akzeptierst du die Nutzungsbedingungen, Datenschutzerklärung und Cookierichtlinien.', + continue: "Fortfahren", +}; + +export default login; diff --git a/front/src/i18n/de-DE/menu.ts b/front/src/i18n/de-DE/menu.ts new file mode 100644 index 00000000..13a3287a --- /dev/null +++ b/front/src/i18n/de-DE/menu.ts @@ -0,0 +1,124 @@ +import type { BaseTranslation } from "../i18n-types"; + +const menu: BaseTranslation = { + title: "Menu", + icon: { + open: { + menu: "Menu öffnen", + invite: "Einladung anzeigen", + register: "Registrieren", + chat: "Chat öffnen", + }, + }, + visitCard: { + close: "Schliessen", + }, + profile: { + edit: { + name: "Deinen Namen ändern", + woka: "Dein WOKA ändern", + companion: "Deinen Begleiter ändern", + camera: "Kameraeinstellungen ändern", + }, + login: "Einloggen", + logout: "Ausloggen", + }, + settings: { + gameQuality: { + title: "Spiel Qualität", + short: { + high: "Hoch (120 BpS)", + medium: "Mittel (60 BpS)", + small: "Gering (40 BpS)", + minimum: "Minimal (20 BpS)", + }, + long: { + high: "Hohe Video Qualität (120 BpS)", + medium: "Mittlere Video Qualität (60 BpS, empfohlen)", + small: "Geringe Video Qualität (40 BpS)", + minimum: "Minimale Video Qualität (20 BpS)", + }, + }, + videoQuality: { + title: "Video Qualität", + short: { + high: "Hoch (30 BpS)", + medium: "Mittel (20 BpS)", + small: "Gering (10 BpS)", + minimum: "Minimale (5 BpS)", + }, + long: { + high: "Hohe Video Qualität (30 BpS)", + medium: "Mittlere Video Qualität (20 BpS, empfohlen)", + small: "Geringe Video Qualität (10 BpS)", + minimum: "Minimale Video Qualität (5 BpS)", + }, + }, + language: { + title: "Sprache", + }, + save: { + warning: "(Das Spiel wird nach dem Speichern neugestartet)", + button: "Speichern", + }, + fullscreen: "Vollbild", + notifications: "Benachrichtigungen", + cowebsiteTrigger: "Jedes mal nachfragen bevor Webseiten oder Jitsi Meet Räume geöffnet werden", + ignoreFollowRequest: "Ignoriere Folgen-Anfragen anderer Nutzer", + }, + invite: { + description: "Link zu diesem Raum teilen!", + copy: "Kopieren", + share: "Teilen", + }, + globalMessage: { + text: "Text", + audio: "Audio", + warning: "An alle Räume dieser Welt senden", + enter: "Trage hier deine Nachricht ein...", + send: "Senden", + }, + globalAudio: { + uploadInfo: "Datei hochladen", + error: "Keine Datei ausgewählt. Du musst vor dem Versenden eine Datei hochladen.", + }, + contact: { + gettingStarted: { + title: "Erste Schritte", + description: + "Mit WorkAdventure kannst du eine Onlinewelt schaffen in der du dich spontan mit Anderen treffen und unterhalten kannst. Erstelle als erstes deine eigene Karte. Es steht dir eine großen Auswahl an vorgefertigten Karten von unserem Team zur Auswahl.", + }, + createMap: { + title: "Eigene Karte erstellen ", + description: "Du kannst auch deine eigene Karte erstellen. Folge dazu unserer Schritt-für-Schritt Anleitung.", + }, + }, + about: { + mapInfo: "Informationen über diese Karte", + mapLink: "Link zur Karte", + copyrights: { + map: { + title: "Urheberrecht der Karte", + empty: "Die Ersteller*In der Karte hat keine Informationen zum Urheberrecht hinterlegt.", + }, + tileset: { + title: "Urheberrecht der Tilesets", + empty: "Die Ersteller*In der Karte hat keine Informationen zum Urheberrecht der Tilesets hinterlegt. Dies bedeutet nicht, dass die Tilesets keiner Lizenz unterliegen.", + }, + audio: { + title: "Urheberrecht der Audiodateien", + empty: "Die Ersteller*In der Karte hat keine Informationen zum Urheberrecht der Audiodateien hinterlegt. Dies bedeutet nicht, dass die Audiodateien keiner Lizenz unterliegen.", + }, + }, + }, + sub: { + profile: "Profil", + settings: "Einstellungen", + invite: "Einladung", + credit: "Über die Karte", + globalMessages: "Globale Nachrichten", + contact: "Kontakt", + }, +}; + +export default menu; diff --git a/front/src/i18n/de-DE/report.ts b/front/src/i18n/de-DE/report.ts new file mode 100644 index 00000000..6f8b2a94 --- /dev/null +++ b/front/src/i18n/de-DE/report.ts @@ -0,0 +1,25 @@ +import type { BaseTranslation } from "../i18n-types"; + +const report: BaseTranslation = { + block: { + title: "Blockieren", + content: "Blockiere jede Kommunikation von und zu {userName}. Kann jederzeit rückgängig gemacht werden.", + unblock: "Blockierung für diesen User aufheben", + block: "Blockiere diese User", + }, + title: "Melden", + content: "Verfasse eine Meldung an die Administratoren dieses Raums. Diese können den User anschließend bannen.", + message: { + title: "Deine Nachricht: ", + empty: "Bitte einen Text angeben.", + }, + submit: "Diesen User melden", + moderate: { + title: "{userName} moderieren", + block: "Blockieren", + report: "Melden", + noSelect: "FEHLER : Es ist keine Handlung ausgewählt.", + }, +}; + +export default report; diff --git a/front/src/i18n/de-DE/warning.ts b/front/src/i18n/de-DE/warning.ts new file mode 100644 index 00000000..958e9cab --- /dev/null +++ b/front/src/i18n/de-DE/warning.ts @@ -0,0 +1,16 @@ +import type { BaseTranslation } from "../i18n-types"; + +const warning: BaseTranslation = { + title: "Warnung!", + content: + 'Diese Welt erreicht bald die maximale Kapazität. Du kannst die Kapazität hier erhöhen', + limit: "Diese Welt erreicht bald die maximale Kapazität!", + accessDenied: { + camera: "Zugriff auf die Kamera verweigert. Hier klicken um deine Browser Berechtigungen zu prüfen.", + screenSharing: "Zugriff auf die Bildschirmfreigabe verweigert. Hier klicken um deine Browser Berechtigungen zu prüfen.", + }, + importantMessage: "Wichtige Nachricht", + connectionLost: "Verbindungen unterbrochen. Wiederverbinden...", +}; + +export default warning; diff --git a/front/src/i18n/de-DE/woka.ts b/front/src/i18n/de-DE/woka.ts new file mode 100644 index 00000000..a571feea --- /dev/null +++ b/front/src/i18n/de-DE/woka.ts @@ -0,0 +1,20 @@ +import type { BaseTranslation } from "../i18n-types"; + +const woka: BaseTranslation = { + customWoka: { + title: "Dein WOKA bearbeiten", + navigation: { + return: "Zurück", + back: "Hoch", + finish: "Auswählen", + next: "Runter", + }, + }, + selectWoka: { + title: "Dein WOKA auswählen", + continue: "Auswählen", + customize: "Bearbeite dein WOKA", + }, +}; + +export default woka; diff --git a/front/src/i18n/en-US/menu.ts b/front/src/i18n/en-US/menu.ts index 239b0ac1..b7c69935 100644 --- a/front/src/i18n/en-US/menu.ts +++ b/front/src/i18n/en-US/menu.ts @@ -29,14 +29,14 @@ const menu: BaseTranslation = { short: { high: "High (120 fps)", medium: "Medium (60 fps)", - minimum: "Minimum (40 fps)", - small: "Small (20 fps)", + small: "Small (40 fps)", + minimum: "Minimum (20 fps)", }, long: { high: "High video quality (120 fps)", medium: "Medium video quality (60 fps, recommended)", - minimum: "Minimum video quality (40 fps)", - small: "Small video quality (20 fps)", + small: "Small video quality (40 fps)", + minimum: "Minimum video quality (20 fps)", }, }, videoQuality: { @@ -44,14 +44,14 @@ const menu: BaseTranslation = { short: { high: "High (30 fps)", medium: "Medium (20 fps)", - minimum: "Minimum (10 fps)", - small: "Small (5 fps)", + small: "Small (10 fps)", + minimum: "Minimum (5 fps)", }, long: { high: "High video quality (30 fps)", medium: "Medium video quality (20 fps, recommended)", - minimum: "Minimum video quality (10 fps)", - small: "Small video quality (5 fps)", + small: "Small video quality (10 fps)", + minimum: "Minimum video quality (5 fps)", }, }, language: { diff --git a/front/src/i18n/fr-FR/menu.ts b/front/src/i18n/fr-FR/menu.ts index 2c0efeba..54481ec8 100644 --- a/front/src/i18n/fr-FR/menu.ts +++ b/front/src/i18n/fr-FR/menu.ts @@ -29,14 +29,14 @@ const menu: NonNullable = { short: { high: "Haute (120 fps)", medium: "Moyenne (60 fps)", - minimum: "Minimale (40 fps)", - small: "Reduite (20 fps)", + small: "Reduite (40 fps)", + minimum: "Minimale (20 fps)", }, long: { high: "Haute (120 fps)", medium: "Moyenne (60 fps, recommandée)", - minimum: "Minimale (40 fps)", - small: "Reduite (20 fps)", + small: "Reduite (40 fps)", + minimum: "Minimale (20 fps)", }, }, videoQuality: { @@ -44,14 +44,14 @@ const menu: NonNullable = { short: { high: "Haute (30 fps)", medium: "Moyenne (20 fps)", - minimum: "Minimale (10 fps)", - small: "Reduite (5 fps)", + small: "Reduite (10 fps)", + minimum: "Minimale (5 fps)", }, long: { high: "Haute (30 fps)", medium: "Moyenne (20 fps, recommandée)", - minimum: "Minimale (10 fps)", - small: "Reduite (5 fps)", + small: "Reduite (10 fps)", + minimum: "Minimale (5 fps)", }, }, language: {