#44452 [NEW]: French translation - problems with sprintf()
| From: | rodolphe dot breard at etu dot univ-nantes dot fr | Date: | Mon, 17 Mar 2008 09:18:58 +0000 |
| Subject: | #44452 [NEW]: French translation - problems with sprintf() | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-605@lists.php.net to get a copy of this message | ||
From: rodolphe dot breard at etu dot univ-nantes dot fr
Operating system: Any
PHP version: Irrelevant
PHP Bug Type: Translation problem
Bug description: French translation - problems with sprintf()
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 bug report at http://bugs.php.net/?id=44452&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44452&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44452&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44452&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44452&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44452&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44452&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44452&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44452&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44452&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44452&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44452&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44452&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44452&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44452&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44452&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44452&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44452&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44452&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44452&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44452&r=mysqlcfg