Ticket #672

View: New views
3 Messages — Rating Filter:   Alert me  

Ticket #672

by Tim Almdal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I couldn't find any reference in the php doc for the $translate callback, do you have a link so I at least know what I'm talking about, if I'm going to push that request upstream.

I think the an easier way to address this, to change the refresh_modified.sh to convert all calls to gettext() to _t(). We are already munging the exifer files in the vendor repository, so it wouldn't be difficult to add the line:
perl -pi -e 's/gettext/_t/' $file
to the existing script.  thoughts?

Website: http://www.timalmdal.com


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]

Re: Ticket #672

by Andy Staudacher-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Sep 22, 2009 at 6:50 AM, Tim Almdal <tnalmdal@...> wrote:
I couldn't find any reference in the php doc for the $translate callback, do you have a link so I at least know what I'm talking about, if I'm going to push that request upstream.

Just a simple PHP function callback, to be passed to call_user_func.

I think the an easier way to address this, to change the refresh_modified.sh to convert all calls to gettext() to _t(). We are already munging the exifer files in the vendor repository, so it wouldn't be difficult to add the line:
perl -pi -e 's/gettext/_t/' $file
to the existing script.  thoughts?

If we do that already, OK, works for me.

Thanks,
  - Andy 

Website: http://www.timalmdal.com


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]

Re: Ticket #672

by Bharat Mediratta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


+1 for programmatically transforming gettext() in the vendor repo.

Andy Staudacher wrote:

> On Tue, Sep 22, 2009 at 6:50 AM, Tim Almdal <tnalmdal@...
> <mailto:tnalmdal@...>> wrote:
>
>     I couldn't find any reference in the php doc for the $translate
>     callback, do you have a link so I at least know what I'm talking
>     about, if I'm going to push that request upstream.
>
>
> Just a simple PHP function callback, to be passed to call_user_func.
>
>     I think the an easier way to address this, to change the
>     refresh_modified.sh to convert all calls to gettext() to _t(). We
>     are already munging the exifer files in the vendor repository, so it
>     wouldn't be difficult to add the line:
>     perl -pi -e 's/gettext/_t/' $file
>     to the existing script.  thoughts?
>
>
> If we do that already, OK, works for me.
>
> Thanks,
>   - Andy
>
>
>     Website: http://www.timalmdal.com
>
>
>     ------------------------------------------------------------------------------
>     Come build with us! The BlackBerry® Developer Conference in SF, CA
>     is the only developer event you need to attend this year. Jumpstart your
>     developing skills, take BlackBerry mobile applications to market and
>     stay
>     ahead of the curve. Join us from November 9-12, 2009. Register
>     now!
>     http://p.sf.net/sfu/devconf
>     __[ g a l l e r y - d e v e l ]_________________________
>
>     [ list info/archive --> http://gallery.sf.net/lists.php ]
>     [ gallery info/FAQ/download --> http://gallery.sf.net ]
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
>
>
> ------------------------------------------------------------------------
>
> __[ g a l l e r y - d e v e l ]_________________________
>
> [ list info/archive --> http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download --> http://gallery.sf.net ]


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]