Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
c6e7965
)
diff --git
a/attr.c
b/attr.c
index 60d284796de728f59b839865eb035e1289a1a060..3770bc1a11ea1a95b35d3d51e3a146d6debfa2d8 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;