Dear Angus,

your patch failed for "OptItem"s. I have fixed it and I can confirm now that it works as expected: "make de.pox" creates a file with 15 messages from default.ui commented out.

Thanks for your suggestion. Please apply the patch.

Michael
Index: lyx-devel-1.3.Xcvs/po/Makefile.in.in
===================================================================
RCS file: /cvs/lyx/lyx-devel/po/Makefile.in.in,v
retrieving revision 1.27
diff -u -r1.27 Makefile.in.in
--- lyx-devel-1.3.Xcvs/po/Makefile.in.in        2003/01/12 21:48:10     1.27
+++ lyx-devel-1.3.Xcvs/po/Makefile.in.in        2003/01/26 21:44:19
@@ -274,14 +274,14 @@
 
 $(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/ { \
+            /^[        ]*(Opt)?Item/ { \
                line=$$0; \
                 sub(/[^"]*"/, "", line); \
                 sub(/".*/, "", line); \


Reply via email to