added translations
This commit is contained in:
+13
-13
@@ -1,27 +1,27 @@
|
||||
{% 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>Welkom · Sound Signal</title>
|
||||
<title>{% trans "Welcome · Sound Signal" %}</title>
|
||||
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.4/dist/htmx.min.js"></script>
|
||||
{% vite_asset "frontend/src/entries/home.js" %}
|
||||
</head>
|
||||
{% include "js_translations.html" %}</head>
|
||||
<body>
|
||||
{% if user.is_authenticated %}<a class="profile-circle" href="{% url 'user_settings' %}" aria-label="Open settings for {{ user.get_username }}" title="Settings">{{ user.get_username|first|upper }}</a>{% endif %}
|
||||
{% if user.is_authenticated %}<a class="profile-circle" href="{% url 'user_settings' %}" aria-label="{% blocktrans with username=user.get_username %}Open settings for {{ username }}{% endblocktrans %}" title="{% trans "Settings" %}">{{ user.get_username|first|upper }}</a>{% endif %}
|
||||
<div class="home-grid">
|
||||
<main class="welcome-card">
|
||||
<div class="brand"><span class="brand-mark">✦</span> Sound Signal</div>
|
||||
<p class="eyebrow">Control room</p>
|
||||
<h1>Welkom {{ naam }}</h1>
|
||||
<p class="subject"><span class="sparkle">✦</span> Je leert <strong>{{ vak }}</strong>. Explore the prototype for live audio classification and future sensor mapping.</p>
|
||||
<p class="eyebrow">{% trans "Control room" %}</p>
|
||||
<h1>{% blocktrans %}Welcome {{ naam }}{% endblocktrans %}</h1>
|
||||
<p class="subject"><span class="sparkle">✦</span> {% blocktrans %}You are learning {{ vak }}. Explore the prototype for live audio classification and future sensor mapping.{% endblocktrans %}</p>
|
||||
<div class="actions">
|
||||
<a href="{% url 'fireworks_detect:fireworks' %}" class="button">Open vuurwerk detector <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'fireworks_detect:map' %}" class="button">Open kaart concept <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'member_create' %}" class="button">Open formulier <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'fireworks_detect:events' %}" class="button">Open gebeurtenissen <span aria-hidden="true">→</span></a>
|
||||
<span class="hint">Audio analysis · Sensor map</span>
|
||||
<a href="{% url 'fireworks_detect:fireworks' %}" class="button">{% trans "Open fireworks detector" %} <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'fireworks_detect:map' %}" class="button">{% trans "Open map concept" %} <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'member_create' %}" class="button">{% trans "Open form" %} <span aria-hidden="true">→</span></a>
|
||||
<a href="{% url 'fireworks_detect:events' %}" class="button">{% trans "Open events" %} <span aria-hidden="true">→</span></a>
|
||||
<span class="hint">{% trans "Audio analysis · Sensor map" %}</span>
|
||||
</div>
|
||||
</main>
|
||||
{% include "fireworks_detect/includes/manual_report_form.html" %}
|
||||
|
||||
Reference in New Issue
Block a user