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

gejengel, linphone, zoneminder: no more ffmpeg-svn
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 08 14:49:56 2014 +0000 (2014-05-08)
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 }