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
-11
@@ -10,8 +10,13 @@ ROLE_MEMBER = "Member"
|
||||
ROLES = (ROLE_ADMIN, ROLE_MEMBER)
|
||||
|
||||
TOPICS = {
|
||||
"rol": "Rol",
|
||||
"standaard": "Standaard",
|
||||
"roll": "Roll",
|
||||
"standard": "Standard",
|
||||
}
|
||||
|
||||
LEGACY_TOPICS = {
|
||||
"rol": "roll",
|
||||
"standaard": "standard",
|
||||
}
|
||||
|
||||
POST_STATUSES = ("draft", "published")
|
||||
@@ -44,12 +49,12 @@ UNREPORTABLE_TABLES = {
|
||||
REPORTABLE_TARGETS: frozenset[str] = frozenset()
|
||||
|
||||
NOTIFICATION_TYPES = {
|
||||
"join.request": "Nieuwe aanmelding via Binnen",
|
||||
"post.published": "Bericht gepubliceerd",
|
||||
"backup.finished": "Back-up afgerond",
|
||||
"backup.failed": "Back-up mislukt",
|
||||
"auth.apikey": "API-sleutel vernieuwd",
|
||||
"system.maintenance": "Onderhoudsmodus gewijzigd",
|
||||
"join.request": "New request via Join",
|
||||
"post.published": "Post published",
|
||||
"backup.finished": "Backup finished",
|
||||
"backup.failed": "Backup failed",
|
||||
"auth.apikey": "API key renewed",
|
||||
"system.maintenance": "Maintenance mode changed",
|
||||
}
|
||||
|
||||
CRAWLER_PRIVATE_PREFIXES = ("/notifications", "/admin", "/profile")
|
||||
@@ -69,7 +74,7 @@ TERMS_EXEMPT_PREFIXES = (
|
||||
"/avatar",
|
||||
"/auth",
|
||||
"/docs",
|
||||
"/voorwaarden",
|
||||
"/terms",
|
||||
"/privacy",
|
||||
)
|
||||
|
||||
@@ -81,10 +86,10 @@ GZIP_SKIP_PREFIXES: tuple[str, ...] = ()
|
||||
|
||||
SETTINGS_DEFAULTS = {
|
||||
"site_title": "Molodetz",
|
||||
"site_tagline": "De kring, niet de reclame.",
|
||||
"site_tagline": "The circle, not the commercial.",
|
||||
"site_intro": SITE_INTRO_SEED,
|
||||
"maintenance_mode": "0",
|
||||
"maintenance_message": "Molodetz is even dicht voor onderhoud.",
|
||||
"maintenance_message": "Molodetz is closed for maintenance. Back shortly.",
|
||||
"rate_limit_per_minute": "60",
|
||||
"rate_limit_window_seconds": "60",
|
||||
"session_max_age_days": "7",
|
||||
|
||||
Reference in New Issue
Block a user