Seperate language translation in diffrent file and sort files

This commit is contained in:
2026-04-09 10:34:09 +02:00
parent 045d4bf575
commit bcf18812eb
14 changed files with 570 additions and 439 deletions
+3 -2
View File
@@ -364,7 +364,8 @@
</div>
</section>
<script src="{{ url_for('static', filename='js/dashboard.js') }}"></script>
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/dashboard.js') }}" defer></script>
</body>
</html>
</html>
+2 -1
View File
@@ -76,7 +76,8 @@
</main>
{% include "partials/footer.html" %}
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/legal.js') }}" defer></script>
</body>
</html>
</html>
+2 -1
View File
@@ -190,7 +190,8 @@
<script>
window.LANDING_INITIAL_LANGUAGE = "{{ initial_language }}";
</script>
<script src="{{ url_for('static', filename='js/index.js') }}"></script>
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/index.js') }}" defer></script>
</body>
</html>
+5 -3
View File
@@ -13,7 +13,7 @@
<nav class="auth-nav">
<a class="brand" href="{{ url_for('main.home') }}">
<span class="brand-mark">♛</span>
<span>8-Damen- und 8-Tuerme Solver</span>
<span class="nav-brand">8-Damen- und 8-Türme Solver</span>
</a>
<ul class="nav-links">
@@ -25,7 +25,8 @@
<main class="auth-shell">
<section class="auth-panel">
<h1>Login to your account</h1>
<p class="muted">If two-factor authentication is enabled, enter the current 6-digit code from your authenticator app after the password check.</p>
<p class="muted">If two-factor authentication is enabled, enter the current 6-digit code from your
authenticator app after the password check.</p>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
@@ -53,7 +54,8 @@
{% include "partials/footer.html" %}
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/login.js') }}" defer></script>
</body>
</html>
</html>
+1
View File
@@ -155,6 +155,7 @@
{% include "partials/footer.html" %}
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/login.js') }}" defer></script>
</body>
+2 -1
View File
@@ -126,7 +126,8 @@
</main>
{% include "partials/footer.html" %}
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/legal.js') }}" defer></script>
</body>
</html>
</html>
+1
View File
@@ -54,6 +54,7 @@
{% include "partials/footer.html" %}
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/login.js') }}" defer></script>
</body>
+1
View File
@@ -51,6 +51,7 @@
{% include "partials/footer.html" %}
<script src="{{ url_for('static', filename='js/language.js') }}" defer></script>
<script src="{{ url_for('static', filename='js/login.js') }}" defer></script>
</body>