Doc #65401 [Opn->Csd]: [FR] Translation error in the French manual of fopen()
| From: | yannick@php.net | Date: | Tue, 06 Aug 2013 12:37:44 +0000 |
| Subject: | Doc #65401 [Opn->Csd]: [FR] Translation error in the French manual of fopen() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10146@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65401&edit=1
ID: 65401
Updated by: yannick@php.net
Reported by: raybaudroigm at gmail dot com
Summary: [FR] Translation error in the French manual of
fopen()
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: 5.5.1
-Assigned To:
+Assigned To: yannick
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:
------------------------------------------------------------------------
[2013-08-06 12:37:14] yannick@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=331070
Log: Fix bug #65401
------------------------------------------------------------------------
[2013-08-06 08:52:56] raybaudroigm at gmail dot com
Description:
------------
Hello,
There is an error in the French translation of the fopen() manual.
The URL of the this manual is: <http://php.net/manual/fr/function.fopen.php>
The error is in the table titled "Liste des modes possibles pour la fonction
fopen() en utilisant le paramètre mode" ("List of possible modes for fopen()
function using the mode parameter"), at the seventh line.
The documentation says:
>
'x' Crée et ouvre le fichier en *lecture seule*
> ; place le pointeur de
> fichier au début du fichier. Si le fichier existe déjà , ¶¨o�ÕÈ5fF�
> ¦ñfopen() va
> échouer, en retournant FALSE et en générant une erreur
> de niveau
> E_WARNING. Si le fichier n'existe pas,
> fopen() tente de le créer. Ce mode
> est l'équivalent des options O_EXCL|O_CREAT pour
> l'appel système open(2)
> sous-jacent.
Which means:
> 'x' Create and open for *reading only*; place the
> file pointer at the
> beginning of the file. If the file already exists, the fopen()
> call will
> fail by returning FALSE and generating an error of level
> E_WARNING. If
> the file does not exist, attempt to create it. This is equivalent to
> specifying O_EXCL|O_CREAT flags for the underlying
> open(2) system call.
While the English version says:
> 'x' Create and open for *writing only*; place the
> file pointer at the
> beginning of the file. If the file already exists, the fopen()
> call will
> fail by returning FALSE and generating an error of level
> E_WARNING. If
> the file does not exist, attempt to create it. This is equivalent to
> specifying O_EXCL|O_CREAT flags for the underlying
> open(2) system call.
This error is present in the last version of the French fopen() manual at
<http://php.net/manual/fr/function.fopen.php>.
The original version can be found at
<http://php.net/manual/en/function.fopen.php>.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65401&edit=1