]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11790 Fixed hard-coded strings. Merci Nicolas!
authornicolasconnault <nicolasconnault>
Thu, 8 Nov 2007 04:39:10 +0000 (04:39 +0000)
committernicolasconnault <nicolasconnault>
Thu, 8 Nov 2007 04:39:10 +0000 (04:39 +0000)
lang/en_utf8/glossary.php
mod/glossary/formats.php

index 8174ffb5cc74e05440a3705f983ffc8c94821720..e92bcabd23d0ef9ed62f2cd82e6894ceff12311e 100644 (file)
@@ -19,12 +19,14 @@ $string['areyousuredeletecomment'] = 'Are you sure you want to delete this comme
 $string['areyousureexport'] = 'Are you sure you want to export this entry to';
 $string['ascending'] = 'ascending';
 $string['attachment'] = 'Attachment';
+$string['author'] = 'author';
 $string['authorview'] = 'Browse by Author';
 $string['back'] = 'Back';
 $string['cantinsertcat'] = 'Can\'t insert category';
 $string['cantinsertrec'] = 'Can\'t insert record';
 $string['cantinsertrel'] = 'Can\'t insert relation category-entry';
 $string['casesensitive'] = 'This entry is case sensitive';
+$string['cat'] = 'cat';
 $string['categories'] = 'Categories';
 $string['category'] = 'Category';
 $string['categorydeleted'] = 'Category deleted';
@@ -57,6 +59,7 @@ $string['current']= 'Currently sorted $a';
 $string['errconceptalreadyexists'] = 'This concept already exists. No duplicates allowed in this glossary.';
 $string['erredittimeexpired'] = 'The editing time for this entry has expired.';
 $string['errcannoteditothers'] = 'You cannot edit other people\'s entries.';
+$string['date'] = 'date';
 $string['dateview'] = 'Browse by date';
 $string['defaultapproval'] = 'Approved by default';
 $string['defaulthook'] = 'Default hook';
@@ -133,7 +136,9 @@ $string['importedcategories'] = 'Imported categories';
 $string['importedentries'] = 'Imported entries';
 $string['importentries'] = 'Import entries';
 $string['importentriesfromxml'] = 'Import entries from XML file';
+$string['includegroupbreaks'] = 'Include group breaks';
 $string['isglobal'] = 'Is this glossary global?';
+$string['letter'] = 'letter';
 $string['linkcategory'] = 'Automatically link this category';
 $string['linking'] = 'Auto-linking';
 $string['mainglossary'] = 'Main glossary';
index f1c55a6e2dd3dd31ed53e3a4e327c51dd7bafb71..2ae1104efb1697e613a32b36aef3a3053a10242e 100644 (file)
         break;
         }
     ?>
-        <option value="letter" <?php p($sletter)?>>letter</option>
-        <option value="cat" <?php p($scat)?>>cat</option>
-        <option value="date" <?php p($sdate)?>>date</option>
-        <option value="author" <?php p($sauthor)?>>author</option>
+        <option value="letter" <?php p($sletter)?>><?php print_string("letter", "glossary"); ?></option>
+        <option value="cat" <?php p($scat)?>><?php print_string("cat", "glossary"); ?></option>
+        <option value="date" <?php p($sdate)?>><?php print_string("date", "glossary"); ?></option>
+        <option value="author" <?php p($sauthor)?>><?php print_string("author", "glossary"); ?></option>
         </select>
         </td>
         <td width="60%">
         </td>
     </tr>
     <tr valign="top">
-        <td align="right" width="20%">Include Group Breaks:</td>
+        <td align="right" width="20%"><?php print_string("includegroupbreaks", "glossary"); ?>:</td>
         <td>
         <select size="1" name="showgroup">
     <?php