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

pulseaudio: add some config_files
author Richard Dunbar <mojo@slitaz.org>
date Thu Mar 28 17:43:17 2019 -0400 (2019-03-28)
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 }