bugGNU gettext - Bugs: bug #64223, Support newer PHP format strings

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #64223: Support newer PHP format strings

Submitter:  Bruno Haible <haible>
Submitted:  Fri 19 May 2023 10:36:29 PM UTC
   
 
Category:  PHP Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sun 01 Dec 2024 04:36:08 PM UTC, comment #2: 

The fix is contained in gettext 0.23.

Bruno Haible <haible>
Group administrator
Sat 21 Sep 2024 01:13:03 PM UTC, comment #1: 
Bruno Haible <haible>
Group administrator
Fri 19 May 2023 10:36:29 PM UTC, original submission:  

According to https://www.php.net/manual/en/function.sprintf.php, PHP format strings now support more format directives:

E Like the e specifier but uses uppercase letter (e.g. 1.2E+2).
F The argument is treated as a float and presented as a floating-point number (non-locale aware).
g General format.
G Like the g specifier but uses E and f.
h Like the g specifier but uses F. Available as of PHP 8.0.0.
H Like the g specifier but uses E and F. Available as of PHP 8.0.0.

GNU gettext should support them as well.

Reported by José Luis Jiménez Fernández <jjimenez@interhost.com> in https://lists.gnu.org/archive/html/bug-gettext/2023-05/msg00037.html

Bruno Haible <haible>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-12-01 haible StatusFixed Fix Released
    2024-09-21 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.14-9aa3.
    Corresponding source code