Okay - sorted it out. I was still using an older definition of <login-
page> calling "ht" instead of "t".

My short-term memory failed me on this one.

Sorry to have troubled you!
Tim


On Mar 3, 1:12 am, Tim Griffin <[email protected]> wrote:
> Hi again, Domizio;
>
> I'm working with Hobo 1.3pre28, so I presume I have pulled in your fix
> of Feb 19 (aae682e5c71759757067efb1d5e18d836f657db7).
>
> But, I'm still encountering the same problem when referencing
> hobo.login.title (which is defined in my hobo.en.yml file):
>
> wrong model name: "hobo" (extracted from translation key:
> "hobo.login.title"). You might want to use the translate/t tag/method
> instead.
>
> I am over-riding my login-page as follows:
>
> <def tag='login-page'
>   <simple-page title="#{ht 'hobo.login.title', :default=>['Log in'] }"
> merge>
>   ...
>   ...
> </def>
>
> My hobo.en.yml file is unchanged from the default:
>
> hobo:
>     login:
>       title: "Login"
>       ...
>       ...
>
> Any ideas?
> Tim
>
> On Feb 19, 7:05 pm, Domizio Demichelis <[email protected]> wrote:
>
> > ooops! That's true! It is not overriding it anymore :-).
>
> > This one should fix the fix :-)
>
> > aae682e5c71759757067efb1d5e18d836f657db7
>
> > ciao
> > dd
>
> > On Sat, Feb 19, 2011 at 4:24 PM, Tomoaki Hayasaka <
>
> > [email protected]> wrote:
> > > It's a bug in 1.3pre27.  <t> is broken by the commit "fix to use helper.t
> > > in console":
>
> > >https://hobo.lighthouseapp.com/projects/8324/changesets/3c6267abbb96e...
>
> > > In 1.3pre27 <t> always invokes
> > > ActionView::Helpers::TranslationHelper::translate
> > > which doesn't take care of :key, returning default string.
>
> > > -----
> > > Tomoaki Hayasaka <[email protected]>
>
> > > --
> > > 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