Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
do not return a hardcoded string for new
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Oct 14, 2013
1 parent 4155c54 commit 3e0f7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Admin/AbstractMenuNodeAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ public function toString($object)
return $object->getLabel();
}

return $object instanceof Menu ? 'menu' : 'menu item';
return $this->trans('link_add', array(), 'SonataAdminBundle');
}
}

0 comments on commit 3e0f7f4

Please sign in to comment.