Skip to content

Commit cbb46ca

Browse files
pcloudsgitster
authored andcommitted
environment.c: mark more strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a80897c commit cbb46ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

environment.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static char *expand_namespace(const char *raw_namespace)
147147
strbuf_addf(&buf, "refs/namespaces/%s", (*c)->buf);
148148
strbuf_list_free(components);
149149
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);
151151
strbuf_addch(&buf, '/');
152152
return strbuf_detach(&buf, NULL);
153153
}
@@ -329,7 +329,7 @@ char *get_graft_file(void)
329329
static void set_git_dir_1(const char *path)
330330
{
331331
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);
333333
setup_git_env(path);
334334
}
335335

0 commit comments

Comments
 (0)