Doc #54554 [Asn->Csd]: [ZH] translation of some CURLOPT in simplifed chinese is wrong.

From: Date: Sat, 27 Oct 2012 16:35:43 +0000
Subject: Doc #54554 [Asn->Csd]: [ZH] translation of some CURLOPT in simplifed chinese is wrong.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9021@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54554&edit=1 ID: 54554 Updated by: daijie@php.net Reported by: xiezhenye at gmail dot com Summary: [ZH] translation of some CURLOPT in simplifed chinese is wrong. -Status: Assigned +Status: Closed Type: Documentation Problem Package: Translation problem Operating System: any PHP Version: 5.3.6 Assigned To: daijie 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. Thanks,the correct Chinese translation has been committed to svn. Previous Comments: ------------------------------------------------------------------------ [2012-10-27 16:33:41] daijie@php.net Automatic comment from SVN on behalf of daijie Revision: http://svn.php.net/viewvc/?view=revision&revision=328160 Log: Fix Doc Bug #54554(write function),provide by xiezhenye at gmail dot com. ------------------------------------------------------------------------ [2012-10-27 16:21:13] daijie@php.net Automatic comment from SVN on behalf of daijie Revision: http://svn.php.net/viewvc/?view=revision&revision=328159 Log: Fix Doc Bug #54554,provide by xiezhenye at gmail dot com. ------------------------------------------------------------------------ [2012-10-27 16:04:50] reeze@php.net @daijie 帮fix一下? ------------------------------------------------------------------------ [2011-04-18 03:29:00] xiezhenye at gmail dot com translation of curl_setopt CURLOPT_WRITEFUNCTION description in simplifed chinese is wrong. in english: The name of a callback function where the callback function takes two parameters. The first is the cURL resource, and the second is a string with the data to be written. The data must be saved by using this callback function. It must return the exact number of bytes written or the transfer will be aborted with an error. the correct chinese translation should be: 回调函数名。该函数应接受两个参数。第一个是 cURL resource;第二个是要写入的数据字符串。数 据必须在函数中被保存。函数必须返回准确的传入的要写入数据的字节数,否则传输会被一个错误所中 断。 ------------------------------------------------------------------------ [2011-04-18 03:19:14] xiezhenye at gmail dot com Description: ------------ translation of curl_setopt CURLOPT_READFUNCTION description in simplifed chinese is wrong. in english: The name of a callback function where the callback function takes three parameters. The first is the cURL resource, the second is a stream resource provided to cURL through the option CURLOPT_INFILE, and the third is the maximum amount of data to be read. The callback function must return a string with a length equal or smaller than the amount of data requested, typically by reading it from the passed stream resource. It should return an empty string to signal EOF. the correct chinese translation should be: 回调函数名。该函数应接受三个参数。第一个是 cURL resource;第二个是通过选项 CURLOPT_INFILE 传给 cURL 的 stream resource;第三个参数是最大可以读取的数据的数量。回 调函数必须返回一个字符串,长度小于或等于请求的数据量(第三个参数)。一般从传入的 stream resource 读取。返回空字符串作为 EOF(文件结束) 信号。 Test script: --------------- none Expected result: ---------------- none Actual result: -------------- none ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=54554&edit=1

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