Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Feb 13, 2024
1 parent 354f805 commit 3443572
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 4 deletions.
7 changes: 3 additions & 4 deletions templates/after_pay.html.twig
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{% extends '@SyliusShop/layout.html.twig' %}

{% block content %}
<h1>Stiamo processando il tuo pagamento!</h1>
<h1>{{ 'webgriffe_sylius_pagolight.ui.processing_payment'|trans }}</h1>

<p>Per favore, attendi fino a quando non vedrai una nuova pagina di stato!</p>
<p>{{ 'webgriffe_sylius_pagolight.ui.please_wait'|trans }}</p>


<img src="{{ asset('build/shop/images/loading.gif', 'shop') }}" alt="Loading...">
<img src="{{ asset('build/shop/images/loading.gif', 'shop') }}" alt="{{ 'webgriffe_sylius_pagolight.ui.loading'|trans }}">
{% endblock %}

{% block javascripts %}
Expand Down
5 changes: 5 additions & 0 deletions translations/messages.en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
webgriffe_sylius_pagolight:
ui:
processing_payment: 'Your payment is being processed!'
please_wait: 'Please wait until you see a new status page!'
loading: 'Loading'
5 changes: 5 additions & 0 deletions translations/messages.es.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
webgriffe_sylius_pagolight:
ui:
processing_payment: '¡Estamos procesando tu pago!'
please_wait: '¡Espere hasta que vea una nueva página de estado!'
loading: 'Cargando'
5 changes: 5 additions & 0 deletions translations/messages.fr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
webgriffe_sylius_pagolight:
ui:
processing_payment: 'Nous traitons votre paiement!'
please_wait: 'Veuillez attendre de voir une nouvelle page de statut!'
loading: 'Chargement en cours'
5 changes: 5 additions & 0 deletions translations/messages.it.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
webgriffe_sylius_pagolight:
ui:
processing_payment: 'Stiamo processando il tuo pagamento!'
please_wait: 'Per favore, attendi fino a quando non vedrai una nuova pagina di stato!'
loading: 'Caricamento in corso'
3 changes: 3 additions & 0 deletions translations/validators.es.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
webgriffe_sylius_pagolight:
payment_method:
unique: 'Debe haber un solo método de pago para esta pasarela.'
3 changes: 3 additions & 0 deletions translations/validators.fr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
webgriffe_sylius_pagolight:
payment_method:
unique: 'Il ne doit y avoir qu''un seul mode de paiement pour cette passerelle.'

0 comments on commit 3443572

Please sign in to comment.