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