Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
SONAR-2074 Should not call I18n API directly for metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
bellingard committed Sep 13, 2011
1 parent 5201a4e commit adcfdbd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6,7 +6,7 @@
metric=widget_properties["metric#{index}"]
if metric
metric_data_map[metric.id] = []
metric_name_map[metric.id] = message('metric.' + metric.name + '.name')
metric_name_map[metric.id] = metric.short_name
end
end
if metric_data_map.empty?
Expand Down

0 comments on commit adcfdbd

Please sign in to comment.