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:
2026-10-05 11:25:41 +02:00
parent bbdecdc95b
commit ff547e1677
153 changed files with 1095 additions and 774 deletions
+5 -5
View File
@@ -3,14 +3,14 @@ import random
from locust import HttpUser, between, task
PAGES = ["/", "/rol", "/standaard", "/flyers", "/memes", "/mensen", "/binnen", "/docs"]
PAGES = ["/", "/roll", "/standard", "/flyers", "/memes", "/people", "/join", "/docs"]
class Reader(HttpUser):
wait_time = between(0.5, 2.0)
def on_start(self):
response = self.client.get("/rol", headers={"Accept": "application/json"}, name="/rol [json]")
response = self.client.get("/roll", headers={"Accept": "application/json"}, name="/roll [json]")
self.slugs = [post["slug"] for post in response.json().get("posts", [])] if response.ok else []
@task(6)
@@ -28,12 +28,12 @@ class Reader(HttpUser):
@task(1)
def json_face(self):
self.client.get("/standaard", headers={"Accept": "application/json"}, name="/standaard [json]")
self.client.get("/standard", headers={"Accept": "application/json"}, name="/standard [json]")
@task(1)
def join_form(self):
self.client.post(
"/binnen",
"/join",
data={"name": f"Load {random.randint(1, 10**6)}", "contact": "load@example.invalid", "repo_url": "", "message": "", "website": ""},
name="/binnen [post]",
name="/join [post]",
)