X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpluginsadminpanel.php;h=26a03cd046e0cd84ce42d39b3fddd584d44b7a8f;hb=2c5cba28b6a8e13a58fe7584835340aa9779b146;hp=bc400bd51473124010db1cd71d9030f067071d73;hpb=886e28aaa9e4e9a524d5b1a933a2d2a13994aec9;p=quix0rs-gnu-social.git
diff --git a/actions/pluginsadminpanel.php b/actions/pluginsadminpanel.php
index bc400bd514..26a03cd046 100644
--- a/actions/pluginsadminpanel.php
+++ b/actions/pluginsadminpanel.php
@@ -40,20 +40,17 @@ if (!defined('STATUSNET')) {
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class PluginsadminpanelAction extends AdminPanelAction
{
-
/**
* Returns the page title
*
* @return string page title
*/
-
function title()
{
// TRANS: Tab and title for plugins admin panel.
- return _('Plugins');
+ return _m('TITLE','Plugins');
}
/**
@@ -61,12 +58,11 @@ class PluginsadminpanelAction extends AdminPanelAction
*
* @return string instructions
*/
-
function getInstructions()
{
// TRANS: Instructions at top of plugin admin page.
- return _('Additional plugins can be enabled and configured manually. ' .
- 'See the online plugin ' .
+ return _('Additional plugins can be enabled and configured manually. ' .
+ 'See the online plugin ' .
'documentation for more details.');
}
@@ -75,11 +71,10 @@ class PluginsadminpanelAction extends AdminPanelAction
*
* @return void
*/
-
function showForm()
{
$this->elementStart('fieldset', array('id' => 'settings_plugins_default'));
-
+
// TRANS: Admin form section header
$this->element('legend', null, _('Default plugins'), 'default');
@@ -103,6 +98,7 @@ class PluginsadminpanelAction extends AdminPanelAction
$list->show();
} else {
$this->element('p', null,
+ // TRANS: Text displayed on plugin admin page when no plugin are enabled.
_('All default plugins have been disabled from the ' .
'site\'s configuration file.'));
}