If there are new languages, they need to be added to po/LINGUAS. RELEASE-0_10_3
authorTim-Philipp Müller <tim@centricular.net>
Mon, 20 Aug 2007 12:09:02 +0000 (12:09 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 20 Aug 2007 12:09:02 +0000 (12:09 +0000)
Original commit message from CVS:
* download-translations:
* po.mak:
If there are new languages, they need to be added to po/LINGUAS.

ChangeLog
download-translations
po.mak

index 0aaa448..0413da7 100644 (file)
--- 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  <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.
 
index c78b620..7272378 100755 (executable)
@@ -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 (file)
--- 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)