]> git.mjollnir.org Git - moodle.git/commitdiff
fix for MDL-7810, shorten string name
authortoyomoyo <toyomoyo>
Thu, 7 Dec 2006 01:01:18 +0000 (01:01 +0000)
committertoyomoyo <toyomoyo>
Thu, 7 Dec 2006 01:01:18 +0000 (01:01 +0000)
admin/settings/appearance.php
lang/en_utf8/admin.php

index 7a265e71244b0c65d158fed7a251d2ccef00977d..26c746793c403b9678c6f81c256558ea0f8362d3 100644 (file)
@@ -38,7 +38,7 @@ $temp->add(new admin_setting_sitesetselect('newsitems', get_string('newsitemsnum
            '9' => '9',
            '10' => '10')));
 $temp->add(new admin_setting_configtext('coursesperpage', get_string('coursesperpage', 'admin'), get_string('configcoursesperpage', 'admin'), 20, PARAM_INT));
-$temp->add(new admin_setting_configcheckbox('allowvisiblecoursesinhiddencategories', get_string('allowvisiblecoursesinhiddencategories', 'admin'), get_string('configallowvisiblecoursesinhiddencategories', 'admin'), 0));
+$temp->add(new admin_setting_configcheckbox('allowvisiblecoursesinhiddencategories', get_string('allowvisiblecoursesinhiddencategories', 'admin'), get_string('configvisiblecourses', 'admin'), 0));
 $ADMIN->add('appearance', $temp);
 
 // calendar
index f2f3a8c432ef75e7de151764bd1a5293a309f45c..1c4a4c4c614ae63a3ad6f6b3d3681c5c1f889840 100644 (file)
@@ -52,7 +52,7 @@ $string['configallowuserblockhiding'] = 'Do you want to allow users to hide/show
 $string['configallowusermailcharset'] = 'Enabling this, every user in the site will be able to specify his own charset for email.';
 $string['configallowuserthemes'] = 'If you enable this, then users will be allowed to set their own themes.  User themes override site themes (but not course themes)';
 $string['configallusersaresitestudents'] = 'For activities on the front page of the site, should ALL users be considered as students?  If you answer \"Yes\", then any confirmed user account will be allowed to participate as a student in those activities.  If you answer \"No\", then only users who are already a participant in at least one course will be able to take part in those front page activities. Only admins and specially assigned teachers can act as teachers for these front page activities.';
-$string['configallowvisiblecoursesinhiddencategories'] = 'Display courses in hidden categories normally';
+$string['configvisiblecourses'] = 'Display courses in hidden categories normally';
 $string['configautologinguests'] = 'Should visitors be logged in as guests automatically when entering courses with guest access?';
 $string['configbloglevel'] = 'This setting allows you to restrict the level to which user blogs can be viewed on this site.  Note that they specify the maximum context of the VIEWER not the poster or the types of blog posts.  Blogs can also be disabled completely if you don\'t want them at all.';
 $string['configcachetext'] = 'For larger sites or sites that use text filters, this setting can really speed things up.  Copies of texts will be retained in their processed form for the time specified here.  Setting this too small may actually slow things down slightly,  but setting it too large may mean texts take too long to refresh (with new links, for example).';