feat(profile): public profile page and the switch in settings

/u/<name> shows a public profile without login. Settings get the switch and
the link; every settings save now sends the other saved values, and removing
the display name also makes the profile private.
This commit is contained in:
lobo committed 2026-09-24 14:18:32 +02:00
1 parent aa5124ea1e
commit fd343da4be
7 files changed
+418 -18

No files matched your search

+18 -1
View File
@@ -59,7 +59,12 @@
"DISPLAY_NAME_PLACEHOLDER": "z. B. Lobo",
"DISPLAY_NAME_HINT": "3–24 Zeichen: Buchstaben, Zahlen, Leerzeichen, _ . -",
"SAVE_PROFILE": "Profil speichern",
"ERROR_DISPLAY_NAME_IN_USE": "Dieser Anzeigename ist schon vergeben."
"ERROR_DISPLAY_NAME_IN_USE": "Dieser Anzeigename ist schon vergeben.",
"PUBLIC_PROFILE": "Öffentliches Profil",
"PUBLIC_PROFILE_HINT": "Jeder mit dem Link sieht deine Statistik, was du gerade spielst und deine durchgespielten Spiele mit Bewertung. Notizen, E-Mail und Steam-ID bleiben privat.",
"PUBLIC_PROFILE_NEEDS_NAME": "Lege zuerst einen Anzeigenamen fest; er wird Teil des Links.",
"PUBLIC_PROFILE_COPY": "Link kopieren",
"PUBLIC_PROFILE_COPIED": "Link kopiert"
},
"VALIDATION": {
"EMAIL_REQUIRED": "Email ist erforderlich.",
@@ -216,5 +221,17 @@
"NO_PRICE": "Noch kein Preis",
"ADDED": "Hinzugefügt am {{date}}",
"ERROR_LOAD": "Wunschliste konnte nicht geladen werden."
},
"PROFILE": {
"TITLE": "Spielerprofil",
"MEMBER_SINCE": "Dabei seit {{date}}",
"GAMES": "Spiele",
"PLAYTIME": "Spielzeit",
"FINISHED": "Durchgespielt",
"PLAYING": "Spielt gerade",
"FINISHED_GAMES": "Durchgespielte Spiele",
"NOT_FOUND": "Dieses Profil gibt es nicht oder es ist privat.",
"ERROR_LOAD": "Profil konnte nicht geladen werden.",
"TO_START": "Zur Startseite"
}
}