~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/i18n/tools/wiki2po.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
"""
3
3
    get latest translation page content from the wiki and write it to *.po
4
4
"""
5
 
 
6
 
master_url = "http://master19.moinmo.in/?action=xmlrpc2"
7
 
 
8
5
DOMAIN = "MoinMoin"
9
6
 
10
7
def run():
16
13
    lang = sys.argv[1]
17
14
 
18
15
    if not lang in excluded:
19
 
        wiki = xmlrpclib.ServerProxy(master_url)
 
16
        wiki = xmlrpclib.ServerProxy("http://master17.moinmo.in/?action=xmlrpc2")
20
17
 
21
18
        pagename = "MoinI18n/%s" % lang
22
19
        print pagename