ajout dans le menu du changement
continuous-integration/drone/push Build is failing Details

Hugo PRADIER 3 weeks ago
parent 8c00ef03ee
commit fea312dd8a

@ -21,8 +21,8 @@ framework:
#esi: true
#fragments: true
set_locale_from_accept_language: true
set_content_language_from_locale: true
# set_locale_from_accept_language: true
# set_content_language_from_locale: true
when@test:
framework:

@ -16,11 +16,15 @@
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="{{ path('app_species_index') }}">Herbarium</a>
{% if app.user %}
<a class="nav-link" href="{{ path('app_logout') }}">{{ app.user.email }} - {{ 'log_out'|trans }}</a>
{% else %}
<a class="nav-link" href="{{ path('app_login') }}">{{ 'sign_in'|trans }}</a>
{% endif %}
<div class="navbar-nav ms-auto">
<a class="nav-link" href="{{ path('app_setting_locale', { 'locale': 'en' }) }}">English</a>
<a class="nav-link" href="{{ path('app_setting_locale', { 'locale': 'fr' }) }}">Français</a>
{% if app.user %}
<a class="nav-link" href="{{ path('app_logout') }}">{{ app.user.email }} - {{ 'log_out'|trans }}</a>
{% else %}
<a class="nav-link" href="{{ path('app_login') }}">{{ 'sign_in'|trans }}</a>
{% endif %}
</div>
</div>
</nav>
<div class="container my-4">

@ -11,7 +11,7 @@
<th>Id</th>
<th>{{ 'scientific_name'|trans }}</th>
<th>{{ 'vernacular_name'|trans }}</th>
<th>Region</th>
<th>{{ 'region'|trans }}</th>
<th>Actions</th>
</tr>
</thead>

@ -149,6 +149,10 @@
<source>edit_species</source>
<target>Edit species</target>
</trans-unit>
<trans-unit id="sczbhz" resname="edit_post">
<source>edit_post</source>
<target>Edit post</target>
</trans-unit>
</body>
</file>
</xliff>

@ -149,6 +149,10 @@
<source>edit_species</source>
<target>Éditer l'espèce</target>
</trans-unit>
<trans-unit id="sczbhz" resname="edit_post">
<source>edit_post</source>
<target>Éditer la publication</target>
</trans-unit>
</body>
</file>
</xliff>

Loading…
Cancel
Save