Messages in this thread Patch in this message | | | Subject | [PATCH 1/3] kconfig: kxgettext: message fix | From | Egry Gábor <> | Date | Sun, 10 Jul 2005 21:56:50 +0200 |
| |
Hi,
The gettext doesn't handle the {CONFIG}:00000 markers as sources. I added a simple comment prefix for them.
Signed-off-by: Egry Gabor <gaboregry@t-online.hu>
---
kxgettext.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
diff -Nru linux-2.6.13-rc2/scripts/kconfig/kxgettext.c linux-2.6.13-rc2-i18n-kconfig/scripts/kconfig/kxgettext.c --- linux-2.6.13-rc2/scripts/kconfig/kxgettext.c 2005-07-09 12:16:04.000000000 +0200 +++ linux-2.6.13-rc2-i18n-kconfig/scripts/kconfig/kxgettext.c 2005-07-09 13:43:01.000000000 +0200 @@ -179,7 +179,11 @@ { 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 @@ fl = fl->next; } - if (self->option != NULL) - printf(", %s:00000", self->option); - putchar('\n'); }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |