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:
@@ -2,7 +2,7 @@
|
||||
{% set seo = seo or {} %}
|
||||
{% set viewer = current_user(request) %}
|
||||
<!doctype html>
|
||||
<html lang="nl">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
@@ -21,7 +21,7 @@
|
||||
<meta property="og:type" content="{{ seo.og_type or 'website' }}">
|
||||
{% if seo.canonical %}<meta property="og:url" content="{{ seo.canonical }}">{% endif %}
|
||||
{% if seo.og_image %}<meta property="og:image" content="{{ seo.og_image }}">{% endif %}
|
||||
<meta property="og:locale" content="nl_NL">
|
||||
<meta property="og:locale" content="en_US">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="{{ seo.title or app_title }}">
|
||||
<meta name="twitter:description" content="{{ seo.description or '' }}">
|
||||
@@ -40,23 +40,23 @@
|
||||
{% block extra_head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<a class="sr-only" href="#main">Naar inhoud</a>
|
||||
<a class="sr-only" href="#main">Skip to content</a>
|
||||
<header class="site-header">
|
||||
<nav class="site-nav" aria-label="Hoofdmenu">
|
||||
<nav class="site-nav" aria-label="Main menu">
|
||||
<a class="brand" href="/">MOLODETZ</a>
|
||||
<button class="nav-toggle" type="button" data-nav-toggle aria-expanded="false" aria-controls="nav-links">Menu</button>
|
||||
<div class="nav-links" id="nav-links">
|
||||
<a href="/rol" class="{{ nav_active(request, '/rol') }}">Rol</a>
|
||||
<a href="/standaard" class="{{ nav_active(request, '/standaard') }}">Standaard</a>
|
||||
<a href="/roll" class="{{ nav_active(request, '/roll') }}">Roll</a>
|
||||
<a href="/standard" class="{{ nav_active(request, '/standard') }}">Standard</a>
|
||||
<a href="/flyers" class="{{ nav_active(request, '/flyers') }}">Flyers</a>
|
||||
<a href="/memes" class="{{ nav_active(request, '/memes') }}">Memes</a>
|
||||
<a href="/mensen" class="{{ nav_active(request, '/mensen') }}">Mensen</a>
|
||||
<a href="/binnen" class="{{ nav_active(request, '/binnen') }}">Binnen</a>
|
||||
<a href="/people" class="{{ nav_active(request, '/people') }}">People</a>
|
||||
<a href="/join" class="{{ nav_active(request, '/join') }}">Join</a>
|
||||
{% if viewer %}
|
||||
<span class="nav-account">
|
||||
{% if is_admin(viewer) %}<a href="/admin" class="{{ nav_active(request, '/admin') }}">Beheer</a>{% endif %}
|
||||
<a href="/notifications" class="{{ nav_active(request, '/notifications') }}">Meldingen{% set unread = unread_count(request) %}{% if unread %}<span class="badge-count">{{ unread }}</span>{% endif %}</a>
|
||||
<form method="post" action="/auth/logout"><button type="submit">Uit</button></form>
|
||||
{% if is_admin(viewer) %}<a href="/admin" class="{{ nav_active(request, '/admin') }}">Admin</a>{% endif %}
|
||||
<a href="/notifications" class="{{ nav_active(request, '/notifications') }}">Notifications{% set unread = unread_count(request) %}{% if unread %}<span class="badge-count">{{ unread }}</span>{% endif %}</a>
|
||||
<form method="post" action="/auth/logout"><button type="submit">Log out</button></form>
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -72,15 +72,15 @@
|
||||
<div class="inner">
|
||||
<span class="tagline">Molodetz. {{ setting('site_tagline') }}</span>
|
||||
<a href="/docs">Docs</a>
|
||||
<a href="/voorwaarden">Voorwaarden</a>
|
||||
<a href="/terms">Terms</a>
|
||||
<a href="/privacy">Privacy</a>
|
||||
{% if not viewer %}<a href="/auth/login" rel="nofollow">Inloggen</a>{% endif %}
|
||||
{% if not viewer %}<a href="/auth/login" rel="nofollow">Log in</a>{% endif %}
|
||||
<span>© {{ current_year() }}</span>
|
||||
</div>
|
||||
</footer>
|
||||
<dp-toast></dp-toast>
|
||||
<dp-lightbox></dp-lightbox>
|
||||
<span class="response-time" title="Server-renderingstijd">{{ response_time(request) }}</span>
|
||||
<span class="response-time" title="Server render time">{{ response_time(request) }}</span>
|
||||
<script type="module" src="{{ static_url('/static/js/Application.js') }}"></script>
|
||||
{% block extra_js %}{% endblock %}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user