Doc #54554 [NEW]: translation of CURLOPT_READFUNCTION description in simplifed chinese is wrong.

From: Date: Mon, 18 Apr 2011 01:19:16 +0000
Subject: Doc #54554 [NEW]: translation of CURLOPT_READFUNCTION description in simplifed chinese is wrong.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6241@lists.php.net to get a copy of this message
From: Operating system: any PHP version: 5.3.6 Package: Translation problem Bug Type: Documentation Problem Bug description:translation of CURLOPT_READFUNCTION description in simplifed chinese is wrong. 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 bug report at http://bugs.php.net/bug.php?id=54554&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54554&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54554&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54554&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54554&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54554&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54554&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54554&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54554&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54554&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54554&r=support Expected behavior: http://bugs.php.net/fix.php?id=54554&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54554&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54554&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54554&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54554&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54554&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54554&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54554&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54554&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54554&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54554&r=mysqlcfg

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