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); \