Antee/i18n/TranslateMacros.php
public static function registerHelpers(Template $template, ITranslator $translator) {
		$template->registerHelper('gettext', array($translator, 'gettext'));
		$template->registerHelper('ngettext', array($translator, 'ngettext'));
		$template->registerHelper('pgettext', array($translator, 'pgettext'));
		$template->registerHelper('npgettext', array($translator, 'npgettext'));
	}
public static function registerHelpers(Template $template, ITranslator $translator) {
		$template->registerHelper('gettext', array($translator, 'gettext'));
		$template->registerHelper('ngettext', array($translator, 'ngettext'));
		$template->registerHelper('pgettext', array($translator, 'pgettext'));
		$template->registerHelper('npgettext', array($translator, 'npgettext'));
	}
public static function registerHelpers ( Template $ template , ITranslator $ translator ) { $ template -> registerHelper ( 'gettext' , array ( $ translator , 'gettext' ) ) ; $ template -> registerHelper ( 'ngettext' , array ( $ translator , 'ngettext' ) ) ; $ template -> registerHelper ( 'pgettext' , array ( $ translator , 'pgettext' ) ) ; $ template -> registerHelper ( 'npgettext' , array ( $ translator , 'npgettext' ) ) ; }
Add gettext helpers to template.

@param Template
@param ITranslator
Add gettext helpers to template .