diff options
author | Christian Schmidt <github@chsc.dk> | 2018-06-11 01:42:45 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-06-11 01:42:45 +0300 |
commit | 6666479c84793895d444f8209cc60137bd121604 (patch) | |
tree | e2d797c4fd030840f23d80ea37789b4f56761163 /core/Plugin/Menu.php | |
parent | 592b13fd29ad9b7a53db032e53b09fcfb0691043 (diff) |
Make some menus translatable (#12885)
* Make some menus translatable
* Update changelog
Diffstat (limited to 'core/Plugin/Menu.php')
-rw-r--r-- | core/Plugin/Menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Plugin/Menu.php b/core/Plugin/Menu.php index 99275a5aeb..f8efe6a936 100644 --- a/core/Plugin/Menu.php +++ b/core/Plugin/Menu.php @@ -47,7 +47,7 @@ class Menu * * Example: * ``` - * $menu->addItem('UI Framework', '', $this->urlForDefaultAction(), $orderId = 30); + * $menu->addItem('MyPlugin_MyPlugin', '', $this->urlForDefaultAction(), $orderId = 30); * // will add a menu item that leads to the default action of the plugin controller when a user clicks on it. * // The default action is usually the `index` action - meaning the `index()` method the controller - * // but the default action can be customized within a controller |