From 338ca6cd252694ed18903a114bf8a39e8b19a113 Mon Sep 17 00:00:00 2001 From: imperosol Date: Fri, 4 Sep 2026 20:01:15 +0200 Subject: [PATCH] add og tags to timetable generator --- core/templates/core/base.jinja | 2 ++ locale/fr/LC_MESSAGES/django.po | 10 +++++++- timetable/templates/timetable/generator.jinja | 25 +++++++++++++++++-- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja index 0d8a06fe..57cae31d 100644 --- a/core/templates/core/base.jinja +++ b/core/templates/core/base.jinja @@ -14,6 +14,8 @@ {%- endblock %}" > + + {% block metatags %} diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 4fa87b77..4423a6c5 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-04 11:24+0200\n" +"POT-Creation-Date: 2026-09-04 19:39+0200\n" "PO-Revision-Date: 2016-07-18\n" "Last-Translator: Maréchal \n" @@ -5832,6 +5832,14 @@ msgstr "les groupes pouvant créer des cotisations" msgid "Timetable generator" msgstr "Générateur d'emploi du temps" +#: timetable/templates/timetable/generator.jinja +msgid "Get a nice schedule from the raw text in your student file" +msgstr "Générez un joli emploi du temps à partir du texte brut de votre dossier étudiant" + +#: timetable/templates/timetable/generator.jinja +msgid "Paste your schedule (without the header)" +msgstr "Colle ton emploi du temps (sans l'entête)" + #: timetable/templates/timetable/generator.jinja msgid "Generate" msgstr "Générer" diff --git a/timetable/templates/timetable/generator.jinja b/timetable/templates/timetable/generator.jinja index bbbc52b7..c1f8899a 100644 --- a/timetable/templates/timetable/generator.jinja +++ b/timetable/templates/timetable/generator.jinja @@ -12,15 +12,36 @@ {% trans %}Timetable generator{% endtrans %} {% endblock %} +{% block description -%} + {% trans trimmed %} + Get a nice schedule from the raw text in your student file + {% endtrans %} +{%- endblock %} + +{% block metatags %} + + + + + +{% endblock %} + {% block content %}
-

Générateur d'emploi du temps

+

{% trans %}Timetable generator{% endtrans %}

- +