prefix = @prefix@
exec_prefix = @exec_prefix@
+datarootdir = @datarootdir@
datadir = @datadir@
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/po
sort | uniq ) > $@-t \
&& mv $@-t $@
-l10n_pots: qt_l10n.pot layouts_l10n.pot languages_l10n.pot ui_l10n.pot
+l10n_pots: qt4_l10n.pot layouts_l10n.pot languages_l10n.pot ui_l10n.pot
cat $^ | \
msguniq -o $(DOMAIN).po && rm -f $^
-qt_l10n.pot: $(top_srcdir)/src/frontends/qt3/ui/*.ui
+
+qt4_l10n.pot: $(top_srcdir)/src/frontends/qt4/ui/*.ui
LC_ALL=C ; export LC_ALL ; \
$(AWK) -v top_srcdir="$(top_srcdir)" ' \
function fixupfilename() \
} \
previousline=$$0; \
}' \
- ${top_srcdir}/src/frontends/qt3/ui/*.ui > $@
+ ${top_srcdir}/src/frontends/qt4/ui/*.ui > $@
layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*.inc
LC_ALL=C ; export LC_ALL ; \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
} \
- /^[^#]*Toolbar/ { \
+ /^[^#]*Toolbar[^s]/ { \
line=$$0; \
- sub(/[^"]*"/, "", line); \
+ sub(/[^"]*"[^"]*"[^"]"*/, "", line); \
sub(/".*/, "", line); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \