Merge branch 'bc/submodule-foreach-stdin-fix-1.7.4' into maint
[git/mingw.git] / git-sh-i18n.sh
blob32ca59de82b6a26879128650bf40882f4ed16aa0
1 #!/bin/sh
3 # Copyright (c) 2010 Ævar Arnfjörð Bjarmason
5 # This is a skeleton no-op implementation of gettext for Git. It'll be
6 # replaced by something that uses gettext.sh in a future patch series.
8 if test -z "$GIT_GETTEXT_POISON"
9 then
10 gettext () {
11 printf "%s" "$1"
14 eval_gettext () {
15 printf "%s" "$1" | (
16 export PATH $(git sh-i18n--envsubst --variables "$1");
17 git sh-i18n--envsubst "$1"
20 else
21 gettext () {
22 printf "%s" "# GETTEXT POISON #"
25 eval_gettext () {
26 printf "%s" "# GETTEXT POISON #"