wok-current diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gettext-base/stuff/gettext.sh	Thu May 08 14:49:56 2014 +0000
     1.3 @@ -0,0 +1,7 @@
     1.4 +#!/bin/sh
     1.5 +eval_gettext() {
     1.6 +  gettext "$1" | (export PATH $(envsubst --variables "$1"); envsubst "$1")
     1.7 +}
     1.8 +eval_ngettext() {
     1.9 +  ngettext "$1" "$2" "$3" | (export PATH $(envsubst --variables "$1 $2"); envsubst "$1 $2")
    1.10 +}