Browse Source

[FIX] mis_builder: translatable comparison column header

pull/90/head
Stéphane Bidoul 10 years ago
parent
commit
df2d2f7e65
  1. 4
      mis_builder/models/mis_builder.py

4
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:

Loading…
Cancel
Save