Lines Matching refs:pgettext
33 def pgettext(self, context: str, message: str) -> str:
48 "pgettext",
205 def pgettext(
217 return pgettext
281 pgettext = getattr(translations, "pgettext", None)
284 gettext, ngettext, newstyle=newstyle, pgettext=pgettext, npgettext=npgettext
292 if hasattr(translations, "pgettext"):
294 pgettext = translations.pgettext
297 def pgettext(c: str, s: str) -> str:
311 pgettext=pgettext,
320 pgettext: t.Optional[t.Callable[[str, str], str]] = None,
329 if pgettext is not None:
330 pgettext = _make_new_pgettext(pgettext)
336 gettext=gettext, ngettext=ngettext, pgettext=pgettext, npgettext=npgettext
340 for key in ("gettext", "ngettext", "pgettext", "npgettext"):