translation files and menu
This commit is contained in:
parent
3501cf503f
commit
774eb41cf7
@ -1,4 +1,4 @@
|
|||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{{ form_start(form, { 'action': path('fos_user_change_password'), 'attr': { 'class': 'fos_user_change_password' } }) }}
|
{{ form_start(form, { 'action': path('fos_user_change_password'), 'attr': { 'class': 'fos_user_change_password' } }) }}
|
||||||
{{ form_widget(form) }}
|
{{ form_widget(form) }}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{% extends "@FOSUser/layout.html.twig" %}
|
{% extends "@FOSUser/layout.html.twig" %}
|
||||||
|
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{% block fos_user_content %}
|
{% block fos_user_content %}
|
||||||
<p>{{ 'registration.check_email'|trans({'%email%': user.email}) }}</p>
|
<p>{{ 'registration.check_email'|trans({'%email%': user.email}) }}</p>
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{% extends "@FOSUser/layout.html.twig" %}
|
{% extends "@FOSUser/layout.html.twig" %}
|
||||||
|
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{% block fos_user_content %}
|
{% block fos_user_content %}
|
||||||
<p>{{ 'registration.confirmed'|trans({'%username%': user.username}) }}</p>
|
<p>{{ 'registration.confirmed'|trans({'%username%': user.username}) }}</p>
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block subject %}
|
{% block subject %}
|
||||||
{%- autoescape false -%}
|
{%- autoescape false -%}
|
||||||
{{ 'registration.email.subject'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
|
{{ 'registration.email.subject'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }}
|
{{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }}
|
||||||
{{ form_widget(form) }}
|
{{ form_widget(form) }}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends "@FOSUser/layout.html.twig" %}
|
{% extends "@FOSUser/layout.html.twig" %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block fos_user_content %}
|
{% block fos_user_content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends "@FOSUser/layout.html.twig" %}
|
{% extends "@FOSUser/layout.html.twig" %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block fos_user_content %}
|
{% block fos_user_content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-sm-6">
|
<div class="col-xs-12 col-sm-6">
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{% if error %}
|
{% if error %}
|
||||||
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block title %}Caisse{% endblock %}
|
{% block title %}Caisse{% endblock %}
|
||||||
|
|
||||||
{% block bigMain %}
|
{% block bigMain %}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% extends '@HWIOAuth/layout.html.twig' %}
|
{% extends '@HWIOAuth/layout.html.twig' %}
|
||||||
{% block bigMain %}
|
{% block bigMain %}
|
||||||
{% include 'default/header.html.twig' %}
|
{% include 'default/header.html.twig' %}
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
<h2>Le login</h2>
|
<h2>Le login</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{% if error %}
|
{% if error %}
|
||||||
<div>{{ error|trans }}</div>
|
<div>{{ error|trans }}</div>
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
|
|
||||||
{% block bigMain %}
|
{% block bigMain %}
|
||||||
|
|
||||||
{% include 'default/main-screen.html.twig' %}
|
{% include 'default/main-screen.html.twig' %}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block loginchoices %}
|
{% block loginchoices %}
|
||||||
<div class="loginland ">
|
<div class="loginland ">
|
||||||
|
|
||||||
@ -12,7 +11,8 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="{{ path('homepage') }}" class="btn btn-default logo-home pull-left">
|
<a href="{{ path('homepage') }}" class="btn btn-default logo-home pull-left">
|
||||||
<i class="fa fa-home"></i>
|
<i class="fa fa-home"></i>
|
||||||
Caisse Bliss
|
|
||||||
|
{% trans %}menu.title{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@ -22,7 +22,7 @@
|
|||||||
btn-default
|
btn-default
|
||||||
{% endif %}" href="{{ path('dashboard') }}">
|
{% endif %}" href="{{ path('dashboard') }}">
|
||||||
<i class="fa fa-list"></i>
|
<i class="fa fa-list"></i>
|
||||||
Dashboard
|
{% trans %}menu.dashboard{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@ -33,8 +33,7 @@
|
|||||||
{% endif %} "
|
{% endif %} "
|
||||||
href="{{ path('productcategory_index') }}">
|
href="{{ path('productcategory_index') }}">
|
||||||
<i class="fa fa-file-archive-o"></i>
|
<i class="fa fa-file-archive-o"></i>
|
||||||
Catégories
|
{% trans %}menu.categories{% endtrans %}
|
||||||
|
|
||||||
<span class="badge">
|
<span class="badge">
|
||||||
{{ app.user.categories|length }}
|
{{ app.user.categories|length }}
|
||||||
</span>
|
</span>
|
||||||
@ -49,7 +48,7 @@
|
|||||||
href="{{ path('product_index') }}"
|
href="{{ path('product_index') }}"
|
||||||
>
|
>
|
||||||
<i class="fa fa-gears"></i>
|
<i class="fa fa-gears"></i>
|
||||||
Produits
|
{% trans %}menu.products{% endtrans %}
|
||||||
<span class="badge">
|
<span class="badge">
|
||||||
{{ app.user.products|length }}
|
{{ app.user.products|length }}
|
||||||
</span>
|
</span>
|
||||||
@ -64,7 +63,8 @@
|
|||||||
" href='{{ path('festival_index') }}'
|
" href='{{ path('festival_index') }}'
|
||||||
>
|
>
|
||||||
<i class="fa fa-th-large"></i>
|
<i class="fa fa-th-large"></i>
|
||||||
Festivals
|
|
||||||
|
{% trans %}menu.festivals{% endtrans %}
|
||||||
<span class="badge">
|
<span class="badge">
|
||||||
{{ app.user.festivals|length }}
|
{{ app.user.festivals|length }}
|
||||||
</span>
|
</span>
|
||||||
@ -78,7 +78,7 @@
|
|||||||
{% endif %}" href="{{ path('history') }}"
|
{% endif %}" href="{{ path('history') }}"
|
||||||
>
|
>
|
||||||
<i class="fa fa-clock-o"></i>
|
<i class="fa fa-clock-o"></i>
|
||||||
Historique
|
{% trans %}menu.history{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@ -90,7 +90,8 @@
|
|||||||
{% endif %}" href="{{ path('import') }}"
|
{% endif %}" href="{{ path('import') }}"
|
||||||
>
|
>
|
||||||
<i class="fa fa-arrow-circle-o-up"></i>
|
<i class="fa fa-arrow-circle-o-up"></i>
|
||||||
Import
|
|
||||||
|
{% trans %}menu.import{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@ -102,14 +103,16 @@
|
|||||||
{% endif %}" href="{{ path('previsionnel') }}"
|
{% endif %}" href="{{ path('previsionnel') }}"
|
||||||
>
|
>
|
||||||
<i class="fa fa-arrow-circle-o-up"></i>
|
<i class="fa fa-arrow-circle-o-up"></i>
|
||||||
Prévisionnel
|
|
||||||
|
{% trans %}menu.future{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-3 text-right">
|
<div class="col-xs-3 text-right">
|
||||||
Bonjour
|
|
||||||
|
{% trans %}user.greet{% endtrans %}
|
||||||
<a href="{{ path('fos_user_profile_edit') }}">
|
<a href="{{ path('fos_user_profile_edit') }}">
|
||||||
|
|
||||||
<i class="fa fa-user"></i>
|
<i class="fa fa-user"></i>
|
||||||
@ -118,7 +121,8 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
|
|
||||||
<a class="btn btn-default" href="{{ path('fos_user_security_logout') }}">
|
<a class="btn btn-default" href="{{ path('fos_user_security_logout') }}">
|
||||||
Déconnexion
|
|
||||||
|
{% trans %}layout.logout{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="container" class="container">
|
<div id="container" class="container">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="container" class="container">
|
<div id="container" class="container">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1>Importation, création en masse</h1>
|
<h1>Importation, création en masse</h1>
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% trans_default_domain 'FOSUserBundle' %}
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% verbatim %}
|
{% verbatim %}
|
||||||
|
|
||||||
|
1
translations/FOSUserBundle.fr.yml → translations/FOSUserBundle.fr.yml~
Executable file → Normal file
1
translations/FOSUserBundle.fr.yml → translations/FOSUserBundle.fr.yml~
Executable file → Normal file
@ -1,2 +1,3 @@
|
|||||||
layout.logout: __layout.logout
|
layout.logout: __layout.logout
|
||||||
layout.register: __layout.register
|
layout.register: __layout.register
|
||||||
|
layout.login: __layout.login
|
15
translations/messages.en.yml
Normal file
15
translations/messages.en.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
layout.login: login
|
||||||
|
layout.logout: logout
|
||||||
|
layout.register: subscribe
|
||||||
|
'Symfony is great': 'J''aime Symfony'
|
||||||
|
menu:
|
||||||
|
title: Caisse Bliss
|
||||||
|
dashboard: Dashboard
|
||||||
|
history: History
|
||||||
|
import: Import
|
||||||
|
festival: Festivals
|
||||||
|
products: Products
|
||||||
|
categories: Categories
|
||||||
|
future: Forecast
|
||||||
|
user:
|
||||||
|
greet: Hi
|
0
translations/de → translations/messages.en.yml~
Executable file → Normal file
0
translations/de → translations/messages.en.yml~
Executable file → Normal file
15
translations/messages.fr.yaml
Executable file
15
translations/messages.fr.yaml
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
layout.login: Connexion
|
||||||
|
layout.logout: Déconnexion
|
||||||
|
layout.register: Inscription
|
||||||
|
'Symfony is great': 'J''aime Symfony'
|
||||||
|
menu:
|
||||||
|
title: Caisse Bliss
|
||||||
|
dashboard: Dashboard
|
||||||
|
history: Historique
|
||||||
|
import: Importer
|
||||||
|
festival: Festivals
|
||||||
|
products: Produits
|
||||||
|
categories: Catégories
|
||||||
|
future: Prévisionnel
|
||||||
|
user:
|
||||||
|
greet: Bonjour
|
2
translations/en → translations/messages.fr.yml~
Executable file → Normal file
2
translations/en → translations/messages.fr.yml~
Executable file → Normal file
@ -1,3 +1,3 @@
|
|||||||
---
|
|
||||||
layout.logout: __layout.logout
|
layout.logout: __layout.logout
|
||||||
layout.register: __layout.register
|
layout.register: __layout.register
|
||||||
|
'Symfony is great': 'J''aime Symfony'
|
Loading…
Reference in New Issue
Block a user