#47186 [Opn->Csd]: [FR] French Translation Example Code Incorrect
| From: | yannick@php.net | Date: | Thu, 29 Jan 2009 22:06:08 +0000 |
| Subject: | #47186 [Opn->Csd]: [FR] French Translation Example Code Incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1777@lists.php.net to get a copy of this message | ||
ID: 47186
Updated by: yannick@php.net
Reported By: danbrown@php.net
-Status: Open
+Status: Closed
Bug Type: Translation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2009-01-21 21:52:42] danbrown@php.net
Description:
------------
In the first example on
http://php.net/manual/fr/language.oop5.visibility.php,
and only in the
French translation, there is a typo that echoes $this->private; twice,
as opposed to first echoing $this->public;.
Reproduce code:
---------------
Go to http://php.net/manual/fr/language.oop5.visibility.php
and read
the first example.
Expected result:
----------------
class MyClass
{
public $public = 'Public';
protected $protected = 'Protected';
private $private = 'Private';
function printHello()
{
echo $this->public; // <--- This is how it *should* be.
echo $this->protected;
echo $this->private;
}
}
Actual result:
--------------
class MyClass
{
public $public = 'Public';
protected $protected = 'Protected';
private $private = 'Private';
function printHello()
{
echo $this->private; // <--- This is how it *is*.
echo $this->protected;
echo $this->private;
}
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47186&edit=1