There is some ways to write long strings in python, one is to use multiple strings in parentheses without any operator between the strings.
Steps to Reproduce
_((
"This is a very long string that should be split into multiple lines.\n"
f"This is a very long string that should be split into multiple {}."
), 'lines')
pybabel extract test.py -o test.pot
Actual Results
Nothing except the headers in test.pot
Expected Results
#: test.py:1
msgid ""
"This is a very long string that should be split into multiple lines.\n"
"This is a very long string that should be split into multiple lines."
msgstr ""
Overview Description
There is some ways to write long strings in python, one is to use multiple strings in parentheses without any operator between the strings.
Steps to Reproduce
pybabel extract test.py -o test.pot
Actual Results
Nothing except the headers in test.pot
Expected Results