bpo-36310: Allow ``pygettext.py`` to detect calls to ``gettext`` in f-strings. by Jackenmen · Pull Request #19875 · python/cpython
Jackenmen
changed the title
bpo-36310: pygettext.py - Add support for use of gettext in f-strings
bpo-36310: Allow pygettext.py to detect calls to gettext in f-strings.
Jackenmen
deleted the
pygettext_add_fstrings_support
branch
adorilson pushed a commit to adorilson/cpython that referenced this pull request
Mar 13, 2021pythonGH-19875) Adds support to Tools/i18n/pygettext.py for gettext calls in f-strings. This process is done by parsing the f-strings, processing each value, and flagging the ones which contain a gettext call. Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters