From: tjhunt Date: Fri, 22 Aug 2008 03:32:49 +0000 (+0000) Subject: MDL-16170 - Improve naming of the plugins category in the admin menu. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ff4b9fcbb2fea45a0f994548860057ec8096b85b;p=moodle.git MDL-16170 - Improve naming of the plugins category in the admin menu. Yes, I know I changed an existing language string, which is supposed to be wrong, but I changed it so that the string 'plugin' is now 'Plugin'. I just cannot see that as a wrong change. --- diff --git a/admin/settings/plugins.php b/admin/settings/plugins.php index 3aa7edef6d..1c0aa66861 100644 --- a/admin/settings/plugins.php +++ b/admin/settings/plugins.php @@ -2,7 +2,7 @@ if ($hassiteconfig) { - $ADMIN->add('modules', new admin_category('modsettings', get_string('activities'))); + $ADMIN->add('modules', new admin_category('modsettings', get_string('activitymodules'))); $ADMIN->add('modsettings', new admin_page_managemods()); if ($modules = $DB->get_records('modules')) { $modulebyname = array(); diff --git a/admin/settings/top.php b/admin/settings/top.php index 4651338ad4..f7364bc09c 100644 --- a/admin/settings/top.php +++ b/admin/settings/top.php @@ -23,9 +23,7 @@ $ADMIN->add('root', new admin_category('courses', get_string('courses','admin')) $ADMIN->add('root', new admin_category('grades', get_string('grades'))); $ADMIN->add('root', new admin_category('location', get_string('location','admin'))); $ADMIN->add('root', new admin_category('language', get_string('language'))); - $ADMIN->add('root', new admin_category('modules', get_string('plugins', 'admin'))); - $ADMIN->add('root', new admin_category('security', get_string('security','admin'))); $ADMIN->add('root', new admin_category('appearance', get_string('appearance','admin'))); $ADMIN->add('root', new admin_category('frontpage', get_string('frontpage','admin'))); diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index b7ddb42596..9fd8bf36fc 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -556,7 +556,7 @@ $string['pgclusterdescription'] = 'PostgreSQL version/cluster parameter for comm $string['php50restricted'] = 'PHP 5.0.x has a number of known problems, please upgrade to 5.1.x or downgrade to 4.3.x or 4.4.x'; $string['pleaseregister'] = 'Please register your site to remove this button'; $string['pleaserefreshregistration'] = 'Your site has been registered with moodle.org, please consider updating the registration if significant changes happened since your last update, on $a'; -$string['plugins'] = 'Modules'; +$string['plugins'] = 'Plugins'; $string['profilecategory'] = 'Category'; $string['profilecategoryname'] = 'Category name (must be unique)'; $string['profilecategorynamenotunique'] = 'This category name is already in use'; diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index 3b6e5f2974..1135786124 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -12,6 +12,7 @@ $string['activity'] = 'Activity'; $string['activityclipboard'] = 'Moving this activity: $a'; $string['activityiscurrentlyhidden'] = 'Sorry, this activity is currently hidden'; $string['activitymodule'] = 'Activity module'; +$string['activitymodules'] = 'Activity modules'; $string['activityreport'] = 'Activity report'; $string['activityreports'] = 'Activity reports'; $string['activityselect'] = 'Select this activity to be moved elsewhere';