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

Up: wine, wine-rt (1.7.16). Fix: wine needs prelink at build-time
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 20:56:22 2014 +0000 (2014-04-05)
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 }