[Git][noosfero/noosfero][master] 3 commits: fix validation gender mislead

Leandro Nunes gitlab at mg.gitlab.com
Fri May 12 10:35:37 BRT 2017


Leandro Nunes pushed to branch master at Noosfero / noosfero


Commits:
0a5b940d by Leonardo Soares at 2017-05-12T10:09:51-03:00
fix validation gender mislead

- - - - -
9773703c by Leonardo Soares at 2017-05-12T10:12:24-03:00
Merge branch 'master' of https://gitlab.com/noosfero/noosfero into fix-too-short-validation-message-gender

- - - - -
6ce8562e by Leandro Nunes at 2017-05-12T13:35:25+00:00
Merge branch 'fix-too-short-validation-message-gender' into 'master'

Fix "too_short" validation message, gender

See merge request !1209
- - - - -


1 changed file:

- config/locales/pt-BR.yml


Changes:

=====================================
config/locales/pt-BR.yml
=====================================
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -203,8 +203,8 @@
       accepted: "deve ser aceito"
       empty: "não pode ficar vazio"
       blank: "não pode ficar em branco"
-      too_long: "é muito longo (máximo: %{count} caracteres)"
-      too_short: "é muito curto (mínimo: %{count} caracteres)"
+      too_long: "está com valor muito longo (máximo: %{count} caracteres)"
+      too_short: "está com valor muito curto (mínimo: %{count} caracteres)"
       wrong_length: "não possui o tamanho esperado (%{count} caracteres)"
       not_a_number: "não é um número"
       not_an_integer: "não é um número inteiro"
@@ -225,6 +225,9 @@
       body: "Por favor, verifique o(s) seguinte(s) campo(s):"
 
   activerecord:
+    attributes:
+      user:
+        password: "senha"
     errors:
       messages:
         <<: *errors_messages



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/a05ada49e2ded0e7d19b79cb78430c90b5bd2cc6...6ce8562eecdb367b4f8df8df89a1958e1ee46d26

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/a05ada49e2ded0e7d19b79cb78430c90b5bd2cc6...6ce8562eecdb367b4f8df8df89a1958e1ee46d26
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170512/88a6db5a/attachment-0001.html>


More information about the Noosfero-dev mailing list