aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb
index 614d6b21824..024f82c56df 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/metric.rb
@@ -76,7 +76,7 @@ class Metric < ActiveRecord::Base
return localeMap[locale] if not localeMap.nil? and localeMap.has_key?(locale)
- i18n_key = 'domain.' + to_translate
+ i18n_key = 'metric_domain.' + to_translate
result = Api::Utils.message(i18n_key, :default => to_translate)
localeMap[locale] = result if localeMap
result