[pacman-dev] [PATCH] makepkg-template: Add gettext support
Florian Pritz
bluewind at xinu.at
Mon May 13 15:56:23 EDT 2013
On 13.05.2013 04:24, Allan McRae wrote:
> On 13/05/13 00:56, Florian Pritz wrote:
>> This also slighty changes the word order in the description for
>> --newest.
>>
>> Signed-off-by: Florian Pritz <bluewind at xinu.at>
>> ---
>> scripts/makepkg-template.pl.in | 74 +++++++++++++++++++++++++++---------------
>> 1 file changed, 48 insertions(+), 26 deletions(-)
>
>
> This looks fairly straight-forward. You need to add this file to
> scripts/po/POTFILES.in. It would also be good if you could run "make
> update-po" and check these strings get added to the pot files.
Looks like I'd have to add "-k_" to the xgettext options for it to
recognize my _() wrapper function. By default it only looks for gettext().
Should I add that to the xgettext call for the other pacman-scripts
files or is there a (better?) way to make xgettext recognise my strings?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130513/fb63b012/attachment.asc>
More information about the pacman-dev
mailing list