fix file order in lyx.pot

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8185 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-12-02 15:23:37 +00:00
parent 5ea277209f
commit ab49553ba3
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-28 Michael Schmitt <michael.schmitt@teststep.org>
* Makefile.in.in: always create pot files with LC_ALL="C"
2003-11-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* Makefile.in.in (xforms_l10n.pot): skip entries in symbol font

View File

@ -197,11 +197,12 @@ Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
$(SHELL) ./config.status
${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS)
LC_ALL=C ; export LC_ALL ; \
rm -f $@-t \
&& ( cd $(top_srcdir); \
grep -l "_(\".*\")" `find src -name \*.[hHC] -print` |\
sed -e '/xforms.forms/d' | \
LC_COLLATE=C sort | uniq ) > $@-t \
sort | uniq ) > $@-t \
&& mv $@-t $@
@ -211,6 +212,7 @@ l10n_pots: $(srcdir)/xforms_l10n.pot $(srcdir)/qt_l10n.pot $(srcdir)/layouts_l10
$(srcdir)/xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd
cd ${srcdir} ; \
LC_ALL=C ; export LC_ALL ; \
awk ' \
BEGIN { \
print "#, fuzzy"; \
@ -236,6 +238,7 @@ $(srcdir)/xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd
$(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
cd ${srcdir} ; \
LC_ALL=C ; export LC_ALL ; \
awk ' \
/<string>/ { \
line=$$0; \
@ -253,6 +256,7 @@ $(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
$(srcdir)/layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*.inc
cd ${srcdir} ; \
LC_ALL=C ; export LC_ALL ; \
awk ' \
/^Style / { \
line=$$0; \
@ -285,6 +289,7 @@ $(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages
$(srcdir)/ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui
cd ${srcdir} ; \
LC_ALL=C ; export LC_ALL ; \
awk ' \
/^[^#]*Submenu/ { \
line=$$0; \