Skip to content

Commit

Permalink
[Block] Simplify translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Apr 9, 2015
1 parent eb90f4b commit db6dcc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Clastic/BlockBundle/Form/Type/BlockFormType.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private function createActionTab(FormBuilderInterface $builder)
'inherit_data' => true,
))
->add('save', 'submit', array(
'label' => 'Save',
'label' => 'node.form.tab.action.field.save',
'attr' => array('class' => 'btn btn-success'),
));
}
Expand All @@ -94,6 +94,9 @@ private function createActionTab(FormBuilderInterface $builder)
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'translation_domain' => 'clastic',
));
}

/**
Expand Down

0 comments on commit db6dcc8

Please sign in to comment.