[pacman-dev] Localization issues (Attention Developers)

Allan McRae allan at archlinux.org
Fri Nov 25 17:34:43 EST 2011


On 26/11/11 06:48, Slobodan Terzić wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 25.11.2011. 21:20, Slobodan Terzić wrote:
>
>> (to be honest, I haven't tried it yet, as I found out about it
>> just recently, but if it does work, that would be awesome)
>
>
> So, now I had to test it. :)
>
>
> #, c-format
> msgid "%s is owned by %s %s\n"
> msgstr "%2$s %3$s sadrži %1$s\n"
>
>
> Adn the result is:
>
> $ pacman -Qo /usr/bin/pacman
> pacman 4.0.1-1 sadrži /usr/bin/pacman
>
>
> (back in english it's "pacman 4.0.1-1 owns /usr/bin/pacman")
>
> So it does work, and it is awesome. :)
>

That only works for libalpm/pacman (written in C),  not for 
makepkg/pacman-key etc (written in bash...)

Allan


More information about the pacman-dev mailing list