wok-6.x annotate gettext-base/stuff/gettext.sh @ rev 21586

updated nspr and nspr-dev (4.10.8 -> 4.21)
author Hans-G?nter Theisgen
date Mon May 20 13:58:55 2019 +0100 (2019-05-20)
parents
children
rev   line source
al@14903 1 #!/bin/sh
al@14903 2 eval_gettext() {
al@14903 3 gettext "$1" | (export PATH $(envsubst --variables "$1"); envsubst "$1")
al@14903 4 }
al@14903 5 eval_ngettext() {
al@14903 6 ngettext "$1" "$2" "$3" | (export PATH $(envsubst --variables "$1 $2"); envsubst "$1 $2")
al@14903 7 }