wok-current view gettext-base/stuff/gettext.sh @ rev 18697

Fix pilot-link(-dev) packaging
author Lucas Levrel <llevrel@yahoo.fr>
date Mon Dec 14 09:55:05 2015 +0100 (2015-12-14)
parents
children
line source
1 #!/bin/sh
2 eval_gettext() {
3 gettext "$1" | (export PATH $(envsubst --variables "$1"); envsubst "$1")
4 }
5 eval_ngettext() {
6 ngettext "$1" "$2" "$3" | (export PATH $(envsubst --variables "$1 $2"); envsubst "$1 $2")
7 }