Doc #65742 [Opn->Csd]: [ES] Problem with translate in spanish

From: Date: Fri, 27 Sep 2013 18:10:50 +0000
Subject: Doc #65742 [Opn->Csd]: [ES] Problem with translate in spanish
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10318@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65742&edit=1

 ID:                 65742
 Updated by:         seros@php.net
 Reported by:        charlyfb90 at gmail dot com
 Summary:             [ES] Problem with translate in spanish
-Status:             Open
+Status:             Closed
 Type:               Documentation Problem
 Package:            Translation problem
 Operating System:   Ubuntu
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        seros
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.




Previous Comments:
------------------------------------------------------------------------
[2013-09-27 18:09:50] seros@php.net

Automatic comment from SVN on behalf of seros
Revision: http://svn.php.net/viewvc/?view=revision&revision=331549
Log: Corregido Error #65742

------------------------------------------------------------------------
[2013-09-23 14:03:09] charlyfb90 at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=65742&edit=1


Thread (2 messages)

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