i18n: send-email: mark composing message for translation
When composing an e-mail, there is a message for the user whose lines begin in "GIT:" that can be marked for translation. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Dec 14, 2016 at 11:54 UTC
70aedfb3ecef6660962d84cbd1455704cd9be5b8
1 file changed
+9
-7
git-send-email.perl
+9
-7
@@ -672,18 +672,20 @@ if ($compose) {
672
my $tpl_subject = $initial_subject || '';
673
my $tpl_reply_to = $initial_reply_to || '';
674
675
- print $c <<EOT;
675
+ print $c <<EOT1, Git::prefix_lines("GIT: ", __ <<EOT2), <<EOT3;
676
From $tpl_sender # This line is ignored.
677
-GIT: Lines beginning in "GIT:" will be removed.
678
-GIT: Consider including an overall diffstat or table of contents
679
-GIT: for the patch you are writing.
680
-GIT:
681
-GIT: Clear the body content if you don't wish to send a summary.
677
+EOT1
678
+Lines beginning in "GIT:" will be removed.
679
+Consider including an overall diffstat or table of contents
680
+for the patch you are writing.
681
+
682
+Clear the body content if you don't wish to send a summary.
683
+EOT2
684
From: $tpl_sender
685
Subject: $tpl_subject
686
In-Reply-To: $tpl_reply_to
687
686
-EOT
688
+EOT3
689
for my $f (@files) {
690
print $c get_patch_subject($f);
691
}