2 items
= context
.getCriteriaItems()
4 from Products
.Plinn
.utils
import translate
5 _
= lambda msg
: translate(msg
, context
)
12 strftime
= lambda d
: d
.strftime(context
.locale_date_fmt())
15 return _("search from the beginning of the world until %s") % strftime(query
)
17 return _("search from %s and the end of the world") % strftime(query
)
18 elif range == 'min:max' :
19 return _("search between %s and %s") % (strftime(query
[0]), strftime(query
[1]))
21 return context
.Description()