Localisation of the error message

bzr revid: olt@tinyerp.com-20081118084129-by68mb6txj60x6c6
This commit is contained in:
Olivier Laurent 2008-11-18 09:41:29 +01:00
parent c87b2eebcb
commit 7089927d84
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ class report_custom(report_int):
colors = map(lambda x:fill_style.Plain(bgcolor=x), misc.choice_colors(len(results)))
if reduce(lambda x,y : x+y, map(lambda x : x[1],results)) == 0.0:
raise except_osv('Error', _("The sum of the data (2nd field) is null.\nWe can't draw a pie chart !"))
raise except_osv(_('Error'), _("The sum of the data (2nd field) is null.\nWe can't draw a pie chart !"))
plot = pie_plot.T(data=results, arc_offsets=[0,10,0,10],
shadow = (2, -2, fill_style.gray50),