From 869c355da78a37e93560238289c0fa54e32025ce Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 27 Jan 2003 12:30:25 +0000 Subject: [PATCH] Ignore commented out entries in default.ui. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5991 a592a061-630c-0410-9148-cb99ea01b6c8 --- po/ChangeLog | 5 +++++ po/Makefile.in.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/po/ChangeLog b/po/ChangeLog index 6d61454026..72d655197d 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -2,6 +2,11 @@ * de.po: update +2003-01-27 Lars Gullik Bjønnes + + * Makefile.in.in: Ignore items and submenus + for pot file generation if they are commented out + 2003-01-26 Alfredo Braunstein * es.po: update diff --git a/po/Makefile.in.in b/po/Makefile.in.in index ae985c3166..4b056c4904 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -274,14 +274,14 @@ $(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages $(srcdir)/default_ui_l10n.pot: $(top_srcdir)/lib/ui/default.ui awk ' \ - /Submenu/ { \ + /^[^#]*Submenu/ { \ line=$$0; \ sub(/[^"]*"/, "", line); \ sub(/".*/, "", line); \ printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \ FILENAME, FNR, line); \ } \ - /Item/ { \ + /^[^#]*Item/ { \ line=$$0; \ sub(/[^"]*"/, "", line); \ sub(/".*/, "", line); \