Ronny,
actually that haven't been modified, they are still in
"<table_name>.states.<state>" as they were.

Anyway we should move that in the activerecord namespace...

"activerecord.attributes.<model>.state" is used for the regular naming of
the 'state' field, so what about
"activerecord.attributes.<model>.states.<state>"?

It looks too similar to the attribute name, so what about
"activerecord.attributes.<model>.state_labels.<state>"?

Which one?

ciao
dd


On Wed, Jan 19, 2011 at 6:14 PM, Ronny Hanssen <[email protected]>wrote:

> Where is the keys for translating the states and transitions supposed to
> go?
>
> As far as I recall, the old solution used the app.<model>.states and
> app.<model>.transitions namespace. These have probably moved since all
> models translations are now based off the activerecord key (to match rails
> i18n).
>
> I though I could just add them to the activerecord.attributes section, or
> to the activerecord.attribute_help section, but that didn't work. I also
> tried activerecord.states and activerecord.transitions, but none of them
> worked.
>
>
> ~Ronny
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to