diff MoinMoin/i18n/tools/wiki2po.py @ 2924:b551fc405222

use standard xx-yy for languages now (not xx_yy), fixes zh-tw issue (port from 1.6)
author Johannes Berg <johannes AT sipsolutions DOT net>
date Mon, 29 Oct 2007 10:01:12 +0100
parents 3338af3c3867
children b1e7d968330d
line wrap: on
line diff
--- a/MoinMoin/i18n/tools/wiki2po.py	Mon Oct 29 09:39:44 2007 +0100
+++ b/MoinMoin/i18n/tools/wiki2po.py	Mon Oct 29 10:01:12 2007 +0100
@@ -10,8 +10,7 @@
 
     excluded = ["en", ] # languages managed in repository, not in wiki
 
-    langfname = sys.argv[1]
-    lang = langfname.replace('_', '-') # module names use _ instead of -
+    lang = sys.argv[1]
 
     if not lang in excluded:
         wiki = xmlrpclib.ServerProxy("http://moinmaster.wikiwikiweb.de/?action=xmlrpc2")