X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FDirectionDetector%2FDirectionDetectorPlugin.php;h=be8dbea8e5dbae04d42b8c0906594e4a36da740c;hb=e1791525e818d7d4276da0fe7e7c526fe8794e7c;hp=4a38f390f10a814089abba753c1fef5a5d2aa896;hpb=d67a9b437c3545b3a435953dbb529b64934cc767;p=quix0rs-gnu-social.git diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php index 4a38f390f1..be8dbea8e5 100644 --- a/plugins/DirectionDetector/DirectionDetectorPlugin.php +++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php @@ -129,7 +129,7 @@ class DirectionDetectorPlugin extends Plugin { */ function onEndShowScripts($action){ if (common_logged_in()) { - $action->script('plugins/DirectionDetector/jquery.DirectionDetector.js'); + $action->script($this->path('jquery.DirectionDetector.js')); } } @@ -261,6 +261,7 @@ class DirectionDetectorPlugin extends Plugin { 'version' => DIRECTIONDETECTORPLUGIN_VERSION, 'author' => 'Behrooz Shabani', 'homepage' => $url, + // TRANS: Plugin description. 'rawdescription' => _m('Shows notices with right-to-left content in correct direction.') ); return true;