Permalink
Browse files

Translation possible for clear before import

I couldn't figure out why it wouldn't translate...
  • Loading branch information...
1 parent d6b4606 commit f991401a5274d14671c481a493f91d66d88124d3 @Firesphere Firesphere committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/code/ModelAdmin.php
@@ -354,7 +354,7 @@ public function ImportForm() {
))->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'))

0 comments on commit f991401

Please sign in to comment.