nice
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user