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

This commit is contained in:
lLefevre
2012-05-15 08:54:24 +00:00
parent 3c8e00b92c
commit c1fda58982
71 changed files with 175 additions and 219 deletions
@@ -130,7 +130,7 @@ else if (Tools::getValue('action') && Tools::getValue('secure_key') == $productC
$errors[] = $productCom->l('Comment text is required.');
}
else
$errors[] = $productCom->l('You should wait').' '.Configuration::get('PRODUCT_COMMENTS_MINIMAL_TIME').' '.$productCom->l('seconds before posting a new comment');
$errors[] = sprintf($productCom->l('You should wait %d seconds before posting a new comment.'), Configuration::get('PRODUCT_COMMENTS_MINIMAL_TIME'));
}
}