Commit 303c56b0aeea141a9d6ecd6178af92eee5e3d62e

Authored by Daniel
Committed by Rafael Reggiani Manzo
1 parent b51c937e
Exists in colab and in 2 other branches master, stable

Fix missing Compound Metric translation in choose_metric view

Fixes #336.

Signed-off-by: Otávio Vasques <otavio@deluqui.com.br>
Signed-off-by: Rafael Reggiani Manzo <rr.manzo@protonmail.com>
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 +* Add missing translation for CompoundMetric
14 * Make Compound Metric Config. metric list not include Hotspot metrics 15 * Make Compound Metric Config. metric list not include Hotspot metrics
15 * Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view 16 * Fix 'Tree Metrics' and 'Hotspot Metrics' PT translations in Configuration show view
16 17
config/locales/views/metric_configurations/en.yml
@@ -39,6 +39,7 @@ en: @@ -39,6 +39,7 @@ en:
39 choose_metric: "Choose a metric from a Base Tool:" 39 choose_metric: "Choose a metric from a Base Tool:"
40 invalid_metric_or_collector: "Invalid combination of metric collector, name/code and type" 40 invalid_metric_or_collector: "Invalid combination of metric collector, name/code and type"
41 invalid_model: "Invalid %{model}" 41 invalid_model: "Invalid %{model}"
  42 + compound_metric: "Compound Metric"
42 scopes: 43 scopes:
43 FUNCTION: "Function" 44 FUNCTION: "Function"
44 METHOD: "Method" 45 METHOD: "Method"
config/locales/views/metric_configurations/pt.yml
@@ -43,6 +43,7 @@ pt: @@ -43,6 +43,7 @@ pt:
43 choose_metric: "Escolha uma métrica de um Coletor:" 43 choose_metric: "Escolha uma métrica de um Coletor:"
44 invalid_metric_or_collector: "Combinação inválida de coletor de métricas, nome/código e tipo" 44 invalid_metric_or_collector: "Combinação inválida de coletor de métricas, nome/código e tipo"
45 invalid_model: "%{model} inválido" 45 invalid_model: "%{model} inválido"
  46 + compound_metric: "Métrica Composta"
46 scopes: 47 scopes:
47 FUNCTION: "Função" 48 FUNCTION: "Função"
48 METHOD: "Método" 49 METHOD: "Método"