#44452 [Opn->Csd]: French translation - problems with sprintf()
| From: | yannick@php.net | Date: | Tue, 25 Mar 2008 00:02:50 +0000 |
| Subject: | #44452 [Opn->Csd]: French translation - problems with sprintf() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-627@lists.php.net to get a copy of this message | ||
ID: 44452
Updated by: yannick@php.net
Reported By: rodolphe dot breard at etu dot univ-nantes dot fr
-Status: Open
+Status: Closed
Bug Type: Translation problem
Operating System: Any
PHP Version: Irrelevant
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:
------------------------------------------------------------------------
[2008-03-17 09:18:58] rodolphe dot breard at etu dot univ-nantes dot fr
Description:
------------
There's some mistakes with the French translation of sprintf().
Problem in example 3 :
- There is 2 unwanted \ (line 2)
Problem in example 4 :
- Same as told for example 3.
- Line 3, a quote mark isn't escape and an other is missing at the
end.
See attached code for more details.
Reproduce code:
---------------
Actual code for example 3 :
<?php
$format = 'Le %2\$s a %1\$d singes';
printf($format, $num, $location);
?>
Actual code for example 4 :
<?php
$format = 'Le %2\$s a %1\$d singes.
C'est un beau %2$s, avec %1$d singes.;
printf($format, $num, $location);
?>
Expected result:
----------------
Expected example 3 :
<?php
$format = 'Le %2$s a %1$d singes';
printf($format, $num, $location);
?>
Expected example 4 :
<?php
$format = 'Le %2$s a %1$d singes.
C\'est un beau %2$s, avec %1$d singes.';
printf($format, $num, $location);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44452&edit=1