MDL-27168 completionstatus block - Use localized strings

This commit is contained in:
Dan Poltawski
2011-07-06 12:04:16 +08:00
committed by Sam Hemelryk
parent 84a05572c9
commit 35a39e35e2
+1 -1
View File
@@ -237,7 +237,7 @@ foreach ($rows as $row) {
// Is complete
echo '<td class="c4">';
echo ($row['status'] === 'Yes') ? 'Yes' : 'No';
echo ($row['status'] === get_string('yes')) ? get_string('yes') : get_string('no');
echo '</td>';
// Completion data