From 93dc66a6b34308cad60704f7b2074a18584a05a5 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 19 Jul 2004 18:18:21 +0000 Subject: [PATCH] Added one string to moodle.php To be used in different places. Bug 1646 (http://moodle.org/bugs/bug.php?op=show&bugid=1646) Merged from MOODLE_13_STABLE --- lang/en/moodle.php | 1 + mod/attendance/backuplib.php | 2 +- mod/dialogue/backuplib.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 1da2a73a84..79c06834ee 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -373,6 +373,7 @@ $string['enrolments'] = 'Enrolments'; $string['entercourse'] = 'Click to enter this course'; $string['enteremailaddress'] = 'Enter in your email address to reset your password and have the new password sent to you via email.'; +$string['entries'] = 'Entries'; $string['error'] = 'Error'; $string['errortoomanylogins'] = 'Sorry, you have exceeded the allowed number of login attempts. Restart your browser.'; $string['errorwhenconfirming'] = 'You are not confirmed yet because an error occurred. If you clicked on a link in an email to get here, make sure that the line in your email wasn\'t broken or wrapped. You may have to use cut and paste to reconstruct the link properly.'; diff --git a/mod/attendance/backuplib.php b/mod/attendance/backuplib.php index 0d3e41518a..57315ae9c0 100644 --- a/mod/attendance/backuplib.php +++ b/mod/attendance/backuplib.php @@ -99,7 +99,7 @@ //Now, if requested, the user_data if ($user_data) { - $info[1][0] = get_string("rolls","attendance"); + $info[1][0] = get_string("entries"); if ($ids = attendance_roll_ids_by_course ($course)) { $info[1][1] = count($ids); } else { diff --git a/mod/dialogue/backuplib.php b/mod/dialogue/backuplib.php index c285347791..9b5798a0da 100644 --- a/mod/dialogue/backuplib.php +++ b/mod/dialogue/backuplib.php @@ -144,7 +144,7 @@ //Now, if requested, the user_data if ($user_data) { - $info[1][0] = get_string("entries","dialogue"); + $info[1][0] = get_string("entries"); if ($ids = dialogue_entry_ids_by_course ($course)) { $info[1][1] = count($ids); } else { -- 2.39.5