(SS3.0.2)
hi,
i can't use the _t() function in DataObjects.
i tried this:
class ImageGalleryObject extends DataObject {
static public $singular_name = _t('ImageGalleryObject.BUTTON', 'Picture');
static public $plural_name = _t('ImageGalleryObject.BUTTONS', 'Pictures');
...
}
But it doesn't work. i get a 'Internal Server Error'.
the translations are right set.
Where is the Problem?