Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
Added translations and UX for paypal plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tonipinel committed Jun 13, 2015
1 parent 164bd55 commit 3550a48
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 31 deletions.
4 changes: 0 additions & 4 deletions app/Resources/translations/messages.ca.yml

This file was deleted.

4 changes: 0 additions & 4 deletions app/Resources/translations/messages.en.yml

This file was deleted.

4 changes: 0 additions & 4 deletions app/Resources/translations/messages.es.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
elcodi_plugin:
paypal_web_checkout:
name: Paypal Web Checkout
description: Integració de Paypal Web Checkout per a la teva botiga

description: "<p>Stripe permeteix pagar als teus usuaris fent servir el seu compte de Paypal. Per activar-ho necesites tenir un compte de Paypal i configurar-lo aquí.</p><p>No tens un compte de Paypal?</p> <a href='https://www.paypal.com/webapps/mpp/merchant' class='button' target='_blank'>Crear un compte de Paypal</a>"
field:
private_key:
label: Clau privada
public_key:
label: Clau pública
business:
label: Compte de Paypal
placeholder: [email protected]
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
elcodi_plugin:
paypal_web_checkout:
name: Paypal Web Checkout
description: Paypal Web Checkout integration for your shop

description: "<p>Paypal allows your users to pay using their paypal account. To enable it you need to create a Paypal Account and set it here.</p><p>Don't you have a Paypal account?</p> <a href='https://www.paypal.com/webapps/mpp/merchant' class='button' target='_blank'>Create a new account</a>"
field:
private_key:
label: Private key
public_key:
label: Public key
business:
label: Paypal account
placeholder: [email protected]
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
elcodi_plugin:
paypal_web_checkout:
name: Paypal Web Checkout
description: Integración de Paypal Web Checkout para tu tienda

description: "<p>Paypal permite a tus usuarios pagar con su cuenta de paypal. Para activarlo necesitas tener una cuenta de Paypal Business y configurarla aquí.</p><p>¿No tienes una cuenta de Paypal?</p> <a href='https://www.paypal.com/webapps/mpp/merchant' class='button' target='_blank'>Crear nueva cuenta de Paypal</a>"
field:
private_key:
label: Clave privada
public_key:
label: Clave pública
business:
label: Cuenta de paypal
placeholder: [email protected]
2 changes: 2 additions & 0 deletions src/Elcodi/Plugin/PaypalWebCheckoutBundle/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ plugin:
type: text
required: true
label: elcodi_plugin.paypal_web_checkout.field.business.label
attr:
placeholder: elcodi_plugin.paypal_web_checkout.field.business.placeholder
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
elcodi_plugin:
stripe:
name: Stripe
description: "<p>Stripe permeteix pagar als teus usuaris fent servir tarja de credit. Per activar-ho necesites tenir un compte d'Stripe i enganxar aqui les teves claus públiques i privades.</p><p>No tenes un compte d'Stripe?</p> <a href='https://dashboard.stripe.com/register' class='button' target='_blank'>Crear un compte d'Stripe</a>"
description: "<p>Stripe permeteix pagar als teus usuaris fent servir tarja de credit. Per activar-ho necesites tenir un compte d'Stripe i enganxar aqui les teves claus públiques i privades.</p><p>No tens un compte d'Stripe?</p> <a href='https://dashboard.stripe.com/register' class='button' target='_blank'>Crear un compte d'Stripe</a>"
field:
private_key:
label: Clau privada
Expand Down

0 comments on commit 3550a48

Please sign in to comment.