mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category.
This commit is contained in:
parent
5ffd1421a5
commit
85edde5c90
@ -61,6 +61,7 @@ $string['disterror'] = 'The distribution $a caused problems';
|
||||
$string['donothing']= 'Don\'t copy or move files or change links.';
|
||||
$string['editingcategory'] = 'Editing a category';
|
||||
$string['editingquestion'] = 'Editing a question';
|
||||
$string['editthiscategory'] = 'Edit this category';
|
||||
$string['enabled'] = 'Enabled';
|
||||
$string['erroraccessingcontext'] = 'Cannot access context';
|
||||
$string['errordeletingquestionsfromcategory'] = 'Error deleting questions from category $a.';
|
||||
|
@ -64,7 +64,7 @@ class question_category_list_item extends list_item {
|
||||
public function set_icon_html($first, $last, &$lastitem){
|
||||
global $CFG;
|
||||
$category = $this->item;
|
||||
$this->icons['edit']= $this->image_icon(get_string('editthiscategory'),
|
||||
$this->icons['edit']= $this->image_icon(get_string('editthiscategory', 'question'),
|
||||
"{$CFG->wwwroot}/question/category.php?".$this->parentlist->pageurl->get_query_string(array('edit'=>$category->id)), 'edit');
|
||||
parent::set_icon_html($first, $last, $lastitem);
|
||||
$toplevel = ($this->parentlist->parentitem === null);//this is a top level item
|
||||
@ -158,7 +158,7 @@ class question_category_object {
|
||||
$this->str->delete = get_string('delete');
|
||||
$this->str->moveup = get_string('moveup');
|
||||
$this->str->movedown = get_string('movedown');
|
||||
$this->str->edit = get_string('editthiscategory');
|
||||
$this->str->edit = get_string('editthiscategory', 'question');
|
||||
$this->str->hide = get_string('hide');
|
||||
$this->str->publish = get_string('publish', 'quiz');
|
||||
$this->str->order = get_string('order');
|
||||
|
Loading…
x
Reference in New Issue
Block a user