Skip to content

Commit ad8f8f4

Browse files
pcloudsgitster
authored andcommitted
attr.c: mark more string for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c6e7965 commit ad8f8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

attr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ static struct match_attr *parse_attr_line(const char *line, const char *src,
372372
if (strlen(ATTRIBUTE_MACRO_PREFIX) < namelen &&
373373
starts_with(name, ATTRIBUTE_MACRO_PREFIX)) {
374374
if (!macro_ok) {
375-
fprintf(stderr, "%s not allowed: %s:%d\n",
376-
name, src, lineno);
375+
fprintf_ln(stderr, _("%s not allowed: %s:%d"),
376+
name, src, lineno);
377377
goto fail_return;
378378
}
379379
is_macro = 1;

0 commit comments

Comments
 (0)