X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FTabFocus%2FTabFocusPlugin.php;h=4affc42c3f867bc94bdfda3bcbf2b80d7feed2c6;hb=ffcdd14940e0a10a40b292378ccabf51d4a04cff;hp=1b1d1c2b0aba2800c92a93e9f061c5991182b2e3;hpb=26f0a24ab6b54b8bed6bfd7514acf67de0c68a7a;p=quix0rs-gnu-social.git diff --git a/plugins/TabFocus/TabFocusPlugin.php b/plugins/TabFocus/TabFocusPlugin.php index 1b1d1c2b0a..4affc42c3f 100644 --- a/plugins/TabFocus/TabFocusPlugin.php +++ b/plugins/TabFocus/TabFocusPlugin.php @@ -39,18 +39,19 @@ class TabFocusPlugin extends Plugin parent::__construct(); } - function onEndShowScripts($action) + function onEndShowScripts(Action $action) { $action->script($this->path('tabfocus.js')); } - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $versions[] = array('name' => 'TabFocus', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Craig Andrews and Paul Irish', 'homepage' => 'http://status.net/wiki/Plugin:TabFocus', 'rawdescription' => + // TRANS: Plugin description. _m('TabFocus changes the notice form behavior so that, while in the text area, pressing the tab key focuses the "Send" button, matching the behavior of Twitter.')); return true; }