diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-08-20 11:57:35 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-08-20 11:57:35 +0000 |
commit | 9063ac33729e55191109f7a863e46151ed408f03 (patch) | |
tree | cd655bb686d021d96e4a22f9ac98d299c2a54772 /po.mak | |
parent | b3fe2a25c1cd0f4b021795d0db7330aeb338da7c (diff) |
Fix up 'download-po' a bit, so that we find new translations for languages that aren't in our po/LINGUAS file yet too.
Original commit message from CVS:
* download-translations:
* po.mak:
Fix up 'download-po' a bit, so that we find new translations
for languages that aren't in our po/LINGUAS file yet too.
Diffstat (limited to 'po.mak')
-rw-r--r-- | po.mak | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,7 +1,4 @@ -# rule to download .po -po/%.po-download: - @LI=$(@:po/%.po-download=%) && cd po && wget -q -O $$LI.po.tmp http://translationproject.org/latest/$(PACKAGE)/$$LI.po && if ! diff $$LI.po $$LI.po.tmp > /dev/null 2>&1; then echo "$$LI.po changed, updated"; mv $$LI.po.tmp $$LI.po; else rm $$LI.po.tmp; fi - -# a rule to redownload po files +# rule to download the latest .po files download-po: - for LI in `cat po/LINGUAS`; do echo Checking $$LI.po; make po/$$LI.po-download; done + $(top_srcdir)/common/download-translations $(PACKAGE) + |