From: Amos Jeffries Date: Sat, 7 Mar 2009 15:48:21 +0000 (+1300) Subject: Fix typo on dist of translated files. Add missing .po tasks X-Git-Tag: SQUID_3_2_0_1~1135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=994f15ba1a52457a5f7af1b25eb032e44a9bbd49;p=thirdparty%2Fsquid.git Fix typo on dist of translated files. Add missing .po tasks --- diff --git a/errors/Makefile.am b/errors/Makefile.am index f8ecbf00ea..5181b2a6e3 100644 --- a/errors/Makefile.am +++ b/errors/Makefile.am @@ -25,6 +25,7 @@ TRANSLATIONS = \ en en-au en-gb en-nz en-us \ es \ et \ + fa \ fi \ fr \ hy \ @@ -40,6 +41,7 @@ TRANSLATIONS = \ sv \ tr \ uk \ + uz \ zh-cn # Legacy language contributions... @@ -151,11 +153,11 @@ translate: fi; \ if test "$(PO2HTML)" != "" && test "$(PO2HTML)" != "no" && test "$(PO2HTML)" != "off" && test -f $(top_srcdir)/errors/en.po; then \ for lang in $(TRANSLATIONS); do \ - test -d $(top_builddir)/$$lang && $(RM) -r $(top_builddir)/$$lang; \ - mkdir $(top_builddir)/$$lang; \ + test -d $(top_builddir)/errors/$$lang && $(RM) -r $(top_builddir)/errors/$$lang; \ + mkdir $(top_builddir)/errors/$$lang || exit 1; \ echo -n "Translate '$$lang' ..."; \ for f in `ls -1 $(top_srcdir)/errors/templates`; do \ - $(PO2HTML) --progress=none -i $(top_srcdir)/errors/$$lang.po -t $(top_srcdir)/errors/templates/$$f >$(top_builddir)/$$lang/$$f || exit 1; \ + $(PO2HTML) --progress=none -i $(top_srcdir)/errors/$$lang.po -t $(top_srcdir)/errors/templates/$$f >$(top_builddir)/errors/$$lang/$$f || exit 1; \ done; \ echo "done."; \ done; \