Commit 69d53e9a2a1553482936009f6f8c410f4f4e506a

Authored by Rafael Manzo
1 parent 417777d9

Renamed locale paths for MetricResult and KalibroModule and fixed pt translation for Processing

config/locales/models/en.yml
... ... @@ -1,21 +0,0 @@
1   -en:
2   - activemodel:
3   - models:
4   - kalibro_module:
5   - one: "Module"
6   - other: "Modules"
7   - reading_group:
8   - one: "Reading Group"
9   - other: "Reading Groups"
10   - kalibro_range:
11   - one: "Range"
12   - other: "Ranges"
13   - metric_configuration:
14   - one: "Metric Configuration"
15   - other: "Metric Configurations"
16   - attributes:
17   - metric_configuration:
18   - metric: "Metric"
19   - weight: "Weight"
20   - aggregation_form: "Aggregation Form"
21   - reading_group_id: "Reading Group"
config/locales/models/pt.yml
... ... @@ -1,21 +0,0 @@
1   -pt:
2   - activemodel:
3   - models:
4   - kalibro_module:
5   - one: "Módulo"
6   - other: "Módulos"
7   - reading_group:
8   - one: "Grupo de Leitura"
9   - other: "Grupos de Leitura"
10   - kalibro_range:
11   - one: "Intervalo"
12   - other: "Intervalos"
13   - metric_configuration:
14   - one: "Configuração de Métrica"
15   - other: "Configurações de Métricas"
16   - attributes:
17   - metric_configuration:
18   - metric: "Métrica"
19   - weight: "Peso"
20   - aggregation_form: "Forma de Agregação"
21   - reading_group_id: "Grupo de Leitura"
config/locales/modules/en.yml
... ... @@ -1,19 +0,0 @@
1   -en:
2   - activemodel:
3   - models:
4   - metric_result:
5   - one: "Metric Result"
6   - other: "Metric Results"
7   - module:
8   - one: "Module"
9   - other: "Modules"
10   - attributes:
11   - metric_result:
12   - metric: "Metric"
13   - value: "Value"
14   - weight: "Weight"
15   - threshold: "Threshold"
16   - module:
17   - name: "Name"
18   - granularity: "Granularity"
19   - grade: "Grade"
config/locales/modules/pt.yml
... ... @@ -1,19 +0,0 @@
1   -pt:
2   - activemodel:
3   - models:
4   - metric_result:
5   - one: "Resultado de Métrica"
6   - other: "Resultados de Métricas"
7   - kalibro_module:
8   - one: "Módulo"
9   - other: "Módulos"
10   - attributes:
11   - metric_result:
12   - metric: "Métrica"
13   - value: "Valor"
14   - weight: "Peso"
15   - threshold: "Limiar"
16   - kalibro_module:
17   - name: "Nome"
18   - granularity: "Granularidade"
19   - grade: "Nota"
20 0 \ No newline at end of file
config/locales/views/metric_results/en.yml 0 → 100644
... ... @@ -0,0 +1,19 @@
  1 +en:
  2 + activemodel:
  3 + models:
  4 + metric_result:
  5 + one: "Metric Result"
  6 + other: "Metric Results"
  7 + module:
  8 + one: "Module"
  9 + other: "Modules"
  10 + attributes:
  11 + metric_result:
  12 + metric: "Metric"
  13 + value: "Value"
  14 + weight: "Weight"
  15 + threshold: "Threshold"
  16 + module:
  17 + name: "Name"
  18 + granularity: "Granularity"
  19 + grade: "Grade"
... ...
config/locales/views/metric_results/pt.yml 0 → 100644
... ... @@ -0,0 +1,19 @@
  1 +pt:
  2 + activemodel:
  3 + models:
  4 + metric_result:
  5 + one: "Resultado de Métrica"
  6 + other: "Resultados de Métricas"
  7 + kalibro_module:
  8 + one: "Módulo"
  9 + other: "Módulos"
  10 + attributes:
  11 + metric_result:
  12 + metric: "Métrica"
  13 + value: "Valor"
  14 + weight: "Peso"
  15 + threshold: "Limiar"
  16 + kalibro_module:
  17 + name: "Nome"
  18 + granularity: "Granularidade"
  19 + grade: "Nota"
0 20 \ No newline at end of file
... ...
config/locales/views/modules/en.yml
... ... @@ -2,3 +2,23 @@ en:
2 2 value: "Value"
3 3 threshold: "Threshold"
4 4 only_point_printed_chart: "There is only one point and it will not be printed into a chart."
  5 + activemodel:
  6 + models:
  7 + kalibro_module:
  8 + one: "Module"
  9 + other: "Modules"
  10 + reading_group:
  11 + one: "Reading Group"
  12 + other: "Reading Groups"
  13 + kalibro_range:
  14 + one: "Range"
  15 + other: "Ranges"
  16 + metric_configuration:
  17 + one: "Metric Configuration"
  18 + other: "Metric Configurations"
  19 + attributes:
  20 + metric_configuration:
  21 + metric: "Metric"
  22 + weight: "Weight"
  23 + aggregation_form: "Aggregation Form"
  24 + reading_group_id: "Reading Group"
... ...
config/locales/views/modules/pt.yml
... ... @@ -2,3 +2,23 @@ en:
2 2 value: "Valor"
3 3 threshold: "Limite"
4 4 only_point_printed_chart: "Há apenas um ponto e não vai ser impresso em um gráfico."
  5 + activemodel:
  6 + models:
  7 + kalibro_module:
  8 + one: "Módulo"
  9 + other: "Módulos"
  10 + reading_group:
  11 + one: "Grupo de Leitura"
  12 + other: "Grupos de Leitura"
  13 + kalibro_range:
  14 + one: "Intervalo"
  15 + other: "Intervalos"
  16 + metric_configuration:
  17 + one: "Configuração de Métrica"
  18 + other: "Configurações de Métricas"
  19 + attributes:
  20 + metric_configuration:
  21 + metric: "Métrica"
  22 + weight: "Peso"
  23 + aggregation_form: "Forma de Agregação"
  24 + reading_group_id: "Grupo de Leitura"
... ...
config/locales/views/processing/pt.yml
1 1 pt:
2 2 activemodel:
3 3 models:
4   - kalibro_range:
5   - one: "Intervalo"
6   - other: "Intervalos"
  4 + processing:
  5 + one: "Processamento"
  6 + other: "Processamentos"
7 7 attributes:
8   - kalibro_range:
9   - reading: "Leitura"
10   - beginning: "Início"
11   - end: "Fim"
12   - comments: "Comentários"
13   - hints:
14   - kalibro_range:
15   - reading: "A %{reading_href} associada a este %{range_href}."
16   - beginning: "Limite inferior de um Intervalo."
17   - end: "Limite superior de um Intervalo."
18   - comments: "Uma explicação do porquê você escolheu este Intervalo, com esta Leitura para esta %{metric_href}."
19   - errors:
20   - kalibro_range:
21   - no_readings: "Você deve ter Leituras associadas ao Grupo de Leitura para criar um novo intervalo."
22   - reading_group_belongs_to_another: "O Grupo de Leitura da sua Configuração de Métrica pertence a outro usuário e você não tem permissão para modificá-lo."
23 8 \ No newline at end of file
  9 + processing:
  10 + state: "Estado"
  11 + creation_date: "Data de Criação"
24 12 \ No newline at end of file
... ...