MINOR: Added i18n to Delete action

This commit is contained in:
Sam Minnee 2012-05-28 12:05:41 +12:00
parent fb78cab8e6
commit 7994b73cb7

View File

@ -110,7 +110,7 @@ class GridFieldDeleteAction implements GridField_ColumnProvider, GridField_Actio
->addExtraClass('gridfield-button-delete')
->setAttribute('title', _t('GridAction.Delete', "Delete"))
->setAttribute('data-icon', 'cross-circle')
->setDescription('Delete');
->setDescription(_t('GridAction.DELETE_DESCRIPTION','Delete'));
}
return $field->Field();
}