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,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 >
🔬 Scientific name : {{ 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 %}