X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSample%2FSamplePlugin.php;h=5c34d10bd1664c3377a04b450d1fad36c5f81af4;hb=b4da5f3785de138b9b7c3672d331676ea7929c16;hp=a0d1140f3725b77512fc54057df3000e89b3962c;hpb=01f32e3998b8d031d2a39e2d0506253142b6632e;p=quix0rs-gnu-social.git diff --git a/plugins/Sample/SamplePlugin.php b/plugins/Sample/SamplePlugin.php index a0d1140f37..5c34d10bd1 100644 --- a/plugins/Sample/SamplePlugin.php +++ b/plugins/Sample/SamplePlugin.php @@ -265,9 +265,11 @@ class SamplePlugin extends Plugin { // common_local_url() gets the correct URL for the action name // we provide - $action->menuItem(common_local_url('hello'), - _m('Hello'), _m('A warm greeting'), false, 'nav_hello'); + // TRANS: Menu item in sample plugin. + _m('Hello'), + // TRANS: Menu item title in sample plugin. + _m('A warm greeting'), false, 'nav_hello'); return true; } @@ -278,6 +280,7 @@ class SamplePlugin extends Plugin 'author' => 'Brion Vibber, Evan Prodromou', 'homepage' => 'http://status.net/wiki/Plugin:Sample', 'rawdescription' => + // TRANS: Plugin description. _m('A sample plugin to show basics of development for new hackers.')); return true; }