ajout des traductions en et fr
This commit is contained in:
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user