"Max Ischenko" <[EMAIL PROTECTED]> writes:
>> Done at r1030.
>
> Well, it broke some of code that used gettext and did string
> concatentation like this:
>
> return _(u'Today') + ', ' + unicode(dt.strftime('%H:%M'))
I believe that
return _(u'Today, %s' % unicode(dt.strftime('%H:%M')))
would work and be a better approach since you can also put the date in the
correct place for the selected language...
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---