[pacman-dev] [PATCH] makepkg-template: Add gettext support
allan at archlinux.org
Mon May 13 20:36:39 EDT 2013
On 14/05/13 05:56, Florian Pritz wrote:
> 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
>>> 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?
Does it affect anything else?
More information about the pacman-dev