]> git.lyx.org Git - lyx.git/blobdiff - po/Makefile.in.in
read them back...
[lyx.git] / po / Makefile.in.in
index ae985c316601523c94f002c3ad00a4da5cbbf5a2..2802a8808c54a44e153cc1a4a45bfa3bec25273e 100644 (file)
@@ -201,7 +201,7 @@ ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS)
        && ( cd $(top_srcdir); \
             grep -l "_(\".*\")" `find src -name \*.[hHC] -print` |\
             sed -e '/xforms.forms/d' | \
-            sort -f -n | uniq ) > $@-t \
+            sort | uniq ) > $@-t \
        && mv $@-t $@
 
 
@@ -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); \