wok annotate gettext-base/stuff/gettext.sh @ rev 25539
Up perl-test-compile (3.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 12:11:13 2023 +0000 (22 months ago) |
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 } |