php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55054 [ZH|HK|TW] Typo In Chinese Translation of MD5
Submitted: 2011-06-14 16:56 UTC Modified: 2012-12-06 16:09 UTC
From: danbrown@php.net Assigned: danbrown (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2011-06-14 16:56 UTC] danbrown@php.net
Description:
------------
According to a user known as (imanecr AT gmail DOT com), as pointed out [where it 
obviously doesn't belong] in the user notes on 14-JUN-2011, the MD5 manual entry 
erroneously translates 'bytes' to 'bits' in one of the manpage's sections.  The 
original note follows:

raw_output:
If the optional raw_output is set to TRUE, then the md5 digest is instead 
returned in raw binary format with a length of 16.
It is confusing.
The raw binary format should be 16 bytes.
For the Chinese translation, "a length of 16" has been translated into 16 bits. 
it should be bytes.

The original sentence(Chinese translation):
那么 MD5 报文摘要将以原始的 16 位二进制格式返回。


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-12 02:36 UTC] yannick@php.net
-Summary: Typo In Chinese Translation of MD5 +Summary: [ZH|HKTW] Typo In Chinese Translation of MD5
 [2011-07-12 02:38 UTC] yannick@php.net
-Summary: [ZH|HKTW] Typo In Chinese Translation of MD5 +Summary: [ZH|HK|TW] Typo In Chinese Translation of MD5
 [2012-12-06 02:28 UTC] laruence@php.net
Index: strings/functions/md5.xml
===================================================================
--- strings/functions/md5.xml	(revision 328688)
+++ strings/functions/md5.xml	(working copy)
@@ -36,7 +36,7 @@
      <term><parameter>raw_output</parameter></term>
      <listitem>
       <para>
-       如果可选的 <parameter>raw_output</parameter> 被设置为 &true;,那么 MD5 报文摘
要将以原始的 16 位二进制格式返回。
+       如果可选的 <parameter>raw_output</parameter> 被设置为 &true;,那么 MD5 报文摘
要将以16字节长度的原始二进制格式返回。
       </para>
      </listitem>
     </varlistentry>
 [2012-12-06 16:07 UTC] danbrown@php.net
Automatic comment from SVN on behalf of danbrown
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=328699
Log: Fixing bug #55054, with all thanks and credit due to laruence.
 [2012-12-06 16:09 UTC] danbrown@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: danbrown
 [2012-12-06 16:09 UTC] danbrown@php.net
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.

Should've asked you in IRC long ago, that was quick.  Thanks a lot.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 16:03:37 2021 UTC