We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have some words in 3's f-Strings sql code. such as
s = f""" SELECT * FROM aa balabala ... case bala... {_("abc")} WHERE b=1 """
after I excute the order $ pybabel extract -F babel.cfg -o messages.pot .
$ pybabel extract -F babel.cfg -o messages.pot .
but I cannot find the words 'abc' from file messages.pot
The text was updated successfully, but these errors were encountered:
The underlying Babel library does not support f-strings. You will need to raise an issue with them and/or add support in https://github.com/python-babel/babel/blob/master/babel/messages/extract.py#L581 to extract function usage inside a f-string AST node.
Sorry, something went wrong.
No branches or pull requests
I have some words in 3's f-Strings sql code.
such as
after I excute the order
$ pybabel extract -F babel.cfg -o messages.pot .
but I cannot find the words 'abc' from file messages.pot
The text was updated successfully, but these errors were encountered: