]> git.mjollnir.org Git - moodle.git/commitdiff
Added lang string
authorvyshane <vyshane>
Mon, 28 Aug 2006 07:30:07 +0000 (07:30 +0000)
committervyshane <vyshane>
Mon, 28 Aug 2006 07:30:07 +0000 (07:30 +0000)
admin/roles/override.php
lang/en_utf8/role.php

index 1497eea39134a962df668220571aaf8edb5c6111..c2d515c8e7bfe16fd832d9f0d0ce914dbb9ffed0 100755 (executable)
             include_once('override.html');
             print_simple_box_end();
         } else {
-            notice(get_string('nocapabilitiesincontext', 'moodle'),
+            notice(get_string('nocapabilitiesincontext', 'role'),
                     $CFG->wwwroot.'/admin/roles/override.php?contextid='.$contextid);
         }
     }
index 0a45a95ffe5a4a166bcb1ab0d3bae99f8cc8b4cc..30f540f6bde6dcee2f529f5a4f9e2eeace0a1be7 100644 (file)
@@ -8,6 +8,7 @@ $string['currentrole'] = 'Current role';
 $string['currentcontext'] = 'Current context';
 $string['existingusers'] = '$a existing users';
 $string['inherit'] = 'Inherit';
+$string['nocapabilitiesincontext'] = 'No capabilities available in this context';
 $string['overrideroles'] = 'Override roles';
 $string['potentialusers'] = '$a potential users';
 $string['prevent'] = 'Prevent';
@@ -58,4 +59,4 @@ $string['course:viewscales'] = 'View scales';
 $string['course:managescales'] = 'Manage scales';
 $string['course:managegroups'] = 'Manage groups';
 
-?>
+?>
\ No newline at end of file