mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Fixes for bug 2591 - wrong strings being used
This commit is contained in:
parent
5528a7f0e0
commit
fb94189268
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue