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

@@ -1,13 +1,13 @@
{% extends 'base.html.twig' %}
{% block title %}Edit Species{% endblock %}
{% block title %}{{ 'edit_species'|trans }}{% endblock %}
{% block body %}
<h1>Edit Species</h1>
<h1>{{ 'edit_species'|trans }}</h1>
{{ include('species/_form.html.twig', {'button_label': 'Update'}) }}
{{ include('species/_form.html.twig', {'button_label': 'update'|trans}) }}
<a href="{{ path('app_species_index') }}">Back to list</a>
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
{{ include('species/_delete_form.html.twig') }}
{% endblock %}