Skip to content

Commit b16eb27

Browse files
committed
Merge branch 'master' of github.com:chamilo/chamilo-lms
2 parents 71ff335 + e40b270 commit b16eb27

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

tests/scripts/disable_user_conditions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
$language = $disabledUser['locale'];
9595
$subject = get_lang('Account disabled', $language).': '.$disabledUser['complete_name'];
96-
$content = get_lang('DisableUserCase1', $language);
96+
$content = get_lang("Hello,<br>You haven't logged into to your account for three months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards.", $language);
9797

9898
$userReportList[$studentId]['message'] .= $newLine.
9999
'Mail will be send to: '.$disabledUser['username'].' ('.$disabledUser['email'].')'.$newLine.
@@ -153,7 +153,7 @@
153153

154154
$language = $disabledUser['locale'];
155155
$subject = get_lang('Account disabled', $language).': '.$disabledUser['complete_name'];
156-
$content = get_lang('DisableUserCase3Student', $language);
156+
$content = get_lang("Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards.", $language);
157157

158158
if (!isset($userReportList[$studentId]['message'])) {
159159
$userReportList[$studentId]['message'] = '';
@@ -220,7 +220,7 @@
220220
$userReportList[$studentId]['message'] .= $newLine."User# $studentId (".$disabledUser['username'].") to be disabled. Case 2 . Last connection: $lastDate - 6 months: $date6Months ";
221221

222222
$subject = get_lang('Account disabled', $disabledUser['locale']).': '.$disabledUser['complete_name'];
223-
$content = get_lang('DisableUserCase2', $disabledUser['locale']);
223+
$content = get_lang("Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards.", $disabledUser['locale']);
224224

225225
$userReportList[$studentId]['message'] .= $newLine.'Mail will be send to: '.$disabledUser['username'].$newLine.'Subject: '.$subject.$newLine.'Content: '.$content.$newLine;
226226

@@ -232,7 +232,7 @@
232232
$bossInfo = api_get_user_info($studentBoss);
233233
if ($bossInfo) {
234234
$subjectBoss = get_lang('Account disabled', $bossInfo['locale']).': '.$disabledUser['complete_name'];
235-
$contentBoss = sprintf(get_lang('DisableUserCase2StudentX', $bossInfo['locale']), $disabledUser['complete_name']);
235+
$contentBoss = sprintf(get_lang("Hello,<br>%s hasn't logged into PARKUR in the last six months. His account has just been deactivated.<br><br>Sincerely.", $bossInfo['locale']), $disabledUser['complete_name']);
236236
$userReportList[$studentId]['message'] .= $newLine.'Mail will be send to: '.$bossInfo['username'].$newLine.'Subject: '.$subjectBoss.$newLine.'Content: '.$contentBoss.$newLine;
237237
}
238238
}

translations/messages.en.po

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30523,3 +30523,18 @@ msgstr "The learning courses are designed around the following main areas. Choos
3052330523

3052430524
msgid "Once the areas have been selected, choose 5 themes and objectives in order of preference.<br><br>"
3052530525
msgstr "Once the areas have been selected, choose 5 themes and objectives in order of preference.<br><br>"
30526+
30527+
msgid "PDF download unavailable"
30528+
msgstr "PDF download unavailable"
30529+
30530+
msgid "Registering"
30531+
msgstr "Registering"
30532+
30533+
msgid "Hello,<br>You haven't logged into to your account for three months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards."
30534+
msgstr "Hello,<br>You haven't logged into to your account for three months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards."
30535+
30536+
msgid "Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards."
30537+
msgstr "Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards."
30538+
30539+
msgid "Hello,<br>%s hasn't logged into PARKUR in the last six months. His account has just been deactivated.<br><br>Sincerely."
30540+
msgstr "Hello,<br>%s hasn't logged into PARKUR in the last six months. His account has just been deactivated.<br><br>Sincerely."

translations/messages.pot

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30488,3 +30488,18 @@ msgstr ""
3048830488

3048930489
msgid "Once the areas have been selected, choose 5 themes and objectives in order of preference.<br><br>"
3049030490
msgstr ""
30491+
30492+
msgid "PDF download unavailable"
30493+
msgstr ""
30494+
30495+
msgid "Registering"
30496+
msgstr ""
30497+
30498+
msgid "Hello,<br>You haven't logged into to your account for three months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards."
30499+
msgstr ""
30500+
30501+
msgid "Hello,<br>You haven't logged into your account for six months. It has now been deactivated. If you would like to reactivate it, please contact us.<br><br>Best regards."
30502+
msgstr ""
30503+
30504+
msgid "Hello,<br>%s hasn't logged into PARKUR in the last six months. His account has just been deactivated.<br><br>Sincerely."
30505+
msgstr ""

0 commit comments

Comments
 (0)