Doc #65401 [NEW]: Translation error in the French manual of fopen()
| From: | raybaudroigm at gmail dot com | Date: | Tue, 06 Aug 2013 08:52:56 +0000 |
| Subject: | Doc #65401 [NEW]: Translation error in the French manual of fopen() | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10143@lists.php.net to get a copy of this message | ||
From: raybaudroigm at gmail dot com
Operating system:
PHP version: 5.5.1
Package: Translation problem
Bug Type: Documentation Problem
Bug description:Translation error in the French manual of fopen()
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à ,
> 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 bug report at https://bugs.php.net/bug.php?id=65401&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65401&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65401&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65401&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65401&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65401&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65401&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65401&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65401&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65401&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65401&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65401&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65401&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65401&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65401&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65401&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65401&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65401&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65401&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65401&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65401&r=mysqlcfg