mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Fixes for bug 2591 - wrong strings being used
This commit is contained in:
parent
5528a7f0e0
commit
fb94189268
@ -43,6 +43,8 @@ $string['casesensitive'] = 'Case sensitivity';
|
||||
$string['caseyes'] = 'Yes, case must match';
|
||||
$string['categories'] = 'Categories';
|
||||
$string['category'] = 'Category';
|
||||
$string['categoryadded'] = 'The category \'$a\' was added';
|
||||
$string['categorydeleted'] = 'The category \'$a\' was deleted';
|
||||
$string['categoryinfo'] = 'Category info';
|
||||
$string['categorymove'] = 'The category \'$a->name\' contains $a->count questions. Please choose another category to move them to.';
|
||||
$string['categorymoveto'] = 'Move them to this category';
|
||||
|
@ -641,7 +641,7 @@ class quiz_category_object {
|
||||
|
||||
/// Finally delete the category itself
|
||||
if (delete_records("quiz_categories", "id", $category->id)) {
|
||||
notify(get_string("categorydeleted", "", $category->name), 'green');
|
||||
notify(get_string("categorydeleted", "quiz", $category->name), 'green');
|
||||
}
|
||||
}
|
||||
|
||||
@ -757,7 +757,7 @@ class quiz_category_object {
|
||||
if (!insert_record("quiz_categories", $cat)) {
|
||||
error("Could not insert the new quiz category '$newcategory'", "category.php?id={$newcourse}");
|
||||
} else {
|
||||
notify(get_string("categoryadded", "", $newcategory), 'green');
|
||||
notify(get_string("categoryadded", "quiz", $newcategory), 'green');
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user