Skip to content

Commit

Permalink
dev: allow EM function overview to display localized
Browse files Browse the repository at this point in the history
  • Loading branch information
mennodekker committed Apr 17, 2013
1 parent aeeaec1 commit 50e780e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/expressions/em_core_helper.php
Expand Up @@ -3177,7 +3177,7 @@ static function UnitTestEvaluator()
function gT($string)
{
// ultimately should call i8n functiouns
global $clang;
$clang = App()->lang;
if (isset($clang)) {
return $clang->gT($string);
}
Expand All @@ -3197,7 +3197,7 @@ function gT($string)
function ngT($single, $plural, $number)
{
// ultimately should call i8n functiouns
global $clang;
$clang = App()->lang;
if (isset($clang)) {
return $clang->ngT($single, $plural, $number);
}
Expand Down

0 comments on commit 50e780e

Please sign in to comment.