diff --git a/Admin/MenuNodeAdmin.php b/Admin/MenuNodeAdmin.php index efb23c09..1cf9ca16 100644 --- a/Admin/MenuNodeAdmin.php +++ b/Admin/MenuNodeAdmin.php @@ -55,9 +55,14 @@ protected function configureFormFields(FormMapper $formMapper) $formMapper ->with('form.group_general') ->add('linkType', 'choice_field_mask', array( + 'choices' => array( + 'route' => 'route', + 'uri' => 'uri', + 'content' => 'content', + ), 'map' => array( - 'route' => array('route'), - 'uri' => array('uri'), + 'route' => array('link'), + 'uri' => array('link'), 'content' => array('content', 'doctrine_phpcr_odm_tree'), ), 'empty_value' => 'auto', diff --git a/Resources/translations/CmfMenuBundle.de.xliff b/Resources/translations/CmfMenuBundle.de.xliff index df971445..2d76a7c3 100644 --- a/Resources/translations/CmfMenuBundle.de.xliff +++ b/Resources/translations/CmfMenuBundle.de.xliff @@ -106,6 +106,10 @@ form.label_link_type Linktyp + + form.label_link + Link + show.label_id Id diff --git a/Resources/translations/CmfMenuBundle.en.xliff b/Resources/translations/CmfMenuBundle.en.xliff index 7875c2d8..bac148a4 100644 --- a/Resources/translations/CmfMenuBundle.en.xliff +++ b/Resources/translations/CmfMenuBundle.en.xliff @@ -110,6 +110,10 @@ form.label_link_type Link type + + form.label_link + Link + form.label_weak Weak association