wok view gettext-base/stuff/gettext.sh @ rev 23441

updated poptop (1.3.4 -> 1.4.0)
author Hans-G?nter Theisgen
date Thu Apr 02 13:53:28 2020 +0100 (2020-04-02)
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 }