Commit 4cb65b480cc4e93154b4b4d63164db87f5618a7a
Committed by
Daniel
1 parent
8b3f34df
Exists in
colab
and in
2 other branches
Fix translations of "Tree Metrics" and "Hotspot Metrics"
Fixes view to use the correct translation keys that already existed. Fixes #333. Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
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 | 11 | * Add latest configurations list to the homepage |
| 12 | 12 | * Move tutorials to mezuro.github.io |
| 13 | 13 | * Pluralize navigation menu links |
| 14 | +* Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view | |
| 14 | 15 | |
| 15 | 16 | == v0.11.3 - 01/04/2016 |
| 16 | 17 | ... | ... |
app/views/kalibro_configurations/show.html.erb
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | <%= link_to t_action(:add, MetricConfiguration), kalibro_configuration_choose_metric_path(@kalibro_configuration.id), class: 'btn btn-info' %> |
| 13 | 13 | <% end %> |
| 14 | 14 | <div id="tree_metrics"> |
| 15 | -<h2><%= t('tree_metric').pluralize %></h2> | |
| 15 | +<h2><%= t('tree_metrics') %></h2> | |
| 16 | 16 | |
| 17 | 17 | <table class="table table-hover" id="tree_metric_configurations"> |
| 18 | 18 | <thead> |
| ... | ... | @@ -36,7 +36,7 @@ |
| 36 | 36 | <hr> |
| 37 | 37 | |
| 38 | 38 | <div id="hotspot_metrics"> |
| 39 | -<h2><%= t('hotspot_metric').pluralize %></h2> | |
| 39 | +<h2><%= t('hotspot_metrics') %></h2> | |
| 40 | 40 | |
| 41 | 41 | <table class="table table-hover" id="hotspot_metric_configurations"> |
| 42 | 42 | <thead> | ... | ... |