Ajout de la traduction (#15)

Co-authored-by: hugo.pradier2 <hugo.pradier2@etu.uca.fr>
Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr>
Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/15
Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr>
Co-authored-by: Hugo PRADIER <hugo.pradier2@etu.uca.fr>
Co-committed-by: Hugo PRADIER <hugo.pradier2@etu.uca.fr>
This commit is contained in:
Hugo PRADIER
2024-06-13 08:46:30 +02:00
committed by Clément FRÉVILLE
parent ccb2b541ea
commit 8a1edeb938
31 changed files with 1919 additions and 94 deletions

View File

@@ -1,6 +1,6 @@
{% extends 'base.html.twig' %}
{% block title %}Species{% endblock %}
{% block title %}{{ 'species'|trans }}{% endblock %}
{% block body %}
<style>
@@ -9,7 +9,7 @@
</style>
<div class="example-wrapper">
<h1>Liste des espèces</h1>
<h1>{{ 'list_of_species'|trans }}</h1>
<dl>
{% for specie in species %}
@@ -19,12 +19,12 @@
</a>
</dt>
<dd >
🔬 Nom Scientifique : {{ specie.scientificName }}<br/>
📍 Region : {{ specie.region }}
🔬 {{ 'scientific_name'|trans }} : {{ specie.scientificName }}<br/>
📍 {{ 'region'|trans }} : {{ specie.region }}
</dd><br/>
{% endfor %}
</dl>
<a href="{{ path('app_species_new') }}">Create new</a>
<a href="{{ path('app_species_new') }}">{{ 'create_new'|trans }}</a>
</div>
{% endblock %}