summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 05:16:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-12 05:47:09 (GMT)
commitad8f8f4aedc736b7ddbf802dd253f8682f4f5a3e (patch)
treebe6ad3ed4f4c69edbd64d5f4640e457b9a83d1e1 /attr.c
parentc6e7965ddf950d764942ddc3c327103731354303 (diff)
downloadgit-ad8f8f4aedc736b7ddbf802dd253f8682f4f5a3e.zip
git-ad8f8f4aedc736b7ddbf802dd253f8682f4f5a3e.tar.gz
git-ad8f8f4aedc736b7ddbf802dd253f8682f4f5a3e.tar.bz2
attr.c: mark more string for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
-rw-r--r--attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/attr.c b/attr.c
index 60d2847..3770bc1 100644
--- a/attr.c
+++ b/attr.c
@@ -372,8 +372,8 @@ static struct match_attr *parse_attr_line(const char *line, const char *src,
if (strlen(ATTRIBUTE_MACRO_PREFIX) < namelen &&
starts_with(name, ATTRIBUTE_MACRO_PREFIX)) {
if (!macro_ok) {
- fprintf(stderr, "%s not allowed: %s:%d\n",
- name, src, lineno);
+ fprintf_ln(stderr, _("%s not allowed: %s:%d"),
+ name, src, lineno);
goto fail_return;
}
is_macro = 1;