View | Details | Raw Unified | Return to bug 24068
Collapse All | Expand All

(-)a/Koha/Template/Plugin/I18N.pm (-4 / +3 lines)
Lines 117-123 sub tpx { Link Here
117
117
118
=head2 tnp
118
=head2 tnp
119
119
120
    [% I18N.tnp("context", "item", "items") %]
120
    [% I18N.tnp("context", "item", "items", count) %]
121
121
122
=cut
122
=cut
123
123
Lines 128-140 sub tnp { Link Here
128
128
129
=head2 tnpx
129
=head2 tnpx
130
130
131
    [% I18N.tnpx("context", "{count} item", "{count} items", { count = count }) %]
131
    [% I18N.tnpx("context", "{count} item", "{count} items", count, { count = count }) %]
132
132
133
=cut
133
=cut
134
134
135
sub tnpx {
135
sub tnpx {
136
    my ($self, $msgctxt, $msgid, $msgid_plural, $count, $vars) = @_;
136
    my ($self, $msgctxt, $msgid, $msgid_plural, $count, $vars) = @_;
137
    return __np($msgctxt, $msgid, $msgid_plural, $count, %$vars);
137
    return __npx($msgctxt, $msgid, $msgid_plural, $count, %$vars);
138
}
138
}
139
139
140
1;
140
1;
141
- 

Return to bug 24068