We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2eedbc4 + 819beb8 commit 33dfcdaCopy full SHA for 33dfcda
src/Twig/Extension/I18nExtension.php
@@ -35,10 +35,13 @@ public function getFunctions(): array
35
{
36
return [
37
new TwigFunction('__', 'Cake\I18n\__'),
38
- new TwigFunction('__d', 'Cake\I18n\__d'),
39
new TwigFunction('__n', 'Cake\I18n\__n'),
40
- new TwigFunction('__x', 'Cake\I18n\__x'),
+ new TwigFunction('__d', 'Cake\I18n\__d'),
41
new TwigFunction('__dn', 'Cake\I18n\__dn'),
+ 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'),
45
];
46
}
47
0 commit comments