i18n: add--interactive: mark simple here-documents for translation
commit5fa832640a627d6930df2194a28e9cc4aa4ef5c9
authorVasco Almeida <vascomalmeida@sapo.pt>
Wed, 14 Dec 2016 12:54:26 +0000 (14 11:54 -0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Dec 2016 19:00:04 +0000 (14 11:00 -0800)
tree6fbbdafa52a24e1e32a49300430e27d5418f99c8
parent258e7790b3a57c3b1e8c1fdc3e2d1697b9e0b184
i18n: add--interactive: mark simple here-documents for translation

Mark messages in here-documents without interpolation for translation.

The here-document delimiter \EOF, which is the same as 'EOF', indicates
that the text is to be treated literally without interpolation of its
content.  Unfortunately xgettext is not able to extract here-documents
delimited with \EOF but it is with delimiter enclosed in single quotes.
So change \EOF to 'EOF', although in this case does not make
difference what variation of here-document to use since there is nothing
to interpolate.

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