lazyflat/apply
EiSiMo 9fbe1ce728 apply: define LANGUAGE setting (fixes 500 on first handled ApplicationResult)
apply/language.py references LANGUAGE via \`from settings import *\`, but
the constant was never added to apply/settings.py. Python only errored at
the first runtime use — which is \`str(ApplicationResult)\` in the /apply
handler. Any outcome that didn't short-circuit before the final \`return
ApplyResponse(message=str(result), …)\` blew up with NameError → 500.

Add LANGUAGE = getenv("LANGUAGE", "de") so existing translations.toml
keys resolve. Reproduced live inside the apply container: NameError:
name 'LANGUAGE' is not defined at language.py:15.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 17:45:42 +02:00
..
classes multi-user: users, per-user profiles/filters/notifications, tab UI, apply forensics 2026-04-21 10:52:41 +02:00
providers per-step screenshot + html snapshots, matches-only list, full German UI, CSV export 2026-04-21 11:40:12 +02:00
actions.py per-step screenshot + html snapshots, matches-only list, full German UI, CSV export 2026-04-21 11:40:12 +02:00
Dockerfile lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
language.py lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
LICENSE lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
main.py rename to wohnungsdidi + didi logo + footer for all + seconds-only counter 2026-04-21 17:29:24 +02:00
paths.py lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
requirements.txt lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
settings.py apply: define LANGUAGE setting (fixes 500 on first handled ApplicationResult) 2026-04-21 17:45:42 +02:00
translations.toml lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
utils.py lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00