bugGNU gettext - Bugs: bug #48421, Wrong documentation of Perl format...

 
 

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

bug #48421: Wrong documentation of Perl format strings

Submitter:  Guido Flohr <gflohr>
Submitted:  Wed 06 Jul 2016 09:17:56 AM UTC
   
 
Category:  Perl Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  gflohr
Open/Closed:  Closed

Sat 26 Nov 2016 07:49:10 PM UTC, comment #1: 

Fixed with commit b68f85f8633ae2316cfd1997e15dd4d4381d8402

Guido Flohr <gflohr>
Group Member
Wed 06 Jul 2016 09:17:56 AM UTC, original submission:  

In gettext-tools/doc/gettext.texi:

__expand("[new] replaces [old]", old => $oldvalue, new => $newvalue)

should read:

__x("{new} replaces {old}", old => $oldvalue, new => $newvalue)

That are two changes: The function is __x() not __expand(), and the interpolation uses {curly} braces, not [square] brackets.

Guido Flohr <gflohr>
Group Member

 

(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 (Updated the item)
  • -email is unavailable- added by gflohr (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone Perl
    2016-11-26 gflohr Open/ClosedOpen Closed
    2016-11-26 gflohr StatusNone Fixed
    2016-11-07 gflohr Assigned toNone gflohr

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code