]> git.mjollnir.org Git - moodle.git/commitdiff
fix for MDL-7474, provide alt text for ascending/descending icons in glossary
authortoyomoyo <toyomoyo>
Mon, 13 Nov 2006 02:20:47 +0000 (02:20 +0000)
committertoyomoyo <toyomoyo>
Mon, 13 Nov 2006 02:20:47 +0000 (02:20 +0000)
lang/en_utf8/moodle.php
mod/glossary/lib.php

index 7ab7aa3a7d4103ec7652b68cc7194238aae1cbba..82119428bfd97300a4c3e25b23257e95523a9e41 100644 (file)
@@ -112,6 +112,7 @@ $string['answer'] = 'Answer';
 $string['approve'] = 'Approve';
 $string['areyousuretorestorethis'] = 'Do you want to continue?';
 $string['areyousuretorestorethisinfo'] = 'Later in this process you will have a choice of adding this backup to an existing course or creating a completely new course.';
+$string['asc'] = 'Ascending';
 $string['assessment'] = 'Assessment';
 $string['assignadmins'] = 'Assign admins';
 $string['assigncreators'] = 'Assign creators';
@@ -357,6 +358,7 @@ $string['deletingcourse'] = 'Deleting $a';
 $string['deletingexistingcoursedata'] = 'Deleting existing course data';
 $string['deletingolddata'] = 'Deleting old data';
 $string['department'] = 'Department';
+$string['desc'] = 'Descending';
 $string['description'] = 'Description';
 $string['deselectall'] = 'Deselect all';
 $string['detailedless'] = 'Less detailed';
index 5096f3be0419852b8af0f3864e30e684774c6622..757b12b3bd7d3f3d9f21a8490607b168cf868d14 100644 (file)
@@ -1482,7 +1482,7 @@ global $CFG;
              $neworder = '&amp;sortorder=asc';
              $newordertitle = $asc;
          }
-         $icon = " <img src=\"$sortorder.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"\" />";
+         $icon = " <img src=\"$sortorder.gif\" border=\"0\" width=\"16\" height=\"16\" alt=\"". get_string($sortorder)."\" />";
      } else {
          if ( $sortkey != 'CREATION' and $sortkey != 'UPDATE' and
                $sortkey != 'FIRSTNAME' and $sortkey != 'LASTNAME' ) {