From 9b18afd59225485243dac17169df97edf0b538b0 Mon Sep 17 00:00:00 2001 From: rasstislav Date: Tue, 17 Nov 2015 17:35:35 +0100 Subject: [PATCH] Translation fixes --- code/model/editableformfields/EditableMultipleOptionField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/model/editableformfields/EditableMultipleOptionField.php b/code/model/editableformfields/EditableMultipleOptionField.php index 3e5e545..e5ec19f 100644 --- a/code/model/editableformfields/EditableMultipleOptionField.php +++ b/code/model/editableformfields/EditableMultipleOptionField.php @@ -36,7 +36,7 @@ class EditableMultipleOptionField extends EditableFormField { $editableColumns = new GridFieldEditableColumns(); $editableColumns->setDisplayFields(array( 'Title' => array( - 'title' => 'Title', + 'title' => _t('EditableMultipleOptionField.TITLE', 'Title'), 'callback' => function($record, $column, $grid) { return TextField::create($column); } @@ -66,7 +66,7 @@ class EditableMultipleOptionField extends EditableFormField { $optionsConfig ); - $fields->insertAfter(new Tab('Options'), 'Main'); + $fields->insertAfter(new Tab('Options', _t('EditableMultipleOptionField.OPTIONSTAB','Options')), 'Main'); $fields->addFieldToTab('Root.Options', $optionsGrid); return $fields;