From 7decc4c4ae1ce90189dc39e616a39650575deda1 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Thu, 11 Sep 2025 17:59:12 +0200 Subject: [PATCH] =?UTF-8?q?=C3=84nderung:=20Erweiterung=20der=20deutschen?= =?UTF-8?q?=20und=20englischen=20=C3=9Cbersetzungen=20sowie=20Anpassungen?= =?UTF-8?q?=20in=20der=20NoLoginView.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Änderungen: - Neue Übersetzungen für Beta-Hinweise, Einführungstexte und Datenschutzinformationen wurden in die JSON-Dateien für Deutsch und Englisch eingefügt. - Die NoLoginView.vue wurde aktualisiert, um die neuen Übersetzungen anzuzeigen und die Benutzererfahrung zu verbessern. - Die Struktur und das Styling der Ansicht wurden optimiert, um eine bessere Lesbarkeit und Benutzerinteraktion zu gewährleisten. Diese Anpassungen verbessern die Benutzererfahrung und die Verständlichkeit der Plattform während der Beta-Phase. --- frontend/src/i18n/locales/de/home.json | 32 ++++- frontend/src/i18n/locales/en/home.json | 42 +++++- frontend/src/views/home/NoLoginView.vue | 180 +++++++++++++----------- 3 files changed, 169 insertions(+), 85 deletions(-) diff --git a/frontend/src/i18n/locales/de/home.json b/frontend/src/i18n/locales/de/home.json index 2f5e2f5..b3a9138 100644 --- a/frontend/src/i18n/locales/de/home.json +++ b/frontend/src/i18n/locales/de/home.json @@ -1,8 +1,34 @@ { "home": { + "betaNoticeLabel": "Beta-Hinweis:", + "betaNoticeText": "YourPart befindet sich in aktiver Entwicklung. Funktionen können unvollständig sein, Inhalte fehlen noch und es kann zu Änderungen kommen.", "nologin": { "welcome": "Willkommen bei yourPart", - "description": "yourPart ist ein social Network, bei dem Sie Freundschaften schließen und neue Leute kennen lernen können. Sie können hier Ihre Bilder für andere anzeigen und dabei bestimmen, wer welche Bilder sehen kann. Natürlich können Sie auch Nachrichen austauschen und sogar Chatten. Im großen Stil, mit vielen anderen gleichzeitig, und im kleinen Zufallschat. Und nicht zu vergessen, Sie können hier auch Camen.", + "description": "yourPart ist ein social Network, bei dem Sie Freundschaften schließen und neue Leute kennen lernen können. Sie können hier Ihre Bilder für andere anzeigen und dabei bestimmen, wer welche Bilder sehen kann. Natürlich können Sie auch Nachrichen austauschen und sogar Chatten. Im großen Stil, mit vielen anderen gleichzeitig, und im kleinen Zufallschat. Und nicht zu vergessen, Sie können hier auch Camen.", + "introHtml": "YourPart ist eine wachsende Online‑Plattform, die Community‑Funktionen, Echtzeit‑Chat, Foren, ein soziales Netzwerk mit Bildergalerie sowie das Aufbauspiel Falukant vereint. Aktuell befindet sich die Seite in der Beta‑Phase – wir erweitern Funktionen, Inhalte und Stabilität kontinuierlich.", + "expected": { + "title": "Was dich erwartet", + "items": { + "chat": "Chat: Öffentliche Räume, zufällige Begegnungen (Random‑Chat) und Farbanpassungen.", + "social": "Soziales Netzwerk: Profil, Freundschaften, Bildergalerie mit Sichtbarkeiten.", + "forum": "Forum: Themen anlegen, Beiträge verfassen, Moderationsrechte (rollenbasiert).", + "falukant": "Falukant: Wirtschaft & Alltag – Zweigstellen verwalten, produzieren, lagern, verkaufen.", + "minigames": "Minispiele: z. B. Match‑3‑Level – kurze Unterhaltung zwischendurch.", + "multilingual": "Mehrsprachig: Deutsch/Englisch – Inhalte werden fortlaufend ergänzt." + } + }, + "falukantShort": { + "title": "Falukant – kurz erklärt", + "text": "In Falukant führst du Betriebe, bildest Wissen aus, optimierst Produktion und Verkauf, beobachtest Preise und reagierst auf Ereignisse. Benachrichtigungen informieren dich über Status‑Änderungen in Echtzeit." + }, + "privacyBeta": { + "title": "Datenschutz & Beta‑Status", + "text": "YourPart befindet sich in der Beta. Es kann zu Änderungen, Ausfällen und fehlenden Übersetzungen kommen. Wir legen Wert auf Datenschutz und Transparenz; weitere Informationen folgen im Laufe der Beta." + }, + "getStarted": { + "title": "Mitmachen", + "text": "Du kannst die Plattform bereits nutzen, testen und Feedback geben. Registriere dich über „{register}“ oder starte unverbindlich den Random‑Chat." + }, "randomchat": "Zufallschat", "startrandomchat": "Zufallschat starten", "login": { @@ -11,7 +37,9 @@ "password": "Paßwort", "passworddescription": "Gib hier Dein Paßwort ein", "lostpassword": "Paßwort vergessen", - "register": "Bei yourPart registrieren" + "register": "Bei yourPart registrieren", + "stayLoggedIn": "Eingeloggt bleiben", + "submit": "Einloggen" } } } diff --git a/frontend/src/i18n/locales/en/home.json b/frontend/src/i18n/locales/en/home.json index 506e83a..65d22ae 100644 --- a/frontend/src/i18n/locales/en/home.json +++ b/frontend/src/i18n/locales/en/home.json @@ -1,10 +1,46 @@ { "home": { + "betaNoticeLabel": "Beta notice:", + "betaNoticeText": "YourPart is under active development. Features may be incomplete, information may still be missing and things can change.", "nologin": { - "welcome": "Welcome at yourPart", - "description": "---platzhalter---", + "welcome": "Welcome to yourPart", + "description": "yourPart is a social network where you can make friends and meet new people. You can share your images and control who sees what. You can also exchange messages and chat – in large public rooms or in the small random chat. And, of course, you can cam as well.", + "introHtml": "YourPart is a growing platform combining community features, real‑time chat, forums, a social network with photo gallery, and the city‑builder game Falukant. The site is currently in beta – we continuously expand features, content and stability.", + "expected": { + "title": "What to expect", + "items": { + "chat": "Chat: Public rooms, random encounters (random chat) and color adjustments.", + "social": "Social network: Profile, friendships, photo gallery with visibility controls.", + "forum": "Forum: Create topics, write posts, role‑based moderation.", + "falukant": "Falukant: Economy & life – manage branches, produce, store and sell.", + "minigames": "Mini games: e.g. Match‑3 levels – short casual fun.", + "multilingual": "Multilingual: German/English – content is being added continuously." + } + }, + "falukantShort": { + "title": "Falukant – in short", + "text": "In Falukant you run businesses, build knowledge, optimize production and sales, watch prices and react to events. Notifications inform you about status changes in real time." + }, + "privacyBeta": { + "title": "Privacy & beta status", + "text": "YourPart is in beta. There may be changes, outages and missing translations. We value privacy and transparency; more information will follow during the beta." + }, + "getStarted": { + "title": "Get started", + "text": "You can already use, test and give feedback. Register via “{register}” or start the random chat." + }, "randomchat": "Random chat", - "startrandomchat": "Start random chat" + "startrandomchat": "Start random chat", + "login": { + "name": "Login name", + "namedescription": "Enter your username", + "password": "Password", + "passworddescription": "Enter your password", + "lostpassword": "Forgot password", + "register": "Register at yourPart", + "stayLoggedIn": "Stay logged in", + "submit": "Log in" + } } } } \ No newline at end of file diff --git a/frontend/src/views/home/NoLoginView.vue b/frontend/src/views/home/NoLoginView.vue index 6fbeb92..0dd6287 100644 --- a/frontend/src/views/home/NoLoginView.vue +++ b/frontend/src/views/home/NoLoginView.vue @@ -1,91 +1,78 @@ @@ -179,10 +166,12 @@ export default { flex: 1; background-color: #fdf1db; align-items: center; - justify-content: center; + justify-content: flex-start; display: flex; color: #7E471B; flex-direction: column; + overflow: auto; + padding: 0.5rem; } .actions>div>h2 { @@ -193,17 +182,48 @@ export default { max-width: 1000px; margin: 24px auto 0 auto; padding: 0 16px 40px 16px; - color: #333; + color: #7E471B; + background-color: #fdf1db; + border: 1px solid rgba(0, 0, 0, 0.06); + border-radius: 4px; } + .seo-content h1 { font-size: 28px; margin: 0 0 8px 0; } + .seo-content h2 { font-size: 20px; margin: 18px 0 6px 0; color: #444; } -.seo-content p { line-height: 1.6; margin: 0 0 8px 0; } -.seo-content ul { margin: 0 0 8px 20px; } + +.seo-content p { + line-height: 1.6; + margin: 0 0 8px 0; +} + +.seo-content ul { + margin: 0 0 8px 20px; +} + +/* Scrollbarer Bereich für "Was dich erwartet" */ +.seo-content .expected { + max-height: 200px; + overflow: auto; + padding-right: 8px; + background-color: #fdf1db; + border: 1px solid rgba(0, 0, 0, 0.05); + border-radius: 4px; + margin: 12px 0; +} + +.no-login-view { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100%; +}