X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FAdsense%2FAdsensePlugin.php;h=fa8afb18078fce4440ade49011f7ebf48ac7cde3;hb=7f1a30dc40ac772247425a49498d7f5d4550e01f;hp=3d733e15099cdd76b4c0d7b09f5cde1c659f3f7f;hpb=99194e03fa50b61f99164674afc949b4bbefd44a;p=quix0rs-gnu-social.git diff --git a/plugins/Adsense/AdsensePlugin.php b/plugins/Adsense/AdsensePlugin.php index 3d733e1509..fa8afb1807 100644 --- a/plugins/Adsense/AdsensePlugin.php +++ b/plugins/Adsense/AdsensePlugin.php @@ -168,7 +168,7 @@ class AdsensePlugin extends UAPPlugin function onRouterInitialized($m) { - $m->connect('admin/adsense', + $m->connect('panel/adsense', array('action' => 'adsenseadminpanel')); return true; @@ -193,7 +193,7 @@ class AdsensePlugin extends UAPPlugin // TRANS: Menu item title/tooltip $menu_title = _m('AdSense configuration'); // TRANS: Menu item for site administration - $menu->out->menuItem(common_local_url('adsenseadminpanel'), _m('AdSense'), + $menu->out->menuItem(common_local_url('adsenseadminpanel'), _m('MENU','AdSense'), $menu_title, $action_name == 'adsenseadminpanel', 'nav_adsense_admin_panel'); } return true; @@ -206,7 +206,8 @@ class AdsensePlugin extends UAPPlugin 'author' => 'Evan Prodromou', 'homepage' => 'http://status.net/wiki/Plugin:Adsense', 'rawdescription' => - _m('Plugin to add Google Adsense to StatusNet sites.')); + // TRANS: Plugin description. + _m('Plugin to add Google AdSense to StatusNet sites.')); return true; } }