Doc #70085 [Opn->Csd]: [ZH] A omit of the 'empty' function manual
| From: | jhdxr@php.net | Date: | Sat, 22 Aug 2015 16:46:11 +0000 |
| Subject: | Doc #70085 [Opn->Csd]: [ZH] A omit of the 'empty' function manual | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12636@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70085&edit=1
ID: 70085
Updated by: jhdxr@php.net
Reported by: DevonLiu at foxmail dot com
Summary: [ZH] A omit of the 'empty' function manual
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: Ubuntu 14.04
PHP Version: 5.5.27
-Assigned To:
+Assigned To: jhdxr
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:
------------------------------------------------------------------------
[2015-08-22 16:45:24] jhdxr@php.net
Automatic comment from SVN on behalf of jhdxr
Revision: http://svn.php.net/viewvc/?view=revision&revision=337588
Log: Fixed bug #70085 [ZH] A omit of the 'empty' function manual
------------------------------------------------------------------------
[2015-07-17 03:12:50] DevonLiu at foxmail dot com
Got it. Thank you for the suggestion.
------------------------------------------------------------------------
[2015-07-16 10:53:05] cmb@php.net
> Maybe you guys could add the note in English for Chinese manual
> page.
That is usually not done. Instead we rely on the translation team
to update the translations in a timely manner. There are tools
available, which show the diffs, e.g.
<http://svn.php.net/viewvc/phpdoc/en/trunk/reference/var/functions/empty.xml?r1=322174&r2=334621>.
If you want to help with the translation, I you can supply patches
via <https://edit.php.net/>, and maybe it's useful to
contact
doc-zh@php.net also.
------------------------------------------------------------------------
[2015-07-16 03:19:58] DevonLiu at foxmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.empty
---
The 'empty' manual page in Chinese is out of time.
It makes me confused once.
In 5.5.x, the 'empty' function could determine whether a variable is empty, and we could
learn that empty() also support a expression from the note statement.
The problem is, in Chinese version had not add that note yet. For a time, our team had always wonder
why some code likes 'empty(trim($var))' can run on one's platform, but others, until
we saw the manual in English version.
Maybe you guys could add the note in English for Chinese manual page. I am happy to translate it
when i am free.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70085&edit=1