Localisation of the error message
bzr revid: olt@tinyerp.com-20081118084129-by68mb6txj60x6c6
This commit is contained in:
parent
c87b2eebcb
commit
7089927d84
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue