Add bilingual UI and improve event actions layout

Add persistent German/English switching, translated UI messages and English 12-hour times. Align desktop event actions while preserving mobile layouts and record bilingual project guidance.

Include pending diary deletion exclusions. Validate both languages with nine tests.
This commit is contained in:
kai
2026-09-14 15:31:56 +02:00
parent b2af6c6857
commit b2af866cf0
28 changed files with 1339 additions and 506 deletions
+11 -9
View File
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="de">
<html lang="{{ language() }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MetalCircle - Registrierung</title>
<title>{{ _('MetalCircle - Registrierung') }}</title>
<link rel="icon" type="image/png" href="/static/images/metalcircle-circle.png">
<style>
@@ -28,16 +28,18 @@
cursor: pointer;
}
</style>
<link rel="stylesheet" href="/static/css/language.css">
</head>
<body>
{% include '_language_switch.html' %}
<p><img src="/static/images/metalcircle-full.png" alt="MetalCircle" style="display:block;max-width:100%;height:auto;margin:0 auto 24px"></p>
<h2>Einladung angenommen</h2>
<h2>{{ _('Einladung angenommen') }}</h2>
<p>
Erstelle deinen Account für MetalCircle.
{{ _('Erstelle deinen Account für MetalCircle.') }}
</p>
<form method="post" action="/register">
@@ -48,7 +50,7 @@
value="{{ token }}"
>
<label>Benutzername</label>
<label>{{ _('Benutzername') }}</label>
<input
type="text"
name="username"
@@ -56,14 +58,14 @@
maxlength="50"
>
<label>Anzeigename</label>
<label>{{ _('Anzeigename') }}</label>
<input
type="text"
name="display_name"
maxlength="100"
>
<label>E-Mail</label>
<label>{{ _('E-Mail') }}</label>
<input
type="email"
name="email"
@@ -71,7 +73,7 @@
maxlength="255"
>
<label>Passwort</label>
<label>{{ _('Passwort') }}</label>
<input
type="password"
name="password"
@@ -81,7 +83,7 @@
>
<button type="submit">
Account erstellen
{{ _('Account erstellen') }}
</button>
</form>