gh-62519: Make pgettext search plurals when translation is not found by tomasr8 · Pull Request #107118 · python/cpython
added 2 commits
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…found (pythonGH-107118) (cherry picked from commit b3c34e5) Co-authored-by: Tomas R <tomas.roun8@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…found (pythonGH-107118) (cherry picked from commit b3c34e5) Co-authored-by: Tomas R <tomas.roun8@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
jtcave pushed a commit to jtcave/cpython that referenced this pull request
…found (python#107118) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
mementum pushed a commit to mementum/cpython that referenced this pull request
…found (python#107118) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
serhiy-storchaka pushed a commit that referenced this pull request
serhiy-storchaka pushed a commit that referenced this pull request
akx pushed a commit to python-babel/babel that referenced this pull request
pgettext can now find the following translation
when using `pgettext("ctx", "foo")`:
```
msgctxt "ctx"
msgid "foo"
msgid_plural "foos"
msgstr[0] "foo translated"
```
The upstream CPython PR is python/cpython#107118