added translations
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
{% load vite %}
|
||||
{% load i18n vite %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="dark">
|
||||
<html lang="{{ request.LANGUAGE_CODE|default:'en' }}" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Hello</title>
|
||||
<title>{% trans "Hello" %}</title>
|
||||
{% vite_asset "frontend/src/entries/member-form.js" %}
|
||||
</head>
|
||||
{% include "js_translations.html" %}</head>
|
||||
<body>
|
||||
<main class="card">
|
||||
<p class="eyebrow"><span class="sparkle">✦</span> A warm welcome</p>
|
||||
<h1>What’s your name?</h1>
|
||||
<p class="intro">Enter your name below and we’ll say hello.</p>
|
||||
<p class="eyebrow"><span class="sparkle">✦</span> {% trans "A warm welcome" %}</p>
|
||||
<h1>{% trans "What’s your name?" %}</h1>
|
||||
<p class="intro">{% trans "Enter your name below and we’ll say hello." %}</p>
|
||||
|
||||
<form method="post" novalidate>
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Save</button>
|
||||
<button type="submit">{% trans "Save" %}</button>
|
||||
</form>
|
||||
|
||||
{% if message %}
|
||||
<p class="result" role="status">{{ message }}</p>
|
||||
{% endif %}
|
||||
<br/>
|
||||
<a href="{% url 'member_list' %}" class="button">Toon leden <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'member_list' %}" class="button">{% trans "Show members" %} <span aria-hidden="true">→</span></a>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user