From: Amos Jeffries Date: Sun, 14 Jun 2009 05:56:30 +0000 (+1200) Subject: Automate list of available translations X-Git-Tag: SQUID_3_2_0_1~951^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0adc97bc3118a950c2e88567c35a5cd5d6373ea;p=thirdparty%2Fsquid.git Automate list of available translations --- diff --git a/errors/Makefile.am b/errors/Makefile.am index 100722c150..33d16074a2 100644 --- a/errors/Makefile.am +++ b/errors/Makefile.am @@ -11,46 +11,8 @@ errordir = $(datadir)/errors DEFAULT_ERROR_DIR = $(errordir) DEFAULT_STYLESHEET = $(sysconfdir)/errorpage.css - # List of automated translations possible: -TRANSLATIONS = \ - ar \ - az \ - bg \ - ca \ - cs \ - da \ - de \ - el \ - en en-au en-gb en-nz en-us \ - es \ - et \ - fa \ - fi \ - fr \ - he \ - hu \ - hy \ - id \ - it \ - ja \ - ko \ - lt \ - lv \ - ms \ - nl \ - pl \ - pt pt-br \ - ro \ - ru \ - sk \ - sr \ - sv \ - th \ - tr \ - uk \ - uz \ - zh-cn zh-tw +TRANSLATIONS=`ls -1 $(top_srcdir)/errors/*.po | grep -o -E "[a-z\-]+\.po" | sed s/.po//` install-data-local: for l in $(TRANSLATIONS) templates; do \