This commit is contained in:
2026-03-03 18:54:41 +00:00
parent a5c5c6daf5
commit 7f08b99b9f
3 changed files with 29 additions and 7 deletions

View File

@@ -209,8 +209,8 @@ TEXTS = {
"subtitle": "Willkommen zu unserer Hochzeits-App",
"login_note": "Passwortgeschützter Zugriff für unsere Gäste.",
"login": "Login",
"group_name": "Gruppenname",
"group_password": "Gruppenpasswort",
"group_name": "Benutzername",
"group_password": "Passwort",
"login_submit": "Weiter zum Gästebereich",
"guest_area": "Gästebereich",
"hello_guest": "Hallo {name}.",
@@ -298,8 +298,8 @@ TEXTS = {
"subtitle": "Welcome to our wedding app",
"login_note": "Password-protected access for our guests.",
"login": "Login",
"group_name": "Group name",
"group_password": "Group password",
"group_name": "Username",
"group_password": "Password",
"login_submit": "Open guest area",
"guest_area": "Guest Area",
"hello_guest": "Hello {name}.",
@@ -401,7 +401,17 @@ def get_hero_image_asset() -> str:
candidates = []
if configured:
candidates.append(configured)
candidates.extend(["hero.jpg", "hero.jpeg", "hero.png", "image.png", "image-1.png"])
candidates.extend(
[
"hero.avif",
"hero.webp",
"hero.jpg",
"hero.jpeg",
"hero.png",
"image.png",
"image-1.png",
]
)
for filename in candidates:
if (assets_dir / filename).is_file():