Skip to content

Commit 33dfcda

Browse files
authored
Merge pull request #92 from cakephp/2.x-merge
merge 1.x => 2.x
2 parents 2eedbc4 + 819beb8 commit 33dfcda

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Twig/Extension/I18nExtension.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ public function getFunctions(): array
3535
{
3636
return [
3737
new TwigFunction('__', 'Cake\I18n\__'),
38-
new TwigFunction('__d', 'Cake\I18n\__d'),
3938
new TwigFunction('__n', 'Cake\I18n\__n'),
40-
new TwigFunction('__x', 'Cake\I18n\__x'),
39+
new TwigFunction('__d', 'Cake\I18n\__d'),
4140
new TwigFunction('__dn', 'Cake\I18n\__dn'),
41+
new TwigFunction('__x', 'Cake\I18n\__x'),
42+
new TwigFunction('__xn', 'Cake\I18n\__xn'),
43+
new TwigFunction('__dx', 'Cake\I18n\__dx'),
44+
new TwigFunction('__dxn', 'Cake\I18n\__dxn'),
4245
];
4346
}
4447
}

0 commit comments

Comments
 (0)