FIX [template][translations] fixes to template and translations

This commit is contained in:
2023-01-27 10:44:25 +01:00
parent ded71c5997
commit 86b5f4dfac
2 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
{% extends '@ChillMain/Admin/layout.html.twig' %}
{% block title %}
{{ 'My absence'|trans }}
{{ 'absence.My absence'|trans }}
{% endblock title %}
{% block content %}
@@ -11,7 +11,7 @@
{% if user.absenceStart is not null %}
<div>
<p>Votre absence est indiqué à partier de {{ user.absenceStart|format_datetime() }}.</p>
<p>{{ 'absence.You are listed as absent, as of'|trans }} {{ user.absenceStart|format_date('long') }}</p>
<ul class="record_actions">
<li>
<a href="{{ path('chill_unset_absence_user') }}"
@@ -21,7 +21,7 @@
</div>
{% else %}
<div>
<p class="chill-no-data-statement">Aucune absence indiquer.</p>
<p class="chill-no-data-statement">{{ 'absence.No absence listed'|trans }}</p>
</div>
{% endif %}
@@ -32,7 +32,7 @@
<ul class="record_actions sticky-form-buttons">
<li>
<button class="btn btn-save" type="submit">
{{ 'Create'|trans }}
{{ 'Save'|trans }}
</button>
</li>
</ul>