From 0cb16585561829dc1b7c9ddba9f6ae867169ae22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 7 Jun 2015 17:24:47 +0200 Subject: [PATCH] [FIX] mis_builder: translatable comparison column header --- mis_builder/models/mis_builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mis_builder/models/mis_builder.py b/mis_builder/models/mis_builder.py index 2d771a66..015bb0ae 100644 --- a/mis_builder/models/mis_builder.py +++ b/mis_builder/models/mis_builder.py @@ -692,9 +692,9 @@ class MisReportInstance(models.Model): kpi_values_by_period_ids.get(compare_col.id) if compare_kpi_values: # add the comparison column header - # TODO: make 'vs' translatable header[0]['cols'].append( - dict(name='%s vs %s' % (period.name, compare_col.name), + dict(name=_('%s vs %s') % (period.name, + compare_col.name), date='')) # add comparison values for kpi in self.report_id.kpi_ids: