ajout des traductions en et fr
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Welcome to Herbarium!{% endblock %}</title>
|
||||
<title>{% block title %}{{ 'welcome_to_herbarium'|trans }}{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{% block stylesheets %}
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||
@@ -17,9 +17,9 @@
|
||||
<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</a>
|
||||
<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</a>
|
||||
<a class="nav-link" href="{{ path('app_login') }}">{{ 'sign_in'|trans }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
|
Reference in New Issue
Block a user