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:
Geoff Munn 2008-03-03 03:11:34 +00:00
parent ed096f66fb
commit 265130b4b5

View File

@ -128,9 +128,9 @@ abstract class GenericDataAdmin extends LeftAndMain {
* @return Form
*/
function CreationForm() {
// is this plural name used ??
// 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)));
}