summaryrefslogtreecommitdiff
path: root/bin/report/custom.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@tinyerp.com>2008-07-08 08:13:12 +0000
committerChristophe Simonis <chs@tinyerp.com>2008-07-08 08:13:12 +0000
commit0b1dfd702fd5b087f0e1be81ccf3ed77f0dcf3da (patch)
tree59dfe23edf8dd0833fc73f051bfa7edf16ff5728 /bin/report/custom.py
parentf8262137d224a9390d757c6ee3a75d52ef7c0868 (diff)
* translation of nearly all exceptions
* the export of translations per module take only the files of these modules bzr revid: chs@tinyerp.com-52cb3686b17250df7bc23bf90d18397c7888e6f2
Diffstat (limited to 'bin/report/custom.py')
-rw-r--r--bin/report/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/report/custom.py b/bin/report/custom.py
index b3cb1653d24..77fb343b47c 100644
--- a/bin/report/custom.py
+++ b/bin/report/custom.py
@@ -571,7 +571,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('The sum of the data (2nd field) is null. \nWe can draw a pie chart !')
+ raise(_('The sum of the data (2nd field) is null.\nWe can draw a pie chart !'))
plot = pie_plot.T(data=results, arc_offsets=[0,10,0,10],
shadow = (2, -2, fill_style.gray50),