diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-08-20 12:09:02 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-08-20 12:09:02 +0000 |
commit | 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177cf (patch) | |
tree | 955e591fac2a81ba9a2098dee1e03d83e60fe2bd | |
parent | 9063ac33729e55191109f7a863e46151ed408f03 (diff) |
If there are new languages, they need to be added to po/LINGUAS.RELEASE-0_10_3
Original commit message from CVS:
* download-translations:
* po.mak:
If there are new languages, they need to be added to po/LINGUAS.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | download-translations | 7 | ||||
-rw-r--r-- | po.mak | 2 |
3 files changed, 12 insertions, 3 deletions
@@ -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 <tim at centricular dot net> + + * 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 "====================================================================" @@ -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) |