Merge pull request #15 from indesign47/patch-1

[-] MO : blocktopmenu -> missing translations
This commit is contained in:
Gregory Roussac
2015-02-23 10:34:51 +01:00
+4 -4
View File
@@ -1,6 +1,6 @@
<?php <?php
/* /*
* 2007-2014 PrestaShop * 2007-2015 PrestaShop
* *
* NOTICE OF LICENSE * NOTICE OF LICENSE
* *
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information. * needs please refer to http://www.prestashop.com for more information.
* *
* @author PrestaShop SA <contact@prestashop.com> * @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA * @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*/ */
@@ -330,9 +330,9 @@ class Blocktopmenu extends Module
$shop_info = null; $shop_info = null;
if (Shop::getContext() == Shop::CONTEXT_SHOP) if (Shop::getContext() == Shop::CONTEXT_SHOP)
$shop_info = $this->l(sprintf('The modifications will be applied to shop: %s', $this->context->shop->name)); $shop_info = sprintf($this->l('The modifications will be applied to shop: %s', $this->context->shop->name));
else if (Shop::getContext() == Shop::CONTEXT_GROUP) else if (Shop::getContext() == Shop::CONTEXT_GROUP)
$shop_info = $this->l(sprintf('The modifications will be applied to this group: %s', Shop::getContextShopGroup()->name)); $shop_info = sprintf($this->l('The modifications will be applied to this group: %s', Shop::getContextShopGroup()->name));
else else
$shop_info = $this->l('The modifications will be applied to all shops'); $shop_info = $this->l('The modifications will be applied to all shops');