$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in l10n_pots
$(XGETTEXT) --join-existing --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--escape --add-comments --keyword=_ --keyword=N_ \
- --files-from=$(srcdir)/POTFILES.in \
+ --keyword=qt_ --files-from=$(srcdir)/POTFILES.in \
&& test ! -f $(PACKAGE).po \
|| ( rm -f $(srcdir)/$(PACKAGE).pot \
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
grep -l "_(\".*\")" `find src -name \*.[hHC] -print` |\
sed -e '/xforms.forms/d' | \
sort -f -n | uniq ) > $@-t \
- && echo "src/ext_l10n.h" >> $@-t \
&& mv $@-t $@
l10n_pots: xforms_l10n.pot qt_l10n.pot layouts_l10n.pot languages_l10n.pot default_ui_l10n.pot
cat xforms_l10n.pot qt_l10n.pot layouts_l10n.pot languages_l10n.pot default_ui_l10n.pot | \
- msguniq -o $(PACKAGE).po lyxtmp.pot
+ msguniq -o $(PACKAGE).po
xforms_l10n.pot: $(top_srcdir)/src/frontends/xforms/forms/*.fd
awk ' \
default_ui_l10n.pot: $(top_srcdir)/lib/ui/default.ui
awk ' \
- /SubMenu/ { \
+ /Submenu/ { \
line=$$0; \
sub(/[^"]*"/, "", line); \
sub(/".*/, "", line); \