Commit ca803bae6f0da2e44043ffc194bba40b80012e60
Exists in
colab
and in
2 other branches
Merge pull request #344 from mezuro/fix_configurations_show_metric_labels
Fix translations of "Tree Metrics" and "Hotspot Metrics"
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
CHANGELOG.rdoc
@@ -11,6 +11,7 @@ Prezento is the web interface for Mezuro. | @@ -11,6 +11,7 @@ Prezento is the web interface for Mezuro. | ||
11 | * Add latest configurations list to the homepage | 11 | * Add latest configurations list to the homepage |
12 | * Move tutorials to mezuro.github.io | 12 | * Move tutorials to mezuro.github.io |
13 | * Pluralize navigation menu links | 13 | * Pluralize navigation menu links |
14 | +* Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view | ||
14 | 15 | ||
15 | == v0.11.3 - 01/04/2016 | 16 | == v0.11.3 - 01/04/2016 |
16 | 17 |
app/views/kalibro_configurations/show.html.erb
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <%= link_to t_action(:add, MetricConfiguration), kalibro_configuration_choose_metric_path(@kalibro_configuration.id), class: 'btn btn-info' %> | 12 | <%= link_to t_action(:add, MetricConfiguration), kalibro_configuration_choose_metric_path(@kalibro_configuration.id), class: 'btn btn-info' %> |
13 | <% end %> | 13 | <% end %> |
14 | <div id="tree_metrics"> | 14 | <div id="tree_metrics"> |
15 | -<h2><%= t('tree_metric').pluralize %></h2> | 15 | +<h2><%= t('tree_metrics') %></h2> |
16 | 16 | ||
17 | <table class="table table-hover" id="tree_metric_configurations"> | 17 | <table class="table table-hover" id="tree_metric_configurations"> |
18 | <thead> | 18 | <thead> |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | <hr> | 36 | <hr> |
37 | 37 | ||
38 | <div id="hotspot_metrics"> | 38 | <div id="hotspot_metrics"> |
39 | -<h2><%= t('hotspot_metric').pluralize %></h2> | 39 | +<h2><%= t('hotspot_metrics') %></h2> |
40 | 40 | ||
41 | <table class="table table-hover" id="hotspot_metric_configurations"> | 41 | <table class="table table-hover" id="hotspot_metric_configurations"> |
42 | <thead> | 42 | <thead> |