[pacman-dev] [PATCH 00/11] Streamline syntax of contrib scripts
allan at archlinux.org
Thu Sep 29 11:39:03 UTC 2016
On 29/09/16 21:25, Gordian Edenhofer wrote:
> On Thu, 2016-09-29 at 20:40 +1000, Dave Reisner wrote:
>> On Sep 29, 2016 06:23, "Gordian Edenhofer" <gordian.edenhofer at gmail.c
>> Reorganize scripts in contrib to fit the syntax and style of makepkg.
>> Unify multiple different approaches to e.g. write a usage function,
>> options and differences in naming schemas for options.
>> None of your changes which add gettext support are useful in their
>> form as you do not export TEXTDOMAIN or TEXTDOMAINDIR.
> Thanks for the hint! I forgot about that.
> Btw. paclist  already defined it.
>  https://git.archlinux.org/pacman.git/tree/contrib/paclist.sh.in#n23
It only works for paclist because it uses translations already provided
by pacman. This will not work for anything else because strings from
the contrib files are not added to the pacman translation.
A new translation domain for contrib needs set-up if this is to work.
More information about the pacman-dev