* [PATCH 1/3] kconfig: kxgettext: message fix
@ 2005-07-10 19:56 Egry Gábor
0 siblings, 0 replies; only message in thread
From: Egry Gábor @ 2005-07-10 19:56 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel Mailing List, Arnaldo Carvalho de Melo
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');
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-10 19:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-10 19:56 [PATCH 1/3] kconfig: kxgettext: message fix Egry Gábor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®