i18n: submodule: escape shell variables inside eval_gettext
commitc87302bfe4ca0a861004eaa5e67f011446afea74
authorVasco Almeida <vascomalmeida@sapo.pt>
Fri, 17 Jun 2016 21:54:13 +0000 (17 21:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Jun 2016 22:46:10 +0000 (17 15:46 -0700)
tree206a9ddf73bb7541f7d6dba406564e09e6a571de
parent0d71dbfd507305f47660bed912a5e52cbf8afc16
i18n: submodule: escape shell variables inside eval_gettext

According to the gettext manual [1], references to shell variables inside
eval_gettext call must be escaped so that eval_gettext receives the
translatable string before the variable values are substituted into it.

[1] http://www.gnu.org/software/gettext/manual/html_node/Preparing-Shell-Scripts.html

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh