Commit 401f59d1805c7bcc5cb8aff996e3a797262bdd7e
1 parent
c0263c49
Exists in
colab
and in
2 other branches
Fix missing Scope description in Compound Metric creation
Signed-off-by: Eduardo Silva Araújo <duduktamg@hotmail.com>
Showing
3 changed files
with
3 additions
and
1 deletions
Show diff stats
app/views/compound_metric_configurations/_metric_options.html.erb
... | ... | @@ -43,7 +43,7 @@ |
43 | 43 | </div> |
44 | 44 | <div class="help-container"> |
45 | 45 | <p> |
46 | - <%= t('measured_metric_html', :href => link_to(t('granularity'), tutorials_path('keywords', anchor: "granularity")), :href2 => link_to(t('modules'), tutorials_path( 'keywords', anchor: 'module' ))) %> | |
46 | + <%= t_hint(:scope) %> | |
47 | 47 | </p> |
48 | 48 | </div> |
49 | 49 | </div> | ... | ... |
config/locales/views/compound_metric_configuration/en.yml
... | ... | @@ -21,3 +21,4 @@ en: |
21 | 21 | description: "A variable that holds the value of a metric calculation. It can be used in the script of another compound metric." |
22 | 22 | example: "Example: Code foo := 10" |
23 | 23 | weight: "It is used to calculate the weighted average of a" |
24 | + scope: "Represents the granularity level of the code fragment being measured." | ... | ... |
config/locales/views/compound_metric_configuration/pt.yml
... | ... | @@ -21,3 +21,4 @@ pt: |
21 | 21 | description: "Uma variável que contém o valor do cálculo da métrica. Ela pode ser usada no script de outra métrica composa." |
22 | 22 | example: "Examplo: Código foo := 10" |
23 | 23 | weight: "ele é usado para o cálculo de uma média ponderada de um" |
24 | + scope: "Representa o nível de granularidade do fragmento de código que está sendo medido." | ... | ... |