* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team * */ // {{{ICINGA_LICENSE_HEADER}}} use \Icinga\Util\Translator; if (extension_loaded('gettext')) { function t($messageId) { return Translator::translate($messageId, 'icinga'); } function mt($domain, $messageId) { return Translator::translate($messageId, $domain); } } else { function t($messageId) { return $messageId; } function mt($domain, $messageId) { return $messageId; } }