Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into bootstrap
Conflicts: admin-dev/themes/default/css/admin.css admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form.tpl admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form_ranges.tpl admin-dev/themes/default/template/controllers/categories/helpers/form/form.tpl admin-dev/themes/default/template/controllers/home/content.tpl admin-dev/themes/default/template/controllers/localization/content.tpl admin-dev/themes/default/template/controllers/orders/_customized_data.tpl admin-dev/themes/default/template/controllers/orders/_new_product.tpl admin-dev/themes/default/template/controllers/orders/_product_line.tpl admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl admin-dev/themes/default/template/controllers/tax_rules/helpers/list/list_header.tpl admin-dev/themes/default/template/footer.tpl controllers/admin/AdminCarrierWizardController.php controllers/admin/AdminCarriersController.php controllers/admin/AdminCmsController.php controllers/admin/AdminLocalizationController.php controllers/admin/AdminManufacturersController.php controllers/admin/AdminSuppliersController.php css/admin.css js/admin-products.js js/admin_carrier_wizard.js translations/fr.gzip
This commit is contained in:
@@ -30,7 +30,7 @@ abstract class InstallControllerHttp
|
||||
* @var array List of installer steps
|
||||
*/
|
||||
protected static $steps = array('welcome', 'license', 'system', 'configure', 'database', 'process');
|
||||
|
||||
protected $phone;
|
||||
protected static $instances = array();
|
||||
|
||||
/**
|
||||
@@ -318,7 +318,14 @@ abstract class InstallControllerHttp
|
||||
*/
|
||||
public function getPhone()
|
||||
{
|
||||
return $this->language->getInformation('phone', false);
|
||||
if ($this->phone === null)
|
||||
{
|
||||
$this->phone = $this->language->getInformation('phone', false);
|
||||
if ($iframe = Tools::file_get_contents('http://api.prestashop.com/iframe/install.php?lang='.$this->language->getLanguageIso()))
|
||||
if (preg_match('/<img.+alt="([^"]+)".*>/Ui', $iframe, $matches) && isset($matches[1]))
|
||||
$this->phone = $matches[1];
|
||||
}
|
||||
return $this->phone;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -936,7 +936,7 @@ CREATE TABLE `PREFIX_manufacturer_lang` (
|
||||
`id_manufacturer` int(10) unsigned NOT NULL,
|
||||
`id_lang` int(10) unsigned NOT NULL,
|
||||
`description` text,
|
||||
`short_description` varchar(254) default NULL,
|
||||
`short_description` text,
|
||||
`meta_title` varchar(128) default NULL,
|
||||
`meta_keywords` varchar(255) default NULL,
|
||||
`meta_description` varchar(255) default NULL,
|
||||
|
||||
@@ -689,7 +689,7 @@ Country</value>
|
||||
<value>7700</value>
|
||||
</configuration>
|
||||
<configuration id="PS_VERSION_DB" name="PS_VERSION_DB">
|
||||
<value>1.5.0.9</value>
|
||||
<value>1.5.5.0</value>
|
||||
</configuration>
|
||||
<configuration id="PS_BASE_DISTANCE_UNIT" name="PS_BASE_DISTANCE_UNIT">
|
||||
<value>m</value>
|
||||
@@ -701,7 +701,7 @@ Country</value>
|
||||
<value>localhost</value>
|
||||
</configuration>
|
||||
<configuration id="PS_INSTALL_VERSION" name="PS_INSTALL_VERSION">
|
||||
<value>1.5.0.9</value>
|
||||
<value>1.5.5.0</value>
|
||||
</configuration>
|
||||
<configuration id="PS_SHOP_NAME" name="PS_SHOP_NAME">
|
||||
<value>PrestaShop</value>
|
||||
|
||||
@@ -24,14 +24,11 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require_once 'init.php';
|
||||
require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'init.php');
|
||||
|
||||
try
|
||||
{
|
||||
require_once _PS_INSTALL_PATH_.'classes/controllerHttp.php';
|
||||
try {
|
||||
require_once(_PS_INSTALL_PATH_.'classes'.DIRECTORY_SEPARATOR.'controllerHttp.php');
|
||||
InstallControllerHttp::execute();
|
||||
}
|
||||
catch (PrestashopInstallerException $e)
|
||||
{
|
||||
} catch (PrestashopInstallerException $e) {
|
||||
$e->displayMessage();
|
||||
}
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
ob_start();
|
||||
|
||||
// Check PHP version
|
||||
if (version_compare(PHP_VERSION, '5.1.3', '<'))
|
||||
die('You need at least PHP 5.1.3 to run PrestaShop. Your current PHP version is '.PHP_VERSION);
|
||||
@@ -37,7 +39,7 @@ define('_PS_INSTALL_MODELS_PATH_', _PS_INSTALL_PATH_.'models/');
|
||||
define('_PS_INSTALL_LANGS_PATH_', _PS_INSTALL_PATH_.'langs/');
|
||||
define('_PS_INSTALL_FIXTURES_PATH_', _PS_INSTALL_PATH_.'fixtures/');
|
||||
|
||||
require_once(_PS_INSTALL_PATH_ . 'install_version.php');
|
||||
require_once(_PS_INSTALL_PATH_.'install_version.php');
|
||||
|
||||
// we check if theses constants are defined
|
||||
// in order to use init.php in upgrade.php script
|
||||
@@ -71,8 +73,8 @@ if (!@ini_get('date.timezone'))
|
||||
ini_set('magic_quotes_runtime', 0);
|
||||
|
||||
// Try to improve memory limit if it's under 32M
|
||||
if (psinstall_get_memory_limit() < psinstall_get_octets('32M'))
|
||||
ini_set('memory_limit', '32M');
|
||||
if (psinstall_get_memory_limit() < psinstall_get_octets('64M'))
|
||||
ini_set('memory_limit', '64M');
|
||||
|
||||
function psinstall_get_octets($option)
|
||||
{
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<tab id="Search_Engines" name="Ferramentas de Pesquisa"/>
|
||||
<tab id="SEO_URLs" name="SEO e URLs"/>
|
||||
<tab id="Shipping" name="Envio"/>
|
||||
<tab id="Shipping_1" name="Envio"/>
|
||||
<tab id="Shipping_1" name="Preferências"/>
|
||||
<tab id="Shop_URLs" name="URL da loja"/>
|
||||
<tab id="Shopping_Carts" name="Carrinhos de Compras"/>
|
||||
<tab id="Shops" name="Lojas"/>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
return array(
|
||||
'informations' => array(
|
||||
'phone' => '+1 888.947.6543',
|
||||
'support' => 'https://www.prestashop.com/pt/support',
|
||||
'support' => 'https://www.prestashop.com/pt/support',
|
||||
'blog' => 'http://www.prestashop.com/blog/pt/'
|
||||
),
|
||||
'translations' => array(
|
||||
'menu_welcome' => 'Escolha seu idioma',
|
||||
@@ -162,7 +163,7 @@ return array(
|
||||
'Test message from PrestaShop' => 'Mensagem de teste do PrestaShop',
|
||||
'This is a test message, your server is now available to send email' => 'Esta é uma mensagem de teste, seu servidor está disponível agora para enviar emails.',
|
||||
'%s - Login information' => '%s - Informação de identificação',
|
||||
'An SQL error occured for entity <i>%1$s</i>: <i>%2$s</i>' => 'Um erro SQL ocorrey para a entidade <i>%1$s</i> : <i>%2$s</i>',
|
||||
'An SQL error occured for entity <i>%1$s</i>: <i>%2$s</i>' => 'Um erro SQL ocorreu para a entidade <i>%1$s</i> : <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Não é possível criar imagem "%1$s" para a entidade "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Não é possível criar imagem "%1$s" (permissão inválida na pasta "%2$s")',
|
||||
'Cannot create image "%s"' => 'Não é possível criar imagem "%s"',
|
||||
@@ -237,5 +238,14 @@ return array(
|
||||
'E-mail:' => 'E-mail:',
|
||||
'PrestaShop requires at least 32M of memory to run, please check the memory_limit directive in php.ini or contact your host provider' => 'PrestaShop requer pelo menos 32M de memória para funcionar, por favor verifique memory_limit no php.ini ou contate seu provedor de hospedagem.',
|
||||
'Your PHP sessions path is not writable - check with your hosting provider:' => 'O caminho para sessão PHP não pode ser escrito - verifique com o seu provedor de hospedagem',
|
||||
'Database is created' => 'Banco de dados está criado',
|
||||
'Cannot create the database automatically' => 'Não é possível criar o banco de dados automaticamente',
|
||||
'Install modules Addons' => 'Instalar módulos Addons',
|
||||
'Attempt to create the database automatically' => 'Tentativa de criar o banco de dados automaticamente',
|
||||
'Country:' => 'País:',
|
||||
'Must be letters and numbers with at least 8 characters' => 'Deve ser letras e números com pelo menos 8 caractéres',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Para instalar o PrestaShop, você precisa ter JavaScript ativado no seu navegador',
|
||||
'To enjoy the many features that are offered for free by PrestaShop, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Para aproveitar os muitos recursos que são oferecidos grátis pelo PrestaShop, por favor, leia os termos de licença abaixo. O núcleo do PrestaShop é licenciado sob OSL 3.0, enquanto os módulos e temas são licenciados sob AFL 3.0.',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Por questões de segurança, você deve deletar a pasta "install"',
|
||||
),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<tab id="Search_Engines" name="Suchmaschinen"/>
|
||||
<tab id="SEO_URLs" name="SEO & URLs"/>
|
||||
<tab id="Shipping" name="Versand"/>
|
||||
<tab id="Shipping_1" name="Versand"/>
|
||||
<tab id="Shipping_1" name="Voreinstellungen"/>
|
||||
<tab id="Shop_URLs" name="Shop-URLs"/>
|
||||
<tab id="Shopping_Carts" name="Warenkörbe"/>
|
||||
<tab id="Shops" name="Shops"/>
|
||||
|
||||
@@ -3,61 +3,61 @@
|
||||
<meta id="404" id_shop="1">
|
||||
<title>404 error</title>
|
||||
<description>This page cannot be found</description>
|
||||
<keywords>error, 404, not found</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>page-not-found</url_rewrite>
|
||||
</meta>
|
||||
<meta id="best-sales" id_shop="1">
|
||||
<title>Best sales</title>
|
||||
<description>Our best sales</description>
|
||||
<keywords>best sales</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>best-sales</url_rewrite>
|
||||
</meta>
|
||||
<meta id="contact" id_shop="1">
|
||||
<title>Contact us</title>
|
||||
<description>Use our form to contact us</description>
|
||||
<keywords>contact, form, e-mail</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>contact-us</url_rewrite>
|
||||
</meta>
|
||||
<meta id="index" id_shop="1">
|
||||
<title/>
|
||||
<description>Shop powered by PrestaShop</description>
|
||||
<keywords>shop, prestashop</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite/>
|
||||
</meta>
|
||||
<meta id="manufacturer" id_shop="1">
|
||||
<title>Manufacturers</title>
|
||||
<description>Manufacturers list</description>
|
||||
<keywords>manufacturer</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>manufacturers</url_rewrite>
|
||||
</meta>
|
||||
<meta id="new-products" id_shop="1">
|
||||
<title>New products</title>
|
||||
<description>Our new products</description>
|
||||
<keywords>new, products</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>new-products</url_rewrite>
|
||||
</meta>
|
||||
<meta id="password" id_shop="1">
|
||||
<title>Forgot your password</title>
|
||||
<description>Enter your e-mail address used to register in goal to get e-mail with your new password</description>
|
||||
<keywords>forgot, password, e-mail, new, reset</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>password-recovery</url_rewrite>
|
||||
</meta>
|
||||
<meta id="prices-drop" id_shop="1">
|
||||
<title>Prices drop</title>
|
||||
<description>Our special products</description>
|
||||
<keywords>special, prices drop</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>prices-drop</url_rewrite>
|
||||
</meta>
|
||||
<meta id="sitemap" id_shop="1">
|
||||
<title>Sitemap</title>
|
||||
<description>Lost ? Find what your are looking for</description>
|
||||
<keywords>sitemap</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>sitemap</url_rewrite>
|
||||
</meta>
|
||||
<meta id="supplier" id_shop="1">
|
||||
<title>Suppliers</title>
|
||||
<description>Suppliers list</description>
|
||||
<keywords>supplier</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>supplier</url_rewrite>
|
||||
</meta>
|
||||
<meta id="address" id_shop="1">
|
||||
@@ -73,10 +73,10 @@
|
||||
<url_rewrite>addresses</url_rewrite>
|
||||
</meta>
|
||||
<meta id="authentication" id_shop="1">
|
||||
<title>Authentication</title>
|
||||
<title>Login</title>
|
||||
<description/>
|
||||
<keywords/>
|
||||
<url_rewrite>authentication</url_rewrite>
|
||||
<url_rewrite>login</url_rewrite>
|
||||
</meta>
|
||||
<meta id="cart" id_shop="1">
|
||||
<title>Cart</title>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<tab id="Cart_Rules" name="Cart Rules"/>
|
||||
<tab id="Catalog_Price_Rules" name="Catalog Price Rules"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Shipping"/>
|
||||
<tab id="Shipping_1" name="Preferences"/>
|
||||
<tab id="Carriers" name="Carriers"/>
|
||||
<tab id="Localization_1" name="Localization"/>
|
||||
<tab id="Languages" name="Languages"/>
|
||||
|
||||
@@ -74,8 +74,8 @@
|
||||
<tab id="Search" name="Buscar"/>
|
||||
<tab id="Search_Engines" name="Buscador"/>
|
||||
<tab id="SEO_URLs" name="SEO y URLs"/>
|
||||
<tab id="Shipping" name="transporte"/>
|
||||
<tab id="Shipping_1" name="transporte"/>
|
||||
<tab id="Shipping" name="Transporte"/>
|
||||
<tab id="Shipping_1" name="Preferencias"/>
|
||||
<tab id="Shop_URLs" name="URL cortos"/>
|
||||
<tab id="Shopping_Carts" name="Cestas"/>
|
||||
<tab id="Shops" name="Tiendas"/>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
return array(
|
||||
'informations' => array(
|
||||
'phone' => '+1 (888) 947-6543',
|
||||
'support' => 'https://www.prestashop.com/es/support',
|
||||
'phone' => '+34 917.872.909',
|
||||
'support' => 'https://www.prestashop.com/es/support',
|
||||
'blog' => 'http://www.prestashop.com/blog/es/'
|
||||
),
|
||||
'translations' => array(
|
||||
'menu_welcome' => 'Elegir el idioma',
|
||||
@@ -234,5 +235,16 @@ return array(
|
||||
'PrestaShop compatibility with your system environment has been verified!' => '¡La compatibilidad de PrestaShop con su entorno del sistema ha sido verificada correctamente!',
|
||||
'PrestaShop requires at least 32M of memory to run, please check the memory_limit directive in php.ini or contact your host provider' => 'PrestaShop requiere al menos 32MB de memoria para funcionar, por favor verifica la directiva memory_limit que se encuentra en el fichero php.ini o contacta con su proveedor de alojamiento',
|
||||
'Your PHP sessions path is not writable - check with your hosting provider:' => 'El fichero de almacenamiento no está disponible en modo escritura, consulte con su proveedor de alojamiento',
|
||||
'Database is created' => 'Base de datos se creada',
|
||||
'Cannot create the database automatically' => 'No se puede crear la base de datos automáticamente',
|
||||
'Install modules Addons' => 'Instalar módulos Addons',
|
||||
'Attempt to create the database automatically' => 'Tentativa de crear la base de datos automáticamente',
|
||||
'Country:' => 'País:',
|
||||
'Must be letters and numbers with at least 8 characters' => 'Deben ser letras y números con un mínimo de 8 caracteres',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Para instalar PrestaShop, usted necesita tener el Javascript activado en su navegador.',
|
||||
'http://doc.prestashop.com/display/PS15/What+you+need+to+get+started#HowtoenableJavaScript-HowtoenableJavaScript' => 'http://doc.prestashop.com/display/PS15/What+you+need+to+get+started#HowtoenableJavaScript-HowtoenableJavaScript',
|
||||
'To enjoy the many features that are offered for free by PrestaShop, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Para disfrutar de las numerosas funcionalidades ofrecidas de forma gratuita por PrestaShop, por favor lea los términos de la licencia a continuación. Core PrestaShop está disponible bajo la licencia OSL 3.0, mientras que los módulos y los temas están licenciados bajo la AFL 3.0.',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Por razones de seguridad, debe eliminar la carpeta "install".',
|
||||
'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -3,61 +3,61 @@
|
||||
<meta id="404" id_shop="1">
|
||||
<title>Erreur 404</title>
|
||||
<description>Cette page est introuvable</description>
|
||||
<keywords>erreur, 404, introuvable</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>page-non-trouvee</url_rewrite>
|
||||
</meta>
|
||||
<meta id="best-sales" id_shop="1">
|
||||
<title>Meilleures ventes</title>
|
||||
<description>Liste de nos produits les mieux vendus</description>
|
||||
<keywords>meilleures ventes</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>meilleures-ventes</url_rewrite>
|
||||
</meta>
|
||||
<meta id="contact" id_shop="1">
|
||||
<title>Contactez-nous</title>
|
||||
<description>Utilisez notre formulaire pour nous contacter</description>
|
||||
<keywords>contact, formulaire, e-mail</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>contactez-nous</url_rewrite>
|
||||
</meta>
|
||||
<meta id="index" id_shop="1">
|
||||
<title/>
|
||||
<description>Boutique propulsée par PrestaShop</description>
|
||||
<keywords>boutique, prestashop</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite/>
|
||||
</meta>
|
||||
<meta id="manufacturer" id_shop="1">
|
||||
<title>Fabricants</title>
|
||||
<description>Liste de nos fabricants</description>
|
||||
<keywords>fabricants</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>fabricants</url_rewrite>
|
||||
</meta>
|
||||
<meta id="new-products" id_shop="1">
|
||||
<title>Nouveaux produits</title>
|
||||
<description>Liste de nos nouveaux produits</description>
|
||||
<keywords>nouveau, produit</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>nouveaux-produits</url_rewrite>
|
||||
</meta>
|
||||
<meta id="password" id_shop="1">
|
||||
<title>Mot de passe oublié</title>
|
||||
<description>Renseignez votre adresse e-mail afin de recevoir votre nouveau mot de passe.</description>
|
||||
<keywords>mot de passe, oublié, e-mail, nouveau, regénération</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>mot-de-passe-oublie</url_rewrite>
|
||||
</meta>
|
||||
<meta id="prices-drop" id_shop="1">
|
||||
<title>Promotions</title>
|
||||
<description>Nos produits en promotion</description>
|
||||
<keywords>promotion, réduction</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>promotions</url_rewrite>
|
||||
</meta>
|
||||
<meta id="sitemap" id_shop="1">
|
||||
<title>Plan du site</title>
|
||||
<description>Perdu ? Trouvez ce que vous cherchez</description>
|
||||
<keywords>plan, site</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>plan-du-site</url_rewrite>
|
||||
</meta>
|
||||
<meta id="supplier" id_shop="1">
|
||||
<title>Fournisseurs</title>
|
||||
<description>Liste de nos fournisseurs</description>
|
||||
<keywords>fournisseurs</keywords>
|
||||
<keywords/>
|
||||
<url_rewrite>fournisseurs</url_rewrite>
|
||||
</meta>
|
||||
<meta id="address" id_shop="1">
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
<tab id="Search_Engines" name="Moteurs de recherche"/>
|
||||
<tab id="SEO_URLs" name="SEO & URLs"/>
|
||||
<tab id="Shipping" name="Transport"/>
|
||||
<tab id="Shipping_1" name="Transport"/>
|
||||
<tab id="Shipping_1" name="Préférences"/>
|
||||
<tab id="Shop_URLs" name="URLs de boutique"/>
|
||||
<tab id="Shopping_Carts" name="Paniers"/>
|
||||
<tab id="Shops" name="Boutiques"/>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<tab id="Search_Engines" name="Motori di ricerca"/>
|
||||
<tab id="SEO_URLs" name="URL e SEO"/>
|
||||
<tab id="Shipping" name="Spedizione"/>
|
||||
<tab id="Shipping_1" name="Spedizione"/>
|
||||
<tab id="Shipping_1" name="Preferenze"/>
|
||||
<tab id="Shop_URLs" name="URLs negozi"/>
|
||||
<tab id="Shopping_Carts" name="Carrello"/>
|
||||
<tab id="Shops" name="Negozi associati"/>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
return array(
|
||||
'informations' => array(
|
||||
'phone' => '+33 (0)1.40.18.30.04',
|
||||
'support' => 'https://www.prestashop.com/it/support',
|
||||
'support' => 'https://www.prestashop.com/it/support',
|
||||
'blog' => 'http://www.prestashop.com/blog/it/'
|
||||
),
|
||||
'translations' => array(
|
||||
'menu_welcome' => 'Scelta della lingua',
|
||||
@@ -16,9 +17,9 @@ return array(
|
||||
'Invalid shop name' => 'Nome negozio non valido',
|
||||
'Your firstname contains some invalid characters' => 'Il tuo nome contiene caratteri non validi',
|
||||
'Your lastname contains some invalid characters' => 'Il tuo cognome contiene caratteri non validi',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'La password non è corretta (stringa alfanumerica di almeno 8 caratteri)',
|
||||
'Password and its confirmation are different' => 'La prima password digitata non coincide con la seconda',
|
||||
'This e-mail address is invalid' => 'L\'indirizzo e-mail non è valido',
|
||||
'The password is incorrect (alphanumeric string with at least 8 characters)' => 'La password non è corretta (sequenza alfanumerica di almeno 8 caratteri)',
|
||||
'Password and its confirmation are different' => 'La password digitata non coincide con la conferma della stessa',
|
||||
'This e-mail address is invalid' => 'L\'indirizzo email non è valido',
|
||||
'The uploaded file exceeds the upload_max_filesize directive in php.ini' => 'Il file inviato supera la dimensione massima autorizzata.',
|
||||
'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form' => 'Il file inviato supera la dimensione massima autorizzata.',
|
||||
'The uploaded file was only partially uploaded' => 'Il file è stato parzialmente inviato.',
|
||||
@@ -34,7 +35,7 @@ return array(
|
||||
'Lingerie and Adult' => 'Intimo e adulti',
|
||||
'Animals and Pets' => 'Animali',
|
||||
'Art and Culture' => 'Arte e cultura',
|
||||
'Babies' => 'Neonato',
|
||||
'Babies' => 'Neonati',
|
||||
'Beauty and Personal Care' => 'Bellezza e cura del corpo',
|
||||
'Cars' => 'Automobili',
|
||||
'Computer Hardware and Software' => 'Informatica e software',
|
||||
@@ -50,7 +51,7 @@ return array(
|
||||
'Services' => 'Servizi',
|
||||
'Shoes and accessories' => 'Scarpe e accessori',
|
||||
'Sports and Entertainment' => 'Sport e divertimenti',
|
||||
'Travel' => 'Viaggi e turismo',
|
||||
'Travel' => 'Viaggi',
|
||||
'Database is connected' => 'Il database è connesso',
|
||||
'A test e-mail has been sent to %s' => 'Un\'e-mail di prova è stata inviata a %s',
|
||||
'An error occurred while sending email, please verify your parameters' => 'Si è verificato un errore nell\'invio dell\'e-mail. Controlla le impostazioni.',
|
||||
@@ -59,7 +60,7 @@ return array(
|
||||
'Populate database tables' => 'Compilazione tabelle nel database',
|
||||
'Configure shop information' => 'Configurazione del negozio',
|
||||
'Install modules' => 'Installazione moduli',
|
||||
'Install demonstration data' => 'Installazione demo',
|
||||
'Install demonstration data' => 'Installazione dati dimostrativi',
|
||||
'Install theme' => 'Installazione del tema',
|
||||
'PHP parameters:' => 'Parametri PHP:',
|
||||
'Is PHP 5.1.2 or later installed ?' => 'PHP 5.1.2 o successivi installato?',
|
||||
@@ -81,21 +82,21 @@ return array(
|
||||
'Please choose your main activity' => 'Seleziona l\'attività principale',
|
||||
'Other activity...' => 'Altre attività...',
|
||||
'This information is not required, it will only be used for statistical purposes. This information does not change anything in your store.' => 'Queste informazioni non sono obbligatorie, saranno utilizzate a fini statistici. Queste informazioni non cambieranno nulla nel tuo negozio.',
|
||||
'Install demo products:' => 'Installazione prodotti demo:',
|
||||
'Install demo products:' => 'Installazione prodotti dimostrativi:',
|
||||
'Yes' => 'Sì',
|
||||
'No' => 'No',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'I prodotti demo sono un buon modo per imparare a utilizzare PrestaShop. Dovresti installarli se non hai ancora dimestichezza con la soluzione',
|
||||
'Demo products are a good way to learn how to use PrestaShop. You should install them if you are not familiar with it.' => 'I prodotti dimostrativi sono un buon modo per imparare a utilizzare PrestaShop. Dovresti installarli se non hai ancora dimestichezza con la piattaforma.',
|
||||
'Default country:' => 'Paese di default:',
|
||||
'Select your country' => 'Seleziona il tuo paese',
|
||||
'Shop timezone:' => 'Zona oraria del negozio:',
|
||||
'Select your timezone' => 'Seleziona la tua zona oraria',
|
||||
'Shop timezone:' => 'Fuso orario del negozio:',
|
||||
'Select your timezone' => 'Seleziona il tuo fuso orario',
|
||||
'Shop logo:' => 'Logo del negozio:',
|
||||
'Recommended dimensions:' => 'Dimensioni suggerite:',
|
||||
'First name:' => 'Nome:',
|
||||
'Last name:' => 'Cognome:',
|
||||
'E-mail address:' => 'Indirizzo e-mail:',
|
||||
'E-mail address:' => 'Indirizzo email:',
|
||||
'Shop password:' => 'Password del negozio:',
|
||||
'Re-type to confirm:' => 'Ridigita la password:',
|
||||
'Re-type to confirm:' => 'Digita nuovamente la password:',
|
||||
'Receive this information by e-mail' => 'Riceverò le mie informazioni tramite e-mail',
|
||||
'Warning: You will receive this information only if your e-mail configuration is correct.' => 'Attenzione: riceverai queste informazioni per email solo le la configurazione è corretta',
|
||||
'Configure your database by filling out the following fields:' => 'Configura il database compilando i campi sottostanti:',
|
||||
@@ -103,23 +104,23 @@ return array(
|
||||
'Database server address:' => 'Indirizzo server del database:',
|
||||
'If you want to use a different port, add :XX after your server address where XX is your port number.' => 'Se vuoi utilizzare una porta differente aggiungi :XX dopo il tuo indirizzo dove XX è il numero della porta',
|
||||
'Database name:' => 'Nome del database:',
|
||||
'Database login:' => 'ID del database:',
|
||||
'Database login:' => 'Nome di accesso database:',
|
||||
'Database password:' => 'Password del database:',
|
||||
'Database Engine:' => 'Motore del database:',
|
||||
'Tables prefix:' => 'Prefisso delle tabelle:',
|
||||
'Drop existing tables (mode dev):' => 'Cancella le tabelle esistenti (modalità DEV):',
|
||||
'Drop existing tables (mode dev):' => 'Cancella le tabelle esistenti (modalità dev):',
|
||||
'Verify now!' => 'Controlla ora!',
|
||||
'E-mail delivery set-up' => 'Impostazioni invio e-mail',
|
||||
'Configure SMTP manually (advanced users only)' => 'Configura il server SMTP manualmente (solo per utenti esperti)',
|
||||
'By default, the PHP mail() function is used' => 'La funzione PHP mail() è utilizzata per default',
|
||||
'SMTP server address:' => 'Indirizzo server SMTP:',
|
||||
'Encryption:' => 'Criptaggio:',
|
||||
'Encryption:' => 'Crittografia:',
|
||||
'None' => 'Nessuno',
|
||||
'Port:' => 'Porta:',
|
||||
'Login:' => 'ID:',
|
||||
'Login:' => 'Nome:',
|
||||
'Password:' => 'Password:',
|
||||
'enter@your.email' => 'inserisci@latua.email',
|
||||
'Send me a test email!' => 'Inviami un\'e-mail di prova!',
|
||||
'enter@your.email' => 'inserisci@la.tua.email',
|
||||
'Send me a test email!' => 'Inviami un\'email di prova!',
|
||||
'Next' => 'Avanti',
|
||||
'Back' => 'Indietro',
|
||||
'Official forum' => 'Forum ufficiale',
|
||||
@@ -129,17 +130,17 @@ return array(
|
||||
'Forum' => 'Forum',
|
||||
'Blog' => 'Blog',
|
||||
'Done!' => 'Fatto!',
|
||||
'An error occured during installation...' => 'Si è verificato un errore in fase di installazione…',
|
||||
'An error occured during installation...' => 'Si è verificato un errore durane la fase di installazione…',
|
||||
'You can use the links on the left column to go back to the previous steps, or restart the installation process by <a href="%s">clicking here</a>.' => 'Puoi usare i link sulla colonna di sinistra per tornare indietro alle fasi precedenti, oppure puoi riavviare il processo di installazione <a href="%s">cliccando qui</a>.',
|
||||
'Your installation is finished!' => 'Installazione conclusa!',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Il tuo negozio è stato installato correttamente. Grazie di aver scelto PrestaShop!',
|
||||
'Please remember your login information:' => 'Ricorda i dati per il login:',
|
||||
'You have just finished installing your shop. Thank you for using PrestaShop!' => 'Il tuo negozio è stato installato correttamente. Grazie per aver scelto PrestaShop!',
|
||||
'Please remember your login information:' => 'Ricorda le credenziali per il login:',
|
||||
'WARNING: For security purposes, you must delete the "install" folder.' => 'ATTENZIONE: per motivi di sicurezza, devi cancellare la cartella \'install\'.',
|
||||
'Back Office' => 'Back Office',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Gestisci il tuo negozio a partire dal Back Office. Gestisci ordini e clienti, aggiungi moduli, modifica i temi...',
|
||||
'Manage your store using your Back Office. Manage your orders and customers, add modules, change themes, etc.' => 'Gestisci il tuo negozio tramite il Back Office. Gestisci ordini e clienti, aggiungi moduli, modifica i temi, ecc.',
|
||||
'Manage your store' => 'Gestisci il negozio',
|
||||
'Front Office' => 'Front Office',
|
||||
'Discover your store as your future customers will see it!' => 'Scopri come vedranno il negozio i tuoi futuri clienti!',
|
||||
'Discover your store as your future customers will see it!' => 'Scopri come i tuoi futuri clienti vedranno il negozio!',
|
||||
'Discover your store' => 'Scopri il negozio',
|
||||
'Required set-up. Please verify the following checklist items are true.' => 'Impostazioni obbligatorie. Per favore verifica che la lista sia ok',
|
||||
'Your configuration is valid, click next to continue!' => 'La tua configurazione è valida, clicca su avanti per continuare',
|
||||
@@ -148,62 +149,62 @@ return array(
|
||||
'Refresh these settings' => 'Aggiorna le impostazioni',
|
||||
'Welcome to the PrestaShop %s Installer.' => 'Benvenuto nell\'Assistente di Installazione di PrestaShop %s .',
|
||||
'The installation process should take only few minutes!' => 'Il processo di installazione dovrebbe durare solo pochi minuti!',
|
||||
'If you need help, do not hesitate to check <a href="%1$s" target="_blank">our documentation</a> or to contact our support team: %2$s' => 'Se hai bisogno di aiuto, consulta <a href="%1$s" target="_blank">i nostri documenti</a> oppure contatta il nostro servizio di assistenza: %2$s',
|
||||
'If you need help, do not hesitate to check <a href="%1$s" target="_blank">our documentation</a> or to contact our support team: %2$s' => 'Se hai bisogno di aiuto, consulta <a href="%1$s" target="_blank">la nostra documentazione</a> oppure contatta il nostro servizio di assistenza: %2$s',
|
||||
'Did you know?' => 'Lo sapevi?',
|
||||
'PrestaShop and its community offers over %d different languages for free, directly accessible from your Back Office on the Localization tab.' => 'PrestaShop e la sua comunità offre %d diverse lingue gratuite, direttamente accessibile nel tuo back office nel tab Traduzioni',
|
||||
'License Agreements' => 'Contratti di Licenza',
|
||||
'License Agreements' => 'Accordi di licenza',
|
||||
'PrestaShop core is released under the OSL 3.0 while PrestaShop modules and themes are released under the AFL 3.0.' => 'Il core di PrestaShop è rilasicata sollo licenza OSL 3.0 mentre i moduli e i temi prestashop sono rilasciati sotto licenza AFL 3.0',
|
||||
'I agree to the above terms and conditions.' => 'Accetto i termini e le condizioni dei presenti contratti.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Accetto di contribuire al miglioramento della soluzione inviando informazioni anonime sulla mia configurazione.',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Se hai domande o dubbi, visita i nostri <a href="%1$s" target="_blank">documenti</a> e <a href="%2$s" target="_blank">il forum dedicato alla nostra comunità</a>.',
|
||||
'I agree to the above terms and conditions.' => 'Accetto i termini e le condizioni dei presenti accordi.',
|
||||
'I agree to participate in improving the solution by sending anonymous information about my configuration.' => 'Accetto di contribuire al miglioramento della piattaforma mediante l\'invio di informazioni anonime sulla mia configurazione.',
|
||||
'If you have any questions, please visit our <a href="%1$s" target="_blank">documentation</a> and <a href="%2$s" target="_blank">community forum</a>.' => 'Se hai domande o dubbi, visita la nostra <a href="%1$s" target="_blank">documentazione</a> e il <a href="%2$s" target="_blank">forum dedicato alla nostra comunità</a>.',
|
||||
'Test message from PrestaShop' => 'Messaggio di prova da parte di Prestashop',
|
||||
'This is a test message, your server is now available to send email' => 'Questo è un messaggio di prova, il tuo server può ora inviare e-mail',
|
||||
'%s - Login information' => '%s - credenziali per il login',
|
||||
'An SQL error occured for entity <i>%1$s</i>: <i>%2$s</i>' => 'Si è verificato un errore SQL per l\'entità <i>%1$s</i>: <i>%2$s</i>',
|
||||
'Cannot create image "%1$s" for entity "%2$s"' => 'Impossibile creare l\'immagine "%1$s" per l\'entità "%2$s"',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Impossibile creare l\'immagine "%1$s" (errore permessi cartella "%2$s")',
|
||||
'Cannot create image "%1$s" (bad permissions on folder "%2$s")' => 'Impossibile creare l\'immagine "%1$s" (errore permessi nella cartella "%2$s")',
|
||||
'Cannot create image "%s"' => 'Impossibile creare l\'immagine "%s"',
|
||||
'SQL error on query <i>%s</i>' => 'Errore SQL nella ricerca <i>%s</i>',
|
||||
'SQL error on query <i>%s</i>' => 'Errore SQL nella query <i>%s</i>',
|
||||
'Server name is not valid' => 'Il nome del server non è valido',
|
||||
'You must enter a database name' => 'Digita il nome del database',
|
||||
'You must enter a database login' => 'Digita i dati di accesso al database',
|
||||
'You must enter a database name' => 'Devi inserire il nome del database',
|
||||
'You must enter a database login' => 'Devi inserire un nome di accesso al database',
|
||||
'Tables prefix is invalid' => 'Prefisso tabelle non valido',
|
||||
'Wrong engine chosen for MySQL' => 'Il motore selezionato non è valido per MySQL',
|
||||
'Cannot convert database data to utf-8' => 'Impossibile convertire i dati del database in utf-8',
|
||||
'At least one table with same prefix was already found, please change your prefix or drop your database' => 'È stata trovata almeno un\'altra tabella con lo stesso prefisso. Cambia il prefisso o cancella le altre tabelle esistenti.',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Impossibile connettersi al server del database. Verifica l\'ID, la password e i campi riservati al server',
|
||||
'Database Server is not found. Please verify the login, password and server fields' => 'Impossibile connettersi al server del database. Verifica i campi con il nome di accesso, la password e il server',
|
||||
'Connection to MySQL server succeeded, but database "%s" not found' => 'La connessione al server MySQL è avvenuta con successo, ma è impossibile trovare il database "%s"',
|
||||
'Engine innoDB is not supported by your MySQL server, please use MyISAM' => 'Il motore innoDB non è supportato dal tuo server MySQL. Adopera MyISAM',
|
||||
'%s file is not writable (check permissions)' => 'Il file %s non è scrivibile (verifica i permessi)',
|
||||
'%s folder is not writable (check permissions)' => 'La cartella %s non è scrivibile (verifica i permessi)',
|
||||
'Cannot write settings file' => 'Impossibile generare il file settings',
|
||||
'Cannot write settings file' => 'Impossibile generare il file di impostazioni (settings)',
|
||||
'Database structure file not found' => 'Struttura del database non trovata',
|
||||
'Cannot create group shop' => 'Impossibile accedere al gruppo del negozio',
|
||||
'Cannot create group shop' => 'Impossibile creare il gruppo negozi',
|
||||
'Cannot create shop' => 'Impossibile creare il negozio',
|
||||
'Cannot create shop URL' => 'Impossibile creare l\'URL del negozio',
|
||||
'File "language.xml" not found for language iso "%s"' => 'File "language.xml" non trovato per l\'iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'File "language.xml" non valido per l\'iso "%s"',
|
||||
'File "language.xml" not found for language iso "%s"' => 'File "language.xml" non trovato per la lingua con iso "%s"',
|
||||
'File "language.xml" not valid for language iso "%s"' => 'File "language.xml" non valido per la lingua con iso "%s"',
|
||||
'Cannot install language "%s"' => 'Impossibile installare la lingua "%s"',
|
||||
'Cannot create admin account' => 'Impossibile creare l\'account admin',
|
||||
'Cannot install module "%s"' => 'Impossibile installare il modulo "%s"',
|
||||
'Fixtures class "%s" not found' => 'Classe "%s" per le fixture non trovata',
|
||||
'Fixtures class "%s" not found' => 'Classe fixture "%s" non trovata',
|
||||
'"%s" must be an instane of "InstallXmlLoader"' => '"%s" deve essere un\'istanza di "InstallXmlLoader"',
|
||||
'Information about your Store' => 'Informazioni relative al negozio',
|
||||
'Help us learn more about your store so we can offer you optimal guidance and the best features for your business!' => 'Aiutaci a conoscerti per orientarti al meglio e proporti le funzioni più adatte alla tua attività!',
|
||||
'Optional - You can add you logo at a later time.' => 'Facoltativo – Potrai aggiungerlo in un secondo momento.',
|
||||
'Your Account' => 'Il tuo account',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Questo indirizzo e-mail sarà l\'ID con cui potrai accedere all’interfaccia di gestione del negozio.',
|
||||
'PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, please uncheck this box.' => 'PrestaShop può assisterti regolarmente facendoti pervenire i suoi consigli per ottimizzare la gestione del negozio e sviluppare la tua attività online. Se non desideri ricevere i nostri consigli, ti invitiamo a deselezionare questa casella.',
|
||||
'This email address will be your username to access your store\'s back office.' => 'Questo indirizzo email sarà il tuo nome utente con cui potrai accedere all’interfaccia di gestione del negozio.',
|
||||
'PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, please uncheck this box.' => 'PrestaShop può assisterti regolarmente facendoti pervenire i suoi consigli per ottimizzare la gestione del negozio e sviluppare la tua attività online. Se non desideri ricevere i nostri consigli, deseleziona questa casella.',
|
||||
'The field %s is limited to %d characters' => 'Il campo %s può comprendere fino a %d caratteri',
|
||||
'An error occurred during logo copy.' => 'Si è verificato un errore durante la copiatura del logo',
|
||||
'An error occurred during logo upload.' => 'Si è verificato un errore durante il caricamento del logo',
|
||||
'Create default shop and languages' => 'Creazione negozio e lingue per default',
|
||||
'An error occurred during logo copy.' => 'Si è verificato un errore durante la copiatura del logo.',
|
||||
'An error occurred during logo upload.' => 'Si è verificato un errore durante il caricamento del logo.',
|
||||
'Create default shop and languages' => 'Creazione negozio e lingue di default',
|
||||
'PHP 5.1.2 or later is not enabled' => 'PHP 5.1.2 o successivo non attivo',
|
||||
'Cannot upload files' => 'Impossibile caricare i file',
|
||||
'Cannot create new files and folders' => 'Impossibile creare nuovi file e cartelle',
|
||||
'GD Library is not installed' => 'La GD Library non è installata',
|
||||
'MySQL support is not activated' => 'L\'assistenza di MySQL non è attiva',
|
||||
'Recursive write permissions on files and folders:' => 'Permessi scrittura ricorsiva su file e cartelle:',
|
||||
'GD Library is not installed' => 'La libreria GD non è installata',
|
||||
'MySQL support is not activated' => 'Il supporto MySQL non è attivo',
|
||||
'Recursive write permissions on files and folders:' => 'Permessi di scrittura ricorsivi su file e cartelle:',
|
||||
'Cannot open external URLs' => 'Impossibile aprire URL esterne',
|
||||
'PHP register global option is on' => 'L\'opzione PHP register global è attiva',
|
||||
'GZIP compression is not activated' => 'La compressione GZIP non è attiva',
|
||||
@@ -214,26 +215,35 @@ return array(
|
||||
'PDO MySQL extension is not loaded' => 'L\'estensione PDO MySQL non è caricata',
|
||||
'Cannot copy flag language "%s"' => 'Impossibile copiare la bandiera per la lingua "%s"',
|
||||
'Must be alphanumeric string with at least 8 characters' => 'Deve essere una stringa alfanumerica di almeno 8 caratteri',
|
||||
'Sign-up to the newsletter' => 'Mi abbono alla newsletter',
|
||||
'Sign-up to the newsletter' => 'Abbonamento alla newsletter',
|
||||
'To use PrestaShop, you must <a href="http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">create a database</a> to collect all of your store’s data-related activities.' => 'Per usare PrestaShop, devi <a href="http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Creatingadatabaseforyourshop" target="_blank">creare un database</a> per riunire tutti i dati inerenti alle attività del tuo negozio.',
|
||||
'Please complete the fields below in order for PrestaShop to connect to your database. ' => 'Compila i campi sottostanti per far sì che PrestaShop possa connettersi al tuo database.',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server’s address i.e ":4242".' => 'La porta di default è 3306. Per usare un\'altra porta, digita il numero della porta alla fine del tuo indirizzo di server. Per esempio: "4242".',
|
||||
'Test your database connection now!' => 'Verifica subito la connessione al tuo database!',
|
||||
'If you need some assistance during the installation process, please call our team at %s and one of our experts will be happy to help.' => 'Se si verificano problemi durante il processo di installazione, chiamaci allo %s. Uno dei nostri esperti sarà felice di aiutarti.',
|
||||
'The default port is 3306. To use a different port, add the port number at the end of your server’s address i.e ":4242".' => 'La porta di default è 3306. Per usare un\'altra porta, digita il numero della porta alla fine dell\'indirizzo server. Ad esempio ":4242".',
|
||||
'Test your database connection now!' => 'Verifica adesso la connessione al tuo database!',
|
||||
'If you need some assistance during the installation process, please call our team at %s and one of our experts will be happy to help.' => 'Se si verificano problemi durante il processo di installazione, chiamaci: %s. Uno dei nostri esperti sarà felice di aiutarti.',
|
||||
'PrestaShop Installation Assistant' => 'Assistente di Installazione PrestaShop',
|
||||
'Contact us!' => 'Contattaci!',
|
||||
'Installation Assistant' => 'Assistente di Installazione',
|
||||
'To enjoy the many features that are offered by PrestaShop, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Per usufruire delle numerose funzioni offerte da PrestaShop, leggi i termini e le condizioni dei contratti di licenza. Il core di PrestaShop è pubblicato sotto licenza OSL 3.0, mentre i moduli e i temi sotto licenza AFL 3.0. ',
|
||||
'E-mail:' => 'E-mail:',
|
||||
'Print my login information' => 'Stampa delle credenziali per il login',
|
||||
'E-mail:' => 'Email:',
|
||||
'Print my login information' => 'Stampa le credenziali per il login',
|
||||
'Display' => 'Visualizza',
|
||||
'We are currently checking PrestaShop compatibility with your system environment' => 'Stiamo verificando la compatibilità di PrestaShop con il tuo sistema',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'Abbiamo verificato la compatibilità del tuo sistema con PrestaShop!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Correggi i punti seguenti, quindi clicca sul pulsante "Aggiorna" per verificare la compatibilità di PrestaShop con il nuovo sistema.',
|
||||
'PrestaShop requires at least 32M of memory to run, please check the memory_limit directive in php.ini or contact your host provider' => 'L\'esecuzione di PrestaShop necessita di almeno 32M di memoria. Controlla i limiti della tua memoria in php.ini o contatta il tuo fornitore di hosting',
|
||||
'The installation of PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 150,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'L\'installazione di PrestaShop è semplice e veloce. Tra pochi minuti, farai parte di una comunità di oltre 150.000 commercianti. Potrai creare un negozio a tua immagina e facile da gestire giorno dopo giorno.',
|
||||
'PrestaShop compatibility with your system environment has been verified!' => 'La compatibilità del tuo sistema con PrestaShop è stata verificata!',
|
||||
'Oops! Please correct the item(s) below, and then click "Refresh information" to test the compatibility of your new system.' => 'Ops! Correggi i seguenti punti, quindi clicca sul pulsante "Aggiorna" per verificare la compatibilità di PrestaShop del tuo nuovo sistema.',
|
||||
'PrestaShop requires at least 32M of memory to run, please check the memory_limit directive in php.ini or contact your host provider' => 'L\'esecuzione di PrestaShop necessita di almeno 32M di memoria. Controlla la voce memory_limit nel file php.ini o contatta il tuo fornitore di hosting',
|
||||
'The installation of PrestaShop is quick and easy. In just a few moments, you will become part of a community consisting of more than 150,000 merchants. You are on the way to creating your own unique online store that you can manage easily every day.' => 'L\'installazione di PrestaShop è semplice e veloce. In pochi minuti, farai parte di una comunità di oltre 150.000 commercianti. Potrai creare un negozio unico a tuo piacere, facile da gestire giorno dopo giorno.',
|
||||
'Continue the installation in:' => 'Continua l\'installazione in:',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'La selezione della lingua si applica solo all\'Assistente di Installazione. Una volta che il negozio è installato, potrai scegliere la lingua del negozio tra le oltre %d traduzioni disponibili gratuitamente!',
|
||||
'The language selection above only applies to the Installation Assistant. Once your store is installed, you can choose the language of your store from over %d translations, all for free!' => 'La selezione della lingua qui sopra è valida solamente nell\'Assistente di Installazione. Una volta che il negozio è installato, potrai scegliere la lingua del negozio tra le oltre %d traduzioni disponibili gratuitamente!',
|
||||
'Your PHP sessions path is not writable - check with your hosting provider:' => 'La cartella di backup non è accessibile per scrittura - consulta il nostro servizio di hosting',
|
||||
'Database is created' => 'Il database è creato',
|
||||
'Cannot create the database automatically' => 'Non è possibile creare il database automaticamente',
|
||||
'Install modules Addons' => 'Installazione moduli Addons',
|
||||
'Attempt to create the database automatically' => 'Tentativo di creare il database automaticamente',
|
||||
'Country:' => 'Paese:',
|
||||
'Must be letters and numbers with at least 8 characters' => 'Deve contenere lettere e numeri ed essere composta da almeno 8 caratteri',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Per installare PrestaShop, devi avere JavaScript abilitato nel tuo browser.',
|
||||
'To enjoy the many features that are offered for free by PrestaShop, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Per godere delle svariate funzioni che PrestaShop offre gratuitamente, si prega di leggere le condizioni di licenza qui di seguito. Il nucleo di PrestaShop è rilasciato sotto licenza OSL 3.0, mentre i moduli e i temi sono rilasciati sotto licenza AFL 3.0.',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Per motivi di sicurezza, devi cancellare la cartella "install".',
|
||||
),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<tab id="Cart_Rules" name="Cart Rules"/>
|
||||
<tab id="Catalog_Price_Rules" name="Catalog Price Rules"/>
|
||||
<tab id="Marketing" name="Marketing"/>
|
||||
<tab id="Shipping_1" name="Shipping"/>
|
||||
<tab id="Shipping_1" name="Preferences"/>
|
||||
<tab id="Carriers" name="Carriers"/>
|
||||
<tab id="Price_Ranges" name="Price Ranges"/>
|
||||
<tab id="Weight_Ranges" name="Weight Ranges"/>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<tab id="Search_Engines" name="Wyszukiwarki"/>
|
||||
<tab id="SEO_URLs" name="Dane URL i SEO"/>
|
||||
<tab id="Shipping" name="Wysyłka"/>
|
||||
<tab id="Shipping_1" name="Wysyłka"/>
|
||||
<tab id="Shipping_1" name="Preferencje"/>
|
||||
<tab id="Shop_URLs" name="Adres URL sklepu"/>
|
||||
<tab id="Shopping_Carts" name="Koszyk zakupów"/>
|
||||
<tab id="Shops" name="Sklepy"/>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
return array(
|
||||
'informations' => array(
|
||||
'phone' => '+33 (0)1.40.18.30.04',
|
||||
'support' => 'https://www.prestashop.com/pl/wsparcie-techniczne',
|
||||
'support' => 'https://www.prestashop.com/pl/wsparcie-techniczne',
|
||||
'blog' => 'http://www.prestashop.com/blog/pl/'
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occured for entity <i>%1$s</i>: <i>%2$s</i>' => 'Wystąpił błąd SQL w rekordzie <i>%1$s</i>: <i>%2$s</i>',
|
||||
@@ -194,5 +195,16 @@ return array(
|
||||
'menu_configure' => 'Informacje o sklepie',
|
||||
'menu_process' => 'Instalacja sklepu',
|
||||
'Your PHP sessions path is not writable - check with your hosting provider:' => 'Twoja ścieżka sesji PHP jest niezapisywalna - skontaktuj się z dostawcą usług hostingowych:',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Aby zainstalować PrestaShop, musisz mieć włączoną obsługę JavaScript w przeglądarce.',
|
||||
'http://doc.prestashop.com/display/PS15/What+you+need+to+get+started#HowtoenableJavaScript-HowtoenableJavaScript' => 'http://doc.prestashop.com/display/PS15/What+you+need+to+get+started#HowtoenableJavaScript-HowtoenableJavaScript ',
|
||||
'To enjoy the many features that are offered for free by PrestaShop, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Przed skorzystaniem z darmowych funkcji oferowanych przez PrestaShop zapoznaj się z warunkami licencji. PrestaShop funkcjonuje na licencji OSL 3,0 zaś moduły i szablony na AFL 3,0.',
|
||||
'For security purposes, you must delete the "install" folder.' => 'Ze względów bezpieczeństwa należy usunąć folder \'\'install\'\'.',
|
||||
'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation ',
|
||||
'Database is created' => 'Baza danych jest tworzona ',
|
||||
'Cannot create the database automatically' => 'Nie można automatycznie utworzyć bazy danych',
|
||||
'Install modules Addons' => 'Instalacja modułów Addons',
|
||||
'Attempt to create the database automatically' => 'Próba utworzenia automatycznie bazy danych',
|
||||
'Country:' => 'Kraj',
|
||||
'Must be letters and numbers with at least 8 characters' => 'Minimum 8 znaków z użyciem liter i cyfr',
|
||||
),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<tab id="Search_Engines" name="Поисковые с-мы"/>
|
||||
<tab id="SEO_URLs" name="SEO и URLs"/>
|
||||
<tab id="Shipping" name="Доставка"/>
|
||||
<tab id="Shipping_1" name="Доставка"/>
|
||||
<tab id="Shipping_1" name="Настройки"/>
|
||||
<tab id="Shop_URLs" name="URL магазина"/>
|
||||
<tab id="Shopping_Carts" name="Корзины"/>
|
||||
<tab id="Shops" name="Магазины"/>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
return array(
|
||||
'informations' => array(
|
||||
'phone' => '+33 (0)1.40.18.30.04',
|
||||
'support' => 'https://www.prestashop.com/en/support',
|
||||
'support' => 'https://www.prestashop.com/ru/support',
|
||||
'blog' => 'http://www.prestashop.com/blog/ru/'
|
||||
),
|
||||
'translations' => array(
|
||||
'An SQL error occured for entity <i>%1$s</i>: <i>%2$s</i>' => 'В SQL произошла ошибка для значения <i>%1$s</i>: <i>%2$s</i>',
|
||||
@@ -231,5 +232,15 @@ return array(
|
||||
'menu_welcome' => 'Выберите язык',
|
||||
'Your PHP sessions path is not writable - check with your hosting provider:' => 'Дисковая память недоступна в письменном виде - обратитесь к Вашему хостинг-провайдеру',
|
||||
'Install modules Addons' => 'Установка модулей Addons',
|
||||
'Database is created' => 'База данных создана',
|
||||
'Cannot create the database automatically' => 'Невозможно автоматически создать базу данных',
|
||||
'Attempt to create the database automatically' => 'Попытка автоматического создания базы данных',
|
||||
'Country:' => 'Страна:',
|
||||
'Must be letters and numbers with at least 8 characters' => 'Должен состоять из букв и цифр и содержать минимум 8 символов',
|
||||
'To install PrestaShop, you need to have JavaScript enabled in your browser.' => 'Чтобы установить PrestaShop, Вам нужно включить JavaScript в Вашем браузере.',
|
||||
'http://doc.prestashop.com/display/PS15/What+you+need+to+get+started#HowtoenableJavaScript-HowtoenableJavaScript' => 'http://doc.prestashop.com/display/PS15/What+you+need+to+get+started#HowtoenableJavaScript-HowtoenableJavaScript',
|
||||
'To enjoy the many features that are offered for free by PrestaShop, please read the license terms below. PrestaShop core is licensed under OSL 3.0, while the modules and themes are licensed under AFL 3.0.' => 'Чтобы пользоваться всем функционалом PrestaShop, прочтите лицензионное соглашение. Ядро PrestaShop разработано на OSL 3.0, модули и темы - на AFL 3.0.',
|
||||
'For security purposes, you must delete the "install" folder.' => 'В целях безопасности, удалите папку "install\'.',
|
||||
'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation' => 'http://doc.prestashop.com/display/PS15/Installing+PrestaShop#InstallingPrestaShop-Completingtheinstallation',
|
||||
),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -96,7 +96,7 @@ class InstallModelDatabase extends InstallAbstractModel
|
||||
public function createDatabase($server, $database, $login, $password, $dropit = false)
|
||||
{
|
||||
$class = Db::getClass();
|
||||
return $class::createDatabase($server, $login, $password, $database, $dropit);
|
||||
return call_user_func(array($class, 'createDatabase'), $server, $login, $password, $database, $dropit);
|
||||
}
|
||||
|
||||
public function getBestEngine($server, $database, $login, $password)
|
||||
|
||||
@@ -368,11 +368,14 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
public function configureShop(array $data = array())
|
||||
{
|
||||
// Clear smarty cache
|
||||
$this->clearSmartyCache();
|
||||
|
||||
Tools::clearSmartyCache();
|
||||
|
||||
//clear image cache in tmp folder
|
||||
Tools::deleteDirectory(_PS_TMP_IMG_DIR_, false);
|
||||
|
||||
if (file_exists(_PS_TMP_IMG_DIR_))
|
||||
foreach (scandir(_PS_TMP_IMG_DIR_) as $file)
|
||||
if ($file[0] != '.' && $file != 'index.php')
|
||||
Tools::deleteDirectory(_PS_TMP_IMG_DIR_.DIRECTORY_SEPARATOR.$file);
|
||||
|
||||
$default_data = array(
|
||||
'shop_name' => 'My Shop',
|
||||
'shop_activity' => '',
|
||||
@@ -395,7 +398,7 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
|
||||
// use the old image system if the safe_mod is enabled otherwise the installer will fail with the fixtures installation
|
||||
if (InstallSession::getInstance()->safe_mode)
|
||||
Configuration::updateGlobalValue('PS_LEGACY_IMAGES', 1);
|
||||
Configuration::updateGlobalValue('PS_LEGACY_IMAGES', 1);
|
||||
|
||||
$id_country = Country::getByIso($data['shop_country']);
|
||||
|
||||
@@ -494,18 +497,6 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear smarty cache folders
|
||||
*/
|
||||
public function clearSmartyCache()
|
||||
{
|
||||
foreach (array(_PS_CACHE_DIR_.'smarty/cache', _PS_CACHE_DIR_.'smarty/compile') as $dir)
|
||||
if (file_exists($dir))
|
||||
foreach (scandir($dir) as $file)
|
||||
if ($file[0] != '.' && $file != 'index.php')
|
||||
@unlink($dir.$file);
|
||||
}
|
||||
|
||||
public function getModulesList()
|
||||
{
|
||||
// @todo REMOVE DEV MODE
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
|
||||
function block_category_1521()
|
||||
{
|
||||
if (!Db::getInstance()->getValue('SELECT FROM `'._DB_PREFIX_.'configuration` WHERE `name` LIKE \'BLOCK_CATEG_MAX_DEPTH\' '))
|
||||
if (!Db::getInstance()->getValue('SELECT value FROM `'._DB_PREFIX_.'configuration` WHERE `name` LIKE \'BLOCK_CATEG_MAX_DEPTH\' '))
|
||||
Db::getInstance()->Execute('INSERT INTO `'._DB_PREFIX_.'configuration`
|
||||
(`id_configuration` ,`id_shop_group` ,`id_shop` ,`name` ,`value` ,`date_add` ,`date_upd`)
|
||||
VALUES (NULL, NULL, NULL, \'BLOCK_CATEG_MAX_DEPTH\', 4, NOW(), NOW())');
|
||||
else if ($maxdepth = (int)Db::getInstance()->getValue('SELECT FROM `'._DB_PREFIX_.'configuration` WHERE `value` IS NOT NULL AND `value` <> 0'))
|
||||
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'configuration` SET `value` = '.($maxdepth + 1).' WHERE `name` LIKE\'BLOCK_CATEG_MAX_DEPTH\'');
|
||||
else if ($maxdepth = (int)Db::getInstance()->getValue('SELECT value FROM `'._DB_PREFIX_.'configuration` WHERE `value` IS NOT NULL AND `value` <> 0 AND `name` LIKE \'BLOCK_CATEG_MAX_DEPTH\''))
|
||||
Db::getInstance()->Execute('UPDATE `'._DB_PREFIX_.'configuration` SET `value` = '.($maxdepth + 1).' WHERE `name` LIKE \'BLOCK_CATEG_MAX_DEPTH\'');
|
||||
|
||||
}
|
||||
@@ -29,7 +29,8 @@ require_once(_PS_INSTALLER_PHP_UPGRADE_DIR_.'add_new_tab.php');
|
||||
function create_multistore()
|
||||
{
|
||||
$res = true;
|
||||
|
||||
if (!defined('_THEME_NAME_'))
|
||||
define('_THEME_NAME_', 'default');
|
||||
// @todo : use _PS_ROOT_DIR_
|
||||
if (defined('__PS_BASE_URI__'))
|
||||
$INSTALLER__PS_BASE_URI = __PS_BASE_URI__;
|
||||
|
||||
@@ -27,5 +27,5 @@
|
||||
function fix_download_product_feature_active()
|
||||
{
|
||||
if (Db::getInstance()->getValue('SELECT COUNT(id_product_download) FROM `'._DB_PREFIX_.'product_download` WHERE `active` = 1 ;') > 0)
|
||||
Configuration::updateGlobaleValue('PS_VIRTUAL_PROD_FEATURE_ACTIVE');
|
||||
Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'configuration` SET `value` = 1 WHERE `name` LIKE \'PS_VIRTUAL_PROD_FEATURE_ACTIVE\'');
|
||||
}
|
||||
@@ -28,8 +28,9 @@ function generate_ntree()
|
||||
{
|
||||
$categories = Db::getInstance()->executeS('SELECT id_category, id_parent FROM '._DB_PREFIX_.'category ORDER BY id_parent ASC, position ASC');
|
||||
$categoriesArray = array();
|
||||
foreach ($categories AS $category)
|
||||
$categoriesArray[(int)$category['id_parent']]['subcategories'][(int)$category['id_category']] = 1;
|
||||
if (is_array($categories))
|
||||
foreach ($categories AS $category)
|
||||
$categoriesArray[(int)$category['id_parent']]['subcategories'][(int)$category['id_category']] = 1;
|
||||
$n = 1;
|
||||
generate_ntree_subTree($categoriesArray, 1, $n);
|
||||
}
|
||||
|
||||
@@ -95,7 +95,8 @@ function migrate_orders()
|
||||
$reduction_amount_tax_incl = (float)$products['reduction_amount'];
|
||||
|
||||
// cart::getTaxesAverageUsed equivalent
|
||||
$sum_total_products += $products['total_wt'];
|
||||
$sum_total_products += $products['total_price'];
|
||||
|
||||
$sum_tax_amount += $products['total_wt'] - $products['total_price'];
|
||||
|
||||
$order_details['reduction_amount_tax_incl'] = $reduction_amount_tax_incl;
|
||||
@@ -119,12 +120,13 @@ function migrate_orders()
|
||||
|
||||
$average_tax_used = 1;
|
||||
if ($sum_total_products > 0)
|
||||
$average_tax_used += ($sum_tax_amount / $sum_total_products) * 0.01;
|
||||
|
||||
$carrier_tax_rate = 1 + ((float)$order['carrier_tax_rate'] / 100);
|
||||
$average_tax_used += $sum_tax_amount / $sum_total_products;
|
||||
$average_tax_used = round($average_tax_used, 4);
|
||||
$carrier_tax_rate = 1;
|
||||
if (isset($order['carrier_tax_rate']))
|
||||
$carrier_tax_rate + ((float)$order['carrier_tax_rate'] / 100);
|
||||
|
||||
$total_discount_tax_excl = $order['total_discounts'] / $average_tax_used;
|
||||
|
||||
$order['total_discounts_tax_incl'] = (float)$order['total_discounts'];
|
||||
$order['total_discounts_tax_excl'] = (float)$total_discount_tax_excl;
|
||||
|
||||
@@ -321,5 +323,4 @@ function mo_setProductPrices($row, $tax_calculation_method)
|
||||
$row['total_price'] = $row['product_quantity'] * $row['product_price'];
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -44,14 +44,14 @@ function move_translations_module_file()
|
||||
foreach ($modules as $module_name)
|
||||
{
|
||||
// Check if is a good module
|
||||
if (in_array($module_name, array('.', '..', '.svn', '.htaccess', 'index.php', 'autoupgrade')))
|
||||
if (in_array($module_name, array('.', '..', '.svn', '.htaccess', 'index.php', 'autoupgrade')) || !is_dir(_PS_MODULE_DIR_.'/'.$module_name))
|
||||
continue;
|
||||
|
||||
foreach ($languages as $lang)
|
||||
{
|
||||
// Name for the old file and the new file
|
||||
$old_file = _PS_MODULE_DIR_.$module_name.'/'.$lang['iso_code'].'.php';
|
||||
if (!file_exists($old_file))
|
||||
if (!@file_exists($old_file))
|
||||
continue;
|
||||
|
||||
$dir_translations = _PS_MODULE_DIR_.$module_name.'/translations/';
|
||||
@@ -61,7 +61,7 @@ function move_translations_module_file()
|
||||
if (!is_dir($dir_translations))
|
||||
$res &= mkdir($dir_translations, 0777);
|
||||
|
||||
if (!rename($old_file, $new_file))
|
||||
if (!@rename($old_file, $new_file))
|
||||
{
|
||||
$error_list[] = $module_name.' - '.$lang['iso_code']."<br/>\r\n";
|
||||
$res &= false;
|
||||
|
||||
@@ -30,8 +30,8 @@ function p15015_blockadvertising_extension()
|
||||
define('_PS_ROOT_DIR_', realpath(INSTALL_PATH.'/../'));
|
||||
|
||||
// Try to update with the extension of the image that exists in the module directory
|
||||
if (file_exists(_PS_ROOT_DIR_.'modules/blockadvertising'))
|
||||
foreach (scandir(_PS_ROOT_DIR_.'modules/blockadvertising') as $file)
|
||||
if (@file_exists(_PS_ROOT_DIR_.'/modules/blockadvertising'))
|
||||
foreach (@scandir(_PS_ROOT_DIR_.'/modules/blockadvertising') as $file)
|
||||
if (in_array($file, array('advertising.jpg', 'advertising.gif', 'advertising.png')))
|
||||
Db::getInstance()->execute('
|
||||
REPLACE INTO `'._DB_PREFIX_.'configuration` (name, value)
|
||||
|
||||
@@ -41,7 +41,7 @@ function p15018_change_image_types()
|
||||
)
|
||||
);
|
||||
|
||||
$option = (bool)Db::getInstance()->getValue('SELECT id_theme FROM `'._DB_PREFIX_.'theme` WHERE directory != "default"');
|
||||
$option = (bool)Db::getInstance()->getValue('SELECT id_theme FROM `'._DB_PREFIX_.'theme` WHERE directory != "default" AND directory != "prestashop"');
|
||||
|
||||
// If there is another theme than the default one, duplicate
|
||||
if ($option)
|
||||
|
||||
@@ -26,12 +26,12 @@
|
||||
|
||||
function update_genders_images()
|
||||
{
|
||||
if (file_exists(_PS_ROOT_DIR_.'/img/genders/Mr.jpg'))
|
||||
if (@file_exists(_PS_ROOT_DIR_.'/img/genders/Mr.jpg'))
|
||||
@rename(_PS_ROOT_DIR_.'/img/genders/Mr.jpg', _PS_ROOT_DIR_.'/img/genders/1.jpg');
|
||||
if (file_exists(_PS_ROOT_DIR_.'/img/genders/Ms.jpg'))
|
||||
if (@file_exists(_PS_ROOT_DIR_.'/img/genders/Ms.jpg'))
|
||||
@rename(_PS_ROOT_DIR_.'/img/genders/Ms.jpg', _PS_ROOT_DIR_.'/img/genders/2.jpg');
|
||||
if (file_exists(_PS_ROOT_DIR_.'/img/genders/Miss.jpg'))
|
||||
if (@file_exists(_PS_ROOT_DIR_.'/img/genders/Miss.jpg'))
|
||||
@rename(_PS_ROOT_DIR_.'/img/genders/Miss.jpg', _PS_ROOT_DIR_.'/img/genders/3.jpg');
|
||||
if (file_exists(_PS_ROOT_DIR_.'genders/unknown.jpg'))
|
||||
if (@file_exists(_PS_ROOT_DIR_.'/img/genders/unknown.jpg'))
|
||||
@rename(_PS_ROOT_DIR_.'/img/genders/unknown.jpg', _PS_ROOT_DIR_.'/img/genders/Unknown.jpg');
|
||||
}
|
||||
@@ -57,6 +57,7 @@ function update_order_canada()
|
||||
$default_price_display_method = Db::getInstance()->getValue('SELECT price_display_method
|
||||
FROM `'._DB_PREFIX_.'group` WHERE id_group=1');
|
||||
$values = '';
|
||||
if (is_array($id_order_list))
|
||||
foreach ($id_order_list as $order)
|
||||
{
|
||||
$amount = array();
|
||||
|
||||
@@ -29,17 +29,18 @@ function update_order_messages()
|
||||
$step = 3000;
|
||||
$count_messages = Db::getInstance()->getValue('SELECT count(id_message) FROM '._DB_PREFIX_.'message');
|
||||
$nb_loop = $start = 0;
|
||||
$pattern = '<br|&[a-zA-Z]{1,8};';
|
||||
if($count_messages > 0)
|
||||
$nb_loop = ceil($count_messages / $step);
|
||||
for($i = 0; $i < $nb_loop; $i++)
|
||||
{
|
||||
$sql = 'SELECT id_message, message FROM `'._DB_PREFIX_.'message` WHERE message REGEXP \'<br|&[^;]{1,8}\' LIMIT '.(int)$start.', '.(int)$step;
|
||||
$sql = 'SELECT id_message, message FROM `'._DB_PREFIX_.'message` WHERE message REGEXP \''.pSQL($pattern, true).'\' LIMIT '.(int)$start.', '.(int)$step;
|
||||
if ($messages = Db::getInstance()->query($sql))
|
||||
while ($message = Db::getInstance()->nextRow($messages))
|
||||
{
|
||||
if(is_array($message))
|
||||
{
|
||||
$sql = 'UPDATE `'._DB_PREFIX_.'message` SET message = \''.pSQL(Tools::htmlentitiesDecodeUTF8(br2nl($message['message']))).'\'
|
||||
$sql = 'UPDATE `'._DB_PREFIX_.'message` SET message = \''.pSQL(preg_replace('/'.$pattern.'/', '', Tools::htmlentitiesDecodeUTF8(br2nl($message['message'])))).'\'
|
||||
WHERE id_message = '.(int)$message['id_message'];
|
||||
$result = Db::getInstance()->execute($sql);
|
||||
}
|
||||
@@ -50,13 +51,13 @@ function update_order_messages()
|
||||
$nb_loop = ceil($count_messages / $step);
|
||||
for($i = 0; $i < $nb_loop; $i++)
|
||||
{
|
||||
$sql = 'SELECT id_customer_message, message FROM `'._DB_PREFIX_.'customer_message` WHERE message REGEXP \'<br|&[^;]{1,8}\' LIMIT '.(int)$start.', '.(int)$step;
|
||||
$sql = 'SELECT id_customer_message, message FROM `'._DB_PREFIX_.'customer_message` WHERE message REGEXP \''.pSQL($pattern, true).'\' LIMIT '.(int)$start.', '.(int)$step;
|
||||
if ($messages = Db::getInstance()->query($sql))
|
||||
while ($message = Db::getInstance()->nextRow($messages))
|
||||
{
|
||||
if(is_array($message))
|
||||
{
|
||||
$sql = 'UPDATE `'._DB_PREFIX_.'customer_message` SET message = \''.pSQL(Tools::htmlentitiesDecodeUTF8(str_replace('&', '&', $message['message']))).'\'
|
||||
$sql = 'UPDATE `'._DB_PREFIX_.'customer_message` SET message = \''.pSQL(preg_replace('/'.$pattern.'/', '', Tools::htmlentitiesDecodeUTF8(str_replace('&', '&', $message['message'])))).'\'
|
||||
WHERE id_customer_message = '.(int)$message['id_customer_message'];
|
||||
Db::getInstance()->execute($sql);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
SET NAMES 'utf8';
|
||||
|
||||
DROP TABLE IF EXISTS `PREFIX_group_shop`;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `PREFIX_group_shop` (
|
||||
`id_group_shop` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(64) CHARACTER SET utf8 NOT NULL,
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
UPDATE `PREFIX_meta` SET `page` = 'contact' WHERE `page` = 'contact-form';
|
||||
|
||||
DROP TABLE IF EXISTS `PREFIX_shop_group`;
|
||||
|
||||
RENAME TABLE `PREFIX_group_shop` TO `PREFIX_shop_group`;
|
||||
ALTER TABLE `PREFIX_shop_group` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
ALTER TABLE `PREFIX_shop` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL;
|
||||
|
||||
@@ -22,6 +22,7 @@ CHANGE `module_name` `module_name` VARCHAR(64) NULL DEFAULT NULL;
|
||||
/* PHP:remove_tab(AdminRangePrice); */;
|
||||
/* PHP:remove_tab(AdminRangeWeight); */;
|
||||
|
||||
|
||||
ALTER TABLE `PREFIX_log` ADD `id_employee` INT(10) UNSIGNED NULL DEFAULT NULL AFTER `object_id`;
|
||||
|
||||
SET @id_parent = (SELECT IFNULL(id_tab, 1) FROM `PREFIX_tab` WHERE `class_name` = 'AdminPriceRule' LIMIT 1);
|
||||
@@ -33,6 +34,6 @@ ALTER TABLE `PREFIX_product_shop` DROP INDEX `date_add`, ADD INDEX `date_add` (`
|
||||
|
||||
UPDATE `PREFIX_hook` SET `live_edit` = '1' WHERE `name` LIKE 'leftcolumn';
|
||||
|
||||
UPDATE `PREFIX_configuration` SET `name` = '0' WHERE `name` LIKE 'PS_LEGACY_IMAGES' AND `value` LIKE '1';
|
||||
UPDATE `PREFIX_configuration` SET `value` = '0' WHERE `name` LIKE 'PS_LEGACY_IMAGES' AND `value` = 1;
|
||||
|
||||
INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES('PS_SMARTY_CONSOLE_KEY', 'SMARTY_DEBUG', NOW(), NOW());
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE `PREFIX_manufacturer_lang` CHANGE `short_description` `short_description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
|
||||
Reference in New Issue
Block a user