Add CourseXAdded lang

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent 9ce170d4db
commit f8abb105c7
  1. 6
      main/admin/course_add.php
  2. 1
      main/lang/english/trad4all.inc.php

@ -212,8 +212,10 @@ if ($form->validate()) {
if ($courseInfo && isset($courseInfo['course_public_url'])) {
Display::addFlash(
Display::return_message(
get_lang('Added').' '.
Display::url($courseInfo['course_public_url'], $courseInfo['course_public_url']),
sprintf(
get_lang('CourseXAdded'),
Display::url($courseInfo['title'], $courseInfo['course_public_url'])
),
'confirmation',
false
)

@ -7923,4 +7923,5 @@ $ThisTextShouldBeAtLeastXCharsLong = "This text should be at least %s characters
$TicketXAssignedToUserX = "Ticket <b>#%s</b> assigned to user <b>%s</b>";
$ThisItemIsRelatedToOtherTickets = "This item is related to other tickets.";
$WarningCategoryXDoesntHaveUsers = "Warning: No one has been assigned to category %s";
$CourseXAdded = 'Course %s added.';
?>
Loading…
Cancel
Save