From f25dfb5e8d26204e58d60a6fc209e4ae65827d83 Mon Sep 17 00:00:00 2001 From: Vasco Almeida Date: Mon, 17 Oct 2016 13:15:26 +0000 Subject: i18n: apply: mark error message for translation Update test to reflect changes. Signed-off-by: Vasco Almeida Signed-off-by: Junio C Hamano --- apply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apply.c') diff --git a/apply.c b/apply.c index 82158742dd..705cf562f0 100644 --- a/apply.c +++ b/apply.c @@ -1586,8 +1586,8 @@ static int find_header(struct apply_state *state, patch->new_name = xstrdup(patch->def_name); } if (!patch->is_delete && !patch->new_name) { - error("git diff header lacks filename information " - "(line %d)", state->linenr); + error(_("git diff header lacks filename information " + "(line %d)"), state->linenr); return -128; } patch->is_toplevel_relative = 1; -- cgit v1.2.3