URL:
<http://savannah.gnu.org/bugs/?48421>
Summary: Wrong documentation of Perl format strings
Project: GNU gettext
Submitted by: gflohr
Submitted on: Wed 06 Jul 2016 09:17:56 AM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48421>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/