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,16 +1,16 @@
{% extends 'base.html.twig' %}
{% block title %}Species{% endblock %}
{% block title %}{{ 'species'|trans }}{% endblock %}
{% block body %}
<h1>{{ species.vernacularName }}</h1>
<p>
🔬 Nom Scientifique : {{ species.scientificName }}<br/>
📍 Region : {{ species.region }}
🔬 {{ 'scientific_name'|trans }} : {{ species.scientificName }}<br/>
📍 {{ 'region'|trans }} : {{ species.region }}
</p>
<div>
<h2>Posts :</h2>
<h2>{{ 'posts'|trans }} :</h2>
{% for post in species.posts %}
<div>
@@ -18,18 +18,18 @@
<h3>{{ post.publicationDate | date }}</h3>
</dt>
<dl>
<dt>📍Géolocalisation</dt>
<dt>📍{{ 'geolocation'|trans }}</dt>
<dd>{{ post.longitude }} - {{ post.latitude }}</dd>
<dt>📍Commentaire</dt>
<dt>💬{{ 'commentary'|trans }}</dt>
<dd>{{ post.getCommentary }}</dd>
</dl>
</div>
{% endfor %}
<a href="{{ path('app_species_index') }}">back to list</a>
<a href="{{ path('app_species_index') }}">{{ 'back_to_list'|trans }}</a>
<a href="{{ path('app_species_edit', {'id': species.id}) }}">edit</a>
<a href="{{ path('app_species_edit', {'id': species.id}) }}">{{ 'edit'|trans }}</a>
{{ include('species/_delete_form.html.twig') }}
</div>