Tomas R.

Results 176 comments of Tomas R.

Closing since this now works as expected.

For me, babel 2.16 correctly extracts the original example.

Ah that might be related to how f-strings changed with pep701 so this will most likely work only on python 3.12+

FYI we implemented something like this in Indico: https://github.com/indico/indico/blob/5167d8c065e04ca468764babeffd9f5287a3af60/indico/cli/i18n.py#L666-L686 It's implemented on top of babel so it could serve as an inspiration :) We also have a checker for mismatched...

Interesting, calling super() inside a list comprehension does not work on python 3.9..

> @tomasr8 Can you rebase now that #1105 was merged? Thanks! Done ;)

Rebased and fixed the tests caused by missing `break_long_words=False` in `TextWrapper`

@akx in case you missed this ;)

> > @akx in case you missed this ;) > > I was getting married and on holiday. Back in the proverbial office now :) No worries then :) And...