Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Translation possible for clear before import

I couldn't figure out why it wouldn't translate...
  • Loading branch information...
commit f991401a5274d14671c481a493f91d66d88124d3 1 parent d6b4606
@Firesphere Firesphere authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/code/ModelAdmin.php
2  admin/code/ModelAdmin.php
@@ -354,7 +354,7 @@ public function ImportForm() {
$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'))
Please sign in to comment.
Something went wrong with that request. Please try again.