Ignore commented out entries in default.ui.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5991 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-01-27 12:30:25 +00:00
parent 446cd663c5
commit 869c355da7
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,11 @@
* de.po: update
2003-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
* Makefile.in.in: Ignore items and submenus
for pot file generation if they are commented out
2003-01-26 Alfredo Braunstein <abraunst@libero.it>
* es.po: update

View File

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