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

updated dialog (1.3-20160424 -> 1.3_20190211)
author Hans-G?nter Theisgen
date Tue Feb 19 16:56:17 2019 +0100 (2019-02-19)
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 }