[-] 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:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user