I have the following in my en.yml
en:
hello: "Hello world"
activerecord:
errors:
models:
et:
not_enough: "Not enough points for this transaction"
when I call I18n.t :not_enough in my custom validation method in model
Et, I get a translation missing error. I have restarted the app, no
luck. I can translate ''hello'' just fine.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.