diff --git a/README.md b/README.md old mode 100644 new mode 100755 index c638928..9dd7e38 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ Very usefull and powerfull. ### Versions ### +* 1.1.1 - 15/03/2017 : + * Use PHPMailer if Newsletter plugin exists + * Replace MCrypt by OpenSSL + * Fix issue when unknow lang * 1.1 - 14/10/2016 : Use PHP-Gettext in place of gettext * 1.0.2 - 16/11/2015 : Fix a bug * 1.0.1 - 15/11/2015 : ColorPicker diff --git a/lang/es_ES.utf8/LC_MESSAGES/payment.mo b/lang/es_ES.utf8/LC_MESSAGES/payment.mo old mode 100644 new mode 100755 index adec275..09ede29 Binary files a/lang/es_ES.utf8/LC_MESSAGES/payment.mo and b/lang/es_ES.utf8/LC_MESSAGES/payment.mo differ diff --git a/lang/es_ES.utf8/LC_MESSAGES/payment.po b/lang/es_ES.utf8/LC_MESSAGES/payment.po index 5b395e3..ff36351 100755 --- a/lang/es_ES.utf8/LC_MESSAGES/payment.po +++ b/lang/es_ES.utf8/LC_MESSAGES/payment.po @@ -2,661 +2,593 @@ msgid "" msgstr "" "Project-Id-Version: CmsUno\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-24 17:33+0100\n" -"PO-Revision-Date: 2015-08-24 18:00+0100\n" -"Last-Translator: jacques Malgrange \n" +"POT-Creation-Date: 2017-03-15 17:01+0100\n" +"PO-Revision-Date: 2017-03-15 17:04+0100\n" +"Last-Translator: malgrange \n" "Language-Team: Jacques Malgrange \n" -"Language: \n" +"Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Report-\tmsgstr-Bugs-To: \n" "Report-\t\tmsgstr-Bugs-To: \n" -"X-Poedit-KeywordsList: _\n" +"X-Poedit-KeywordsList: _;T_\n" "X-Poedit-Basepath: .\n" -"X-Poedit-Country: SPAIN\n" "X-Poedit-SourceCharset: iso-8859-1\n" -"X-Poedit-Language: Spanish\n" +"X-Generator: Poedit 1.8.7.1\n" "X-Poedit-SearchPath-0: ../../..\n" -#: ../../../paymentPdf.php:41 -msgid "Invoice" -msgstr "Factura" - -#: ../../../paymentPdf.php:45 -#: ../../../paymentInc.php:42 -#: ../../../paymentInc.php:80 -#: ../../../paymentInc.php:103 -#: ../../../paymentInc.php:104 -#: ../../../paymentOrder.php:47 -#: ../../../paymentMake.php:29 -#: ../../../payment.php:467 -msgid "Order" -msgstr "Solicitar" - -#: ../../../paymentPdf.php:47 -#: ../../../paymentPdf.php:59 -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:469 -msgid "Ref" -msgstr "Ref" - -#: ../../../paymentPdf.php:51 -#: ../../../payment.php:263 -msgid "Date" -msgstr "Fecha" - -#: ../../../paymentPdf.php:55 -#: ../../../paymentOrder.php:76 -#: ../../../payment.php:496 -msgid "Payment" -msgstr "Pago" - -#: ../../../paymentPdf.php:57 -#: ../../../paymentOrder.php:74 -#: ../../../payment.php:47 -#: ../../../payment.php:344 -#: ../../../payment.php:494 -msgid "Cheque" -msgstr "Cheque" - -#: ../../../paymentPdf.php:57 -#: ../../../paymentOrder.php:75 -#: ../../../payment.php:42 -#: ../../../payment.php:495 -msgid "Bank Transfer" -msgstr "Transferencia" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentPdf.php:106 -#: ../../../paymentInc.php:53 -#: ../../../paymentInc.php:124 -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:138 -#: ../../../paymentInc.php:139 -#: ../../../paymentOrder.php:49 -#: ../../../paymentOrder.php:69 -#: ../../../payment.php:263 -#: ../../../payment.php:469 -#: ../../../payment.php:489 -msgid "Name" -msgstr "Nombre" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:263 -#: ../../../payment.php:469 -msgid "Price" -msgstr "Precio" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentInc.php:45 -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:76 -#: ../../../payment.php:82 -#: ../../../payment.php:88 -#: ../../../payment.php:94 -#: ../../../payment.php:469 -msgid "Tax" -msgstr "Impuestos" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentPdf.php:99 -#: ../../../paymentInc.php:50 -#: ../../../paymentInc.php:106 -#: ../../../paymentInc.php:107 -#: ../../../paymentOrder.php:49 -#: ../../../paymentOrder.php:63 -#: ../../../payment.php:469 -#: ../../../payment.php:483 -msgid "Total" -msgstr "Total" - -#: ../../../paymentPdf.php:62 -#: ../../../paymentOrder.php:48 -#: ../../../payment.php:22 -#: ../../../payment.php:468 -msgid "Order Details" -msgstr "Detalles de pedidos" - -#: ../../../paymentPdf.php:88 -#: ../../../paymentOrder.php:57 -#: ../../../payment.php:477 -msgid "Subtotal" -msgstr "Total parcial" - -#: ../../../paymentPdf.php:94 -#: ../../../paymentInc.php:48 -#: ../../../paymentInc.php:103 -#: ../../../paymentInc.php:104 -#: ../../../paymentOrder.php:60 -#: ../../../paymentGetData.php:8 -#: ../../../payment.php:120 -#: ../../../payment.php:122 -#: ../../../payment.php:480 -msgid "Shipping cost" -msgstr "Costo de envío" - -#: ../../../paymentPdf.php:104 -#: ../../../paymentOrder.php:65 -#: ../../../payment.php:485 -msgid "Shipping address" -msgstr "Dirección de envío" - -#: ../../../paymentPdf.php:110 -#: ../../../paymentInc.php:54 -#: ../../../paymentInc.php:124 -#: ../../../paymentInc.php:138 -#: ../../../paymentOrder.php:70 -#: ../../../payment.php:263 -#: ../../../payment.php:490 -msgid "Address" -msgstr "Dirección" - -#: ../../../paymentPdf.php:114 -#: ../../../paymentInc.php:55 -#: ../../../paymentInc.php:124 -#: ../../../paymentInc.php:138 -#: ../../../paymentOrder.php:71 -#: ../../../payment.php:491 -msgid "Mail" -msgstr "Mail" - -#: ../../../paymentPdf.php:122 -#: ../../../paymentInc.php:127 -#: ../../../paymentInc.php:141 -#: ../../../paymentInc.php:149 -msgid "Thank you for your trust." -msgstr "Gracias por tu confianza." - -#: ../../../paymentInc.php:51 -msgid "Shipping" -msgstr "Envío" - -#: ../../../paymentInc.php:57 -msgid "Secure payment by card" -msgstr "Pago seguro con tarjeta" - -#: ../../../paymentInc.php:58 -msgid "Pay with your Paypal account" -msgstr "Pague con su cuenta de Paypal" - -#: ../../../paymentInc.php:59 -msgid "Pay by cheque" -msgstr "Pague con cheque" - -#: ../../../paymentInc.php:60 -msgid "Bank transfer" -msgstr "Transferencia" - -#: ../../../paymentInc.php:62 -msgid "Fields are mandatory" -msgstr "Los campos son obligatorios" - -#: ../../../paymentInc.php:62 -#: ../../../paymentInc.php:152 -msgid "Invalid email" -msgstr "Email inválido" - -#: ../../../paymentInc.php:117 -msgid "Follow the evolution of your order" -msgstr "Siga la evolución de su pedido" - -#: ../../../paymentInc.php:118 -msgid "Cancel this order" -msgstr "Cancelar este pedido" - -#: ../../../paymentInc.php:123 -#: ../../../paymentInc.php:125 -msgid "Send your cheque to the following address" -msgstr "Envíe su cheque a la siguiente dirección" - -#: ../../../paymentInc.php:123 -#: ../../../paymentInc.php:125 -msgid "Payable to" -msgstr "A pagar en el" - -#: ../../../paymentInc.php:125 -#: ../../../paymentInc.php:139 -msgid "Ref to mention" -msgstr "Ref mencionar" - -#: ../../../paymentInc.php:126 -#: ../../../paymentInc.php:140 -msgid "We expect your payment within 10 days. After this time, the order will be destroyed." -msgstr "Esperamos que su pago dentro de 10 días. Después de este tiempo, la orden será destruido." - -#: ../../../paymentInc.php:129 -msgid "New order by cheque" -msgstr "Nuevo orden por cheque" - -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:139 -msgid "Transfer your payment to the following account" -msgstr "Transfiera su pago a la siguiente cuenta" - -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:139 -#: ../../../payment.php:62 -msgid "IBAN" -msgstr "IBAN" - -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:139 -#: ../../../payment.php:67 -msgid "BIC" -msgstr "BIC" - -#: ../../../paymentInc.php:143 -msgid "New order by bank transfer" -msgstr "Nuevo orden por transferencia" - -#: ../../../paymentInc.php:149 -msgid "A summary email with the elements for payment was sent to you." -msgstr "Un email de resumen con los elementos para el pago fue enviado a usted." - -#: ../../../paymentOrder.php:24 -msgid "The order is canceled" -msgstr "El orden es cancelada" - -#: ../../../paymentOrder.php:26 -#: ../../../paymentOrder.php:28 -#: ../../../paymentOrder.php:88 -#: ../../../payment.php:370 -#: ../../../payment.php:372 -#: ../../../payment.php:385 -#: ../../../payment.php:387 -#: ../../../payment.php:401 -#: ../../../payment.php:403 -#: ../../../payment.php:408 -#: ../../../payment.php:414 -#: ../../../payment.php:419 -#: ../../../payment.php:526 -msgid "Error" -msgstr "Error" - -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:469 -msgid "Quantity" -msgstr "Cantidad" - -#: ../../../paymentOrder.php:79 -#: ../../../payment.php:351 -msgid "Not paid" -msgstr "No pagado" - -#: ../../../paymentOrder.php:82 -#: ../../../payment.php:369 -#: ../../../payment.php:499 -#: ../../../payment.php:502 -#: ../../../payment.php:504 -msgid "Paid" -msgstr "Pagado" - -#: ../../../paymentOrder.php:83 -#: ../../../payment.php:306 -#: ../../../payment.php:332 -#: ../../../payment.php:351 -#: ../../../payment.php:352 -msgid "Not treated" -msgstr "No se trata" - -#: ../../../paymentOrder.php:84 -msgid "Out for delivery" -msgstr "Sale para la entrega" - -#: ../../../paymentOrder.php:85 -#: ../../../payment.php:507 -msgid "Invoice in PDF" -msgstr "Factura en PDF" - -#: ../../../payment.php:19 -#: ../../../payment.php:443 +#: ../../../payment.php:22 ../../../payment.php:447 msgid "Archives" msgstr "Archivos" -#: ../../../payment.php:20 +#: ../../../payment.php:23 msgid "Configure Payment" msgstr "Configure Pago" -#: ../../../payment.php:20 +#: ../../../payment.php:23 msgid "Config" msgstr "Configure" -#: ../../../payment.php:21 +#: ../../../payment.php:24 msgid "Orders" msgstr "Ordenes" -#: ../../../payment.php:23 +#: ../../../payment.php:25 ../../../payment.php:472 +#: ../../../paymentOrder.php:47 ../../../paymentPdf.php:61 +msgid "Order Details" +msgstr "Detalles de pedidos" + +#: ../../../payment.php:26 msgid "Payment and Cart" msgstr "Pago y Carro" -#: ../../../payment.php:25 -msgid "This plugin allows to use one or more payment system. It also adds a cart system." -msgstr "Este plugin permite utilizar uno o más sistemas de pago. También agrega un sistema de compras." +#: ../../../payment.php:28 +msgid "" +"This plugin allows to use one or more payment system. It also adds a cart " +"system." +msgstr "" +"Este plugin permite utilizar uno o más sistemas de pago. También agrega un " +"sistema de compras." -#: ../../../payment.php:26 -msgid "Bank transfer and check included. Other payments systems require specific plugins (Paypal...)." -msgstr "Transferencia y cheque incluidos. Otros sistemas de pago requieren plugins específicos (Paypal ...)." +#: ../../../payment.php:29 +msgid "" +"Bank transfer and check included. Other payments systems require specific " +"plugins (Paypal...)." +msgstr "" +"Transferencia y cheque incluidos. Otros sistemas de pago requieren plugins " +"específicos (Paypal ...)." -#: ../../../payment.php:27 +#: ../../../payment.php:30 msgid "This plugin also add an 'add to cart' button" msgstr "Este plugin también añadir un botón de \"añadir al carrito\"" -#: ../../../payment.php:27 +#: ../../../payment.php:30 msgid "in the text editor." msgstr "en el editor de texto." -#: ../../../payment.php:27 +#: ../../../payment.php:30 msgid "It's very practical to put on sale some articles from the text editor." -msgstr "Es muy práctico para poner a la venta algunos artículos del editor de texto." +msgstr "" +"Es muy práctico para poner a la venta algunos artículos del editor de texto." -#: ../../../payment.php:28 +#: ../../../payment.php:31 msgid "To use this button and the cart system, you have to add the shortcode" -msgstr "Para utilizar este botón y el sistema de compra, hay que añadir el código corto" +msgstr "" +"Para utilizar este botón y el sistema de compra, hay que añadir el código " +"corto" -#: ../../../payment.php:28 +#: ../../../payment.php:31 msgid "in your page or in the template. That will display the cart content." -msgstr "en su página o en la plantilla. Eso le mostrará el contenido de la cesta." +msgstr "" +"en su página o en la plantilla. Eso le mostrará el contenido de la cesta." -#: ../../../payment.php:29 +#: ../../../payment.php:32 msgid "Active payment :" msgstr "Pago activo :" -#: ../../../payment.php:32 +#: ../../../payment.php:35 msgid "Paypal" msgstr "Paypal" -#: ../../../payment.php:34 +#: ../../../payment.php:37 msgid "Paypal Plugin needed. EXT mode must be activated." msgstr "PayPal Plugin necesario. Modo EXT debe estar activado." -#: ../../../payment.php:37 +#: ../../../payment.php:40 msgid "Payplug" msgstr "Payplug" -#: ../../../payment.php:39 +#: ../../../payment.php:42 msgid "Payplug Plugin needed. EXT mode must be activated." msgstr "Payplug Plugin necesario. Modo EXT debe estar activado." -#: ../../../payment.php:44 +#: ../../../payment.php:45 ../../../payment.php:499 +#: ../../../paymentOrder.php:74 ../../../paymentPdf.php:56 +msgid "Bank Transfer" +msgstr "Transferencia" + +#: ../../../payment.php:47 msgid "Enable the payment by bank transfer" msgstr "Habilitar el pago por transferencia" -#: ../../../payment.php:49 +#: ../../../payment.php:50 ../../../payment.php:347 ../../../payment.php:498 +#: ../../../paymentOrder.php:73 ../../../paymentPdf.php:56 +msgid "Cheque" +msgstr "Cheque" + +#: ../../../payment.php:52 msgid "Enable the payment by cheque" msgstr "Habilitar el pago por cheque" -#: ../../../payment.php:52 +#: ../../../payment.php:55 msgid "Payment Address" msgstr "Dirección de Pago" -#: ../../../payment.php:54 +#: ../../../payment.php:57 msgid "Cheque only. What name-address should the payment be sent ?" msgstr "Cheque solamente. ¿Qué nombre-dirección se debe enviar el pago?" -#: ../../../payment.php:57 +#: ../../../payment.php:60 msgid "Account owner" msgstr "Propietario de la cuenta" -#: ../../../payment.php:59 +#: ../../../payment.php:62 msgid "Cheque and Bank transfer. Cheque payable to (name, society...)" -msgstr "Cheque Transferencia y el Banco. Cheque a nombre de (nombre, sociedad ...)" +msgstr "" +"Cheque Transferencia y el Banco. Cheque a nombre de (nombre, sociedad ...)" + +#: ../../../payment.php:65 ../../../paymentInc.php:137 +#: ../../../paymentInc.php:139 +msgid "IBAN" +msgstr "IBAN" -#: ../../../payment.php:64 +#: ../../../payment.php:67 msgid "Bank transfer only. International Bank Account Number" msgstr "Sólo las transferencias. Numero de cuenta de Banco Internacional" -#: ../../../payment.php:69 +#: ../../../payment.php:70 ../../../paymentInc.php:137 +#: ../../../paymentInc.php:139 +msgid "BIC" +msgstr "BIC" + +#: ../../../payment.php:72 msgid "Bank transfer only. Bank Identification Code" msgstr "Sólo las transferencias. Banco Código de identificación" -#: ../../../payment.php:72 +#: ../../../payment.php:75 msgid "Tax and shipping :" msgstr "Impuestos y envío :" -#: ../../../payment.php:73 +#: ../../../payment.php:76 msgid "You can create up to 4 fixed or proportional taxes." msgstr "Puede crear hasta 4 impuestos fijos o proporcionales." -#: ../../../payment.php:73 +#: ../../../payment.php:76 msgid "A proportional tax is written with the sign" msgstr "Un impuesto proporcional se escribe con el signo" -#: ../../../payment.php:78 -#: ../../../payment.php:84 -#: ../../../payment.php:90 -#: ../../../payment.php:96 +#: ../../../payment.php:79 ../../../payment.php:85 ../../../payment.php:91 +#: ../../../payment.php:97 ../../../payment.php:473 ../../../paymentInc.php:45 +#: ../../../paymentOrder.php:48 ../../../paymentPdf.php:58 +msgid "Tax" +msgstr "Impuestos" + +#: ../../../payment.php:81 ../../../payment.php:87 ../../../payment.php:93 +#: ../../../payment.php:99 msgid "Enabled by default" msgstr "Habilitado por defecto" -#: ../../../payment.php:79 +#: ../../../payment.php:82 msgid "Example : Fixed (0.55$) => 0.55 ; Proportional (19.6%) => 19.6%" msgstr "Ejemplo : Fijo (0,55 $) => 0,55 ; Proporcional (19.6%) => 19,6%" -#: ../../../payment.php:100 +#: ../../../payment.php:103 msgid "I enter my prices :" msgstr "Entro en mis precios :" -#: ../../../payment.php:103 -#: ../../../payment.php:113 +#: ../../../payment.php:106 ../../../payment.php:116 msgid "Tax included" msgstr "Impuesto incluido" -#: ../../../payment.php:104 -#: ../../../payment.php:114 +#: ../../../payment.php:107 ../../../payment.php:117 msgid "Duty free" msgstr "Libre de impuestos" -#: ../../../payment.php:107 +#: ../../../payment.php:110 msgid "When I set the price of an item, the tax is ..." msgstr "Cuando me puse el precio de un artículo, el impuesto es ..." -#: ../../../payment.php:110 +#: ../../../payment.php:113 msgid "Prices displayed :" msgstr "Los precios que aparecen :" -#: ../../../payment.php:117 +#: ../../../payment.php:120 msgid "On the site, the price of the item is displayed..." msgstr "En el sitio, se muestra el precio del artículo..." -#: ../../../payment.php:125 +#: ../../../payment.php:123 ../../../payment.php:125 ../../../payment.php:484 +#: ../../../paymentGetData.php:8 ../../../paymentInc.php:48 +#: ../../../paymentInc.php:103 ../../../paymentInc.php:104 +#: ../../../paymentOrder.php:59 ../../../paymentPdf.php:93 +msgid "Shipping cost" +msgstr "Costo de envío" + +#: ../../../payment.php:128 msgid "Cart :" msgstr "Carrito :" -#: ../../../payment.php:128 +#: ../../../payment.php:131 msgid "Currency" msgstr "Moneda" -#: ../../../payment.php:131 +#: ../../../payment.php:134 msgid "Euro" msgstr "Euro" -#: ../../../payment.php:132 +#: ../../../payment.php:135 msgid "US Dollar" msgstr "Dolar US" -#: ../../../payment.php:133 +#: ../../../payment.php:136 msgid "Canadian Dollar" msgstr "Dolar canadiense" -#: ../../../payment.php:134 +#: ../../../payment.php:137 msgid "Pound Sterling" msgstr "Libra esterlina" -#: ../../../payment.php:135 +#: ../../../payment.php:138 msgid "Swiss Franc" msgstr "Franco suizo" -#: ../../../payment.php:136 +#: ../../../payment.php:139 msgid "Danish Krone" msgstr "Corona danesa" -#: ../../../payment.php:137 +#: ../../../payment.php:140 msgid "Norwegian Krone" msgstr "Corona noruega" -#: ../../../payment.php:138 +#: ../../../payment.php:141 msgid "Swedish Krona" msgstr "Corona sueca" -#: ../../../payment.php:139 +#: ../../../payment.php:142 msgid "Polish Zloty" msgstr "Zloty polaco" -#: ../../../payment.php:140 +#: ../../../payment.php:143 msgid "Russian Ruble" msgstr "Rublo ruso" -#: ../../../payment.php:143 +#: ../../../payment.php:146 msgid "What is the currency of payment." msgstr "¿Cuál es la moneda de pago?" -#: ../../../payment.php:146 +#: ../../../payment.php:149 msgid "Integration" msgstr "Integración" -#: ../../../payment.php:149 +#: ../../../payment.php:152 msgid "Shortcode" msgstr "Shortcode" -#: ../../../payment.php:150 +#: ../../../payment.php:153 msgid "Menu" msgstr "Menú" -#: ../../../payment.php:153 +#: ../../../payment.php:156 msgid "Use the shortcode [[paymentCart]] or use auto integration in the menu." -msgstr "Utilice el shortcode [[paymentCart]] o utilizar la integración automática en el menú." +msgstr "" +"Utilice el shortcode [[paymentCart]] o utilizar la integración automática en " +"el menú." -#: ../../../payment.php:156 +#: ../../../payment.php:159 msgid "Box alignment" msgstr "Alineación Box" -#: ../../../payment.php:159 +#: ../../../payment.php:162 msgid "Left" msgstr "Izquierda" -#: ../../../payment.php:160 +#: ../../../payment.php:163 msgid "Right" msgstr "Derecha" -#: ../../../payment.php:163 +#: ../../../payment.php:166 msgid "Use Right if the cart appears to the right of the window." msgstr "Utilice derecho si el carro aparece a la derecha de la ventana." -#: ../../../payment.php:166 +#: ../../../payment.php:169 msgid "Box color" msgstr "Color de la caja" -#: ../../../payment.php:168 -msgid "Background color for the cart. HTML format (ex : #9f9f9f). Leave blank for automatic choice." -msgstr "Color de fondo para la cesta. Formato HTML (ejemplo: # 9f9f9f). Dejar en blanco para la opción automática." - #: ../../../payment.php:171 +msgid "" +"Background color for the cart. HTML format (ex : #9f9f9f). Leave blank for " +"automatic choice." +msgstr "" +"Color de fondo para la cesta. Formato HTML (ejemplo: # 9f9f9f). Dejar en " +"blanco para la opción automática." + +#: ../../../payment.php:174 msgid "Icon color" msgstr "Color del icono" -#: ../../../payment.php:174 +#: ../../../payment.php:177 msgid "Black" msgstr "Negro" -#: ../../../payment.php:175 +#: ../../../payment.php:178 msgid "White" msgstr "Blanco" -#: ../../../payment.php:178 +#: ../../../payment.php:181 msgid "Color of the cart icon and the text." msgstr "El color del icono de la cesta y el texto." -#: ../../../payment.php:181 +#: ../../../payment.php:184 msgid "Save" msgstr "Guardar" -#: ../../../payment.php:220 +#: ../../../payment.php:223 msgid "Backup performed" msgstr "Copia de seguridad realizada" -#: ../../../payment.php:221 +#: ../../../payment.php:224 msgid "Impossible backup" msgstr "Copia de seguridad Imposible" -#: ../../../payment.php:225 +#: ../../../payment.php:228 msgid "List of orders" msgstr "Lista de órdenes" -#: ../../../payment.php:263 +#: ../../../payment.php:266 ../../../paymentPdf.php:50 +msgid "Date" +msgstr "Fecha" + +#: ../../../payment.php:266 msgid "Type" msgstr "Tipos" -#: ../../../payment.php:263 +#: ../../../payment.php:266 ../../../payment.php:473 ../../../payment.php:493 +#: ../../../paymentInc.php:53 ../../../paymentInc.php:124 +#: ../../../paymentInc.php:137 ../../../paymentInc.php:138 +#: ../../../paymentInc.php:139 ../../../paymentOrder.php:48 +#: ../../../paymentOrder.php:68 ../../../paymentPdf.php:58 +#: ../../../paymentPdf.php:105 +msgid "Name" +msgstr "Nombre" + +#: ../../../payment.php:266 ../../../payment.php:494 ../../../paymentInc.php:54 +#: ../../../paymentInc.php:124 ../../../paymentInc.php:138 +#: ../../../paymentOrder.php:69 ../../../paymentPdf.php:109 +msgid "Address" +msgstr "Dirección" + +#: ../../../payment.php:266 msgid "Article" msgstr "Artículo" -#: ../../../payment.php:263 -#: ../../../payment.php:382 -#: ../../../payment.php:383 -#: ../../../payment.php:384 -#: ../../../payment.php:500 -#: ../../../payment.php:503 -#: ../../../payment.php:504 +#: ../../../payment.php:266 ../../../payment.php:473 +#: ../../../paymentOrder.php:48 ../../../paymentPdf.php:58 +msgid "Price" +msgstr "Precio" + +#: ../../../payment.php:266 ../../../payment.php:385 ../../../payment.php:386 +#: ../../../payment.php:387 ../../../payment.php:504 ../../../payment.php:507 +#: ../../../payment.php:508 msgid "Treated" msgstr "Tratada" -#: ../../../payment.php:306 -#: ../../../payment.php:332 -#: ../../../payment.php:351 -#: ../../../payment.php:352 -#: ../../../payment.php:353 -#: ../../../payment.php:499 -#: ../../../payment.php:500 -#: ../../../payment.php:502 -#: ../../../payment.php:503 +#: ../../../payment.php:309 ../../../payment.php:335 ../../../payment.php:354 +#: ../../../payment.php:355 ../../../payment.php:356 ../../../payment.php:503 +#: ../../../payment.php:504 ../../../payment.php:506 ../../../payment.php:507 msgid "Yes" msgstr "Si" -#: ../../../payment.php:345 +#: ../../../payment.php:309 ../../../payment.php:335 ../../../payment.php:354 +#: ../../../payment.php:355 ../../../paymentOrder.php:82 +msgid "Not treated" +msgstr "No se trata" + +#: ../../../payment.php:348 msgid "Transfer" msgstr "Transferencia" -#: ../../../payment.php:398 -#: ../../../payment.php:399 -#: ../../../payment.php:400 -#: ../../../payment.php:504 +#: ../../../payment.php:354 ../../../paymentOrder.php:78 +msgid "Not paid" +msgstr "No pagado" + +#: ../../../payment.php:372 ../../../payment.php:503 ../../../payment.php:506 +#: ../../../payment.php:508 ../../../paymentOrder.php:81 +msgid "Paid" +msgstr "Pagado" + +#: ../../../payment.php:373 ../../../payment.php:375 ../../../payment.php:388 +#: ../../../payment.php:390 ../../../payment.php:404 ../../../payment.php:406 +#: ../../../payment.php:411 ../../../payment.php:417 ../../../payment.php:422 +#: ../../../payment.php:530 ../../../paymentOrder.php:27 +#: ../../../paymentOrder.php:87 +msgid "Error" +msgstr "Error" + +#: ../../../payment.php:401 ../../../payment.php:402 ../../../payment.php:403 +#: ../../../payment.php:508 msgid "Reset" msgstr "Reiniciar" -#: ../../../payment.php:407 +#: ../../../payment.php:410 msgid "Deleted" msgstr "Suprimido" -#: ../../../payment.php:413 +#: ../../../payment.php:416 msgid "Archived" msgstr "Archivado" -#: ../../../payment.php:418 +#: ../../../payment.php:421 msgid "Restored" msgstr "Restaurada" -#: ../../../payment.php:449 +#: ../../../payment.php:453 msgid "Restore" msgstr "Restaurar" -#: ../../../payment.php:497 -#: ../../../payment.php:508 +#: ../../../payment.php:471 ../../../paymentInc.php:42 +#: ../../../paymentInc.php:80 ../../../paymentInc.php:103 +#: ../../../paymentInc.php:104 ../../../paymentMake.php:29 +#: ../../../paymentOrder.php:46 ../../../paymentPdf.php:44 +msgid "Order" +msgstr "Solicitar" + +#: ../../../payment.php:473 ../../../paymentOrder.php:48 +#: ../../../paymentPdf.php:46 ../../../paymentPdf.php:58 +msgid "Ref" +msgstr "Ref" + +#: ../../../payment.php:473 ../../../paymentOrder.php:48 +msgid "Quantity" +msgstr "Cantidad" + +#: ../../../payment.php:473 ../../../payment.php:487 ../../../paymentInc.php:50 +#: ../../../paymentInc.php:106 ../../../paymentInc.php:107 +#: ../../../paymentOrder.php:48 ../../../paymentOrder.php:62 +#: ../../../paymentPdf.php:58 ../../../paymentPdf.php:98 +msgid "Total" +msgstr "Total" + +#: ../../../payment.php:481 ../../../paymentOrder.php:56 +#: ../../../paymentPdf.php:87 +msgid "Subtotal" +msgstr "Total parcial" + +#: ../../../payment.php:489 ../../../paymentOrder.php:64 +#: ../../../paymentPdf.php:103 +msgid "Shipping address" +msgstr "Dirección de envío" + +#: ../../../payment.php:495 ../../../paymentInc.php:55 +#: ../../../paymentInc.php:124 ../../../paymentInc.php:138 +#: ../../../paymentOrder.php:70 ../../../paymentPdf.php:113 +msgid "Mail" +msgstr "Mail" + +#: ../../../payment.php:500 ../../../paymentOrder.php:75 +#: ../../../paymentPdf.php:54 +msgid "Payment" +msgstr "Pago" + +#: ../../../payment.php:501 ../../../payment.php:512 msgid "Are you sure ?" msgstr "¿Seguro?" -#: ../../../payment.php:497 +#: ../../../payment.php:501 msgid "Delete" msgstr "Borrar" -#: ../../../payment.php:499 -#: ../../../payment.php:500 -#: ../../../payment.php:504 +#: ../../../payment.php:503 ../../../payment.php:504 ../../../payment.php:508 msgid "No" msgstr "No" -#: ../../../payment.php:508 +#: ../../../payment.php:511 ../../../paymentOrder.php:84 +msgid "Invoice in PDF" +msgstr "Factura en PDF" + +#: ../../../payment.php:512 msgid "Archive" msgstr "Archivo" +#: ../../../paymentInc.php:51 +msgid "Shipping" +msgstr "Envío" + +#: ../../../paymentInc.php:57 +msgid "Secure payment by card" +msgstr "Pago seguro con tarjeta" + +#: ../../../paymentInc.php:58 +msgid "Pay with your Paypal account" +msgstr "Pague con su cuenta de Paypal" + +#: ../../../paymentInc.php:59 +msgid "Pay by cheque" +msgstr "Pague con cheque" + +#: ../../../paymentInc.php:60 +msgid "Bank transfer" +msgstr "Transferencia" + +#: ../../../paymentInc.php:62 +msgid "Fields are mandatory" +msgstr "Los campos son obligatorios" + +#: ../../../paymentInc.php:62 ../../../paymentInc.php:152 +msgid "Invalid email" +msgstr "Email inválido" + +#: ../../../paymentInc.php:117 +msgid "Follow the evolution of your order" +msgstr "Siga la evolución de su pedido" + +#: ../../../paymentInc.php:118 +msgid "Cancel this order" +msgstr "Cancelar este pedido" + +#: ../../../paymentInc.php:123 ../../../paymentInc.php:125 +msgid "Send your cheque to the following address" +msgstr "Envíe su cheque a la siguiente dirección" + +#: ../../../paymentInc.php:123 ../../../paymentInc.php:125 +msgid "Payable to" +msgstr "A pagar en el" + +#: ../../../paymentInc.php:125 ../../../paymentInc.php:139 +msgid "Ref to mention" +msgstr "Ref mencionar" + +#: ../../../paymentInc.php:126 ../../../paymentInc.php:140 +msgid "" +"We expect your payment within 10 days. After this time, the order will be " +"destroyed." +msgstr "" +"Esperamos que su pago dentro de 10 días. Después de este tiempo, la orden " +"será destruido." + +#: ../../../paymentInc.php:127 ../../../paymentInc.php:141 +#: ../../../paymentInc.php:149 ../../../paymentPdf.php:121 +msgid "Thank you for your trust." +msgstr "Gracias por tu confianza." + +#: ../../../paymentInc.php:129 +msgid "New order by cheque" +msgstr "Nuevo orden por cheque" + +#: ../../../paymentInc.php:137 ../../../paymentInc.php:139 +msgid "Transfer your payment to the following account" +msgstr "Transfiera su pago a la siguiente cuenta" + +#: ../../../paymentInc.php:143 +msgid "New order by bank transfer" +msgstr "Nuevo orden por transferencia" + +#: ../../../paymentInc.php:149 +msgid "A summary email with the elements for payment was sent to you." +msgstr "" +"Un email de resumen con los elementos para el pago fue enviado a usted." + +#: ../../../paymentOrder.php:23 +msgid "The order is canceled" +msgstr "El orden es cancelada" + +#: ../../../paymentOrder.php:25 +msgid "Sorry, this is no longer feasible online" +msgstr "Lo siento, no es posible en línea" + +#: ../../../paymentOrder.php:83 +msgid "Out for delivery" +msgstr "Sale para la entrega" + +#: ../../../paymentPdf.php:40 +msgid "Invoice" +msgstr "Factura" diff --git a/lang/fr_FR.utf8/LC_MESSAGES/payment.mo b/lang/fr_FR.utf8/LC_MESSAGES/payment.mo index 582501d..1b6a706 100755 Binary files a/lang/fr_FR.utf8/LC_MESSAGES/payment.mo and b/lang/fr_FR.utf8/LC_MESSAGES/payment.mo differ diff --git a/lang/fr_FR.utf8/LC_MESSAGES/payment.po b/lang/fr_FR.utf8/LC_MESSAGES/payment.po index 883483e..f33efac 100755 --- a/lang/fr_FR.utf8/LC_MESSAGES/payment.po +++ b/lang/fr_FR.utf8/LC_MESSAGES/payment.po @@ -2,660 +2,591 @@ msgid "" msgstr "" "Project-Id-Version: CmsUno\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-24 17:34+0100\n" -"PO-Revision-Date: 2015-08-24 17:34+0100\n" -"Last-Translator: jacques Malgrange \n" +"POT-Creation-Date: 2017-03-15 17:00+0100\n" +"PO-Revision-Date: 2017-03-15 17:05+0100\n" +"Last-Translator: malgrange \n" "Language-Team: Jacques Malgrange \n" -"Language: \n" +"Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Report-\tmsgstr-Bugs-To: \n" "Report-\t\tmsgstr-Bugs-To: \n" -"X-Poedit-KeywordsList: _\n" +"X-Poedit-KeywordsList: _;T_\n" "X-Poedit-Basepath: .\n" -"X-Poedit-Country: FRANCE\n" "X-Poedit-SourceCharset: iso-8859-1\n" -"X-Poedit-Language: French\n" +"X-Generator: Poedit 1.8.7.1\n" "X-Poedit-SearchPath-0: ../../..\n" -#: ../../../paymentPdf.php:41 -msgid "Invoice" -msgstr "Facture" - -#: ../../../paymentPdf.php:45 -#: ../../../paymentInc.php:42 -#: ../../../paymentInc.php:80 -#: ../../../paymentInc.php:103 -#: ../../../paymentInc.php:104 -#: ../../../paymentOrder.php:47 -#: ../../../paymentMake.php:29 -#: ../../../payment.php:467 -msgid "Order" -msgstr "Commande" - -#: ../../../paymentPdf.php:47 -#: ../../../paymentPdf.php:59 -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:469 -msgid "Ref" -msgstr "Ref" - -#: ../../../paymentPdf.php:51 -#: ../../../payment.php:263 -msgid "Date" -msgstr "Date" - -#: ../../../paymentPdf.php:55 -#: ../../../paymentOrder.php:76 -#: ../../../payment.php:496 -msgid "Payment" -msgstr "Paiement" - -#: ../../../paymentPdf.php:57 -#: ../../../paymentOrder.php:74 -#: ../../../payment.php:47 -#: ../../../payment.php:344 -#: ../../../payment.php:494 -msgid "Cheque" -msgstr "Chèque" - -#: ../../../paymentPdf.php:57 -#: ../../../paymentOrder.php:75 -#: ../../../payment.php:42 -#: ../../../payment.php:495 -msgid "Bank Transfer" -msgstr "Virement bancaire" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentPdf.php:106 -#: ../../../paymentInc.php:53 -#: ../../../paymentInc.php:124 -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:138 -#: ../../../paymentInc.php:139 -#: ../../../paymentOrder.php:49 -#: ../../../paymentOrder.php:69 -#: ../../../payment.php:263 -#: ../../../payment.php:469 -#: ../../../payment.php:489 -msgid "Name" -msgstr "Nom" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:263 -#: ../../../payment.php:469 -msgid "Price" -msgstr "Prix" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentInc.php:45 -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:76 -#: ../../../payment.php:82 -#: ../../../payment.php:88 -#: ../../../payment.php:94 -#: ../../../payment.php:469 -msgid "Tax" -msgstr "Taxe" - -#: ../../../paymentPdf.php:59 -#: ../../../paymentPdf.php:99 -#: ../../../paymentInc.php:50 -#: ../../../paymentInc.php:106 -#: ../../../paymentInc.php:107 -#: ../../../paymentOrder.php:49 -#: ../../../paymentOrder.php:63 -#: ../../../payment.php:469 -#: ../../../payment.php:483 -msgid "Total" -msgstr "Total" - -#: ../../../paymentPdf.php:62 -#: ../../../paymentOrder.php:48 -#: ../../../payment.php:22 -#: ../../../payment.php:468 -msgid "Order Details" -msgstr "Détails de la commande" - -#: ../../../paymentPdf.php:88 -#: ../../../paymentOrder.php:57 -#: ../../../payment.php:477 -msgid "Subtotal" -msgstr "Sous-Total" - -#: ../../../paymentPdf.php:94 -#: ../../../paymentInc.php:48 -#: ../../../paymentInc.php:103 -#: ../../../paymentInc.php:104 -#: ../../../paymentOrder.php:60 -#: ../../../paymentGetData.php:8 -#: ../../../payment.php:120 -#: ../../../payment.php:122 -#: ../../../payment.php:480 -msgid "Shipping cost" -msgstr "Frais de livraison" - -#: ../../../paymentPdf.php:104 -#: ../../../paymentOrder.php:65 -#: ../../../payment.php:485 -msgid "Shipping address" -msgstr "Adresse de livraison" - -#: ../../../paymentPdf.php:110 -#: ../../../paymentInc.php:54 -#: ../../../paymentInc.php:124 -#: ../../../paymentInc.php:138 -#: ../../../paymentOrder.php:70 -#: ../../../payment.php:263 -#: ../../../payment.php:490 -msgid "Address" -msgstr "Adresse" - -#: ../../../paymentPdf.php:114 -#: ../../../paymentInc.php:55 -#: ../../../paymentInc.php:124 -#: ../../../paymentInc.php:138 -#: ../../../paymentOrder.php:71 -#: ../../../payment.php:491 -msgid "Mail" -msgstr "Mail" - -#: ../../../paymentPdf.php:122 -#: ../../../paymentInc.php:127 -#: ../../../paymentInc.php:141 -#: ../../../paymentInc.php:149 -msgid "Thank you for your trust." -msgstr "Merci pour votre confiance." - -#: ../../../paymentInc.php:51 -msgid "Shipping" -msgstr "Livraison" - -#: ../../../paymentInc.php:57 -msgid "Secure payment by card" -msgstr "Paiement sécurisé par carte" - -#: ../../../paymentInc.php:58 -msgid "Pay with your Paypal account" -msgstr "Payer avec votre compte Paypal" - -#: ../../../paymentInc.php:59 -msgid "Pay by cheque" -msgstr "Payer par chèque" - -#: ../../../paymentInc.php:60 -msgid "Bank transfer" -msgstr "Virement bancaire" - -#: ../../../paymentInc.php:62 -msgid "Fields are mandatory" -msgstr "Les champs sont obligatoires" - -#: ../../../paymentInc.php:62 -#: ../../../paymentInc.php:152 -msgid "Invalid email" -msgstr "Email invalide" - -#: ../../../paymentInc.php:117 -msgid "Follow the evolution of your order" -msgstr "Suivre l'évolution de la commande" - -#: ../../../paymentInc.php:118 -msgid "Cancel this order" -msgstr "Annuler cette commande" - -#: ../../../paymentInc.php:123 -#: ../../../paymentInc.php:125 -msgid "Send your cheque to the following address" -msgstr "Envoyez votre chèque à l'adresse suivante" - -#: ../../../paymentInc.php:123 -#: ../../../paymentInc.php:125 -msgid "Payable to" -msgstr "A l'ordre de" - -#: ../../../paymentInc.php:125 -#: ../../../paymentInc.php:139 -msgid "Ref to mention" -msgstr "Ref à mentionner" - -#: ../../../paymentInc.php:126 -#: ../../../paymentInc.php:140 -msgid "We expect your payment within 10 days. After this time, the order will be destroyed." -msgstr "Nous attendons votre paiement sous 10 jours. Passé ce délais, la commande sera supprimée." - -#: ../../../paymentInc.php:129 -msgid "New order by cheque" -msgstr "Nouvelle commande par chèque" - -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:139 -msgid "Transfer your payment to the following account" -msgstr "Effectuez un virement vers le compte suivant" - -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:139 -#: ../../../payment.php:62 -msgid "IBAN" -msgstr "IBAN" - -#: ../../../paymentInc.php:137 -#: ../../../paymentInc.php:139 -#: ../../../payment.php:67 -msgid "BIC" -msgstr "BIC" - -#: ../../../paymentInc.php:143 -msgid "New order by bank transfer" -msgstr "Nouvelle commande par virement" - -#: ../../../paymentInc.php:149 -msgid "A summary email with the elements for payment was sent to you." -msgstr "Un email récapitulatif contenant les éléments du paiement vous a été envoyé." - -#: ../../../paymentOrder.php:24 -msgid "The order is canceled" -msgstr "La commande vient d'être effacée" - -#: ../../../paymentOrder.php:26 -#: ../../../paymentOrder.php:28 -#: ../../../paymentOrder.php:88 -#: ../../../payment.php:370 -#: ../../../payment.php:372 -#: ../../../payment.php:385 -#: ../../../payment.php:387 -#: ../../../payment.php:401 -#: ../../../payment.php:403 -#: ../../../payment.php:408 -#: ../../../payment.php:414 -#: ../../../payment.php:419 -#: ../../../payment.php:526 -msgid "Error" -msgstr "Erreur" - -#: ../../../paymentOrder.php:49 -#: ../../../payment.php:469 -msgid "Quantity" -msgstr "Quantité" - -#: ../../../paymentOrder.php:79 -#: ../../../payment.php:351 -msgid "Not paid" -msgstr "Non payé" - -#: ../../../paymentOrder.php:82 -#: ../../../payment.php:369 -#: ../../../payment.php:499 -#: ../../../payment.php:502 -#: ../../../payment.php:504 -msgid "Paid" -msgstr "Payé" - -#: ../../../paymentOrder.php:83 -#: ../../../payment.php:306 -#: ../../../payment.php:332 -#: ../../../payment.php:351 -#: ../../../payment.php:352 -msgid "Not treated" -msgstr "Non traité" - -#: ../../../paymentOrder.php:84 -msgid "Out for delivery" -msgstr "En cours de livraison" - -#: ../../../paymentOrder.php:85 -#: ../../../payment.php:507 -msgid "Invoice in PDF" -msgstr "Facture en PDF" - -#: ../../../payment.php:19 -#: ../../../payment.php:443 +#: ../../../payment.php:22 ../../../payment.php:447 msgid "Archives" msgstr "Archives" -#: ../../../payment.php:20 +#: ../../../payment.php:23 msgid "Configure Payment" msgstr "Configurer les paiements" -#: ../../../payment.php:20 +#: ../../../payment.php:23 msgid "Config" msgstr "Configuration" -#: ../../../payment.php:21 +#: ../../../payment.php:24 msgid "Orders" msgstr "Commandes" -#: ../../../payment.php:23 +#: ../../../payment.php:25 ../../../payment.php:472 +#: ../../../paymentOrder.php:47 ../../../paymentPdf.php:61 +msgid "Order Details" +msgstr "Détails de la commande" + +#: ../../../payment.php:26 msgid "Payment and Cart" msgstr "Paiement et Panier" -#: ../../../payment.php:25 -msgid "This plugin allows to use one or more payment system. It also adds a cart system." -msgstr "Ce plugin permet d'utiliser plusieurs modes de paiement. Il gère également un système de panier." +#: ../../../payment.php:28 +msgid "" +"This plugin allows to use one or more payment system. It also adds a cart " +"system." +msgstr "" +"Ce plugin permet d'utiliser plusieurs modes de paiement. Il gère également " +"un système de panier." -#: ../../../payment.php:26 -msgid "Bank transfer and check included. Other payments systems require specific plugins (Paypal...)." -msgstr "Le virement bancaire et le paiement par chèque sont inclus. Les autres modes de paiement (Paypal...) nécessitent des plugins spécifiques." +#: ../../../payment.php:29 +msgid "" +"Bank transfer and check included. Other payments systems require specific " +"plugins (Paypal...)." +msgstr "" +"Le virement bancaire et le paiement par chèque sont inclus. Les autres modes " +"de paiement (Paypal...) nécessitent des plugins spécifiques." -#: ../../../payment.php:27 +#: ../../../payment.php:30 msgid "This plugin also add an 'add to cart' button" msgstr "Ce plugin ajoute également un bouton 'ajouter au panier'" -#: ../../../payment.php:27 +#: ../../../payment.php:30 msgid "in the text editor." msgstr "dans l'éditeur de texte." -#: ../../../payment.php:27 +#: ../../../payment.php:30 msgid "It's very practical to put on sale some articles from the text editor." -msgstr "C'est très pratique pour mettre en vente quelques articles directement à partir de l'éditeur de texte." +msgstr "" +"C'est très pratique pour mettre en vente quelques articles directement à " +"partir de l'éditeur de texte." -#: ../../../payment.php:28 +#: ../../../payment.php:31 msgid "To use this button and the cart system, you have to add the shortcode" -msgstr "Pour utiliser ce bouton et le système de panier, il faut insérer le shortcode" +msgstr "" +"Pour utiliser ce bouton et le système de panier, il faut insérer le shortcode" -#: ../../../payment.php:28 +#: ../../../payment.php:31 msgid "in your page or in the template. That will display the cart content." -msgstr "dans votre page ou dans le template. Il affichera le contenu du panier." +msgstr "" +"dans votre page ou dans le template. Il affichera le contenu du panier." -#: ../../../payment.php:29 +#: ../../../payment.php:32 msgid "Active payment :" msgstr "Paiement actif :" -#: ../../../payment.php:32 +#: ../../../payment.php:35 msgid "Paypal" msgstr "Paypal" -#: ../../../payment.php:34 +#: ../../../payment.php:37 msgid "Paypal Plugin needed. EXT mode must be activated." msgstr "Le plugin Paypal est requis. Le mode EXT doit être coché." -#: ../../../payment.php:37 +#: ../../../payment.php:40 msgid "Payplug" msgstr "Payplug" -#: ../../../payment.php:39 +#: ../../../payment.php:42 msgid "Payplug Plugin needed. EXT mode must be activated." msgstr "Le plugin Payplug est requis. Le mode EXT doit être coché." -#: ../../../payment.php:44 +#: ../../../payment.php:45 ../../../payment.php:499 +#: ../../../paymentOrder.php:74 ../../../paymentPdf.php:56 +msgid "Bank Transfer" +msgstr "Virement bancaire" + +#: ../../../payment.php:47 msgid "Enable the payment by bank transfer" msgstr "Active le paiement par virement bancaire" -#: ../../../payment.php:49 +#: ../../../payment.php:50 ../../../payment.php:347 ../../../payment.php:498 +#: ../../../paymentOrder.php:73 ../../../paymentPdf.php:56 +msgid "Cheque" +msgstr "Chèque" + +#: ../../../payment.php:52 msgid "Enable the payment by cheque" msgstr "Activer le paiement par chèque" -#: ../../../payment.php:52 +#: ../../../payment.php:55 msgid "Payment Address" msgstr "Adresse du paiement" -#: ../../../payment.php:54 +#: ../../../payment.php:57 msgid "Cheque only. What name-address should the payment be sent ?" msgstr "Chèque uniquement. A quel Nom-Adresse doit-on envoyer le chèque ?" -#: ../../../payment.php:57 +#: ../../../payment.php:60 msgid "Account owner" msgstr "Propriétaire du compte" -#: ../../../payment.php:59 +#: ../../../payment.php:62 msgid "Cheque and Bank transfer. Cheque payable to (name, society...)" msgstr "Chèque et Virement. Paiement à l'ordre de (nom, société...)" -#: ../../../payment.php:64 +#: ../../../payment.php:65 ../../../paymentInc.php:137 +#: ../../../paymentInc.php:139 +msgid "IBAN" +msgstr "IBAN" + +#: ../../../payment.php:67 msgid "Bank transfer only. International Bank Account Number" msgstr "Virement uniquement. International Bank Account Number" -#: ../../../payment.php:69 +#: ../../../payment.php:70 ../../../paymentInc.php:137 +#: ../../../paymentInc.php:139 +msgid "BIC" +msgstr "BIC" + +#: ../../../payment.php:72 msgid "Bank transfer only. Bank Identification Code" msgstr "Virement uniquement. Bank Identification Code" -#: ../../../payment.php:72 +#: ../../../payment.php:75 msgid "Tax and shipping :" msgstr "Taxe et livraison :" -#: ../../../payment.php:73 +#: ../../../payment.php:76 msgid "You can create up to 4 fixed or proportional taxes." msgstr "Vous pouvez créer jusqu'à 4 taxes proportionnelles ou fixes." -#: ../../../payment.php:73 +#: ../../../payment.php:76 msgid "A proportional tax is written with the sign" msgstr "Une taxe proportionnelle doit être suivi du signe" -#: ../../../payment.php:78 -#: ../../../payment.php:84 -#: ../../../payment.php:90 -#: ../../../payment.php:96 +#: ../../../payment.php:79 ../../../payment.php:85 ../../../payment.php:91 +#: ../../../payment.php:97 ../../../payment.php:473 ../../../paymentInc.php:45 +#: ../../../paymentOrder.php:48 ../../../paymentPdf.php:58 +msgid "Tax" +msgstr "Taxe" + +#: ../../../payment.php:81 ../../../payment.php:87 ../../../payment.php:93 +#: ../../../payment.php:99 msgid "Enabled by default" msgstr "Activé par défaut" -#: ../../../payment.php:79 +#: ../../../payment.php:82 msgid "Example : Fixed (0.55$) => 0.55 ; Proportional (19.6%) => 19.6%" msgstr "Exemple : Fixe (0.55€) => 0.55 ; Proportionnelle (19.6%) => 19.6%" -#: ../../../payment.php:100 +#: ../../../payment.php:103 msgid "I enter my prices :" msgstr "J'entre mes prix :" -#: ../../../payment.php:103 -#: ../../../payment.php:113 +#: ../../../payment.php:106 ../../../payment.php:116 msgid "Tax included" msgstr "Taxe comprise (TTC)" -#: ../../../payment.php:104 -#: ../../../payment.php:114 +#: ../../../payment.php:107 ../../../payment.php:117 msgid "Duty free" msgstr "Hors taxe (HT)" -#: ../../../payment.php:107 +#: ../../../payment.php:110 msgid "When I set the price of an item, the tax is ..." msgstr "Lorsque je fixe le prix d'un article, la taxe est ..." -#: ../../../payment.php:110 +#: ../../../payment.php:113 msgid "Prices displayed :" msgstr "Prix affichés :" -#: ../../../payment.php:117 +#: ../../../payment.php:120 msgid "On the site, the price of the item is displayed..." msgstr "Sur le site, les prix des articles sont affichés ..." -#: ../../../payment.php:125 +#: ../../../payment.php:123 ../../../payment.php:125 ../../../payment.php:484 +#: ../../../paymentGetData.php:8 ../../../paymentInc.php:48 +#: ../../../paymentInc.php:103 ../../../paymentInc.php:104 +#: ../../../paymentOrder.php:59 ../../../paymentPdf.php:93 +msgid "Shipping cost" +msgstr "Frais de livraison" + +#: ../../../payment.php:128 msgid "Cart :" msgstr "Panier :" -#: ../../../payment.php:128 +#: ../../../payment.php:131 msgid "Currency" msgstr "Monnaie" -#: ../../../payment.php:131 +#: ../../../payment.php:134 msgid "Euro" msgstr "Euro" -#: ../../../payment.php:132 +#: ../../../payment.php:135 msgid "US Dollar" msgstr "Dollar US" -#: ../../../payment.php:133 +#: ../../../payment.php:136 msgid "Canadian Dollar" msgstr "Dollar Canadien" -#: ../../../payment.php:134 +#: ../../../payment.php:137 msgid "Pound Sterling" msgstr "Livre Sterling" -#: ../../../payment.php:135 +#: ../../../payment.php:138 msgid "Swiss Franc" msgstr "Franc Suisse" -#: ../../../payment.php:136 +#: ../../../payment.php:139 msgid "Danish Krone" msgstr "Couronne Danoise" -#: ../../../payment.php:137 +#: ../../../payment.php:140 msgid "Norwegian Krone" msgstr "Couronne Norvégienne" -#: ../../../payment.php:138 +#: ../../../payment.php:141 msgid "Swedish Krona" msgstr "Couronne Suédoise" -#: ../../../payment.php:139 +#: ../../../payment.php:142 msgid "Polish Zloty" msgstr "Zloty Polonais" -#: ../../../payment.php:140 +#: ../../../payment.php:143 msgid "Russian Ruble" msgstr "Rouble Russe" -#: ../../../payment.php:143 +#: ../../../payment.php:146 msgid "What is the currency of payment." msgstr "Quelle est la monnaie du paiement" -#: ../../../payment.php:146 +#: ../../../payment.php:149 msgid "Integration" msgstr "Intégration" -#: ../../../payment.php:149 +#: ../../../payment.php:152 msgid "Shortcode" msgstr "Shortcode" -#: ../../../payment.php:150 +#: ../../../payment.php:153 msgid "Menu" msgstr "Menu" -#: ../../../payment.php:153 +#: ../../../payment.php:156 msgid "Use the shortcode [[paymentCart]] or use auto integration in the menu." -msgstr "Utiliser le shortcode [[paymentCart]] ou intégrer directement dans le menu." +msgstr "" +"Utiliser le shortcode [[paymentCart]] ou intégrer directement dans le menu." -#: ../../../payment.php:156 +#: ../../../payment.php:159 msgid "Box alignment" msgstr "Alignement de la boite" -#: ../../../payment.php:159 +#: ../../../payment.php:162 msgid "Left" msgstr "Gauche" -#: ../../../payment.php:160 +#: ../../../payment.php:163 msgid "Right" msgstr "Droite" -#: ../../../payment.php:163 +#: ../../../payment.php:166 msgid "Use Right if the cart appears to the right of the window." msgstr "Mettre Droite si le panier apparaît à droite de la fenêtre." -#: ../../../payment.php:166 +#: ../../../payment.php:169 msgid "Box color" msgstr "Couleur de la boite" -#: ../../../payment.php:168 -msgid "Background color for the cart. HTML format (ex : #9f9f9f). Leave blank for automatic choice." -msgstr "Couleur d'arrière plan pour la boite. Format HTML (ex : #9f9f9f). Laisser vide pour automatique." - #: ../../../payment.php:171 +msgid "" +"Background color for the cart. HTML format (ex : #9f9f9f). Leave blank for " +"automatic choice." +msgstr "" +"Couleur d'arrière plan pour la boite. Format HTML (ex : #9f9f9f). Laisser " +"vide pour automatique." + +#: ../../../payment.php:174 msgid "Icon color" msgstr "Couleur logo" -#: ../../../payment.php:174 +#: ../../../payment.php:177 msgid "Black" msgstr "Noir" -#: ../../../payment.php:175 +#: ../../../payment.php:178 msgid "White" msgstr "Blanc" -#: ../../../payment.php:178 +#: ../../../payment.php:181 msgid "Color of the cart icon and the text." msgstr "Couleur du logo du panier et du texte." -#: ../../../payment.php:181 +#: ../../../payment.php:184 msgid "Save" msgstr "Enregistrer" -#: ../../../payment.php:220 +#: ../../../payment.php:223 msgid "Backup performed" msgstr "Sauvegarde effectuée" -#: ../../../payment.php:221 +#: ../../../payment.php:224 msgid "Impossible backup" msgstr "Sauvegarde impossible" -#: ../../../payment.php:225 +#: ../../../payment.php:228 msgid "List of orders" msgstr "Liste des commandes" -#: ../../../payment.php:263 +#: ../../../payment.php:266 ../../../paymentPdf.php:50 +msgid "Date" +msgstr "Date" + +#: ../../../payment.php:266 msgid "Type" msgstr "Type" -#: ../../../payment.php:263 +#: ../../../payment.php:266 ../../../payment.php:473 ../../../payment.php:493 +#: ../../../paymentInc.php:53 ../../../paymentInc.php:124 +#: ../../../paymentInc.php:137 ../../../paymentInc.php:138 +#: ../../../paymentInc.php:139 ../../../paymentOrder.php:48 +#: ../../../paymentOrder.php:68 ../../../paymentPdf.php:58 +#: ../../../paymentPdf.php:105 +msgid "Name" +msgstr "Nom" + +#: ../../../payment.php:266 ../../../payment.php:494 ../../../paymentInc.php:54 +#: ../../../paymentInc.php:124 ../../../paymentInc.php:138 +#: ../../../paymentOrder.php:69 ../../../paymentPdf.php:109 +msgid "Address" +msgstr "Adresse" + +#: ../../../payment.php:266 msgid "Article" msgstr "Article" -#: ../../../payment.php:263 -#: ../../../payment.php:382 -#: ../../../payment.php:383 -#: ../../../payment.php:384 -#: ../../../payment.php:500 -#: ../../../payment.php:503 -#: ../../../payment.php:504 +#: ../../../payment.php:266 ../../../payment.php:473 +#: ../../../paymentOrder.php:48 ../../../paymentPdf.php:58 +msgid "Price" +msgstr "Prix" + +#: ../../../payment.php:266 ../../../payment.php:385 ../../../payment.php:386 +#: ../../../payment.php:387 ../../../payment.php:504 ../../../payment.php:507 +#: ../../../payment.php:508 msgid "Treated" msgstr "Traité" -#: ../../../payment.php:306 -#: ../../../payment.php:332 -#: ../../../payment.php:351 -#: ../../../payment.php:352 -#: ../../../payment.php:353 -#: ../../../payment.php:499 -#: ../../../payment.php:500 -#: ../../../payment.php:502 -#: ../../../payment.php:503 +#: ../../../payment.php:309 ../../../payment.php:335 ../../../payment.php:354 +#: ../../../payment.php:355 ../../../payment.php:356 ../../../payment.php:503 +#: ../../../payment.php:504 ../../../payment.php:506 ../../../payment.php:507 msgid "Yes" msgstr "Oui" -#: ../../../payment.php:345 +#: ../../../payment.php:309 ../../../payment.php:335 ../../../payment.php:354 +#: ../../../payment.php:355 ../../../paymentOrder.php:82 +msgid "Not treated" +msgstr "Non traité" + +#: ../../../payment.php:348 msgid "Transfer" msgstr "Virement" -#: ../../../payment.php:398 -#: ../../../payment.php:399 -#: ../../../payment.php:400 -#: ../../../payment.php:504 +#: ../../../payment.php:354 ../../../paymentOrder.php:78 +msgid "Not paid" +msgstr "Non payé" + +#: ../../../payment.php:372 ../../../payment.php:503 ../../../payment.php:506 +#: ../../../payment.php:508 ../../../paymentOrder.php:81 +msgid "Paid" +msgstr "Payé" + +#: ../../../payment.php:373 ../../../payment.php:375 ../../../payment.php:388 +#: ../../../payment.php:390 ../../../payment.php:404 ../../../payment.php:406 +#: ../../../payment.php:411 ../../../payment.php:417 ../../../payment.php:422 +#: ../../../payment.php:530 ../../../paymentOrder.php:27 +#: ../../../paymentOrder.php:87 +msgid "Error" +msgstr "Erreur" + +#: ../../../payment.php:401 ../../../payment.php:402 ../../../payment.php:403 +#: ../../../payment.php:508 msgid "Reset" msgstr "Remise à zéro" -#: ../../../payment.php:407 +#: ../../../payment.php:410 msgid "Deleted" msgstr "Supprimé" -#: ../../../payment.php:413 +#: ../../../payment.php:416 msgid "Archived" msgstr "Archivé" -#: ../../../payment.php:418 +#: ../../../payment.php:421 msgid "Restored" msgstr "Restauré" -#: ../../../payment.php:449 +#: ../../../payment.php:453 msgid "Restore" msgstr "Restorer" -#: ../../../payment.php:497 -#: ../../../payment.php:508 +#: ../../../payment.php:471 ../../../paymentInc.php:42 +#: ../../../paymentInc.php:80 ../../../paymentInc.php:103 +#: ../../../paymentInc.php:104 ../../../paymentMake.php:29 +#: ../../../paymentOrder.php:46 ../../../paymentPdf.php:44 +msgid "Order" +msgstr "Commande" + +#: ../../../payment.php:473 ../../../paymentOrder.php:48 +#: ../../../paymentPdf.php:46 ../../../paymentPdf.php:58 +msgid "Ref" +msgstr "Ref" + +#: ../../../payment.php:473 ../../../paymentOrder.php:48 +msgid "Quantity" +msgstr "Quantité" + +#: ../../../payment.php:473 ../../../payment.php:487 ../../../paymentInc.php:50 +#: ../../../paymentInc.php:106 ../../../paymentInc.php:107 +#: ../../../paymentOrder.php:48 ../../../paymentOrder.php:62 +#: ../../../paymentPdf.php:58 ../../../paymentPdf.php:98 +msgid "Total" +msgstr "Total" + +#: ../../../payment.php:481 ../../../paymentOrder.php:56 +#: ../../../paymentPdf.php:87 +msgid "Subtotal" +msgstr "Sous-Total" + +#: ../../../payment.php:489 ../../../paymentOrder.php:64 +#: ../../../paymentPdf.php:103 +msgid "Shipping address" +msgstr "Adresse de livraison" + +#: ../../../payment.php:495 ../../../paymentInc.php:55 +#: ../../../paymentInc.php:124 ../../../paymentInc.php:138 +#: ../../../paymentOrder.php:70 ../../../paymentPdf.php:113 +msgid "Mail" +msgstr "Mail" + +#: ../../../payment.php:500 ../../../paymentOrder.php:75 +#: ../../../paymentPdf.php:54 +msgid "Payment" +msgstr "Paiement" + +#: ../../../payment.php:501 ../../../payment.php:512 msgid "Are you sure ?" msgstr "Etes-vous certain ?" -#: ../../../payment.php:497 +#: ../../../payment.php:501 msgid "Delete" msgstr "Suppression" -#: ../../../payment.php:499 -#: ../../../payment.php:500 -#: ../../../payment.php:504 +#: ../../../payment.php:503 ../../../payment.php:504 ../../../payment.php:508 msgid "No" msgstr "Non" -#: ../../../payment.php:508 +#: ../../../payment.php:511 ../../../paymentOrder.php:84 +msgid "Invoice in PDF" +msgstr "Facture en PDF" + +#: ../../../payment.php:512 msgid "Archive" msgstr "Archiver" + +#: ../../../paymentInc.php:51 +msgid "Shipping" +msgstr "Livraison" + +#: ../../../paymentInc.php:57 +msgid "Secure payment by card" +msgstr "Paiement sécurisé par carte" + +#: ../../../paymentInc.php:58 +msgid "Pay with your Paypal account" +msgstr "Payer avec votre compte Paypal" + +#: ../../../paymentInc.php:59 +msgid "Pay by cheque" +msgstr "Payer par chèque" + +#: ../../../paymentInc.php:60 +msgid "Bank transfer" +msgstr "Virement bancaire" + +#: ../../../paymentInc.php:62 +msgid "Fields are mandatory" +msgstr "Les champs sont obligatoires" + +#: ../../../paymentInc.php:62 ../../../paymentInc.php:152 +msgid "Invalid email" +msgstr "Email invalide" + +#: ../../../paymentInc.php:117 +msgid "Follow the evolution of your order" +msgstr "Suivre l'évolution de la commande" + +#: ../../../paymentInc.php:118 +msgid "Cancel this order" +msgstr "Annuler cette commande" + +#: ../../../paymentInc.php:123 ../../../paymentInc.php:125 +msgid "Send your cheque to the following address" +msgstr "Envoyez votre chèque à l'adresse suivante" + +#: ../../../paymentInc.php:123 ../../../paymentInc.php:125 +msgid "Payable to" +msgstr "A l'ordre de" + +#: ../../../paymentInc.php:125 ../../../paymentInc.php:139 +msgid "Ref to mention" +msgstr "Ref à mentionner" + +#: ../../../paymentInc.php:126 ../../../paymentInc.php:140 +msgid "" +"We expect your payment within 10 days. After this time, the order will be " +"destroyed." +msgstr "" +"Nous attendons votre paiement sous 10 jours. Passé ce délais, la commande " +"sera supprimée." + +#: ../../../paymentInc.php:127 ../../../paymentInc.php:141 +#: ../../../paymentInc.php:149 ../../../paymentPdf.php:121 +msgid "Thank you for your trust." +msgstr "Merci pour votre confiance." + +#: ../../../paymentInc.php:129 +msgid "New order by cheque" +msgstr "Nouvelle commande par chèque" + +#: ../../../paymentInc.php:137 ../../../paymentInc.php:139 +msgid "Transfer your payment to the following account" +msgstr "Effectuez un virement vers le compte suivant" + +#: ../../../paymentInc.php:143 +msgid "New order by bank transfer" +msgstr "Nouvelle commande par virement" + +#: ../../../paymentInc.php:149 +msgid "A summary email with the elements for payment was sent to you." +msgstr "" +"Un email récapitulatif contenant les éléments du paiement vous a été envoyé." + +#: ../../../paymentOrder.php:23 +msgid "The order is canceled" +msgstr "La commande vient d'être effacée" + +#: ../../../paymentOrder.php:25 +msgid "Sorry, this is no longer feasible online" +msgstr "Désolé, ce n'est plus possible en ligne" + +#: ../../../paymentOrder.php:83 +msgid "Out for delivery" +msgstr "En cours de livraison" + +#: ../../../paymentPdf.php:40 +msgid "Invoice" +msgstr "Facture" diff --git a/lang/lang.php b/lang/lang.php index 7b0ed96..dea79c7 100755 --- a/lang/lang.php +++ b/lang/lang.php @@ -1,16 +1,20 @@ "fr_FR.utf8", - "en" => "en_US", - "es" => "es_ES.utf8" - ); - // - if(isset($langPlug[$lang]) && $langPlug[$lang]) - { - require_once(dirname(__FILE__).'/../../../includes/lang/php-gettext/gettext.inc'); - T_setlocale(LC_MESSAGES, $langPlug[$lang]); - T_bindtextdomain("payment", dirname(__FILE__)); - T_bind_textdomain_codeset("payment", "UTF-8"); - T_textdomain("payment"); - } +$langPlug = array( + "fr" => "fr_FR.utf8", + "en" => "en_US", + "es" => "es_ES.utf8" + ); +// +if(!empty($langPlug[$lang])) + { + require_once(dirname(__FILE__).'/../../../includes/lang/php-gettext/gettext.inc'); + T_setlocale(LC_MESSAGES, $langPlug[$lang]); + T_bindtextdomain("payment", dirname(__FILE__)); + T_bind_textdomain_codeset("payment", "UTF-8"); + T_textdomain("payment"); + } +else if(!function_exists('T_')) + { + function T_($f) { return $f; } + } ?> diff --git a/payment.php b/payment.php index 1a85e56..78b740c 100755 --- a/payment.php +++ b/payment.php @@ -235,29 +235,29 @@ #paymentVente table tr.PayNo td, #paymentVente table tr.PayNo td a{color:#ff3b00;} #paymentVente table td.yesno{text-decoration:underline;cursor:pointer;} '; - $tab=''; + $tab = array(); if(file_exists('../../data/_sdata-'.$sdata.'/_paypal/')) { - $d='../../data/_sdata-'.$sdata.'/_paypal/'; - if ($dh=opendir($d)) + $d = '../../data/_sdata-'.$sdata.'/_paypal/'; + if($dh=opendir($d)) { - while (($file = readdir($dh))!==false) { if ($file!='.' && $file!='..') $tab[]=$d.$file; } + while(($file = readdir($dh))!==false) { if ($file!='.' && $file!='..') $tab[] = $d.$file; } closedir($dh); } } if(file_exists('../../data/_sdata-'.$sdata.'/_payplug/')) { - $d='../../data/_sdata-'.$sdata.'/_payplug/'; - if ($dh=opendir($d)) + $d = '../../data/_sdata-'.$sdata.'/_payplug/'; + if($dh=opendir($d)) { - while (($file = readdir($dh))!==false) { if ($file!='.' && $file!='..') $tab[]=$d.$file; } + while(($file = readdir($dh))!==false) { if ($file!='.' && $file!='..') $tab[] = $d.$file; } closedir($dh); } } - $d='../../data/_sdata-'.$sdata.'/_payment/'; - if ($dh=opendir($d)) + $d = '../../data/_sdata-'.$sdata.'/_payment/'; + if($dh=opendir($d)) { - while (($file = readdir($dh))!==false) { if ($file!='.' && $file!='..') $tab[]=$d.$file; } + while(($file = readdir($dh))!==false) { if ($file!='.' && $file!='..') $tab[] = $d.$file; } closedir($dh); } if(count($tab) && is_array($tab)) @@ -267,9 +267,9 @@ $b = array(); foreach($tab as $r) { - $q=@file_get_contents($r); - $a=json_decode($q,true); - $b[]=$a; + $q = @file_get_contents($r); + $a = json_decode($q,true); + $b[] = $a; } function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($u1['time'])?$u1['time']:0);} usort($b, 'sortTime'); @@ -287,13 +287,13 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ $adr = $c[2]; $mail = $c[3]; } - $item=((isset($r['item_name']) && isset($r['quantity']))?$r['item_name'].(($r['quantity']!="0")?' ('.$r['quantity'].')':''):''); + $item = ((isset($r['item_name']) && isset($r['quantity']))?$r['item_name'].(($r['quantity']!="0")?' ('.$r['quantity'].')':''):''); if(!$item) { - $v=1; + $v = 1; while(isset($r['item_name'.$v])) { - $item.=($item?'
':'').$r['item_name'.$v].' ('.$r['quantity'.$v].')'; + $item .= ($item?'
':'').$r['item_name'.$v].' ('.$r['quantity'.$v].')'; ++$v; } } @@ -316,7 +316,7 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ if(is_array($c)) foreach($c as $r1) { $r2 = explode('|',$r1); - if(is_array($r2) && $r2[0] && $r2[0]!='ADRESS') $item.=($item?'
':'').$r2[0].' ('.$r2[3].')'; // name, price, id, quantity + if(is_array($r2) && $r2[0] && $r2[0]!='ADRESS') $item .= ($item?'
':'').$r2[0].' ('.$r2[3].')'; // name, price, id, quantity else if(is_array($r2) && $r2[0]=='ADRESS') { $name = $r2[1]; @@ -340,7 +340,7 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ $item = ''; $adr = ''; $name = ''; $mail = ''; foreach($r['prod'] as $r1) { - $item.=($item?'
':'').$r1['n'].' ('.$r1['q'].')'; // name, price, id, quantity + $item .= ($item?'
':'').$r1['n'].' ('.$r1['q'].')'; // name, price, id, quantity } echo ''; echo ''.(isset($r['time'])?date("dMy H:i", $r['time']):'').'
'.$r['id'].''; @@ -377,7 +377,7 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ // ******************************************************************************************** case 'treated': $q = @file_get_contents('../../data/_sdata-'.$sdata.'/_'.$_POST['typ'].'/'.$_POST['id'].'.json'); - if(isset($q) && $q) + if(!empty($q)) { $a = json_decode($q,true); $a['treated'] = 1; @@ -392,7 +392,7 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ // ******************************************************************************************** case 'reset': $q = @file_get_contents('../../data/_sdata-'.$sdata.'/_'.$_POST['typ'].'/'.$_POST['id'].'.json'); - if(isset($q) && $q) + if(!empty($q)) { $a = json_decode($q,true); $a['treated'] = 0; @@ -423,12 +423,12 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ break; // ******************************************************************************************** case 'viewArchiv': - if (is_dir('../../data/_sdata-'.$sdata.'/_payment/archive') && $h=opendir('../../data/_sdata-'.$sdata.'/_payment/archive')) + if(is_dir('../../data/_sdata-'.$sdata.'/_payment/archive') && $h = opendir('../../data/_sdata-'.$sdata.'/_payment/archive')) { $o = '
'; - while(($d=readdir($h))!==false) + while(($d = readdir($h))!==false) { - $ext=explode('.',$d); $ext=$ext[count($ext)-1]; + $ext = explode('.',$d); $ext=$ext[count($ext)-1]; if($d!='.' && $d!='..' && $ext=='json') { $o .= '
'.$d.'
'; @@ -443,7 +443,8 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ if(isset($_POST['arch']) && file_exists('../../data/_sdata-'.$sdata.'/_payment/archive/'.$_POST['arch'])) { $q = @file_get_contents('../../data/_sdata-'.$sdata.'/_payment/archive/'.$_POST['arch']); - $a = json_decode($q,true); $o = '

'.T_('Archives').'

'; + $a = json_decode($q,true); + $o = '

'.T_('Archives').'

'; foreach($a as $k=>$v) { if($k=='time') $v .= ' => '.date("d/m/Y H:i",$v); @@ -505,9 +506,9 @@ function sortTime($u1,$u2) {return (isset($u2['time'])?$u2['time']:0) - (isset($ $o .= '
'.T_("Paid").'
'; $o .= '
'.T_("Treated").'
'; $o .= '
'.T_("Reset").'
'; - $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND); - $r = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, 'payment', $_POST['id'].'|'.$a['mail'], MCRYPT_MODE_ECB, $iv)); - $o .= ''.T_("Invoice in PDF").''; + $iv = openssl_random_pseudo_bytes(16); + $r = base64_encode(openssl_encrypt($_POST['id'].'|'.$a['mail'], 'AES-256-CBC', substr($Ukey,0,32), OPENSSL_RAW_DATA, $iv)); + $o .= ''.T_("Invoice in PDF").''; $o .= '
'.T_("Archive").'
'; $o .= '
'; // diff --git a/paymentGetData.php b/paymentGetData.php index 7fdcc7a..fd1953a 100755 --- a/paymentGetData.php +++ b/paymentGetData.php @@ -2,7 +2,7 @@ function getPaypalOrder($id,$sdata) { $q = file_get_contents('../../data/_sdata-'.$sdata.'/_paypal/'.$id.'.json'); $a = json_decode($q,true); - $b = array(); $v=1; $w = 0; + $b = array(); $v = 1; $w = 0; while(isset($a['item_name'.$v])) { if($a['item_name'.$v]!=T_('Shipping cost')) diff --git a/paymentInc.php b/paymentInc.php index 9520ad1..24ca861 100755 --- a/paymentInc.php +++ b/paymentInc.php @@ -6,7 +6,7 @@ { include('../../config.php'); include('lang/lang.php'); - switch ($_POST['a']) + switch($_POST['a']) { // JSON : {"prod":{"0":{"n":"clef de 12","p":8.5,"i":"","q":1},"1":{"n":"tournevis","p":1.5,"i":"","q":2},"2":{"n":"papier craft","p":0.21,"i":"","q":30}},"ship":"4","name":"Sting","adre":"rue du lac 33234 PLOUG","Ubusy":"index"} // n=nom, p=prix, i=ID, q=quantite @@ -112,10 +112,10 @@ if(file_exists('../../data/_sdata-'.$sdata.'/_payment/'.$ref.'.json')) $ref = time(); $cartJson .= '},"ship":"'.$a1['ship'].'","Utax":"'.$a1['taa'].'|'.$a1['tab'].'|'.$a1['tac'].'|'.$a1['tad'].'","time":"'.time().'","treated":"0","payed":"0","curr":"'.$a1['curr'].'","Ubusy":"'.$Ubusy.'","name":"'.$bio->name.'","adre":"'.$bio->adre.'","mail":"'.$bio->mail.'","total":"'.$p.'","id":"'.$ref.'"'; // Link to destroy order - $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND); - $r = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, 'payment', $ref.'|'.$bio->mail, MCRYPT_MODE_ECB, $iv)); - $info = "".T_("Follow the evolution of your order").""; - $supp = "".T_("Cancel this order").""; + $iv = openssl_random_pseudo_bytes(16); + $r = base64_encode(openssl_encrypt($ref.'|'.$bio->mail, 'AES-256-CBC', substr($Ukey,0,32), OPENSSL_RAW_DATA, $iv)); + $info = "".T_("Follow the evolution of your order").""; + $supp = "".T_("Cancel this order").""; $bottom = str_replace('[[unsubscribe]]',$supp, $bottom); // template // if($_POST['d']=='cheq') @@ -190,55 +190,92 @@ function getTax($a1,$t1) return intval(($ta + $tb + $tc + $td)*100 + .5) / 100; } // -function mailAdmin($tit, $subject, $bottom, $top, $url) +function mailAdmin($tit, $message, $bottom, $top, $url) { global $mailAdmin; - $rn = "\r\n"; - $boundary = "-----=".md5(rand()); - $body = ''.$tit.'
'.$rn.$subject.$rn; + $body = ''.$tit.'
'."\r\n".$message."\r\n"; $msgT = strip_tags($body); $msgH = $top . $body . $bottom; - $sujet = $tit; - $header = "From: ".$mailAdmin."<".$mailAdmin.">".$rn."Reply-To:".$mailAdmin."<".$mailAdmin.">"; - $header.= "MIME-Version: 1.0".$rn; - $header.= "Content-Type: multipart/alternative;".$rn." boundary=\"$boundary\"".$rn; - $msg= $rn."--".$boundary.$rn; - $msg.= "Content-Type: text/plain; charset=\"utf-8\"".$rn; - $msg.= "Content-Transfer-Encoding: 8bit".$rn; - $msg.= $rn.$msgT.$rn; - $msg.= $rn."--".$boundary.$rn; - $msg.= "Content-Type: text/html; charset=\"utf-8\"".$rn; - $msg.= "Content-Transfer-Encoding: 8bit".$rn; - $msg.= $rn.$msgH.$rn; - $msg.= $rn."--".$boundary."--".$rn; - $msg.= $rn."--".$boundary."--".$rn; - if(mail($mailAdmin, stripslashes($tit), stripslashes($msg), $header)) return true; - else return false; + if(file_exists(dirname(__FILE__).'/../newsletter/PHPMailer/PHPMailerAutoload.php')) + { + // PHPMailer + require_once(dirname(__FILE__).'/../newsletter/PHPMailer/PHPMailerAutoload.php'); + $phm = new PHPMailer(); + $phm->CharSet = "UTF-8"; + $phm->setFrom($mailAdmin); + $phm->addReplyTo($mailAdmin); + $phm->AddAddress($mailAdmin); + $phm->isHTML(true); + $phm->Subject = stripslashes($tit); + $phm->Body = stripslashes($msgH); + $phm->AltBody = stripslashes($msgT); + if($phm->Send()) return true; + else return false; + } + else + { + $rn = "\r\n"; + $boundary = "-----=".md5(rand()); + $header = "From: ".$mailAdmin."<".$mailAdmin.">".$rn."Reply-To:".$mailAdmin."<".$mailAdmin.">"; + $header .= "MIME-Version: 1.0".$rn; + $header .= "Content-Type: multipart/alternative;".$rn." boundary=\"$boundary\"".$rn; + $msg = $rn."--".$boundary.$rn; + $msg .= "Content-Type: text/plain; charset=\"utf-8\"".$rn; + $msg .= "Content-Transfer-Encoding: 8bit".$rn; + $msg .= $rn.$msgT.$rn; + $msg .= $rn."--".$boundary.$rn; + $msg .= "Content-Type: text/html; charset=\"utf-8\"".$rn; + $msg .= "Content-Transfer-Encoding: 8bit".$rn; + $msg .= $rn.$msgH.$rn; + $msg .= $rn."--".$boundary."--".$rn; + $msg .= $rn."--".$boundary."--".$rn; + if(mail($mailAdmin, stripslashes($tit), stripslashes($msg), $header)) return true; + else return false; + } } // -function mailUser($dest, $sujet, $message, $bottom, $top, $url) +function mailUser($dest, $tit, $message, $bottom, $top, $url) { global $mailAdmin; - $rn = "\r\n"; - $boundary = "-----=".md5(rand()); - $body = ''.$sujet.'
'.$rn.$message.'
'.$rn; + $body = ''.$tit.'
'."\r\n".$message.'
'."\r\n"; $msgT = strip_tags($body); $msgH = $top . $body . $bottom; - $header = 'From: '.$mailAdmin.$rn.'Reply-To: '.$mailAdmin.$rn.'X-Mailer: PHP/'.phpversion().$rn; - $header.= "MIME-Version: 1.0".$rn; - $header.= "Content-Type: multipart/alternative;".$rn." boundary=\"$boundary\"".$rn; - $msg= $rn."--".$boundary.$rn; - $msg.= "Content-Type: text/plain; charset=\"utf-8\"".$rn; - $msg.= "Content-Transfer-Encoding: 8bit".$rn; - $msg.= $rn.$msgT.$rn; - $msg.= $rn."--".$boundary.$rn; - $msg.= "Content-Type: text/html; charset=\"utf-8\"".$rn; - $msg.= "Content-Transfer-Encoding: 8bit".$rn; - $msg.= $rn.$msgH.$rn; - $msg.= $rn."--".$boundary."--".$rn; - $msg.= $rn."--".$boundary."--".$rn; - if(mail($dest, stripslashes($sujet), $msg, $header)) return true; - else return false; + if(file_exists(dirname(__FILE__).'/../newsletter/PHPMailer/PHPMailerAutoload.php')) + { + // PHPMailer + require_once(dirname(__FILE__).'/../newsletter/PHPMailer/PHPMailerAutoload.php'); + $phm = new PHPMailer(); + $phm->CharSet = "UTF-8"; + $phm->setFrom($mailAdmin); + $phm->addReplyTo($mailAdmin); + $phm->AddAddress($dest); + $phm->isHTML(true); + $phm->Subject = stripslashes($tit); + $phm->Body = stripslashes($msgH); + $phm->AltBody = stripslashes($msgT); + if($phm->Send()) return true; + else return false; + } + else + { + $rn = "\r\n"; + $boundary = "-----=".md5(rand()); + $header = 'From: '.$mailAdmin.$rn.'Reply-To: '.$mailAdmin.$rn.'X-Mailer: PHP/'.phpversion().$rn; + $header .= "MIME-Version: 1.0".$rn; + $header .= "Content-Type: multipart/alternative;".$rn." boundary=\"$boundary\"".$rn; + $msg = $rn."--".$boundary.$rn; + $msg .= "Content-Type: text/plain; charset=\"utf-8\"".$rn; + $msg .= "Content-Transfer-Encoding: 8bit".$rn; + $msg .= $rn.$msgT.$rn; + $msg .= $rn."--".$boundary.$rn; + $msg .= "Content-Type: text/html; charset=\"utf-8\"".$rn; + $msg .= "Content-Transfer-Encoding: 8bit".$rn; + $msg .= $rn.$msgH.$rn; + $msg .= $rn."--".$boundary."--".$rn; + $msg .= $rn."--".$boundary."--".$rn; + if(mail($dest, stripslashes($tit), $msg, $header)) return true; + else return false; + } } // ?> diff --git a/paymentMake.php b/paymentMake.php index fe948f8..2102423 100755 --- a/paymentMake.php +++ b/paymentMake.php @@ -11,7 +11,7 @@ $q1 = file_get_contents('data/'.$Ubusy.'/payment.json'); $a1 = json_decode($q1,true); $it = (isset($a1['it'])?$a1['it']:'shortcode'); - $ali= (isset($a1['ali'])?$a1['ali']:'left'); + $ali = (isset($a1['ali'])?$a1['ali']:'left'); $col = (isset($a1['col'])?$a1['col']:'#eee'); $ico = (isset($a1['ico'])?$a1['ico']:'black'); $Ustyle .= '.cart{position:relative;display:inline-block;height:auto;padding:0;font-size:.9em;margin:0;line-height:1.1em;white-space:nowrap;} diff --git a/paymentOrder.php b/paymentOrder.php index b7962de..830060f 100755 --- a/paymentOrder.php +++ b/paymentOrder.php @@ -1,16 +1,15 @@
'; - switch ($_GET['a']) + switch($_GET['a']) { // ******************************************************************************************** case 'del': @@ -23,7 +22,7 @@ unlink('../../data/_sdata-'.$sdata.'/_payment/'.$b[0].'.json'); $o .= '

'.T_('The order is canceled').'

'; } - else $o .= '

'.T_('Error').'

'; + else $o .= '

'.T_('Sorry, this is no longer feasible online').'

'; } else $o .= '

'.T_('Error').'

'; break; @@ -74,19 +73,18 @@ if($sys=='payment' && isset($a['cv']) && $a['cv']=='cheq') $typ = T_("Cheque"); else if($sys=='payment' && isset($a['cv']) && $a['cv']=='vire') $typ = T_("Bank Transfer"); $o .= '

'.T_("Payment").' : '.($typ?$typ:$sys).'

'; - $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND); - $r = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, 'payment', $b[0].'|'.$a['mail'], MCRYPT_MODE_ECB, $iv)); + $iv = openssl_random_pseudo_bytes(16); + $r = base64_encode(openssl_encrypt($b[0].'|'.$a['mail'], 'AES-256-CBC', substr($Ukey,0,32), OPENSSL_RAW_DATA, $iv)); if(isset($a['payed']) && !$a['payed']) $o .= '

'.T_("Not paid").'

'; else { $o .= '

'.T_("Paid").'

'; if(!$a['treated']) $o .= '

'.T_("Not treated").'

'; else $o .= '

'.T_("Out for delivery").'

'; - $o .= '

'.T_("Invoice in PDF").'

'; + $o .= '

'.T_("Invoice in PDF").'

'; } } else $o .= '

'.T_('Error').'

'; - // else {sleep(2);exit;} break; // ******************************************************************************************** } diff --git a/paymentPdf.php b/paymentPdf.php index 22e565f..da5b9eb 100755 --- a/paymentPdf.php +++ b/paymentPdf.php @@ -1,14 +1,13 @@