Doc #54554 [Opn]: [ZH] translation of some CURLOPT in simplifed chinese is wrong.
| From: | reeze@php.net | Date: | Sat, 27 Oct 2012 16:04:50 +0000 |
| Subject: | Doc #54554 [Opn]: [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-9020@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: reeze@php.net
Reported by: xiezhenye at gmail dot com
Summary: [ZH] translation of some CURLOPT in simplifed
chinese is wrong.
Status: Open
Type: Documentation Problem
Package: Translation problem
Operating System: any
PHP Version: 5.3.6
-Assigned To:
+Assigned To: daijie
Block user comment: N
Private report: N
New Comment:
@daijie 帮fixä¸ä¸ï¼
Previous Comments:
------------------------------------------------------------------------
[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