From 0c99171ad2f79430eb81214d3f1d8ced3d3621e3 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Mon, 26 Sep 2016 08:00:14 -0400 Subject: get_short_sha1: mark ambiguity error for translation This is a human-readable message, and there's no reason it should not be translated. While we're at it, let's drop the period from the end, which is not our usual style. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano diff --git a/sha1_name.c b/sha1_name.c index bbfa1a0..acea241 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -346,7 +346,7 @@ static int get_short_sha1(const char *name, int len, unsigned char *sha1, status = finish_object_disambiguation(&ds, sha1); if (!quietly && (status == SHORT_NAME_AMBIGUOUS)) - return error("short SHA1 %s is ambiguous.", ds.hex_pfx); + return error(_("short SHA1 %s is ambiguous"), ds.hex_pfx); return status; } -- cgit v0.10.2-6-g49f6