Commit 9a57cbeed860a62b1877782922aae178e25b99d9

Authored by Daniel
1 parent a4a40c57

Update locales for model actions

config/locales/en.yml 0 → 100644
... ... @@ -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 11 \ No newline at end of file
... ...
config/locales/pt.yml
... ... @@ -135,8 +135,12 @@ pt:
135 135 prompt: Por favor selecione
136 136 submit:
137 137 create: Criar %{model}
138   - submit: Salvar %{model}
139 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 144 number:
141 145 currency:
142 146 format:
... ...
config/locales/views/kalibro_configuration/pt.yml
... ... @@ -7,4 +7,8 @@ pt:
7 7 attributes:
8 8 kalibro_configuration:
9 9 name: "Nome"
10   - description: "Descrição"
11 10 \ No newline at end of file
  11 + description: "Descrição"
  12 + helpers:
  13 + submit:
  14 + kalibro_configuration:
  15 + new: "Nova %{model}"
12 16 \ No newline at end of file
... ...
config/locales/views/metric_configurations/pt.yml
... ... @@ -10,6 +10,10 @@ pt:
10 10 weight: "Peso"
11 11 aggregation_form: "Forma de Agregação"
12 12 reading_group_id: "Grupo de Leitura"
  13 + helpers:
  14 + submit:
  15 + metric_configuration:
  16 + new: "Nova %{model}"
13 17 weighted_average_metric_configurations_form: "Ele é usado para calcular a média ponderada de um"
14 18 statistical_result_metric_configurations_form: "É o cálculo dos resultados estatísticos para maior"
15 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 15 label_example: "Valores de exemplo: terrível, ruim, regular, bom, ótimo etc."
16 16 color: "É uma forma visual de destacar uma interpretação. Você pode escolher seu valor hexadecimal ou pela caixa de seleção."
17 17 color_example: "Valores de exemplo: 000000, 00ff00 etc."
18   - grade: "Um número para classificar esta leitura."
19 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 24 \ No newline at end of file
... ...