提交 c196eff3 编写于 作者: E Egry Gabor 提交者: Linus Torvalds

[PATCH] kconfig: kxgettext: message fix

The gettext doesn't handle the {CONFIG}:00000 markers as sources.  I added a
simple comment prefix for them.
Signed-off-by: NEgry Gabor <gaboregry@t-online.hu>
Cc: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 c07e02db
......@@ -179,7 +179,11 @@ static void message__print_file_lineno(struct message *self)
{
struct file_line *fl = self->files;
printf("\n#: %s:%d", fl->file, fl->lineno);
putchar('\n');
if (self->option != NULL)
printf("# %s:00000\n", self->option);
printf("#: %s:%d", fl->file, fl->lineno);
fl = fl->next;
while (fl != NULL) {
......@@ -187,9 +191,6 @@ static void message__print_file_lineno(struct message *self)
fl = fl->next;
}
if (self->option != NULL)
printf(", %s:00000", self->option);
putchar('\n');
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册