mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
project name changed to epmu
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50462 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ed096f66fb
commit
265130b4b5
@ -130,7 +130,7 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
function CreationForm() {
|
||||
// is this plural name used ??
|
||||
$plural_name = singleton($this->stat('data_type'))->i18n_plural_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->i18_nsingular_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->i18n_singular_name();
|
||||
return new Form($this, 'CreationForm', new FieldSet(), new FieldSet(new FormAction("createRecord", _t('GenericDataAdmin.CREATE', 'Create').' '.$singular_name)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user