MCPcopy
hub / github.com/django/django / ngettext_lazy

Function ngettext_lazy

django/utils/translation/__init__.py:171–172  ·  view source on GitHub ↗
(singular, plural, number=None)

Source from the content-addressed store, hash-verified

169
170
171def ngettext_lazy(singular, plural, number=None):
172 return lazy_number(ngettext, str, singular=singular, plural=plural, number=number)
173
174
175def npgettext_lazy(context, singular, plural, number=None):

Callers 13

timesince.pyFile · 0.90
MinLengthValidatorClass · 0.90
MaxLengthValidatorClass · 0.90
DecimalValidatorClass · 0.90
FileFieldClass · 0.90
BaseFormSetClass · 0.90
test_ngettext_lazyMethod · 0.90

Calls 1

lazy_numberFunction · 0.85

Tested by 4

test_ngettext_lazyMethod · 0.72