Le 3 nov. 2014 à 15:14, Joshua Cody <joshc...@gmail.com> a écrit :
> Considering the Rails guides give an example structure of nesting view > translations under "views", it feels like using the period convenience with > the t() helper should by default look to the "views" i18n namespace, or at > least provide an ActionView setting for a view namespace. This would bring > the behavior of views more in line with that of models and keep from > polluting the global i18n namespace with view-specific translations. > > Maybe I'm totally off-base—does anyone have opinions on this? Hi Joshua, I agree with you. I always felt it was some kind of pollution too. It would be nice if t() helper used with period was using a namespace. — Nicolas Cavigneaux http://www.bounga.org http://www.cavigneaux.net -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.