Doc #72467 [NEW]: French translation for PHP_ROUND_HALF_{EVEN,ODD} are wrong

From: Date: Wed, 22 Jun 2016 07:52:44 +0000
Subject: Doc #72467 [NEW]: French translation for PHP_ROUND_HALF_{EVEN,ODD} are wrong
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13578@lists.php.net to get a copy of this message
From: julien at palard dot fr Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:French translation for PHP_ROUND_HALF_{EVEN,ODD} are wrong Description: ------------ --- From manual page: http://www.php.net/function.round --- Translation of: PHP_ROUND_HALF_EVEN Round val to precision decimal places towards the next even value. PHP_ROUND_HALF_ODD Round val to precision decimal places towards the next odd value. is: PHP_ROUND_HALF_EVEN Arrondit val à la précision precision de décimal après la prochaine valeur. PHP_ROUND_HALF_ODD Arrondit val à la précision precision de décimal avant la prochaine valeur. Which misses the "odd vs even" information. Here is my proposal: PHP_ROUND_HALF_EVEN Arrondit val à *precision* décimales vers la prochaine valeur paire. PHP_ROUND_HALF_ODD Arrondit val à *precision* décimales vers la prochaine valeur impaire. While I'm at it: PHP_ROUND_HALF_UP Arrondit val à une précision precision supérieure de décimal après zéro lorsqu'il est à mi-chemin. Par exemple, 1.5 deviendra 2 et -1.5 deviendra -2. PHP_ROUND_HALF_DOWN Arrondit val à une précision precision inférieure de décimal avant zéro lorsqu'il est à mi-chemin. Par exemple, 1.5 deviendra 1 et -1.5 deviendra -1. Are not that good, better be: PHP_ROUND_HALF_UP Arrondit val à *precision* décimales en s'éloignant de zéro lorsqu'elle est à mi-chemin. Par exemple, 1.5 deviendra 2 et -1.5 deviendra -2. PHP_ROUND_HALF_DOWN Arrondit val à *precision* décimales en s'approchant de zéro lorsqu'elle est à mi-chemin. Par exemple, 1.5 deviendra 1 et -1.5 deviendra -1. -- Edit bug report at https://bugs.php.net/bug.php?id=72467&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72467&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72467&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72467&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72467&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72467&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72467&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72467&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72467&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72467&r=support Expected behavior: https://bugs.php.net/fix.php?id=72467&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72467&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72467&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72467&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72467&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72467&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72467&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72467&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72467&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72467&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72467&r=mysqlcfg

« previous php.doc.bugs (#13578) next »