Doc #71908 [Ver->Csd]: [PT_BR] mistake in example code
| From: | ae@php.net | Date: | Thu, 14 Apr 2016 03:45:50 +0000 |
| Subject: | Doc #71908 [Ver->Csd]: [PT_BR] mistake in example code | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13412@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71908&edit=1
ID: 71908
Updated by: ae@php.net
Reported by: elia dot melfior at softexpert dot com
Summary: [PT_BR] mistake in example code
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: *
PHP Version: Irrelevant
-Assigned To:
+Assigned To: ae
Block user comment: N
Private report: N
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:
------------------------------------------------------------------------
[2016-04-14 03:44:40] ae@php.net
Automatic comment from SVN on behalf of ae
Revision: http://svn.php.net/viewvc/?view=revision&revision=339004
Log: Fix #71908
------------------------------------------------------------------------
[2016-03-28 13:43:50] elia dot melfior at softexpert dot com
Description:
------------
---
From manual page: http://php.net/manual/pt_BR/functions.arguments.php
---
There is a mistake in the portuguese translation, which is incomplete and affects the code, right
here:
<?php
function cafeteira ($tipo = "cappuccino")
{
return "Fazendo uma xÃcara de café $tipo.\n";
}
echo cafeteira ();
echo makecoffee(null);
echo cafeteira ("expresso");
?>
It should be instead:
<?php
function cafeteira ($tipo = "cappuccino")
{
return "Fazendo uma xÃcara de café $tipo.\n";
}
echo cafeteira ();
echo cafeteira(null);
echo cafeteira ("espresso");
?>
So it would work in line with the expected output.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71908&edit=1