i18n: branch: mark comment when editing branch description for translation
When one issues git branch --edit-description branch_name, a edit with that message commented out is opened. Mark that message for translation in to order to be localized. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Jun 17, 2016 at 21:54 UTC
b18237f4e354ed653ba5b7b0eacf509dd27f9dd8
1 file changed
+3
-3
builtin/branch.c
+3
-3
@@ -614,9 +614,9 @@ static int edit_branch_description(const char *branch_name)
614
if (!buf.len || buf.buf[buf.len-1] != '\n')
615
strbuf_addch(&buf, '\n');
616
strbuf_commented_addf(&buf,
617
- "Please edit the description for the branch\n"
618
- " %s\n"
619
- "Lines starting with '%c' will be stripped.\n",
617
+ _("Please edit the description for the branch\n"
618
+ " %s\n"
619
+ "Lines starting with '%c' will be stripped.\n"),
620
branch_name, comment_line_char);
621
if (write_file_gently(git_path(edit_description), "%s", buf.buf)) {
622
strbuf_release(&buf);