Doc #54554 [NEW]: translation of CURLOPT_READFUNCTION description in simplifed chinese is wrong.
| From: | xiezhenye at gmail dot com | 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