diff MoinMoin/i18n/tools/wiki2po.py @ 1291:277695e8e6f5

updated i18n, cosmetic changes to i18n tools
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 15 Aug 2006 22:59:12 +0200
parents 324a20dad828
children 3338af3c3867
line wrap: on
line diff
--- a/MoinMoin/i18n/tools/wiki2po.py	Tue Aug 15 18:20:39 2006 +0200
+++ b/MoinMoin/i18n/tools/wiki2po.py	Tue Aug 15 22:59:12 2006 +0200
@@ -8,7 +8,7 @@
     import sys, xmlrpclib
     sys.path.insert(0, '../../..')
 
-    excluded = ["en",] # languages managed in repository, not in wiki
+    excluded = ["en", ] # languages managed in repository, not in wiki
 
     langfname = sys.argv[1]
     lang = langfname.replace('_', '-') # module names use _ instead of -
@@ -18,7 +18,7 @@
 
         pagename = "MoinI18n/%s" % lang
         print pagename
-        pagedata = wiki.getPage(pagename).encode('utf-8').replace("\n","\r\n")
+        pagedata = wiki.getPage(pagename).encode('utf-8').replace("\n", "\r\n")
 
         f = open("%s.%s.po" % (langfname, DOMAIN), "w")
         f.write(pagedata)