Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-62519: Make pgettext search plurals when translation is not found#107118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 3 commits intopython:mainfromtomasr8:pgettext-bugfix
Jul 23, 2023

Conversation

tomasr8
Copy link
Member

@tomasr8tomasr8 commentedJul 23, 2023
edited by bedevere-bot
Loading

Related issue:#62519

Now thatgettext is fixed, let's also fixpgettext.

serhiy-storchaka and m-aciek reacted with thumbs up emoji
@ambvambv merged commitb3c34e5 intopython:mainJul 23, 2023
@tomasr8tomasr8 deleted the pgettext-bugfix branchJuly 23, 2023 14:08
@ambvambv added needs backport to 3.11only security fixes needs backport to 3.12only security fixes labelsJul 23, 2023
@miss-islington
Copy link
Contributor

Thanks@tomasr8 for the PR, and@ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks@tomasr8 for the PR, and@ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-107133 is a backport of this pull request to the3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 23, 2023
…found (pythonGH-107118)(cherry picked from commitb3c34e5)Co-authored-by: Tomas R <tomas.roun8@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelJul 23, 2023
@bedevere-bot
Copy link

GH-107134 is a backport of this pull request to the3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12only security fixes labelJul 23, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 23, 2023
…found (pythonGH-107118)(cherry picked from commitb3c34e5)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 requestJul 23, 2023
mementum pushed a commit to mementum/cpython that referenced this pull requestJul 23, 2023
carljm added a commit to carljm/cpython that referenced this pull requestJul 24, 2023
* main: (73 commits)  Thoroughly refactor the cases generator (python#107151)  Docs: Add missing markup to Argument Clinic docs (python#106876)pythongh-107162: Document errcode.h usage in its comment (python#107177)pythongh-106320: Remove private _PyDict C API (python#107145)  Fix PyVectorcall_Function doc versionadded (python#107140)  Docs: Remove duplicate word in Argument Clinic howto heading (python#107169)pythongh-107017: Change Chapter Strings to Texts in the Introduction chapter. (python#107104)pythongh-106320: Remove private _PyObject C API (python#107159)  Docs: fix typo in os.pwrite docstring (python#107087)pythongh-105291: Add link to migration guide for distutils (python#107130)pythongh-106948: Docs: Disable links for C standard library functions, OS utility functions and system calls (python#107062)pythongh-106320: Remove _PyBytes_Join() C API (python#107144)pythongh-106320: Remove private _PyObject C API (python#107147)pythongh-106320: Remove _PyTuple_MaybeUntrack() C API (python#107143)pythongh-106320: Remove _PyIsSelectable_fd() C API (python#107142)  Remove superflous whitespaces in `layout.html`. (pythonGH-107067)pythongh-107122: Update what's news for dbm.*dbm.clear() method (pythongh-107135)pythongh-107122: Add clear method to dbm.ndbm module (pythongh-107126)pythongh-62519: Make pgettext search plurals when translation is not found (python#107118)pythongh-107122: Add clear method to dbm.gdbm.module (pythongh-107127)  ...
serhiy-storchaka pushed a commit that referenced this pull requestJul 25, 2023
… found (GH-107118) (GH-107134)(cherry picked from commitb3c34e5)Co-authored-by: Tomas R <tomas.roun8@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
serhiy-storchaka pushed a commit that referenced this pull requestJul 25, 2023
… found (GH-107118) (GH-107133)(cherry picked from commitb3c34e5)Co-authored-by: Tomas R <tomas.roun8@gmail.com>Co-authored-by: Łukasz Langa <lukasz@langa.pl>
akx pushed a commit to python-babel/babel that referenced this pull requestJul 11, 2024
pgettext can now find the following translationwhen using `pgettext("ctx", "foo")`:```msgctxt "ctx"msgid "foo"msgid_plural "foos"msgstr[0] "foo translated"```The upstream CPython PR ispython/cpython#107118
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ambvambvambv left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@tomasr8@miss-islington@bedevere-bot@ambv

[8]ページ先頭

©2009-2025 Movatter.jp