Doc #78872 [NEW]: There are some translation errors in the official documentation
| From: | wildcoder1991 at gmail dot com | Date: | Wed, 27 Nov 2019 03:47:34 +0000 |
| Subject: | Doc #78872 [NEW]: There are some translation errors in the official documentation | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-17071@lists.php.net to get a copy of this message | ||
From: wildcoder1991 at gmail dot com
Operating system: Linux
PHP version: 7.2.25
Package: Translation problem
Bug Type: Documentation Problem
Bug description:There are some translation errors in the official documentation
Description:
------------
There is a translation error in the document page of function "pack":
https://www.php.net/manual/zh/function.pack.php
(this is Chinese
Simplified version)
the explanation of paramter "format" in english version is described as
below:
"The format string consists of format codes followed by an optional
repeater argument. The repeater argument can be either an integer value
or * for repeating to the end of the input data. For a, A, h, H the
repeat count specifies how many characters of one data argument are
taken, for @ it is the absolute position where to put the next data, for
everything else the repeat count specifies how many data arguments are
consumed and packed into the resulting binary string."
the Chinese Simplified version is described as below:
"formatåç¬¦ä¸²ç±æ ¼å¼ä»£ç ç»æï¼åé¢è·çä¸ä¸ªå¯éçéå¤åæ°ã
éå¤åæ°å¯ä»¥æ¯ä¸ä¸ªæ´æ°å¼æè
*弿¥éå¤å°è¾å
¥æ°æ®çæ«å°¾ã对äºa,
A, h,
Hæ ¼å¼å代ç ï¼å
¶åçéå¤åæ°æå®äºç»å®æ°æ®å°ä¼è¢«ä½¿ç¨å 个å符串ï¼å¯¹äº@,å
¶åçæ°å表示æ¾ç½®å©ä½æ°æ®çç»å¯¹å®ä½ï¼ä¹åçæ°æ®å°ä¼è¢«ç©ºå符串填å
ï¼ï¼å¯¹äºå
¶ä»ææå
容ï¼é夿°éæå®æ¶èå¤å°æ°æ®å¹¶å°å
¶æå
å°çæçäºè¿å¶å符串ä¸ã"
but in actually: it should be:
"formatåç¬¦ä¸²ç±æ ¼å¼ä»£ç ç»æï¼åé¢è·çä¸ä¸ªå¯éçéå¤åæ°ã
éå¤åæ°å¯ä»¥æ¯ä¸ä¸ªæ´æ°å¼æè
*弿¥éå¤å°è¾å
¥æ°æ®çæ«å°¾ã对äºa,
A, h,
Hæ ¼å¼å代ç ï¼æ¤å¯ééå¤åæ°æå®äºç»å®çæ°æ®åæ°ä¸çåå¤å°ä¸ªå符å°ä¼è¢«ä½¿ç¨ï¼å¯¹äº@,å
¶åçæ°å表示æ¾ç½®å©ä½æ°æ®çç»å¯¹å®ä½ï¼ä¹åçæ°æ®å°ä¼è¢«ç©ºå符串填å
ï¼ï¼å¯¹äºå
¶ä»ææå
容ï¼é夿°éæå®æ¶èå¤å°ä¸ªæ°æ®åæ°å¹¶å°å
¶æå
å°çæçäºè¿å¶å符串ä¸ã"
--
Edit bug report at https://bugs.php.net/bug.php?id=78872&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78872&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78872&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78872&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78872&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78872&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78872&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78872&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78872&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78872&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78872&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78872&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78872&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78872&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78872&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78872&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78872&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78872&r=mysqlcfg