builtin/grep.c: mark strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Jul 21, 2018 at 09:49 UTC
5507067dbdf4ff2ff289302f803137d30c973d95
1 file changed
+1
-1
builtin/grep.c
+1
-1
@@ -489,7 +489,7 @@ static int grep_cache(struct grep_opt *opt, struct repository *repo,
489
}
490
491
if (repo_read_index(repo) < 0)
492
- die("index file corrupt");
492
+ die(_("index file corrupt"));
493
494
for (nr = 0; nr < repo->index->cache_nr; nr++) {
495
const struct cache_entry *ce = repo->index->cache[nr];