Feature #2099 - Some error messages have been added.

skala
Ivan Tcholakov 14 years ago
parent 46778bb915
commit 67df7abba8
  1. 8
      main/create_course/add_course.php
  2. 2
      main/lang/bulgarian/create_course.inc.php
  3. 2
      main/lang/english/create_course.inc.php

@ -237,9 +237,7 @@ if ($form->validate()) {
} else {
// TODO: Prepare an error message.
$message = '?';
Display :: display_error_message(get_lang($message), false);
Display :: display_error_message(get_lang('CourseCreationFailed'), false);
// Display the form.
$form->display();
@ -264,9 +262,7 @@ if ($form->validate()) {
} else {
// TODO: Prepare an error message.
$message = '?';
Display :: display_error_message(get_lang($message), false);
Display :: display_error_message(get_lang('CourseRequestCreationFailed'), false);
// Display the form.
$form->display();

@ -142,4 +142,6 @@ $CourseRequestAcceptedEmailSubject = "%s Заявката за нов курс %
$CourseRequestAcceptedEmailText = "Вашата заявка %s е одобрена. Създаден е нов курс %s за който сте регистрирани като преподавател.\n\nМожете да получите достъп до своя курс оттук: %s";
$CourseRequestRejectedEmailSubject = "%s Заявката за нов курс %s е отхвърлена";
$CourseRequestRejectedEmailText = "За съжаление Вашата заявка за нов курс %s е отхвърлена, тъй като не отговаря на нашите Условия за ползване.";
$CourseCreationFailed = "Курсът не е създаден поради появила се грешка.";
$CourseRequestCreationFailed = "Заявката за нов курс не е създадена поради появила се грешка.";
?>

@ -142,4 +142,6 @@ $CourseRequestAcceptedEmailSubject = "%s The training request %s has been approv
$CourseRequestAcceptedEmailText = "Your training request %s has been approved. A new course %s has been created and you are registered in it as a teacher.\n\nYou can access your newly created course from: %s";
$CourseRequestRejectedEmailSubject = "%s The training request %s has been rejected";
$CourseRequestRejectedEmailText = "To our regret we have to inform you that the training request %s has been rejected due to not conforming to the requirements of our Terms and Conditions.";
$CourseCreationFailed = "The training has not been created due to internal error.";
$CourseRequestCreationFailed = "The training request has not been created due to internal error.";
?>
Loading…
Cancel
Save