Refactor translations to XLIFF format, enhance elimination workflows, and update compose configuration

This commit switches translations from YAML to XLIFF format for better standardization, updates the elimination preparation process with UI and functionality improvements, tweaks form structures, adjusts compose.override.yaml for improved asset handling, and optimizes back office usability with refined translation handling.
This commit is contained in:
2025-06-01 21:16:32 +02:00
parent cd5946bda8
commit c6f9b57c60
27 changed files with 645 additions and 114 deletions

View File

@@ -1,3 +1,7 @@
{% extends 'quiz/base.html.twig' %}
{% block body %}
<img src="{{ asset("img/#{colour}.png") }}" class="elimination-screen" id="{{ colour }}"
alt="Screen with colour {{ colour }}">
{% endblock %}

View File

@@ -1,20 +1,4 @@
<!DOCTYPE html>
<title>Hello EliminationController!</title>
{% extends 'quiz/base.html.twig' %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code>/app/src/Controller/EliminationController.php</code></li>
<li>Your template at <code>/app/templates/elimination/index.html.twig</code></li>
</ul>
</div>
{% endblock %}
{{ form(form) }}
{% endblock body %}