From b8a70832be6cb81afe7d793e87ddf1f6ebc3cb0b Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 11 Apr 2012 09:55:32 +0100 Subject: [PATCH] MDL-32404 question export: missing error message when exporting an empty category. --- lang/en/question.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/en/question.php b/lang/en/question.php index d0c2862818c..74edbbc52e9 100644 --- a/lang/en/question.php +++ b/lang/en/question.php @@ -220,6 +220,7 @@ $string['nocate'] = 'No such category {$a}!'; $string['nopermissionadd'] = 'You don\'t have permission to add questions here.'; $string['nopermissionmove'] = 'You don\'t have permission to move questions from here. You must save the question in this category or save it as a new question.'; $string['noprobs'] = 'No problems found in your question database.'; +$string['noquestions'] = 'No questions were found that could be exported. Make sure that you have selected a category to export that contains questions.'; $string['noquestionsinfile'] = 'There are no questions in the import file'; $string['notenoughanswers'] = 'This type of question requires at least {$a} answers'; $string['notenoughdatatoeditaquestion'] = 'Neither a question id, nor a category id and question type, was specified.';