My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e7965
)
attr.c: mark more string for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 10 Nov 2018 05:16:03 +0000
(06:16 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 12 Nov 2018 05:47:09 +0000
(14:47 +0900)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c
patch
|
blob
|
history
diff --git
a/attr.c
b/attr.c
index
60d2847
..
3770bc1
100644
(file)
--- 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;