Support triple quotes (double or single) for a very common use case with gettext or translation libraries like it
For example, you use pybabelgettext like so:
<p>
{{getext("I have some text here that should span more than 2 lines but I don't like inlining it like this because it sucks and would rather have it formatted nicely so I don't have to do this. Do you agree?")}}
</p>
But would be nice to do:
<p>
{{getext("""
I have some text here that should span more than 2 lines
but I don't like inlining it like this because it sucks and would
rather have it formatted nicely so I don't have to do this.
Do you agree?
""")}}
</p>
Support triple quotes (double or single) for a very common use case with
gettext
or translation libraries like itFor example, you use
pybabel
gettext
like so:But would be nice to do: