fix generation of pot files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8131 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-11-24 18:01:48 +00:00
parent c01bf4fae4
commit a1b23b2f07
25 changed files with 126696 additions and 139531 deletions

View File

@ -210,6 +210,7 @@ l10n_pots: $(srcdir)/xforms_l10n.pot $(srcdir)/qt_l10n.pot $(srcdir)/layouts_l10
msguniq -o $(PACKAGE).po
$(srcdir)/xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd
cd ${srcdir} ; \
awk ' \
BEGIN { \
print "#, fuzzy"; \
@ -231,9 +232,10 @@ $(srcdir)/xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd
}\
skip=0; \
}' \
`find $(top_srcdir)/src/frontends/xforms/forms -name \*.fd` > $@
../src/frontends/xforms/forms/*.fd > xforms_l10n.pot
$(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
cd ${srcdir} ; \
awk ' \
/<string>/ { \
line=$$0; \
@ -247,9 +249,10 @@ $(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n",\
FILENAME, FNR, line); \
}' \
`find $(top_srcdir)/src/frontends/qt2/ui -name \*.ui` > $@
../src/frontends/qt2/ui/*.ui > qt_l10n.pot
$(srcdir)/layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*.inc
cd ${srcdir} ; \
awk ' \
/^Style / { \
line=$$0; \
@ -263,9 +266,10 @@ $(srcdir)/layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
FILENAME, FNR, line); \
} \
' `find $(top_srcdir)/lib/layouts -regex ".*\.\(layout\|inc\)"` > $@
' ../lib/layouts/*.layout ../lib/layouts/*.inc > layouts_l10n.pot
$(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages
cd ${srcdir} ; \
awk ' \
/^#/ { \
next; \
@ -277,9 +281,10 @@ $(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
FILENAME, FNR, lang); \
} \
' $(top_srcdir)/lib/languages > $@
' ../lib/languages > languages_l10n.pot
$(srcdir)/ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui
cd ${srcdir} ; \
awk ' \
/^[^#]*Submenu/ { \
line=$$0; \
@ -302,7 +307,7 @@ $(srcdir)/ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
FILENAME, FNR, line); \
} \
' $(top_srcdir)/lib/ui/*.ui > $@
' ../lib/ui/*.ui > ui_l10n.pot
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

10723
po/bg.po

File diff suppressed because it is too large Load Diff

11377
po/ca.po

File diff suppressed because it is too large Load Diff

11373
po/cs.po

File diff suppressed because it is too large Load Diff

9987
po/da.po

File diff suppressed because it is too large Load Diff

10437
po/de.po

File diff suppressed because it is too large Load Diff

10565
po/es.po

File diff suppressed because it is too large Load Diff

10887
po/eu.po

File diff suppressed because it is too large Load Diff

10501
po/fi.po

File diff suppressed because it is too large Load Diff

10049
po/fr.po

File diff suppressed because it is too large Load Diff

11135
po/he.po

File diff suppressed because it is too large Load Diff

10805
po/hu.po

File diff suppressed because it is too large Load Diff

11369
po/it.po

File diff suppressed because it is too large Load Diff

10917
po/nl.po

File diff suppressed because it is too large Load Diff

12285
po/nn.po

File diff suppressed because it is too large Load Diff

10487
po/no.po

File diff suppressed because it is too large Load Diff

10503
po/pl.po

File diff suppressed because it is too large Load Diff

12737
po/pt.po

File diff suppressed because it is too large Load Diff

12679
po/ro.po

File diff suppressed because it is too large Load Diff

10503
po/ru.po

File diff suppressed because it is too large Load Diff

10521
po/sk.po

File diff suppressed because it is too large Load Diff

12671
po/sl.po

File diff suppressed because it is too large Load Diff

10925
po/sv.po

File diff suppressed because it is too large Load Diff

11375
po/tr.po

File diff suppressed because it is too large Load Diff

11401
po/wa.po

File diff suppressed because it is too large Load Diff