The ht tag is used when there is a possible 'model' involved in the interpolation, while for anything else the t is used, since the ht would not add any benefit.
ciao dd On Sat, Feb 19, 2011 at 5:06 PM, Tim Griffin <[email protected]> wrote: > Many thanks, Tomoaki. I just wanted to be sure I was expecting the > "normal" result. > > Do you know why the core <login-page> tag is using the <t> tag and not > the <ht> tag in cases like this? > > T > > On Feb 19, 2: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.
