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

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

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

Fixed with commit b68f85f8633ae2316cfd1997e15dd4d4381d8402

Guido Flohr <gflohr>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.5