wok-next view gettext-base/stuff/gettext.sh @ rev 15328

Add cifs-utils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 10:12:30 2013 +0000 (2013-09-28)
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 }