mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #834 from Firesphere/patch-2
Translation possible for clear before import
This commit is contained in:
commit
ecbdab90ee
@ -354,7 +354,7 @@ abstract class ModelAdmin extends LeftAndMain {
|
||||
))->renderWith('ModelAdmin_ImportSpec');
|
||||
|
||||
$fields->push(new LiteralField("SpecFor{$modelName}", $specHTML));
|
||||
$fields->push(new CheckboxField('EmptyBeforeImport', 'Clear Database before import', false));
|
||||
$fields->push(new CheckboxField('EmptyBeforeImport', _t('ModelAdmin.EMPTYBEFOREIMPORT', 'Clear Database before import'), false));
|
||||
|
||||
$actions = new FieldList(
|
||||
new FormAction('import', _t('ModelAdmin.IMPORT', 'Import from CSV'))
|
||||
|
Loading…
Reference in New Issue
Block a user