Commit 9a57cbeed860a62b1877782922aae178e25b99d9

Authored by Daniel
1 parent a4a40c57

Update locales for model actions

config/locales/en.yml 0 → 100644
@@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
  1 +en:
  2 + helpers:
  3 + submit:
  4 + create: "Create %{model}"
  5 + update: "Update %{model}"
  6 + submit: "Save %{model}"
  7 + new: "New %{model}"
  8 + destroy: "Destroy %{model}"
  9 + edit: "Edit %{model}"
  10 + add: "Add %{model}"
0 \ No newline at end of file 11 \ No newline at end of file
config/locales/pt.yml
@@ -135,8 +135,12 @@ pt: @@ -135,8 +135,12 @@ pt:
135 prompt: Por favor selecione 135 prompt: Por favor selecione
136 submit: 136 submit:
137 create: Criar %{model} 137 create: Criar %{model}
138 - submit: Salvar %{model}  
139 update: Atualizar %{model} 138 update: Atualizar %{model}
  139 + submit: Salvar %{model}
  140 + new: Novo %{model}
  141 + destroy: Destruir %{model}
  142 + edit: Editar %{model}
  143 + add: Adicionar %{model}
140 number: 144 number:
141 currency: 145 currency:
142 format: 146 format:
config/locales/views/kalibro_configuration/pt.yml
@@ -7,4 +7,8 @@ pt: @@ -7,4 +7,8 @@ pt:
7 attributes: 7 attributes:
8 kalibro_configuration: 8 kalibro_configuration:
9 name: "Nome" 9 name: "Nome"
10 - description: "Descrição"  
11 \ No newline at end of file 10 \ No newline at end of file
  11 + description: "Descrição"
  12 + helpers:
  13 + submit:
  14 + kalibro_configuration:
  15 + new: "Nova %{model}"
12 \ No newline at end of file 16 \ No newline at end of file
config/locales/views/metric_configurations/pt.yml
@@ -10,6 +10,10 @@ pt: @@ -10,6 +10,10 @@ pt:
10 weight: "Peso" 10 weight: "Peso"
11 aggregation_form: "Forma de Agregação" 11 aggregation_form: "Forma de Agregação"
12 reading_group_id: "Grupo de Leitura" 12 reading_group_id: "Grupo de Leitura"
  13 + helpers:
  14 + submit:
  15 + metric_configuration:
  16 + new: "Nova %{model}"
13 weighted_average_metric_configurations_form: "Ele é usado para calcular a média ponderada de um" 17 weighted_average_metric_configurations_form: "Ele é usado para calcular a média ponderada de um"
14 statistical_result_metric_configurations_form: "É o cálculo dos resultados estatísticos para maior" 18 statistical_result_metric_configurations_form: "É o cálculo dos resultados estatísticos para maior"
15 modules_eg_metric_configurations_form: "módulos (por exemplo, as linhas médias de código das classes dentro de um pacote)." 19 modules_eg_metric_configurations_form: "módulos (por exemplo, as linhas médias de código das classes dentro de um pacote)."
config/locales/views/reading/pt.yml
@@ -15,4 +15,8 @@ pt: @@ -15,4 +15,8 @@ pt:
15 label_example: "Valores de exemplo: terrível, ruim, regular, bom, ótimo etc." 15 label_example: "Valores de exemplo: terrível, ruim, regular, bom, ótimo etc."
16 color: "É uma forma visual de destacar uma interpretação. Você pode escolher seu valor hexadecimal ou pela caixa de seleção." 16 color: "É uma forma visual de destacar uma interpretação. Você pode escolher seu valor hexadecimal ou pela caixa de seleção."
17 color_example: "Valores de exemplo: 000000, 00ff00 etc." 17 color_example: "Valores de exemplo: 000000, 00ff00 etc."
18 - grade: "Um número para classificar esta leitura."  
19 \ No newline at end of file 18 \ No newline at end of file
  19 + grade: "Um número para classificar esta leitura."
  20 + helpers:
  21 + submit:
  22 + reading:
  23 + new: "Nova %{model}"
20 \ No newline at end of file 24 \ No newline at end of file