// AdminProductsController: added new array to translate tabs name. Added translations of fr/admin & SupplyOrderForm(PDF)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10516 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-23 11:41:25 +00:00
parent 9506172dd4
commit 2dbeb55bf1
6 changed files with 305 additions and 171 deletions
+3 -3
View File
@@ -85,7 +85,7 @@ class HTMLTemplateSupplyOrderForm extends HTMLTemplate
*/
public function getFilename()
{
return ($this->l('SupplyOrderForm').sprintf('_%s', $this->supply_order->reference).'.pdf');
return (self::l('SupplyOrderForm').sprintf('_%s', $this->supply_order->reference).'.pdf');
}
protected function getTaxOrderSummary()
@@ -122,8 +122,8 @@ class HTMLTemplateSupplyOrderForm extends HTMLTemplate
if (isset($this->address) && $this->address instanceof Address)
$shop_address = AddressFormat::generateAddress($this->address, array(), ' - ', ' ');
$free_text = $this->l('DE: Discount excluded ');
$free_text .= $this->l(' DI: Discount included');
$free_text = self::l('DE: Discount excluded ');
$free_text .= self::l(' DI: Discount included');
$this->smarty->assign(array(
'shop_address' => $shop_address,