Hi Lawrence, On 28.04.2009, at 08:06, Lawrence Pit wrote: > I'd use this even without having gettext as the backend.
heh :) > With helpers you refer to the ability to accept named arguments? Would > you add that to the _ method or would you do it ruby-gettext style by > extending String with a % method? No idea, I was just checking this out for some kind of proof of concept. > (I'd prefer _ to accept the arguments directly, saves polluting the > String object) Sure. I guess the question would be whether one wants to rebuild the exact gettext api with all of its C'ish methods (sgettext, pgettext, psgettext, ngettext, nsgettext, ...) or not. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
