[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Otavio Salvador otavio at alioth.debian.org
Fri Jul 27 01:46:44 UTC 2007


 bootstrap |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit f364563fc4d13020d3997ae053e89dd7207562d0
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Thu Jul 26 22:46:31 2007 -0300

    Fix bootstrap script to support the new translationproject html files

diff --git a/bootstrap b/bootstrap
index f3b7da8..90758dd 100755
--- a/bootstrap
+++ b/bootstrap
@@ -67,8 +67,8 @@ gnulib_files=
 
 # Translation Project URL, for the registry of all projects
 # and for the translation-team master directory.
-TP_URL='http://www.iro.umontreal.ca/translation/registry.cgi?domain='
-TP_PO_URL='http://www.iro.umontreal.ca/translation/teams/PO/'
+TP_URL='http://translationproject.org/domain/'
+TP_PO_URL='http://translationproject.org/PO-files'
 
 extract_package_name='
   /^AC_INIT(/{
@@ -211,9 +211,9 @@ get_translations() {
     echo "$0: getting translations into $subdir for $domain..." &&
 
     (cd $subdir && rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'`) &&
-    $WGET_COMMAND -O "$subdir/$domain.html" "$TP_URL$domain" &&
+    $WGET_COMMAND -O "$subdir/$domain.html" "$TP_URL$domain.html" &&
 
-    sed -n 's|.*"http://[^"]*/translation/teams/PO/\([^/"]*\)/'"$domain"'-\([^/"]*\)\.[^."]*\.po".*|\1.\2|p' <"$subdir/$domain.html" |
+    sed -n 's|.*"../PO-files/\([^/"]*\)/'"$domain"'-\([^/"]*\)\.[^."]*\.po".*|\1.\2|p' <"$subdir/$domain.html" |
     sort -k 1,1 -k 2,2n -k2,2 -k3,3n -k3,3 -k4,4n -k4,4 -k5,5n -k5.5 |
     awk -F. '
       { if (lang && $1 != lang) print lang, ver }



More information about the Parted-commits mailing list