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

This commit is contained in:
lLefevre committed 2012-05-15 08:54:24 +00:00
1 parent b9c3cd89e0
commit 53504c37a3
71 files changed
+175 -219

No files matched your search

+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();