php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50927 [FR] translation of sign specifier can make confusing
Submitted: 2010-02-03 14:46 UTC Modified: 2010-02-21 22:35 UTC
From: manuscle at yahoo dot fr Assigned:
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: manuscle at yahoo dot fr
New email:
PHP Version: OS:

 

 [2010-02-03 14:46 UTC] manuscle at yahoo dot fr
Description:
------------
The translation of sign specifier in french can make confusing



Reproduce code:
---------------
---
From manual page: function.sprintf#Liste de paramètres
---
1. Un signe optionnel qui force un nombre à être positif ou négatif (- ou +). Par défaut, seul le signe - est utilisé sur un nombre s'il est négatif. Ce spécificateur force également les nombres positifs à avoir un signe + d'attaché, et a été ajouté en PHP 4.3.0.  

Expected result:
----------------
Le signe optionnel ne force pas le nombre à être positif/négatif mais force à utiliser le signe - ou + sur un nombre. Dans cette explication, on s'attend à ce que la fonction transforme par exemple +5 en -5


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-21 22:35 UTC] svn@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=295326
Log: Fix bug #50927
 [2010-02-21 22:35 UTC] yannick@php.net
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] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=5e08e7166812bc74cc86863b92db4b7e3696f490
Log: Fix bug #50927
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 12:01:32 2024 UTC