[测试环境]: ubuntu server 10.04
[Python Version] : 2.5.2
[OpenERP-Client Version] : 6.0.3
administration->translations->Load an Official Translation
加载官方的中文的翻译
administration->translations->import/export->export translation
我想把中文翻译导出为PO文件进行修改,弹出错误提示:
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/bin/addons/base/module/wizard/base_export_language.py", line 50, in act_getfile
tools.trans_export(this.lang, mods, buf, this.format, cr)
File "/opt/openerp/server/bin/tools/translate.py", line 469, in trans_export
_process(format, modules, trans, buffer, lang, newlang)
File "/opt/openerp/server/bin/tools/translate.py", line 434, in _process
writer.write(row['modules'], row['tnrs'], src, row['translation'])
File "/opt/openerp/server/bin/tools/translate.py", line 406, in write
% (quote(source), quote(trad))
File "/opt/openerp/server/bin/tools/translate.py", line 233, in quote
assert r"\n" not in s, "Translation terms may not include escaped newlines ('\n'), please use only literal newlines! (in '%s')" % s
AssertionError: <unprintable AssertionError object>
W
wqfly16
@wqfly16
-
导出官方的中文翻译为PO文件时出错