ajout des traductions en et fr

This commit is contained in:
hugo.pradier2
2024-06-11 23:05:31 +02:00
committed by clfreville2
parent 352a0db047
commit 0215583fee
25 changed files with 1128 additions and 75 deletions

View File

@@ -3,11 +3,11 @@
{% block title %}Edit Post{% endblock %}
{% block body %}
<h1>Edit Post</h1>
<h1>{{ 'edit_post'|trans }}</h1>
{{ include('post/_form.html.twig', {'button_label': 'Update'}) }}
{{ include('post/_form.html.twig', {'button_label': 'update'|trans}) }}
<a href="{{ path('app_post_index') }}">Back to list</a>
<a href="{{ path('app_post_index') }}">{{ 'back_to_list'|trans }}</a>
{{ include('post/_delete_form.html.twig') }}
{% endblock %}