forked from leftypol/leftypol
Continue upgrading Twig
This commit is contained in:
parent
6b6f32949d
commit
157dcf9fb1
4 changed files with 34 additions and 31 deletions
|
@ -28,7 +28,7 @@ class Twig_Extensions_Extension_I18n extends Twig_Extension
|
|||
public function getFilters()
|
||||
{
|
||||
return array(
|
||||
'trans' => new Twig_Filter_Function('gettext'),
|
||||
new Twig_SimpleFilter('trans', 'gettext'),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue