From: Nguyễn Thái Ngọc Duy Date: Wed, 18 Jul 2018 16:10:43 GMT Subject: [PATCH v2 05/23] builtin/grep.c: mark strings for translation Message-ID: <20180718161101.19765-6-pclouds@gmail.com> In-Reply-To: <20180718161101.19765-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.rc2.476.g39500d3211