Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 4064e66

Browse files
avargitster
authored andcommitted
git-commit: remove lego in i18n messages
Change the "Please enter the commit message for your changes." and the subsequent blurb of text not to be split up. This makes translating it much easier. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b0cea47 commit 4064e66

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

builtin/commit.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -798,16 +798,15 @@ static int prepare_to_commit(const char *index_file, const char *prefix,
798798
: "CHERRY_PICK_HEAD"));
799799

800800
fprintf(s->fp, "\n");
801-
status_printf(s, GIT_COLOR_NORMAL,
802-
_("Please enter the commit message for your changes."));
803801
if (cleanup_mode == CLEANUP_ALL)
804-
status_printf_more(s, GIT_COLOR_NORMAL,
805-
_(" Lines starting\n"
806-
"with '#' will be ignored, and an empty"
802+
status_printf(s, GIT_COLOR_NORMAL,
803+
_("Please enter the commit message for your changes."
804+
" Lines starting\nwith '#' will be ignored, and an empty"
807805
" message aborts the commit.\n"));
808806
else /* CLEANUP_SPACE, that is. */
809-
status_printf_more(s, GIT_COLOR_NORMAL,
810-
_(" Lines starting\n"
807+
status_printf(s, GIT_COLOR_NORMAL,
808+
_("Please enter the commit message for your changes."
809+
" Lines starting\n"
811810
"with '#' will be kept; you may remove them"
812811
" yourself if you want to.\n"
813812
"An empty message aborts the commit.\n"));

0 commit comments

Comments
 (0)