MDL-12789 - dont unnecessarily iterate over all groups
[moodle.git] / iplookup / ipatlas / translate.inc
CommitLineData
f4fb66d7 1<?php
2
3function 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}
13
14?>