From 6d12a5b7d7a5e79a9a7a4baca1be97c2f507ff06 Mon Sep 17 00:00:00 2001
From: Damien Metzger
Date: Thu, 7 Mar 2013 18:33:53 +0100
Subject: [PATCH 1/6] // Installer translations
---
install-dev/langs/br/install.php | 7 ++++---
install-dev/langs/de/install.php | 9 +++++----
install-dev/langs/es/install.php | 11 ++++++-----
install-dev/langs/it/install.php | 9 +++++----
4 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/install-dev/langs/br/install.php b/install-dev/langs/br/install.php
index 92bc138fd..21517c185 100644
--- a/install-dev/langs/br/install.php
+++ b/install-dev/langs/br/install.php
@@ -5,11 +5,12 @@ return array(
'support' => 'http://support.prestashop.com/en/',
),
'translations' => array(
- 'menu_welcome' => 'Bem-vindo !',
+ 'menu_welcome' => 'Escolha seu idioma',
+ 'menu_license' => 'Acordo de licenciamento',
'menu_system' => 'Compatibilidade do Sistema',
'menu_database' => 'Configuração do Sistema',
- 'menu_configure' => 'Configuração da loja',
- 'menu_process' => 'Instalação',
+ 'menu_configure' => 'Informação da Loja',
+ 'menu_process' => 'Instalação da Loja',
'Choose the installer language:' => 'Escolha a língua para instalação :',
'Field required' => 'Campos requeridos',
'Invalid shop name' => 'Nome da loja inválido',
diff --git a/install-dev/langs/de/install.php b/install-dev/langs/de/install.php
index 35172965f..eea0f0ca9 100644
--- a/install-dev/langs/de/install.php
+++ b/install-dev/langs/de/install.php
@@ -4,11 +4,12 @@ return array(
'phone' => '+33 (0)1.40.18.30.04',
),
'translations' => array(
- 'menu_welcome' => 'Willkommen!',
+ 'menu_welcome' => 'Sprachauswahl',
+ 'menu_license' => 'Annahme von Lizenzen',
'menu_system' => 'Systemkompatibilität',
- 'menu_database' => 'Datenbank Konfiguration',
- 'menu_configure' => 'Shop-Konfiguration',
- 'menu_process' => 'Installation',
+ 'menu_database' => ' Systemkonfiguration',
+ 'menu_configure' => 'Shopinstallation',
+ 'menu_process' => 'Installation von Shop',
'Choose the installer language:' => 'Bitte wählen Sie Ihre Sprache',
'Field required' => 'Pflichtfeld',
'Invalid shop name' => 'Ungültiger Shopname',
diff --git a/install-dev/langs/es/install.php b/install-dev/langs/es/install.php
index 4c5d33585..8fcbd383f 100644
--- a/install-dev/langs/es/install.php
+++ b/install-dev/langs/es/install.php
@@ -4,11 +4,12 @@ return array(
'phone' => '+1 (888) 947-6543',
),
'translations' => array(
- 'menu_welcome' => '¡Bienvenido!',
- 'menu_system' => 'Compatibilidad sistema',
- 'menu_database' => 'Configuración de base de datos',
- 'menu_configure' => 'Configuración de la tienda',
- 'menu_process' => 'Instalación',
+ 'menu_welcome' => 'Elegir el idioma',
+ 'menu_license' => 'Aceptar las licencias',
+ 'menu_system' => 'Compatibilidad del sistema',
+ 'menu_database' => 'Configuración del sistema',
+ 'menu_configure' => 'Información de la tienda',
+ 'menu_process' => 'Instalación de la tienda',
'Choose the installer language:' => '',
'Field required' => 'Campos requeridos',
'Invalid shop name' => 'Nombre de la tienda no válido',
diff --git a/install-dev/langs/it/install.php b/install-dev/langs/it/install.php
index e10bf077d..18e1ef30a 100644
--- a/install-dev/langs/it/install.php
+++ b/install-dev/langs/it/install.php
@@ -4,11 +4,12 @@ return array(
'phone' => '+33 (0)1.40.18.30.04',
),
'translations' => array(
- 'menu_welcome' => 'Benvenuto!',
+ 'menu_welcome' => 'Scelta della lingua',
+ 'menu_license' => 'Accettazione licenze',
'menu_system' => 'Compatibilità sistema',
- 'menu_database' => 'Database',
- 'menu_configure' => 'Configurazione negozio',
- 'menu_process' => 'Installazione',
+ 'menu_database' => 'Configurazione sistema',
+ 'menu_configure' => 'Informazioni negozio',
+ 'menu_process' => 'Installazione del negozio',
'Choose the installer language:' => 'Scegli la lingua di installazione',
'Field required' => 'Campo richiesto',
'Invalid shop name' => 'nome negozio non valido',
From ca85825acdf075c90b79eab3955aa7f0c3ccec74 Mon Sep 17 00:00:00 2001
From: gRoussac
Date: Mon, 4 Mar 2013 13:35:48 +0100
Subject: [PATCH 2/6] [-] Fo : Fix bug #PSCFV-7956 select invoice address when
adding a first new address
---
controllers/front/AddressController.php | 2 +-
themes/default/address.tpl | 2 +-
themes/default/shopping-cart.tpl | 48 ++++++++++++-------------
3 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/controllers/front/AddressController.php b/controllers/front/AddressController.php
index 490e361c6..432669a1a 100644
--- a/controllers/front/AddressController.php
+++ b/controllers/front/AddressController.php
@@ -237,7 +237,7 @@ class AddressControllerCore extends FrontController
else // Update cart address
$this->context->cart->autosetProductAddress();
- if (Tools::getValue('type') == 'invoice' && Configuration::get('PS_ORDER_PROCESS_TYPE'))
+ if ((bool)(Tools::getValue('select_address', false)) == true OR Tools::getValue('type') == 'invoice' && Configuration::get('PS_ORDER_PROCESS_TYPE'))
{
$this->context->cart->id_address_invoice = (int)$address->id;
$this->context->cart->update();
diff --git a/themes/default/address.tpl b/themes/default/address.tpl
index 1457760c1..7c33539ef 100644
--- a/themes/default/address.tpl
+++ b/themes/default/address.tpl
@@ -218,7 +218,7 @@ $(function(){ldelim}
-
+
diff --git a/themes/default/shopping-cart.tpl b/themes/default/shopping-cart.tpl
index 928a629b7..a6724ea0e 100644
--- a/themes/default/shopping-cart.tpl
+++ b/themes/default/shopping-cart.tpl
@@ -365,32 +365,32 @@
{if ((!empty($delivery_option) AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc}
{l s='If you want to be able to fully use the AdminModules panel and have free modules available, you should enable the following configuration on your server:'}
{if $check_url_fopen eq 'ko'}- {l s='Enable allow_url_fopen'} {/if}
{if $check_openssl eq 'ko'}- {l s='Enable php openSSL extension'} {/if}
diff --git a/admin-dev/themes/default/template/controllers/modules/js.tpl b/admin-dev/themes/default/template/controllers/modules/js.tpl
index a7c8d1237..b0bc45df2 100644
--- a/admin-dev/themes/default/template/controllers/modules/js.tpl
+++ b/admin-dev/themes/default/template/controllers/modules/js.tpl
@@ -1,373 +1,327 @@
-{*
-* 2007-2013 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA
-* @copyright 2007-2013 PrestaShop SA
-
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
-
-
-
+
\ No newline at end of file
diff --git a/admin-dev/themes/default/template/controllers/modules/list.tpl b/admin-dev/themes/default/template/controllers/modules/list.tpl
index 5ed6b0612..ff01f4620 100644
--- a/admin-dev/themes/default/template/controllers/modules/list.tpl
+++ b/admin-dev/themes/default/template/controllers/modules/list.tpl
@@ -1,122 +1,115 @@
-{*
-* 2007-2013 PrestaShop
-*
-* NOTICE OF LICENSE
-*
-* This source file is subject to the Academic Free License (AFL 3.0)
-* that is bundled with this package in the file LICENSE.txt.
-* It is also available through the world-wide-web at this URL:
-* http://opensource.org/licenses/afl-3.0.php
-* If you did not receive a copy of the license and are unable to
-* obtain it through the world-wide-web, please send an email
-* to license@prestashop.com so we can send you a copy immediately.
-*
-* DISCLAIMER
-*
-* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
-* versions in the future. If you wish to customize PrestaShop for your
-* needs please refer to http://www.prestashop.com for more information.
-*
-* @author PrestaShop SA
-* @copyright 2007-2013 PrestaShop SA
-* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
-* International Registered Trademark & Property of PrestaShop SA
-*}
-
- {if count($modules)}
-
-
- {/if}
-
+{*
+* 2007-2013 PrestaShop
+*
+* NOTICE OF LICENSE
+*
+* This source file is subject to the Academic Free License (AFL 3.0)
+* that is bundled with this package in the file LICENSE.txt.
+* It is also available through the world-wide-web at this URL:
+* http://opensource.org/licenses/afl-3.0.php
+* If you did not receive a copy of the license and are unable to
+* obtain it through the world-wide-web, please send an email
+* to license@prestashop.com so we can send you a copy immediately.
+*
+* DISCLAIMER
+*
+* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
+* versions in the future. If you wish to customize PrestaShop for your
+* needs please refer to http://www.prestashop.com for more information.
+*
+* @author PrestaShop SA
+* @copyright 2007-2013 PrestaShop SA
+* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
+* International Registered Trademark & Property of PrestaShop SA
+*}
+
+{if count($modules)}
+