Original commit message from CVS:
* download-translations:
* po.mak:
If there are new languages, they need to be added to po/LINGUAS.
* 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.
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
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 "===================================================================="
# rule to download the latest .po files
-download-po:
+download-po: $(top_srcdir)/common/download-translations
$(top_srcdir)/common/download-translations $(PACKAGE)