summaryrefslogtreecommitdiff
path: root/extra/config/kxgettext.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-05 11:43:44 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-05 11:43:44 +0000
commitb7a51199bdd351992670e6466d36202c8e70d89a (patch)
treeb9fda86acebfcd59f190b2063e3e7c292c176cb6 /extra/config/kxgettext.c
parent3afa0348159254528ec5c21829d250899cd76b76 (diff)
- pull kconfig from 2.6.25.4
It has nicer "-*-" etc hints
Diffstat (limited to 'extra/config/kxgettext.c')
-rw-r--r--extra/config/kxgettext.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/config/kxgettext.c b/extra/config/kxgettext.c
index abee55ca6..6eb72a7f2 100644
--- a/extra/config/kxgettext.c
+++ b/extra/config/kxgettext.c
@@ -170,8 +170,8 @@ void menu_build_message_list(struct menu *menu)
menu->file == NULL ? "Root Menu" : menu->file->name,
menu->lineno);
- if (menu->sym != NULL && menu->sym->help != NULL)
- message__add(menu->sym->help, menu->sym->name,
+ if (menu->sym != NULL && menu_has_help(menu))
+ message__add(menu_get_help(menu), menu->sym->name,
menu->file == NULL ? "Root Menu" : menu->file->name,
menu->lineno);
@@ -212,7 +212,9 @@ void menu__xgettext(void)
struct message *m = message__list;
while (m != NULL) {
- message__print_gettext_msgid_msgstr(m);
+ /* skip empty lines ("") */
+ if (strlen(m->msg) > sizeof("\"\""))
+ message__print_gettext_msgid_msgstr(m);
m = m->next;
}
}