environment.c: mark more 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 cbb46ca78c03ce0c06d2fba897b8e85707be8496
1 file changed +2 -2
environment.c
+2 -2
@@ -147,7 +147,7 @@ static char *expand_namespace(const char *raw_namespace)
147 strbuf_addf(&buf, "refs/namespaces/%s", (*c)->buf);
148 strbuf_list_free(components);
149 if (check_refname_format(buf.buf, 0))
150 - die("bad git namespace path \"%s\"", raw_namespace);
150 + die(_("bad git namespace path \"%s\""), raw_namespace);
151 strbuf_addch(&buf, '/');
152 return strbuf_detach(&buf, NULL);
153 }
@@ -329,7 +329,7 @@ char *get_graft_file(void)
329 static void set_git_dir_1(const char *path)
330 {
331 if (setenv(GIT_DIR_ENVIRONMENT, path, 1))
332 - die("could not set GIT_DIR to '%s'", path);
332 + die(_("could not set GIT_DIR to '%s'"), path);
333 setup_git_env(path);
334 }
335