wok-next view gettext/stuff/gettext.sh @ rev 21543

updated ccid (1.4.30 -> 1.4.32)
author Hans-G?nter Theisgen
date Sun Jun 21 17:20:25 2020 +0100 (2020-06-21)
parents c40da21aa3a1
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 }