Permalink
Browse files

Fixing two get_string() calls when restoring gradebook preferences. M…

…DL-6017
  • Loading branch information...
stronk7
stronk7 committed Jul 25, 2007
1 parent a8c857d commit f622567f6c58e2ba38e0bdf998946a9500721727
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/restorelib.php
View
@@ -1077,7 +1077,7 @@ function restore_create_gradebook($restore,$xml_file) {
if (!$preferencescount) {
$continue = false;
if (!defined('RESTORE_SILENTLY')) {
- echo '<li>'.get_string('backupwithoutgradebook','grade').'</li>';
+ echo '<li>'.get_string('backupwithoutgradebook','grades').'</li>';
}
}
@@ -1088,7 +1088,7 @@ function restore_create_gradebook($restore,$xml_file) {
if ($pref_rec->value == 0) {
$continue = false;
if (!defined('RESTORE_SILENTLY')) {
- echo '<li>'.get_string('respectingcurrentdata','grade').'</li>';
+ echo '<li>'.get_string('respectingcurrentdata','grades').'</li>';
}
}
}

0 comments on commit f622567

Please sign in to comment.