Skill: Re-introduce user-specific language in message sent to announce skill acquisition (removed erroneously through merge) - refs BT#21083

pull/5156/head
Yannick Warnier 2 years ago
parent 4a2377e923
commit 1de45dc801
  1. 4
      public/main/skills/assign.php

@ -325,9 +325,9 @@ if ($form->validate()) {
foreach ($bossList as $boss) {
$bossInfo = api_get_user_info($boss['boss_id']);
$subject = get_lang('A student has obtained the number of sub-skills needed to validate the mother skill.');
$subject = get_lang('A student has obtained the number of sub-skills needed to validate the mother skill.', $bossInfo['locale']);
$message = sprintf(
get_lang('Learner %s has enough sub-skill to get skill %s. To assign this skill it is possible to go here : %s'),
get_lang('Learner %s has enough sub-skill to get skill %s. To assign this skill it is possible to go here : %s', $bossInfo['locale']),
$userFullName,
$parentData['title'],
$link

Loading…
Cancel
Save