Re: Are there any way to have a POT with out download all the code?



On Tue, 21 Sep 2004 09:02:26 +0200
danilo gnome org (Danilo __egan) wrote:

> Today at 2:44, Daniel Espinosa Ortiz wrote:
> 
> > In the page you sed, there no way to download a POT file, but PO
> > file from a specific language.
> 
> Actually, there is. Just go to the language which doesn't have
> almost any translations (try eg. 
> http://l10n-status.gnome.org/gnome-2.8/top.html, and choosing one
> from the bottom), and links will now point to POT files.  Also, in
> the directory on the web server where PO files are, you can also
> find all the POT files.
> 

I typically use a script like this. You could do some extra to get
POTS for only HEAD or a branch.

-----------
#!/bin/bash

# change gnome-2.8 to gnome-2.6 for gnome 2.6
BASE=http://l10n-status.gnome.org/gnome-2.8/PO
rm -f index.html potlist polist
wget -c $BASE/

# cut field no may change
cat index.html | cut -f 6 -d\" | grep pot > potlist
cat index.html | cut -f 6 -d\" | grep "hi.po" > polist
for i in `cat potlist` ; do
        echo $i
        wget -c -q $BASE/$i
done

for i in `cat polist` ; do
        echo "getting $i"
        wget -c -q $BASE/$i
done
-------------

Regards,
Karunakar

-- 
They can, because they think they can - Anon

--------------------------------------------
* Blog: http://blogs.randomink.org/blog/10 *
* Work: http://www.indlinux.org            *
--------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]