Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-11790 Fixed hard-coded strings. Merci Nicolas!

  • Loading branch information...
commit 34d151098052183752638450beae5271d9c42571 1 parent db6988d
nicolasconnault authored
Showing with 10 additions and 5 deletions.
  1. +5 −0 lang/en_utf8/glossary.php
  2. +5 −5 mod/glossary/formats.php
View
5 lang/en_utf8/glossary.php
@@ -19,12 +19,14 @@
$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['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['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';
View
10 mod/glossary/formats.php
@@ -122,10 +122,10 @@
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%">
@@ -232,7 +232,7 @@
</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
Please sign in to comment.
Something went wrong with that request. Please try again.