Jannis Moßhammer 54ccb9b12a Move libraries from incubator to working tree for evaluation
Add all untested files from incubator's library/Icinga to working
tree library/Icinga

refs #4257
2013-06-07 15:46:33 +02:00

32 lines
550 B
PHP
Executable File

<?php
if (function_exists('_')) {
function t($messageId = null)
{
$msg = _($messageId);
if (! $msg) {
return $messageId;
}
return $msg;
}
function mt($domain, $messageId = null)
{
$msg = dgettext($domain, $messageId);
if (! $msg) {
return $messageId;
}
return $msg;
}
} else {
function t($messageId = null)
{
return $messageId;
}
function mt($domain, $messageId = null)
{
return $messageId;
}
}