builtin/grep.c: mark strings for translation
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 21 Jul 2018 07:49:23 +0000 (09:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jul 2018 18:19:09 +0000 (11:19 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c
index 9774920999f9905def980e35834fce1de239e33e..58f941e951949ab9a3d7c2cc34e9072da550d314 100644 (file)
@@ -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];