Fixes for bug 2591 - wrong strings being used

This commit is contained in:
moodler 2005-03-03 06:24:44 +00:00
parent 5528a7f0e0
commit fb94189268
2 changed files with 4 additions and 2 deletions

View file

@ -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');
}
}