-
Notifications
You must be signed in to change notification settings - Fork 355
Open
Description
Hi.
Russian is a fairly complex language, and russian rails community adopted a hack to achieve human readable complex validation messages. The thing is to drop attribute name and wrote custom validations text for required attribute with ^ at the beginning, for example:
ru:
activerecord:
errors:
models:
person:
attributes:
password:
too_long: "^Ваш пароль слишком длинный, максимум: %{count} символов"
Popular gem for handle russian locale also supports it
But this hack lead to wrong help-text form invalid input:
Will you accept pull request with fix?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
