diff MoinMoin/i18n/tools/wiki2po.py @ 3051:b1e7d968330d

i18n tools: fix small bugs (ported from 1.6)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 19 Feb 2008 23:30:04 +0100
parents b551fc405222
children cd6cfc715261
line wrap: on
line diff
--- a/MoinMoin/i18n/tools/wiki2po.py	Tue Feb 19 23:27:28 2008 +0100
+++ b/MoinMoin/i18n/tools/wiki2po.py	Tue Feb 19 23:30:04 2008 +0100
@@ -19,7 +19,7 @@
         print pagename
         pagedata = wiki.getPage(pagename).encode('utf-8').replace("\n", "\r\n")
 
-        f = open("%s.%s.po" % (langfname, DOMAIN), "w")
+        f = open("%s.%s.po" % (lang, DOMAIN), "w")
         f.write(pagedata)
         f.close()