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
+7 -7
View File
@@ -1,11 +1,11 @@
<!-- retoor <retoor@molodetz.nl> -->
{% extends "admin/base_admin.html" %}
{% block admin_content %}
<h1>Berichten</h1>
<div class="actions"><a class="button" href="/admin/posts/new">Nieuw bericht</a></div>
<h1>Posts</h1>
<div class="actions"><a class="button" href="/admin/posts/new">New post</a></div>
<div class="table-wrap">
<table class="admin-table">
<thead><tr><th>Titel</th><th>Onderwerp</th><th>Status</th><th>Bijgewerkt</th><th></th></tr></thead>
<thead><tr><th>Title</th><th>Topic</th><th>Status</th><th>Updated</th><th></th></tr></thead>
<tbody>
{% for post in posts %}
<tr>
@@ -14,13 +14,13 @@
<td><span class="status {{ post.status }}">{{ post.status }}</span></td>
<td>{{ local_dt(post.updated_at) }}</td>
<td class="actions">
<a class="button ghost small" href="/admin/posts/{{ post.uid }}/edit">Bewerken</a>
<form method="post" action="/admin/posts/{{ post.uid }}/publish"><button class="button ghost small" type="submit">{{ 'Depubliceren' if post.status == 'published' else 'Publiceren' }}</button></form>
<form method="post" action="/admin/posts/{{ post.uid }}/delete" data-confirm="Bericht naar de prullenbak verplaatsen?"><button class="button danger small" type="submit">Verwijderen</button></form>
<a class="button ghost small" href="/admin/posts/{{ post.uid }}/edit">Edit</a>
<form method="post" action="/admin/posts/{{ post.uid }}/publish"><button class="button ghost small" type="submit">{{ 'Unpublish' if post.status == 'published' else 'Publish' }}</button></form>
<form method="post" action="/admin/posts/{{ post.uid }}/delete" data-confirm="Move this post to the trash?"><button class="button danger small" type="submit">Delete</button></form>
</td>
</tr>
{% else %}
<tr><td colspan="5" class="muted">Nog geen berichten.</td></tr>
<tr><td colspan="5" class="muted">No posts yet.</td></tr>
{% endfor %}
</tbody>
</table>