i18n: Rewrite gettext messages start with dash
commit465d6a00e9bae9786d2b12cfda4fd80d937cad9b
authorJiang Xin <worldhello.net@gmail.com>
Wed, 25 Jul 2012 14:53:09 +0000 (25 22:53 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jul 2012 05:33:37 +0000 (26 22:33 -0700)
tree44739ba0d3680d5179d4d1535cdfa86ff8830c8a
parentc7108bf9ed72403bdf6274bf46263731590bffcf
i18n: Rewrite gettext messages start with dash

Gettext message in a shell script should not start with '-', one
workaround is adding '--' between gettext and the message, like:

    gettext -- "--exec option ..."

But due to a bug in the xgettext extraction, xgettext can not
extract the actual message for this case. Rewriting the message
is a simpler and better solution.

Reported-by: Vincent van Ravesteijn <vfr@lyx.org>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase.sh
git-submodule.sh
t/t3404-rebase-interactive.sh