Closed ghost closed 11 years ago
First when I've created a new content type, the generated object_form_widget.php are setting up the t() function without the first argument.
As is:
But it's necessary to correct directly on gii module.
I've seen this kind of error all around the system. Like https://github.com/nganhtuan63/GXC-CMS-2/blob/master/core/cms/widgets/page/ContentListUpdateWidget.php, on lines 54 and 64
Fixed this. It is because from old version, I don't add category for t function.
First when I've created a new content type, the generated object_form_widget.php are setting up the t() function without the first argument.
As is:
<?php echo t('Content Extra');?>
Fixed:<?php echo t('cms','Content Extra');?>
But it's necessary to correct directly on gii module.
I've seen this kind of error all around the system. Like https://github.com/nganhtuan63/GXC-CMS-2/blob/master/core/cms/widgets/page/ContentListUpdateWidget.php, on lines 54 and 64