equal
deleted
inserted
replaced
462 return self._call_view(view, **args) |
462 return self._call_view(view, **args) |
463 |
463 |
464 @jsonize |
464 @jsonize |
465 def js_i18n(self, msgids): |
465 def js_i18n(self, msgids): |
466 """returns the translation of `msgid`""" |
466 """returns the translation of `msgid`""" |
467 print 'translate', msgids, [self._cw._(msgid) for msgid in msgids] |
|
468 return [self._cw._(msgid) for msgid in msgids] |
467 return [self._cw._(msgid) for msgid in msgids] |
469 |
468 |
470 @jsonize |
469 @jsonize |
471 def js_format_date(self, strdate): |
470 def js_format_date(self, strdate): |
472 """returns the formatted date for `msgid`""" |
471 """returns the formatted date for `msgid`""" |