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 <[EMAIL PROTECTED]>

---

 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to