Skip to content

Commit

Permalink
Translation possible for clear before import
Browse files Browse the repository at this point in the history
I couldn't figure out why it wouldn't translate...
  • Loading branch information
Firesphere committed Sep 28, 2012
1 parent d6b4606 commit f991401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/code/ModelAdmin.php
Expand Up @@ -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'))
Expand Down

0 comments on commit f991401

Please sign in to comment.