From 2795dae6938e428dec96eb007e7ca554c4510294 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 24 Oct 2008 03:45:39 +0000 Subject: [PATCH] BUGFIX Fixed old references to GenericDataAdmin in ModelAdmin.php and ModelAdmin_Results.ss git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64754 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ModelAdmin.php | 2 +- templates/Includes/ModelAdmin_Results.ss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ModelAdmin.php b/code/ModelAdmin.php index a40b81d2..a33aa7f3 100644 --- a/code/ModelAdmin.php +++ b/code/ModelAdmin.php @@ -198,7 +198,7 @@ abstract class ModelAdmin extends LeftAndMain { new DropdownField('ClassName', _t('ModelAdmin.CLASSTYPE', 'Type', PR_MEDIUM, 'Type of object to add'), $modelMap) ), new FieldSet( - new FormAction('add', _t('GenericDataAdmin.CREATE')) + new FormAction('add', _t('ModelAdmin.CREATE', 'Create')) ) ); $form->setFormMethod('get'); diff --git a/templates/Includes/ModelAdmin_Results.ss b/templates/Includes/ModelAdmin_Results.ss index a5237859..a1882ae6 100644 --- a/templates/Includes/ModelAdmin_Results.ss +++ b/templates/Includes/ModelAdmin_Results.ss @@ -1,5 +1,5 @@ <% if Results %> $Form <% else %> -

<% sprintf(_t('GenericDataAdmin.NORESULTS'), $ModelPluralName) %>

+

<% sprintf(_t('ModelAdmin.NORESULTS', 'No results'), $ModelPluralName) %>

<% end_if %> \ No newline at end of file