* translation of nearly all exceptions

* the export of translations per module take only the files of these modules

bzr revid: chs@tinyerp.com-52cb3686b17250df7bc23bf90d18397c7888e6f2
This commit is contained in:
Christophe Simonis
2008-07-08 08:13:12 +00:00
parent f8262137d2
commit 0b1dfd702f
19 changed files with 190 additions and 153 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ if tools.config["translate_out"]:
logger.notifyChannel("init", netsvc.LOG_INFO, 'writing translation file for language %s to %s' % (tools.config["language"], tools.config["translate_out"]))
trans=tools.trans_generate(tools.config["language"], tools.config["translate_modules"])
writer=csv.writer(file(tools.config["translate_out"], "w"), 'TINY')
writer=csv.writer(file(tools.config["translate_out"], "w"), 'UNIX')
for row in trans:
writer.writerow(row)
del trans