Skip to content

Commit

Permalink
Merge pull request #24 from pagantis/INT-686
Browse files Browse the repository at this point in the history
Int 686
  • Loading branch information
pgarcess authored Aug 26, 2019
2 parents 73f0502 + 0ea261f commit f604f3f
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 80 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- run:
name: Composer Install
command: |
#sudo apt install -y python-software-properties
#sudo apt install -y software-properties-common
#sudo add-apt-repository -y ppa:ondrej/php
#sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
#sudo rm -rf /etc/apt/sources.list.d/circleci_trusty.list*
#find /etc/apt/sources.list.d -type f -name '*.list' -exec sudo apt-get update -o Dir::Etc::sourcelist="{}" ';'
sudo apt install -y python-software-properties
sudo apt install -y software-properties-common
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update
sudo apt install -y php7.2-fpm php7.2-gd php7.2-curl php7.2-mysql php7.2-dev php7.2-cli php7.2-common php7.2-mbstring php7.2-intl php7.2-zip php7.2-bcmath php7.2-dom npm
Expand Down
2 changes: 1 addition & 1 deletion WC_Pagantis.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Pagantis
* Plugin URI: http://www.pagantis.com/
* Description: Financiar con Pagantis
* Version: 8.2.0
* Version: 8.2.1
* Author: Pagantis
*/

Expand Down
1 change: 1 addition & 0 deletions controllers/paymentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public function __construct()

$this->extraConfig = $this->getExtraConfig();
$this->title = __($this->extraConfig['PAGANTIS_TITLE'], 'pagantis');
$this->method_description = "Financial Payment Gateway. Enable the possibility for your customers to pay their order in confortable installments with Pagantis.";

$this->settings['ok_url'] = ($this->extraConfig['PAGANTIS_URL_OK']!='')?$this->extraConfig['PAGANTIS_URL_OK']:$this->generateOkUrl();
$this->settings['ko_url'] = ($this->extraConfig['PAGANTIS_URL_KO']!='')?$this->extraConfig['PAGANTIS_URL_KO']:$this->generateKoUrl();
Expand Down
40 changes: 23 additions & 17 deletions languages/pagantis-es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@ msgid ""
msgstr ""
"Project-Id-Version: Pagantis WooCommerce V2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-30 12:43+0000\n"
"PO-Revision-Date: 2019-07-30 13:17+0000\n"
"POT-Creation-Date: 2019-08-26 11:09+0000\n"
"PO-Revision-Date: 2019-08-26 11:16+0000\n"
"Last-Translator: admin <demo@woocommerceshop.com>\n"
"Language-Team: Español\n"
"Language-Team: Spanish (Spain)\n"
"Language: es-ES\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.3.0; wp-5.1"
"X-Loco-Version: 2.3.0; wp-5.2.2"

#: WC_Pagantis.php:214
#: WC_Pagantis.php:339
msgid "Settings"
msgstr "Ajustes"

#: WC_Pagantis.php:232 controllers/paymentController.php:119
#: WC_Pagantis.php:357 controllers/paymentController.php:120
msgid "Documentation"
msgstr "Documentación"

#: WC_Pagantis.php:234
#: WC_Pagantis.php:359
msgid "API documentation"
msgstr "Documentación de la API"

#: WC_Pagantis.php:235
#: WC_Pagantis.php:360
msgid "Support"
msgstr "Soporte"

Expand All @@ -50,35 +50,35 @@ msgstr "Clave Privada"
msgid "Product simulator"
msgstr "Simulador en el producto"

#: controllers/paymentController.php:118
#: controllers/paymentController.php:119
msgid "Login to your panel"
msgstr "Accede a tu panel"

#: controllers/paymentController.php:135
#: controllers/paymentController.php:136
msgid " is not compatible with your php and/or curl version"
msgstr " no es compatible con su versión de php/curl"

#: controllers/paymentController.php:138
#: controllers/paymentController.php:139
msgid ""
" is not configured correctly, the fields Public Key and Secret Key are "
"mandatory for use this plugin"
msgstr ""
" no está configurado correctamente, los campos Public Key y Secret Key son "
"obligatorios para su uso"

#: controllers/paymentController.php:141
#: controllers/paymentController.php:142
msgid " only can be used in Euros"
msgstr " solo puede ser usado en Euros"

#: controllers/paymentController.php:145 controllers/paymentController.php:148
#: controllers/paymentController.php:146 controllers/paymentController.php:149
msgid " only can be payed from 2 to 12 installments"
msgstr " solo puede ser pagado de 2 a 12 plazos"

#: controllers/paymentController.php:150
#: controllers/paymentController.php:151
msgid " can not have a minimum amount less than 0"
msgstr " no puede tener un importe mínimo menor a 0"

#: controllers/paymentController.php:341 controllers/paymentController.php:458
#: controllers/paymentController.php:356 controllers/paymentController.php:473
msgid "Payment error "
msgstr "Error en el pago "

Expand All @@ -94,5 +94,11 @@ msgstr "Financiar con Pagantis"
msgid "http://www.pagantis.com/"
msgstr "http://www.pagantis.com/"

msgid "Instant Financing"
msgstr "Financiación Instantánea"
msgid ""
"Financial Payment Gateway. Enable the possibility for your customers to pay "
"their order in confortable installments \n"
"with Pagantis"
msgstr ""
"Pasarela de pagos financieros. Habilite la posibilidad de que sus clientes "
"paguen su pedido en cómodas entregas\n"
"con Pagantis"
37 changes: 21 additions & 16 deletions languages/pagantis-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Pagantis WooCommerce V2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-30 12:43+0000\n"
"PO-Revision-Date: 2019-07-30 13:17+0000\n"
"POT-Creation-Date: 2019-08-26 11:09+0000\n"
"PO-Revision-Date: 2019-08-26 11:16+0000\n"
"Last-Translator: admin <demo@woocommerceshop.com>\n"
"Language-Team: French (France)\n"
"Language: fr-FR\n"
Expand All @@ -12,21 +12,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.3.0; wp-5.1"
"X-Loco-Version: 2.3.0; wp-5.2.2"

#: WC_Pagantis.php:214
#: WC_Pagantis.php:339
msgid "Settings"
msgstr "Paramètres"

#: WC_Pagantis.php:232 controllers/paymentController.php:119
#: WC_Pagantis.php:357 controllers/paymentController.php:120
msgid "Documentation"
msgstr "La documentation"

#: WC_Pagantis.php:234
#: WC_Pagantis.php:359
msgid "API documentation"
msgstr "Documentation API"

#: WC_Pagantis.php:235
#: WC_Pagantis.php:360
msgid "Support"
msgstr "Soutien"

Expand All @@ -50,35 +50,35 @@ msgstr "Clé secrète"
msgid "Product simulator"
msgstr "Simulateur de produit"

#: controllers/paymentController.php:118
#: controllers/paymentController.php:119
msgid "Login to your panel"
msgstr "Connectez-vous à votre panel"

#: controllers/paymentController.php:135
#: controllers/paymentController.php:136
msgid " is not compatible with your php and/or curl version"
msgstr "n'est pas compatible avec votre version php et / ou curl"

#: controllers/paymentController.php:138
#: controllers/paymentController.php:139
msgid ""
" is not configured correctly, the fields Public Key and Secret Key are "
"mandatory for use this plugin"
msgstr ""
" n'est pas configuré correctement, les champs Clé publique et Clé secrète "
"sont obligatoires pour utiliser ce plugin"

#: controllers/paymentController.php:141
#: controllers/paymentController.php:142
msgid " only can be used in Euros"
msgstr " seulement peut être utilisé en euros"

#: controllers/paymentController.php:145 controllers/paymentController.php:148
#: controllers/paymentController.php:146 controllers/paymentController.php:149
msgid " only can be payed from 2 to 12 installments"
msgstr " seulement peut être payé de 2 à 12 versements"

#: controllers/paymentController.php:150
#: controllers/paymentController.php:151
msgid " can not have a minimum amount less than 0"
msgstr " ne peut pas avoir un montant minimum inférieur à 0"

#: controllers/paymentController.php:341 controllers/paymentController.php:458
#: controllers/paymentController.php:356 controllers/paymentController.php:473
msgid "Payment error "
msgstr "Erreur de paiement"

Expand All @@ -94,5 +94,10 @@ msgstr "Financez avec Pagantis"
msgid "http://www.pagantis.com/"
msgstr "http://www.pagantis.com/"

msgid "Instant Financing"
msgstr "Financement instantané"
msgid ""
"Financial Payment Gateway. Enable the possibility for your customers to pay "
"their order in confortable installments \n"
"with Pagantis"
msgstr ""
"Passerelle de paiement financier. Permettez à vos clients de payer leur "
"commande en plusieurs fois avec Pagantis"
35 changes: 20 additions & 15 deletions languages/pagantis-it_IT.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Pagantis WooCommerce V2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-30 13:16+0000\n"
"PO-Revision-Date: 2019-07-31 07:22+0000\n"
"POT-Creation-Date: 2019-08-26 11:09+0000\n"
"PO-Revision-Date: 2019-08-26 11:16+0000\n"
"Last-Translator: admin <demo@woocommerceshop.com>\n"
"Language-Team: Italiano\n"
"Language: it-IT\n"
Expand All @@ -14,19 +14,19 @@ msgstr ""
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.3.0; wp-5.2.2"

#: WC_Pagantis.php:214
#: WC_Pagantis.php:339
msgid "Settings"
msgstr "Impostazioni"

#: WC_Pagantis.php:232 controllers/paymentController.php:119
#: WC_Pagantis.php:357 controllers/paymentController.php:120
msgid "Documentation"
msgstr "Documentazione"

#: WC_Pagantis.php:234
#: WC_Pagantis.php:359
msgid "API documentation"
msgstr "Documentazione API"

#: WC_Pagantis.php:235
#: WC_Pagantis.php:360
msgid "Support"
msgstr "Supporto"

Expand All @@ -50,35 +50,35 @@ msgstr "Chiave segreta"
msgid "Product simulator"
msgstr "Simulatore di prodotto"

#: controllers/paymentController.php:118
#: controllers/paymentController.php:119
msgid "Login to your panel"
msgstr "Accedi al tuo pannello"

#: controllers/paymentController.php:135
#: controllers/paymentController.php:136
msgid " is not compatible with your php and/or curl version"
msgstr "non è compatibile con la tua versione php e / o curl"

#: controllers/paymentController.php:138
#: controllers/paymentController.php:139
msgid ""
" is not configured correctly, the fields Public Key and Secret Key are "
"mandatory for use this plugin"
msgstr ""
"non è configurato correttamente, i campi Public Key e Secret Key sono "
"obbligatori per utilizzare questo plugin"

#: controllers/paymentController.php:141
#: controllers/paymentController.php:142
msgid " only can be used in Euros"
msgstr " può essere utilizzato solo in euro"

#: controllers/paymentController.php:145 controllers/paymentController.php:148
#: controllers/paymentController.php:146 controllers/paymentController.php:149
msgid " only can be payed from 2 to 12 installments"
msgstr " solo può essere pagato da 2 a 12 rate"

#: controllers/paymentController.php:150
#: controllers/paymentController.php:151
msgid " can not have a minimum amount less than 0"
msgstr " non può avere un importo minimo inferiore a 0"

#: controllers/paymentController.php:341 controllers/paymentController.php:458
#: controllers/paymentController.php:356 controllers/paymentController.php:473
msgid "Payment error "
msgstr "Errore di pagamento"

Expand All @@ -94,5 +94,10 @@ msgstr "Finanza con Pagantis"
msgid "http://www.pagantis.com/"
msgstr "http://www.pagantis.com/"

msgid "Instant Financing"
msgstr "Finanziamento istantaneo"
msgid ""
"Financial Payment Gateway. Enable the possibility for your customers to pay "
"their order in confortable installments \n"
"with Pagantis"
msgstr ""
"Gateway di pagamento finanziario. Consenti ai tuoi clienti di pagare il loro "
"ordine in rate confortevoli con Pagantis"
Loading

0 comments on commit f604f3f

Please sign in to comment.