Doc #65742 [NEW]: Problem with translate in spanish

From: Date: Mon, 23 Sep 2013 14:03:10 +0000
Subject: Doc #65742 [NEW]: Problem with translate in spanish
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10296@lists.php.net to get a copy of this message
From: charlyfb90 at gmail dot com Operating system: Ubuntu PHP version: Irrelevant Package: Translation problem Bug Type: Documentation Problem Bug description: Problem with translate in spanish Description: ------------ --- From manual page: http://www.php.net/function.array-filter#refsect1- function.array-filter-examples --- Problem with translate in spanish. In the first example, appear 2 functions. First is for filter odd numbers, and the comment is correct. On the second function, even, is for filter the even numbers and the comment say that filter odd numbers again. Thanks Test script: --------------- <?php function odd($var) { // Retorna siempre que el número entero sea impar return($var & 1); } function even($var) { // Retorna siempre que el número sea impar<-(HERE THE ERROR ON TRANSLATE)!!!! return(!($var & 1)); } Expected result: ---------------- function even($var) { // Retorna siempre que el número sea par <--(par) return(!($var & 1)); } Actual result: -------------- function even($var) { // Retorna siempre que el número sea impar <--(impar) return(!($var & 1)); } -- Edit bug report at https://bugs.php.net/bug.php?id=65742&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65742&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65742&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65742&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65742&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65742&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65742&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65742&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65742&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65742&r=support Expected behavior: https://bugs.php.net/fix.php?id=65742&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65742&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65742&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65742&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65742&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65742&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65742&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65742&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65742&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65742&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65742&r=mysqlcfg

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