[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #48421] Wrong documentation of Perl format strings
From: |
Guido Flohr |
Subject: |
[bug-gettext] [bug #48421] Wrong documentation of Perl format strings |
Date: |
Wed, 6 Jul 2016 09:17:59 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-gettext] [bug #48421] Wrong documentation of Perl format strings,
Guido Flohr <=