Commit 1640860f9a7b84d8f57cad3382fe89c14170e072
Exists in
colab
and in
2 other branches
Merge pull request #342 from mezuro/fix_compound_metric_button_translation
Fix missing Compound Metric translation in choose_metric view
Showing
3 changed files
with
3 additions
and
0 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 | +* 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" |