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>
This commit is contained in:
parent
c6e7965ddf
commit
ad8f8f4aed
4
attr.c
4
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 &&
|
if (strlen(ATTRIBUTE_MACRO_PREFIX) < namelen &&
|
||||||
starts_with(name, ATTRIBUTE_MACRO_PREFIX)) {
|
starts_with(name, ATTRIBUTE_MACRO_PREFIX)) {
|
||||||
if (!macro_ok) {
|
if (!macro_ok) {
|
||||||
fprintf(stderr, "%s not allowed: %s:%d\n",
|
fprintf_ln(stderr, _("%s not allowed: %s:%d"),
|
||||||
name, src, lineno);
|
name, src, lineno);
|
||||||
goto fail_return;
|
goto fail_return;
|
||||||
}
|
}
|
||||||
is_macro = 1;
|
is_macro = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user