Skip to content

Commit

Permalink
Minor: Update language variables in exercise.lib.php - refs chamilo#5657
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Oct 18, 2024
1 parent 4c0c852 commit 0563a06
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main/exercise/exercise.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function showUserToSendNotificacion(element) {
);

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

Expand Down
1 change: 1 addition & 0 deletions main/lang/english/trad4all.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -9077,4 +9077,5 @@
$DueToInactivityTheSessionIsGoingToClose = "Due to your inactivity, this session is going to close in";
$KeepGoing = "Keep going";
$SessionIsClosing = "Your session is closing";
$CannotChangeVisibilityOfBaseCourseResourceX = "The visibility of %s from the base course cannot be changed from the session.";
?>
1 change: 1 addition & 0 deletions main/lang/french/trad4all.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -9012,4 +9012,5 @@
$DueToInactivityTheSessionIsGoingToClose = "Dû à votre inactivité, la session se fermera dans";
$KeepGoing = "Rester connecté";
$SessionIsClosing = "Votre session est en cours de fermeture";
$CannotChangeVisibilityOfBaseCourseResourceX = "La visibilité de %s du cours de base ne peut être changée depuis une session.";
?>
1 change: 1 addition & 0 deletions main/lang/spanish/trad4all.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -9102,4 +9102,5 @@
$DueToInactivityTheSessionIsGoingToClose = "Debido a su inactividad, esta sesión se cerrará en";
$KeepGoing = "Seguir conectado";
$SessionIsClosing = "Su sesión se está cerrando";
$CannotChangeVisibilityOfBaseCourseResourceX = "La visibilidad de %s del curso base no puede ser cambiada desde una sesión.";
?>

0 comments on commit 0563a06

Please sign in to comment.