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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user