#29906 [Opn->Csd]: Error in French translation of empty() documentation
| From: | didou@php.net | Date: | Tue, 31 Aug 2004 17:23:42 +0000 |
| Subject: | #29906 [Opn->Csd]: Error in French translation of empty() documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363626@lists.php.net to get a copy of this message | ||
ID: 29906
Updated by: didou@php.net
Reported By: cheal at hotpop dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
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:
------------------------------------------------------------------------
[2004-08-31 08:22:18] cheal at hotpop dot com
Description:
------------
http://www.php.net/manual/fr/function.empty.php
reads
"empty() retourne la valeur FALSE si la variable var est affectée ou
bien a une valeur différente de 0; la valeur TRUE dans les autres cas.
Dans d'autres termes, "", 0, "0", NULL, FALSE, tableau, var $var;, et
les objets avec des propriétés vides, sont toutes considérés comme
vide. TRUE est retourné si var est vide."
while the English version reads
"empty() returns FALSE if var has a non-empty and non-zero value. In
otherwords, "", 0, "0", NULL, FALSE, array(), var $var;, and objects
with empty properties, are all considered empty. TRUE is returned if
var is empty."
The error is that "array()" should be left unchanged instead of being
translated to "tableau".
My encouragements to the PHP doc team for doc quality and translation
quality (despite).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29906&edit=1