Skip to content

Commit

Permalink
Update pt-BR locale
Browse files Browse the repository at this point in the history
  • Loading branch information
jlduran committed Dec 28, 2015
1 parent 53e9e85 commit 1a51482
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Available locales are:
Complete locales are:

> en-US, es, es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-MX, es-PA, es-PE,
> es-US, es-VE, ja
> es-US, es-VE, ja, pt-BR
Currently, most locales are incomplete. Typically they lack the following keys:

Expand Down
16 changes: 12 additions & 4 deletions rails/locale/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,27 @@ pt-BR:
invalid: não é válido
less_than: deve ser menor que %{count}
less_than_or_equal_to: deve ser menor ou igual a %{count}
model_invalid: 'A validação falhou: %{errors}'
not_a_number: não é um número
not_an_integer: não é um número inteiro
odd: deve ser ímpar
required: deve existir
taken: já está em uso
too_long: 'é muito longo (máximo: %{count} caracteres)'
too_short: 'é muito curto (mínimo: %{count} caracteres)'
wrong_length: não possui o tamanho esperado (%{count} caracteres)
too_long:
one: 'é muito longo (máximo: 1 caracter)'
other: 'é muito longo (máximo: %{count} caracteres)'
too_short:
one: 'é muito curto (mínimo: 1 caracter)'
other: 'é muito curto (mínimo: %{count} caracteres)'
wrong_length:
one: não possui o tamanho esperado (1 caracter)
other: não possui o tamanho esperado (%{count} caracteres)
other_than: deve ser diferente de %{count}
template:
body: 'Por favor, verifique o(s) seguinte(s) campo(s):'
header:
one: 'Não foi possível gravar %{model}: 1 erro'
other: 'Não foi possível gravar %{model}: %{count} erros.'
other: 'Não foi possível gravar %{model}: %{count} erros'
helpers:
select:
prompt: Por favor selecione
Expand Down

0 comments on commit 1a51482

Please sign in to comment.