Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
environment.c: mark more strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 21 Jul 2018 07:49:31 +0000
(09:49 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Jul 2018 18:19:10 +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>
environment.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a80897c
)
diff --git
a/environment.c
b/environment.c
index 2a6de2330bc024d19ab0c1d8cc594f146ca6da11..d129c4adc5800b27de31a1f00addcf8f609122c1 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-147,7
+147,7
@@
static char *expand_namespace(const char *raw_namespace)
strbuf_addf(&buf, "refs/namespaces/%s", (*c)->buf);
strbuf_list_free(components);
if (check_refname_format(buf.buf, 0))
strbuf_addf(&buf, "refs/namespaces/%s", (*c)->buf);
strbuf_list_free(components);
if (check_refname_format(buf.buf, 0))
- die(
"bad git namespace path \"%s\""
, raw_namespace);
+ die(
_("bad git namespace path \"%s\"")
, raw_namespace);
strbuf_addch(&buf, '/');
return strbuf_detach(&buf, NULL);
}
strbuf_addch(&buf, '/');
return strbuf_detach(&buf, NULL);
}
@@
-329,7
+329,7
@@
char *get_graft_file(void)
static void set_git_dir_1(const char *path)
{
if (setenv(GIT_DIR_ENVIRONMENT, path, 1))
static void set_git_dir_1(const char *path)
{
if (setenv(GIT_DIR_ENVIRONMENT, path, 1))
- die(
"could not set GIT_DIR to '%s'"
, path);
+ die(
_("could not set GIT_DIR to '%s'")
, path);
setup_git_env(path);
}
setup_git_env(path);
}