package/gettext-tiny: fix gettext wrapper
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 14 Nov 2019 19:22:09 +0000 (20:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 15 Nov 2019 21:14:20 +0000 (22:14 +0100)
commitb5afd8dfd5b3b6589441c37115cfb23aa31838f6
treef13c6f0c6e1086a4b15289fb6965ba7677c4b697
parent75a257f45e1f1da2c9ba4f5c4d1598234d0961a2
package/gettext-tiny: fix gettext wrapper

When a textdomain is specified, we ignore it twice: we shift args, and
we printf ${2}, which would yield an empty printf.

Fix that by not shifting, and just printf ${2}; this is nicer.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Vadim Kochan <vadim4j@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gettext-tiny/gettext-wrapper