rails-i18n
rails-i18n copied to clipboard
en locale errors.template.header wrongly reported as having broken data
thor locales:test en
wrongly reports that the key errors.template.header has broken data.
The data for the keys:
- looks fine
- is en.yml so should be the reference version and not broken
- is the same as in en-GB which if tested does not report the keys as having broken data
header:
one: 1 error prohibited this %{model} from being saved
other: "%{count} errors prohibited this %{model} from being saved"
If %{model} is deleted from the two lines the keys are not reported as being broken
I am not sure this key is still in rails. I can't seem to find it via grep
It still exists (somewhat): https://github.com/rails/rails/blob/791f109d97a38f8b9fe8a8c3d6d0a7acd70f1edb/railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb.tt#L4
Fixed in #1087.