Doc #52864 [Opn->Csd]: [FR] Mistranslated sentence in Parameters section of preg_match_all

From: Date: Mon, 11 Oct 2010 19:44:31 +0000
Subject: Doc #52864 [Opn->Csd]: [FR] Mistranslated sentence in Parameters section of preg_match_all
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5190@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52864&edit=1 ID: 52864 Updated by: jpauli@php.net Reported by: cprevot at jouve dot fr Summary: [FR] Mistranslated sentence in Parameters section of preg_match_all -Status: Open +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: Irrelevant -Assigned To: +Assigned To: jpauli Block user comment: N New Comment: Fixed in online editor. Commit soon. Thanks for your report. Previous Comments: ------------------------------------------------------------------------ [2010-09-16 18:34:51] cprevot at jouve dot fr Description: ------------ In the Parameters section of preg_match_all() documentation, a sentence is mistranslated in the French version and doesn't mean anything any more. Here's a small contribution out of pity for my fellow citizens. English: Note that this changes the value of matches into an array where every element is an array consisting of the matched string at offset 0 and its string offset into subject at offset 1. Current French translation: Notez que cela modifie le format de la valeur retournée, puisque chaque élément de réponse devient un tableau contenant la sous-chaîne résultat, à l'index 0 dans la chaîne subject constant 1. Proposed translation: Notez que cela modifie le format de la valeur retournée, puisque chaque élément de réponse devient un tableau contenant la sous-chaîne résultat à l'index 0 et l'index de celle-ci dans la chaîne subject à l'index 1. Test script: --------------- http://fr.php.net/manual/fr/function.preg-match-all.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52864&edit=1

« previous php.doc.bugs (#5190) next »