Some poking around in hobofields points to this line in enum_string.rb:

I18n.t("#{name.tableize}.#{value}", :default => value)

Which then gets used by the default EnumString input tag in Rapid.

You'll also need to set the name of the class:

ProvTerr.set_name('ProvTerr')

(this should probably be handled better, maybe by defaulting the name method to 
return self.class.name perhaps?)

--Matt Jones

On Sep 21, 2010, at 11:14 AM, tjg wrote:

> Tom or Owen,
> 
> Any chance you could comment on whether enum translations are in the
> translation chain in Hobo? I'm not familiar enough with Hobo, yet, to
> be rooting around in dark places.
> 
> Thanks,
> Tim
> 
> -- 
> 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.
> 

-- 
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