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 /plugins/ExampleUI | |
parent | 592b13fd29ad9b7a53db032e53b09fcfb0691043 (diff) |
Make some menus translatable (#12885)
* Make some menus translatable
* Update changelog
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r-- | plugins/ExampleUI/Menu.php | 2 | ||||
-rw-r--r-- | plugins/ExampleUI/lang/en.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/ExampleUI/Menu.php b/plugins/ExampleUI/Menu.php index a99cca552c..64e6b04c68 100644 --- a/plugins/ExampleUI/Menu.php +++ b/plugins/ExampleUI/Menu.php @@ -14,6 +14,6 @@ class Menu extends \Piwik\Plugin\Menu { public function configureAdminMenu(MenuAdmin $menu) { - $menu->addPlatformItem('UI Notifications', $this->urlForAction('notifications'), $order = 10); + $menu->addPlatformItem('ExampleUI_UiNotifications', $this->urlForAction('notifications'), $order = 10); } } diff --git a/plugins/ExampleUI/lang/en.json b/plugins/ExampleUI/lang/en.json index e0c05c5411..425570e762 100644 --- a/plugins/ExampleUI/lang/en.json +++ b/plugins/ExampleUI/lang/en.json @@ -1,8 +1,9 @@ { "ExampleUI": { "UiFramework": "UI Framework", + "UiNotifications": "UI Notifications", "GetTemperaturesDataTable": "Data tables", "GetTemperaturesEvolution": "Temperatures evolution over time", "TemperaturesEvolution": "Evolution of server temperatures over the last few days" } -}
\ No newline at end of file +} |