From 9a57cbeed860a62b1877782922aae178e25b99d9 Mon Sep 17 00:00:00 2001 From: Daniel Miranda Date: Mon, 4 May 2015 17:18:47 -0300 Subject: [PATCH] Update locales for model actions --- config/locales/en.yml | 10 ++++++++++ config/locales/pt.yml | 6 +++++- config/locales/views/kalibro_configuration/pt.yml | 6 +++++- config/locales/views/metric_configurations/pt.yml | 4 ++++ config/locales/views/reading/pt.yml | 6 +++++- 5 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 config/locales/en.yml diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..4918983 --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,10 @@ +en: + helpers: + submit: + create: "Create %{model}" + update: "Update %{model}" + submit: "Save %{model}" + new: "New %{model}" + destroy: "Destroy %{model}" + edit: "Edit %{model}" + add: "Add %{model}" \ No newline at end of file diff --git a/config/locales/pt.yml b/config/locales/pt.yml index b819c8c..4d5961e 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -135,8 +135,12 @@ pt: prompt: Por favor selecione submit: create: Criar %{model} - submit: Salvar %{model} update: Atualizar %{model} + submit: Salvar %{model} + new: Novo %{model} + destroy: Destruir %{model} + edit: Editar %{model} + add: Adicionar %{model} number: currency: format: diff --git a/config/locales/views/kalibro_configuration/pt.yml b/config/locales/views/kalibro_configuration/pt.yml index adacbb9..440209a 100644 --- a/config/locales/views/kalibro_configuration/pt.yml +++ b/config/locales/views/kalibro_configuration/pt.yml @@ -7,4 +7,8 @@ pt: attributes: kalibro_configuration: name: "Nome" - description: "Descrição" \ No newline at end of file + description: "Descrição" + helpers: + submit: + kalibro_configuration: + new: "Nova %{model}" \ No newline at end of file diff --git a/config/locales/views/metric_configurations/pt.yml b/config/locales/views/metric_configurations/pt.yml index 4055350..7404f3b 100644 --- a/config/locales/views/metric_configurations/pt.yml +++ b/config/locales/views/metric_configurations/pt.yml @@ -10,6 +10,10 @@ pt: weight: "Peso" aggregation_form: "Forma de Agregação" reading_group_id: "Grupo de Leitura" + helpers: + submit: + metric_configuration: + new: "Nova %{model}" weighted_average_metric_configurations_form: "Ele é usado para calcular a média ponderada de um" statistical_result_metric_configurations_form: "É o cálculo dos resultados estatísticos para maior" modules_eg_metric_configurations_form: "módulos (por exemplo, as linhas médias de código das classes dentro de um pacote)." diff --git a/config/locales/views/reading/pt.yml b/config/locales/views/reading/pt.yml index 90d2845..caacb2b 100644 --- a/config/locales/views/reading/pt.yml +++ b/config/locales/views/reading/pt.yml @@ -15,4 +15,8 @@ pt: label_example: "Valores de exemplo: terrível, ruim, regular, bom, ótimo etc." color: "É uma forma visual de destacar uma interpretação. Você pode escolher seu valor hexadecimal ou pela caixa de seleção." color_example: "Valores de exemplo: 000000, 00ff00 etc." - grade: "Um número para classificar esta leitura." \ No newline at end of file + grade: "Um número para classificar esta leitura." + helpers: + submit: + reading: + new: "Nova %{model}" \ No newline at end of file -- libgit2 0.21.2