From: Nguyễn Thái Ngọc Duy Date: Sun, 03 Jun 2018 16:34:02 GMT Subject: [PATCH v2 05/23] builtin/grep.c: mark strings for translation and no full stops Message-ID: <20180603163420.13702-6-pclouds@gmail.com> In-Reply-To: <20180603163420.13702-1-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/grep.c b/builtin/grep.c index 9774920999..58f941e951 100644 --- a/builtin/grep.c +++ b/builtin/grep.c @@ -489,7 +489,7 @@ static int grep_cache(struct grep_opt *opt, struct repository *repo, } if (repo_read_index(repo) < 0) - die("index file corrupt"); + die(_("index file corrupt")); for (nr = 0; nr < repo->index->cache_nr; nr++) { const struct cache_entry *ce = repo->index->cache[nr]; -- 2.18.0.rc0.333.g22e6ee6cdf