Lines Matching refs:ngettext
215 t.install(names=["gettext", "ngettext"])
218 eq(ngettext, t.ngettext)
221 del builtins.ngettext
319 x = gettext.ngettext('There is %s file', 'There are %s files', 1)
321 x = gettext.ngettext('There is %s file', 'There are %s files', 2)
337 x = t.ngettext('There is %s file', 'There are %s files', 1)
339 x = t.ngettext('There is %s file', 'There are %s files', 2)
550 self.ngettext = self.t.ngettext
555 unless(isinstance(self.ngettext('', '', 1), str))
556 unless(isinstance(self.ngettext('', '', 2), str))
566 t = self.ngettext("There is %s file", "There are %s files", 1)
570 t = self.ngettext("There is %s file", "There are %s files", 5)