[PATCH 09/25] gettextize: git-format-patch --cover-letter message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make the "SUBJECT HERE" and "BLURB HERE" output in git-format-patch
translatable. This is going to be edited by a human anyway.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
---
 builtin/log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builtin/log.c b/builtin/log.c
index 460353b..6a4a8f7 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -826,7 +826,7 @@ static void make_cover_letter(struct rev_info *rev, int use_stdout,
 {
 	const char *committer;
 	const char *subject_start = NULL;
-	const char *body = "*** SUBJECT HERE ***\n\n*** BLURB HERE ***\n";
+	const char *body = _("*** SUBJECT HERE ***\n\n*** BLURB HERE ***\n");
 	const char *msg;
 	const char *extra_headers = rev->extra_headers;
 	struct shortlog log;
-- 
1.7.2.2.614.g1dc9

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]