Skip to content

Commit 0563a06

Browse files
committed
Minor: Update language variables in exercise.lib.php - refs chamilo#5657
1 parent 4c0c852 commit 0563a06

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

main/exercise/exercise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function showUserToSendNotificacion(element) {
274274
);
275275

276276
if (!$visibleOnBaseCourse) {
277-
Display::addFlash(Display::return_message(get_lang('CanNotHide') . ' ' . $objExerciseTmp->name, 'error'));
277+
Display::addFlash(Display::return_message(sprintf(get_lang('CannotChangeVisibilityOfBaseCourseResourceX'), $objExerciseTmp->name), 'error'));
278278
break;
279279
}
280280

main/lang/english/trad4all.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9077,4 +9077,5 @@
90779077
$DueToInactivityTheSessionIsGoingToClose = "Due to your inactivity, this session is going to close in";
90789078
$KeepGoing = "Keep going";
90799079
$SessionIsClosing = "Your session is closing";
9080+
$CannotChangeVisibilityOfBaseCourseResourceX = "The visibility of %s from the base course cannot be changed from the session.";
90809081
?>

main/lang/french/trad4all.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9012,4 +9012,5 @@
90129012
$DueToInactivityTheSessionIsGoingToClose = "Dû à votre inactivité, la session se fermera dans";
90139013
$KeepGoing = "Rester connecté";
90149014
$SessionIsClosing = "Votre session est en cours de fermeture";
9015+
$CannotChangeVisibilityOfBaseCourseResourceX = "La visibilité de %s du cours de base ne peut être changée depuis une session.";
90159016
?>

main/lang/spanish/trad4all.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9102,4 +9102,5 @@
91029102
$DueToInactivityTheSessionIsGoingToClose = "Debido a su inactividad, esta sesión se cerrará en";
91039103
$KeepGoing = "Seguir conectado";
91049104
$SessionIsClosing = "Su sesión se está cerrando";
9105+
$CannotChangeVisibilityOfBaseCourseResourceX = "La visibilidad de %s del curso base no puede ser cambiada desde una sesión.";
91059106
?>

0 commit comments

Comments
 (0)