[-] FO : #PSCFV-2150 : Translations of modules are connected width sprintf()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15304 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-05-15 08:54:24 +00:00
parent f92adc9626
commit fa1caba6e5
71 changed files with 175 additions and 219 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ class StatsCatalog extends Module
$averageViewed = $total ? ($totalPageViewed / $total) : 0;
$conversion = number_format((float)($totalPageViewed ? ($totalBought / $totalPageViewed) : 0), 2, '.', '');
if ($conversionReverse = number_format((float)($totalBought ? ($totalPageViewed / $totalBought) : 0), 2, '.', ''))
$conversion .= ' (1 '.$this->l('purchase').' / '.$conversionReverse.' '.$this->l('visits').')';
$conversion .= sprintf($this->l('(1 purchase / %d visits)'), $conversionReverse);
$totalNV = $total - $this->getTotalProductViewed();