Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some missing language strings

  • Loading branch information...
commit 76e73fea6d7f518b1ce0ab6b0286de47128c94a1 1 parent ae96913
martin authored
Showing with 9 additions and 3 deletions.
  1. +9 −3 mod/assignment/index.php
View
12 mod/assignment/index.php
@@ -18,6 +18,12 @@
$strassignments = get_string("modulenameplural", "assignment");
$strassignment = get_string("modulename", "assignment");
+ $strweek = get_string("week");
+ $strtopic = get_string("topic");
+ $strname = get_string("name");
+ $strduedate = get_string("duedate", "assignment");
+ $strsubmitted = get_string("submitted", "assignment");
+
print_header("$course->shortname: $strassignments", "$course->fullname", "$navigation $strassignments", "");
@@ -29,13 +35,13 @@
$timenow = time();
if ($course->format == "weeks") {
- $table->head = array ("Week", "Name", "Due", "Submitted");
+ $table->head = array ($strweek, $strname, $strduedate, $strsubmitted);
$table->align = array ("CENTER", "LEFT", "LEFT", "LEFT");
} else if ($course->format == "topics") {
- $table->head = array ("Topic", "Name", "Due", "Submitted");
+ $table->head = array ($strtopic, $strname, $strduedate, $strsubmitted);
$table->align = array ("CENTER", "LEFT", "LEFT", "LEFT");
} else {
- $table->head = array ("Name", "Due", "Submitted");
+ $table->head = array ($strname, $strduedate, $strsubmitted);
$table->align = array ("LEFT", "LEFT", "LEFT");
}
Please sign in to comment.
Something went wrong with that request. Please try again.