The following commit has been merged in the master branch:
commit fe95f8c60871738c82fa264e88072d8fe24e899e
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date:   Wed Aug 20 07:14:58 2008 +0200

    synctrans: Also make the name mangling for local mirror
    
    a3fd68e78cd0c1eb1dbff6b48accaca5b2b54637 introduced the name
    mangling for DDTP lanuages, but only fixed the actually used
    cased of a remote mirror for these translations. Also handle
    translations from the local mirror correctly.

diff --git a/cron.d/120synctrans b/cron.d/120synctrans
index 07511f8..db71ae4 100755
--- a/cron.d/120synctrans
+++ b/cron.d/120synctrans
@@ -35,9 +35,10 @@ else
          test -d us/${dist}/${part}/i18n || mkdir -p us/${dist}/${part}/i18n
          for lang in $ddtplangs
          do
-           echo retrieve translated Descs $dist/$part/$lang
-            rsync -t 
${localdir}/dists/${dist}/${part}/i18n/Translation-$lang.gz \
-               us/${dist}/${part}/i18n/Translation-$lang.gz
+           locale=$(echo $lang|perl -p -e 
's/^([a-z]{2})-([a-z]{2})$/"$1_".uc($2)/e')
+           echo "retrieve translated Descs $dist/$part/$lang ($locale)"
+            rsync -t 
${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.gz \
+               us/${dist}/${part}/i18n/Translation-$locale.gz
          done
        done
     done

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to