Translate the whole site to English: English routes with 301 redirects from the Dutch paths, English UI, docs, seeds and captions, one-time live content migration
This commit is contained in:
@@ -16,7 +16,7 @@ router = APIRouter()
|
||||
|
||||
|
||||
def _seo(request):
|
||||
return base_seo_context(request, "Inloggen", robots="noindex,nofollow")
|
||||
return base_seo_context(request, "Log in", robots="noindex,nofollow")
|
||||
|
||||
|
||||
@router.get("/login")
|
||||
@@ -33,7 +33,7 @@ async def login_submit(request: Request):
|
||||
if not valid:
|
||||
record(request, "auth.login.failed", result="denied", payload={"username": data.username[:64]})
|
||||
ctx = {
|
||||
"errors": ["Onbekende combinatie van naam en wachtwoord."],
|
||||
"errors": ["Unknown combination of name and password."],
|
||||
"form": {"username": data.username},
|
||||
"next": data.next,
|
||||
"seo": _seo(request),
|
||||
|
||||
Reference in New Issue
Block a user