<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 3, 2021 at 2:47 PM Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 2, 2021 at 11:20 AM Nicklas Larsson <<a href="mailto:n_larsson@yahoo.com" target="_blank">n_larsson@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Well, I don’t have a very strong opinion regarding 3.7, but personally I’d say 3.6 is an absolute minimum. I presume, for example, most of us would prefer to use f-strings for string formatting.<br></blockquote><div><br></div><div>yes, f-strings are nice although they have limitations for using with translatable strings (Vashek can expand on that) <br></div></div></div></blockquote><div><br></div><div>Right, it is important to note that the f-strings are great for formatting outputs and other strings in general, but don't work well with gettext. The two following lines are not equivalent.<br></div><div><br></div><div>_("value: {a}").format(**locals())</div><div>_(f"value: {a}")</div><div><br></div><div>There are still valid use cases for f-strings in GRASS, but it won't be messages.<br></div></div></div>