Added new structure for iplookups (ie called from logs).
[moodle.git] / iplookup / ipatlas / translate.inc
1 <?php
3 function t($phrase) {
4   global $language;
5   if($language == "en") {
6     return $phrase;
7   } else {
8   include_once("languages/messages.$language.inc");
9   $phrase = lookup($phrase, $language);
10   return $phrase;
11   }
12 }
14 ?>