From 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 20 Aug 2007 12:09:02 +0000 Subject: [PATCH] If there are new languages, they need to be added to po/LINGUAS. Original commit message from CVS: * download-translations: * po.mak: If there are new languages, they need to be added to po/LINGUAS. --- ChangeLog | 6 ++++++ download-translations | 7 +++++-- po.mak | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0aaa448..0413da7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ * download-translations: * po.mak: + If there are new languages, they need to be added to po/LINGUAS. + +2007-08-20 Tim-Philipp Müller + + * 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. diff --git a/download-translations b/download-translations index c78b620..7272378 100755 --- a/download-translations +++ b/download-translations @@ -61,7 +61,7 @@ do PACKAGE_PO_URL_BASE="http://translationproject.org/latest/$PACKAGE" PO_URL="$PACKAGE_PO_URL_BASE/$d.po" PO_FILENAME="$PACKAGE.$d.po" - if ! wget -q -O $PO_FILENAME $PO_URL 2>/dev/null >/dev/null; then + if ! wget -q -nc -O $PO_FILENAME $PO_URL 2>/dev/null >/dev/null; then rm -f $PO_FILENAME echo "$d.po: failure (does probably not exist)" else @@ -104,7 +104,10 @@ if [ -n "$DOMAINS_UPDATED" ]; then echo echo " $CMD_STRING" echo - echo "now." + echo "now and add the following domains to the po/LINGUAS file:" + echo + echo " $DOMAINS_TO_ADD" + echo echo fi echo "====================================================================" diff --git a/po.mak b/po.mak index ab4ece4..e019fac 100644 --- a/po.mak +++ b/po.mak @@ -1,4 +1,4 @@ # rule to download the latest .po files -download-po: +download-po: $(top_srcdir)/common/download-translations $(top_srcdir)/common/download-translations $(PACKAGE) -- 2.7.4