[Solar-talk] locale strings + replacements

Rodrigo Moraes rodrigo.moraes at gmail.com
Fri Mar 16 15:13:00 PDT 2007


On 3/16/07, Paul M Jones wrote:
>
> > I think this is a valid idea; I have implemented it in getTextRaw() as
> > a shortcut and it is used *when* a replacements array is passed.
> > Otherwise the locale string is returned as it is, without additional
> > processing. This is an important point: it is only used when there are
> > replacements to be done. This is the hack:
> >
> > http://dev.tipos.org/browser/trunk/Tipos/View/Helper/GetTextRaw.php
>
> I have applied this in the new app-branch helper for GetTextRaw.
> Good idea.  :-)


Woohooo! It is very handy, indeed, I use it a lot. I updated mine this week
to use the new helpers and Locale class. Nice to know it will be part of
Solar. :D

rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.killersoft.com/pipermail/solar-talk/attachments/20070316/33830d2f/attachment.htm 


More information about the solar-talk mailing list