]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/TabFocus/TabFocusPlugin.php
Merge branch 'master' into 1.0.x
[quix0rs-gnu-social.git] / plugins / TabFocus / TabFocusPlugin.php
index dd8a97276748a916e137ea0936ad96a775ddf027..58f3d06b1141a55a1de77b27de4771dc476df8d4 100644 (file)
@@ -41,7 +41,7 @@ class TabFocusPlugin extends Plugin
 
     function onEndShowScripts($action)
     {
-        $action->script('plugins/TabFocus/tabfocus.js');
+        $action->script($this->path('tabfocus.js'));
     }
 
     function onPluginVersion(&$versions)
@@ -51,6 +51,7 @@ class TabFocusPlugin extends Plugin
                             '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;
     }