|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54160 [FR] French translation mistake in str_replace function
Submitted: 2011-03-04 11:47 UTC Modified: 2011-03-11 09:39 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: glb_fr at hotmail dot com Assigned: yannick (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2011-03-04 11:47 UTC] glb_fr at hotmail dot com
From manual page: de paramètres
The description of the count parameter (in the french documentation page) could 
lead to an understanding mistake.
The French documentation is:
'Si fourni, définira le nombre de remplacements à effectuer.'
It means:
'If passed, this will set the number of replacements to perform.'

To be conform to the English documentation, it should be written:
'Si fournie, cette variable contiendra le nombre de remplacements effectués.' 

You can check the French documentation of the preg_replace function to validate 
this translation


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-11 09:37 UTC]
-Summary: French translation mistake in str_replace function +Summary: [FR] French translation mistake in str_replace function
 [2011-03-11 09:39 UTC]
Automatic comment from SVN on behalf of yannick
Log: Fix bug #54160
 [2011-03-11 09:39 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: yannick
 [2011-03-11 09:40 UTC]
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.

 [2020-12-30 12:49 UTC]
Automatic comment on behalf of yannick
Log: Fix bug #54160
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jan 19 20:03:14 2022 UTC